/* style/game-lobby-card-games-features-display.css */

:root {
  --page-game-lobby-card-games-features-display-primary-color: #0A192F;
  --page-game-lobby-card-games-features-display-secondary-color: #FFD700;
  --page-game-lobby-card-games-features-display-text-light: #F0F0F0; /* High contrast for dark backgrounds */
  --page-game-lobby-card-games-features-display-text-dark: #0A192F; /* High contrast for light backgrounds */
  --page-game-lobby-card-games-features-display-accent-color: #4CAF50; /* A vibrant green for positive actions, good contrast */
  --page-game-lobby-card-games-features-display-background-dark: #0A192F;
  --page-game-lobby-card-games-features-display-background-light: #f5f5f5;
}

.page-game-lobby-card-games-features-display {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-game-lobby-card-games-features-display-text-light); /* Default text color for dark sections */
  background-color: var(--page-game-lobby-card-games-features-display-background-dark);
}

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

.page-game-lobby-card-games-features-display__hero-section {
  background: linear-gradient(135deg, var(--page-game-lobby-card-games-features-display-background-dark) 0%, #1a2a44 50%, var(--page-game-lobby-card-games-features-display-secondary-color) 100%); /* Adjusted gradient for better visual */
  padding: 100px 0;
  text-align: center;
  color: var(--page-game-lobby-card-games-features-display-text-light);
  position: relative;
  overflow: hidden;
}

.page-game-lobby-card-games-features-display__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-game-lobby-card-games-features-display-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-lobby-card-games-features-display__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--page-game-lobby-card-games-features-display-text-light);
}

.page-game-lobby-card-games-features-display__cta-button {
  display: inline-block;
  background-color: var(--page-game-lobby-card-games-features-display-secondary-color);
  color: var(--page-game-lobby-card-games-features-display-primary-color); /* Dark text on light button */
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-game-lobby-card-games-features-display__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-game-lobby-card-games-features-display__intro-section,
.page-game-lobby-card-games-features-display__games-showcase,
.page-game-lobby-card-games-features-display__promotions-section,
.page-game-lobby-card-games-features-display__cta-final {
  padding: 60px 0;
  background-color: var(--page-game-lobby-card-games-features-display-background-dark); /* Ensure dark background for main sections */
  color: var(--page-game-lobby-card-games-features-display-text-light); /* Light text for readability */
}

.page-game-lobby-card-games-features-display__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-game-lobby-card-games-features-display-secondary-color);
}

.page-game-lobby-card-games-features-display__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-game-lobby-card-games-features-display-text-light);
}

.page-game-lobby-card-games-features-display__intro-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-game-lobby-card-games-features-display__intro-text {
  flex: 1;
  min-width: 300px;
  font-size: 1.1em;
  color: var(--page-game-lobby-card-games-features-display-text-light);
}

.page-game-lobby-card-games-features-display__intro-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-game-lobby-card-games-features-display__inline-cta {
  color: var(--page-game-lobby-card-games-features-display-secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-game-lobby-card-games-features-display__inline-cta:hover {
  color: #e6c200;
}

.page-game-lobby-card-games-features-display__game-category {
  margin-bottom: 60px;
}

.page-game-lobby-card-games-features-display__category-title {
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-game-lobby-card-games-features-display-secondary-color);
}

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

.page-game-lobby-card-games-features-display__game-card,
.page-game-lobby-card-games-features-display__promo-card {
  background-color: #1a2a44; /* Slightly lighter dark blue for cards */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-lobby-card-games-features-display__game-card:hover,
.page-game-lobby-card-games-features-display__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-game-lobby-card-games-features-display__game-image,
.page-game-lobby-card-games-features-display__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--page-game-lobby-card-games-features-display-secondary-color);
  margin-bottom: 20px;
}

