/* style/live.css */

/* Base styles for the live page */
.page-live {
  color: #f0f0f0; /* Light text for potentially dark backgrounds, ensuring contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #1a1a1a; /* Dark background for the page content */
}

.page-live__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-live__section-title {
  font-size: 2.8em;
  color: #F2C94C; /* Accent color for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

.page-live__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #cccccc;
}

.page-live__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-live__cta-button--primary {
  background-color: #F2C94C; /* Gold accent */
  color: #0A2342; /* Dark blue text */
  border: 2px solid #F2C94C;
}

.page-live__cta-button--primary:hover {
  background-color: #e0b03e;
  transform: translateY(-2px);
}

.page-live__cta-button--secondary {
  background-color: transparent;
  color: #F2C94C; /* Gold text */
  border: 2px solid #F2C94C;
}

.page-live__cta-button--secondary:hover {
  background-color: rgba(242, 201, 76, 0.1);
  transform: translateY(-2px);
}

.page-live__cta-button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-live__cta-button--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 80px 0;
  background-color: #0A2342; /* Dark blue background */
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Subtle background image */
}

.page-live__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-live__hero-content {
  max-width: 900px;
}

.page-live__hero-title {
  font-size: 4em;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #F2C94C; /* Gold accent for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* About Section */
.page-live__about-section {
  background-color: #1a1a1a;
  padding: 80px 0;
}

.page-live__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-live__feature-card {
  background-color: #0A2342; /* Main brand color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-live__feature-image {
  width: 100%;
  max-width: 400px; /* Constrain image width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-live__feature-title {
  font-size: 1.8em;
  color: #F2C94C;
  margin-bottom: 15px;
}

.page-live__feature-description {
  font-size: 1em;
  color: #cccccc;
}

/* Games Section */
.page-live__games-section {
  background-color: #111111;
  padding: 80px 0;
}

.page-live__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-live__game-card {
  background-color: #0A2342;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-live__game-title {
  font-size: 1.6em;
  color: #F2C94C;
  padding: 20px 20px 10px 20px;
}

.page-live__game-title a {
  color: #F2C94C;
  text-decoration: none;
}

.page-live__game-title a:hover {
  text-decoration: underline;
}

.page-live__game-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-live__game-card .page-live__cta-button--small {
  margin: 0 20px 20px 20px;
}

/* How to Start Section */
.page-live__how-to-start-section {
  background-color: #1a1a1a;
  padding: 80px 0;
}

.page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-live__step-card {
  background-color: #0A2342;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

.page-live__step-title {
  font-size: 1.8em;
  color: #F2C94C;
  margin-bottom: 15px;
}

.page-live__step-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
}

/* Promo Section */
.page-live__promo-section {
  background-color: #111111;
  padding: 80px 0;
}

.page-live__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-live__promo-card {
  background-color: #0A2342;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-live__promo-image {
  width: 100%;
  height: 267px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-live__promo-title {
  font-size: 1.6em;
  color: #F2C94C;
  padding: 20px 20px 10px 20px;
}

.page-live__promo-title a {
  color: #F2C94C;
  text-decoration: none;
}

.page-live__promo-title a:hover {
  text-decoration: underline;
}

.page-live__promo-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-live__promo-card .page-live__cta-button--small {
  margin: 0 20px 20px 20px;
}

.page-live__full-promo-cta {
  text-align: center;
}

/* FAQ Section */
.page-live__faq-section {
  background-color: #1a1a1a;
  padding: 80px 0;
}

.page-live__faq-item {
  background-color: #0A2342;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-live__faq-question {
  font-size: 1.5em;
  color: #F2C94C;
  margin-bottom: 10px;
}

.page-live__faq-answer {
  font-size: 1em;
  color: #cccccc;
}

.page-live__faq-answer a {
  color: #F2C94C;
  text-decoration: none;
}

.page-live__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Banner */
.page-live__cta-banner {
  background-color: #0A2342; /* Main brand color */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-live__cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(242, 201, 76, 0.1), rgba(10, 35, 66, 0.8));
  z-index: 0;
}

.page-live__cta-banner .page-live__container {
  position: relative;
  z-index: 1;
}

.page-live__cta-banner-title {
  font-size: 3em;
  color: #F2C94C;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-live__cta-banner-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3.5em;
  }

  .page-live__section-title {
    font-size: 2.2em;
  }

  .page-live__cta-banner-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2.5em;
  }

  .page-live__hero-description {
    font-size: 1.1em;
  }

  .page-live__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-live__section-title {
    font-size: 2em;
  }

  .page-live__section-intro {
    font-size: 1em;
  }

  .page-live__features-grid, .page-live__game-list, .page-live__steps-grid, .page-live__promo-cards {
    grid-template-columns: 1fr;
  }

  .page-live__feature-card, .page-live__game-card, .page-live__step-card, .page-live__promo-card {
    padding: 25px;
  }

  .page-live__feature-title, .page-live__step-title, .page-live__promo-title {
    font-size: 1.6em;
  }

  .page-live__game-image, .page-live__promo-image {
    height: 200px; /* Adjust height for mobile */
  }

  .page-live__cta-banner-title {
    font-size: 2em;
  }

  .page-live__cta-banner-description {
    font-size: 1em;
  }

  .page-live__cta-button--large {
    font-size: 1em;
    padding: 12px 25px;
  }

  /* Critical: Prevent content overflow on mobile */
  .page-live img {
    max-width: 100%;
    height: auto;
  }

  .page-live {
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }

  .page-live__hero-description {
    font-size: 0.9em;
  }

  .page-live__section-title {
    font-size: 1.8em;
  }

  .page-live__cta-banner-title {
    font-size: 1.8em;
  }

  .page-live__cta-button {
    width: 100%;
  }

  .page-live__hero-cta-group {
    gap: 10px;
  }
}