/* style/game-lobby-card-games-details.css */
.page-game-lobby-card-games-details {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Lighter text on dark background for readability */
  background-color: #1A1A2E; /* Main dark background */
  line-height: 1.6;
}

.page-game-lobby-card-games-details__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A1A2E, #2C2C4A); /* Darker gradient for hero */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-lobby-card-games-details__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 0;
}

.page-game-lobby-card-games-details__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-game-lobby-card-games-details__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-game-lobby-card-games-details__title {
  font-size: 3.2em;
  color: #E6B325; /* Auxiliary gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-lobby-card-games-details__subtitle {
  font-size: 1.4em;
  color: #B0B0B0;
  margin-bottom: 40px;
}

.page-game-lobby-card-games-details__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-game-lobby-card-games-details__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-game-lobby-card-games-details__btn--primary {
  background-color: #E6B325; /* Gold button */
  color: #1A1A2E; /* Dark text on gold */
  border: 2px solid #E6B325;
}

.page-game-lobby-card-games-details__btn--primary:hover {
  background-color: #FFD700;
  border-color: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-game-lobby-card-games-details__btn--secondary {
  background-color: transparent;
  color: #E6B325;
  border: 2px solid #E6B325;
}

.page-game-lobby-card-games-details__btn--secondary:hover {
  background-color: #E6B325;
  color: #1A1A2E;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-game-lobby-card-games-details__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-game-lobby-card-games-details__section:nth-of-type(even) {
  background-color: #24243D; /* Slightly lighter dark background for contrast */
}

.page-game-lobby-card-games-details__section-title {
  font-size: 2.5em;
  color: #E6B325;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-game-lobby-card-games-details__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #E6B325;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-game-lobby-card-games-details__text {
  font-size: 1.1em;
  color: #B0B0B0;
  text-align: justify;
  margin-bottom: 20px;
}

.page-game-lobby-card-games-details__highlight-text {
  color: #E6B325;
  font-weight: bold;
}

.page-game-lobby-card-games-details__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-lobby-card-games-details__game-card {
  background-color: #2C2C4A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-lobby-card-games-details__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.page-game-lobby-card-games-details__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-game-lobby-card-games-details__game-name {
  font-size: 1.8em;
  color: #E6B325;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-game-lobby-card-games-details__game-description {
  font-size: 1em;
  color: #B0B0B0;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-game-lobby-card-games-details__game-features {
  list-style: none;
  padding: 0 20px;
  margin-bottom: 25px;
  text-align: left;
}

.page-game-lobby-card-games-details__game-features li {
  color: #E0E0E0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.page-game-lobby-card-games-details__feature-icon {
  color: #E6B325;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-game-lobby-card-games-details__btn--play {
  background-color: #E6B325;
  color: #1A1A2E;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 5px;
}

.page-game-lobby-card-games-details__btn--play:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

.page-game-lobby-card-games-details__why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-game-lobby-card-games-details__why-item {
  background-color: #2C2C4A;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-game-lobby-card-games-details__why-item:hover {
  transform: translateY(-5px);
}

.page-game-lobby-card-games-details__why-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #E6B325);
}

.page-game-lobby-card-games-details__why-item h3 {
  font-size: 1.6em;
  color: #E6B325;
  margin-bottom: 15px;
}

.page-game-lobby-card-games-details__why-item p {
  color: #B0B0B0;
  font-size: 1em;
}

.page-game-lobby-card-games-details__steps {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-game-lobby-card-games-details__steps li {
  background-color: #2C2C4A;
  border-left: 5px solid #E6B325;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-game-lobby-card-games-details__step-title {
  font-size: 1.5em;
  color: #E6B325;
  margin-bottom: 10px;
}

.page-game-lobby-card-games-details__steps p {
  color: #B0B0B0;
  font-size: 1em;
}

.page-game-lobby-card-games-details__link-inline {
  color: #E6B325;
  text-decoration: none;
  font-weight: bold;
}

.page-game-lobby-card-games-details__link-inline:hover {
  text-decoration: underline;
}

.page-game-lobby-card-games-details__cta-buttons {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-game-lobby-card-games-details__app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.page-game-lobby-card-games-details__app-image-wrapper {
  max-width: 400px;
  width: 100%;
}

.page-game-lobby-card-games-details__app-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-game-lobby-card-games-details__app-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-lobby-card-games-details__app-features li {
  color: #E0E0E0;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.page-game-lobby-card-games-details__faq-item {
  background-color: #2C2C4A;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.page-game-lobby-card-games-details__faq-question {
  font-size: 1.3em;
  color: #E6B325;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-game-lobby-card-games-details__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-game-lobby-card-games-details__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-game-lobby-card-games-details__faq-answer {
  color: #B0B0B0;
  font-size: 1em;
  display: none;
  margin-top: 15px;
}

.page-game-lobby-card-games-details__faq-answer.active {
  display: block;
}

.page-game-lobby-card-games-details__final-cta {
  text-align: center;
  background-color: #1A1A2E;
  padding: 80px 20px;
}

.page-game-lobby-card-games-details__final-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .page-game-lobby-card-games-details__hero {
    flex-direction: row;
    text-align: left;
    padding: 100px 40px;
  }

  .page-game-lobby-card-games-details__hero-content {
    flex: 1;
    padding-right: 40px;
  }

  .page-game-lobby-card-games-details__hero-image-wrapper {
    position: relative;
    flex: 1;
    opacity: 1;
    height: auto;
  }

  .page-game-lobby-card-games-details__hero-image {
    border-radius: 15px;
  }

  .page-game-lobby-card-games-details__title {
    font-size: 4em;
  }

  .page-game-lobby-card-games-details__subtitle {
    font-size: 1.6em;
  }

  .page-game-lobby-card-games-details__app-content {
    flex-direction: row;
    text-align: left;
  }

  .page-game-lobby-card-games-details__app-text {
    flex: 1;
    padding-right: 40px;
  }

  .page-game-lobby-card-games-details__app-image-wrapper {
    flex: 1;
    text-align: right;
  }

  .page-game-lobby-card-games-details__app-features {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .page-game-lobby-card-games-details__hero-actions {
    flex-direction: column;
  }

  .page-game-lobby-card-games-details__btn {
    width: 100%;
  }

  .page-game-lobby-card-games-details__title {
    font-size: 2.5em;
  }

  .page-game-lobby-card-games-details__subtitle {
    font-size: 1.2em;
  }

  .page-game-lobby-card-games-details__section-title {
    font-size: 2em;
  }

  .page-game-lobby-card-games-details__app-text {
    order: 2;
  }

  .page-game-lobby-card-games-details__app-image-wrapper {
    order: 1;
  }
}