.page-game-lobby-card-games-features-display__game-name,
.page-game-lobby-card-games-features-display__promo-title {
  font-size: 1.5em;
  color: var(--page-game-lobby-card-games-features-display-secondary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-game-lobby-card-games-features-display__game-description,
.page-game-lobby-card-games-features-display__promo-description {
  font-size: 1em;
  color: var(--page-game-lobby-card-games-features-display-text-light);
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-game-lobby-card-games-features-display__game-button,
.page-game-lobby-card-games-features-display__promo-button {
  display: inline-block;
  background-color: var(--page-game-lobby-card-games-features-display-accent-color); /* Green for action */
  color: var(--page-game-lobby-card-games-features-display-text-light); /* Light text on green button */
  padding: 10px 20px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-game-lobby-card-games-features-display__game-button:hover,
.page-game-lobby-card-games-features-display__promo-button:hover {
  background-color: #3e8e41; /* Darker green on hover */
  transform: translateY(-2px);
}

.page-game-lobby-card-games-features-display__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-game-lobby-card-games-features-display__feature-item {
  background-color: #1a2a44;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-lobby-card-games-features-display__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--page-game-lobby-card-games-features-display-secondary-color));
}

.page-game-lobby-card-games-features-display__feature-name {
  font-size: 1.8em;
  color: var(--page-game-lobby-card-games-features-display-secondary-color);
  margin-bottom: 15px;
}

.page-game-lobby-card-games-features-display__feature-description {
  font-size: 1.1em;
  color: var(--page-game-lobby-card-games-features-display-text-light);
}

.page-game-lobby-card-games-features-display__cta-final {
  text-align: center;
  padding: 80px 0;
  background-color: #0A192F; /* Darkest background for final CTA */
  color: var(--page-game-lobby-card-games-features-display-text-light);
}

.page-game-lobby-card-games-features-display__cta-title {
  font-size: 3em;
  color: var(--page-game-lobby-card-games-features-display-secondary-color);
  margin-bottom: 20px;
}

.page-game-lobby-card-games-features-display__cta-description {
  font-size: 1.4em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--page-game-lobby-card-games-features-display-text-light);
}

.page-game-lobby-card-games-features-display__cta-button--large {
  padding: 20px 40px;
  font-size: 1.5em;
}

.page-game-lobby-card-games-features-display__responsible-gaming-note {
  margin-top: 30px;
  font-size: 0.9em;
  color: var(--page-game-lobby-card-games-features-display-text-light);
}

.page-game-lobby-card-games-features-display__responsible-gaming-link {
  color: var(--page-game-lobby-card-games-features-display-secondary-color);
  text-decoration: underline;
}

.page-game-lobby-card-games-features-display__responsible-gaming-link:hover {
  color: #e6c200;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-game-lobby-card-games-features-display__hero-title {
    font-size: 2.8em;
  }
  .page-game-lobby-card-games-features-display__section-title {
    font-size: 2em;
  }
  .page-game-lobby-card-games-features-display__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-game-lobby-card-games-features-features-display__hero-section,
  .page-game-lobby-card-games-features-display__intro-section,
  .page-game-lobby-card-games-features-display__games-showcase,
  .page-game-lobby-card-games-features-display__promotions-section,
  .page-game-lobby-card-games-features-display__cta-final {
    padding: 40px 0;
  }
  .page-game-lobby-card-games-features-display__hero-title {
    font-size: 2.2em;
  }
  .page-game-lobby-card-games-features-display__hero-description {
    font-size: 1.1em;
  }
  .page-game-lobby-card-games-features-display__section-title {
    font-size: 1.8em;
  }
  .page-game-lobby-card-games-features-display__category-title {
    font-size: 1.6em;
  }
  .page-game-lobby-card-games-features-display__cta-title {
    font-size: 2em;
  }
  .page-game-lobby-card-games-features-display__cta-description {
    font-size: 1.2em;
  }
  .page-game-lobby-card-games-features-display__intro-content {
    flex-direction: column;
  }
  .page-game-lobby-card-games-features-display__intro-image {
    order: -1; /* Image appears before text on mobile */
  }
  .page-game-lobby-card-games-features-display__cta-button--large {
    padding: 15px 30px;
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-game-lobby-card-games-features-display__hero-title {
    font-size: 1.8em;
  }
  .page-game-lobby-card-games-features-display__section-title {
    font-size: 1.5em;
  }
  .page-game-lobby-card-games-features-display__category-title {
    font-size: 1.4em;
  }
  .page-game-lobby-card-games-features-display__feature-name {
    font-size: 1.5em;
  }
  .page-game-lobby-card-games-features-display__cta-title {
    font-size: 1.8em;
  }
}