/* style/live.css */
.page-live {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background from shared.css */
}

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #1A1A1A; /* Auxiliary dark background for hero */
  overflow: hidden;
}

.page-live__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
  text-align: center;
  padding: 40px 20px;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

.page-live__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold primary color for title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Buttons */
.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-live__button--primary {
  background-color: #FFD700; /* Primary gold color */
  color: #1A1A1A; /* Dark text on gold */
  border: 2px solid #FFD700;
}

.page-live__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-live__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-live__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-live__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* General Section Styles */
.page-live__intro-section, .page-live__features-section, .page-live__get-started-section, .page-live__cta-section {
  padding: 80px 0;
  background-color: #1A1A1A; /* Auxiliary dark background */
}

.page-live__games-section, .page-live__bonuses-section, .page-live__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly darker background for contrast */
}

.page-live__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold primary color */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-live__section-subtitle {
  font-size: 1.4em;
  color: #ccc;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__text-content {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__text-content--center {
  text-align: center;
}

.page-live__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-live__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Game Grid */
.page-live__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-live__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px; /* Space for button */
}

.page-live__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.page-live__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-live__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 20px 20px 10px 20px;
}

.page-live__card-link {
  color: inherit;
  text-decoration: none;
}

.page-live__card-link:hover {
  text-decoration: underline;
}

.page-live__card-description {
  font-size: 0.95em;
  color: #ccc;
  padding: 0 20px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live__game-card .page-live__button {
  align-self: flex-start;
  margin-left: 20px;
}

/* Features Section */
.page-live__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-live__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-live__feature-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  flex-grow: 1;
}

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

/* Get Started Section */
.page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__step-item {
  background-color: rgba(255, 215, 0, 0.1); /* Light gold background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-live__step-number {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  font-size: 1.8em;
  font-weight: bold;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  margin-bottom: 20px;
}

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

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

/* FAQ Section */
.page-live__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-live__faq-answer {
  font-size: 1.05em;
  color: #ccc;
}

/* CTA Section */
.page-live__cta-section {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(135deg, #1A1A1A, #0d0d0d); /* Gradient background */
}

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

.page-live__section-title--cta {
  font-size: 3em;
  margin-bottom: 25px;
}

.page-live__text-content--cta {
  font-size: 1.4em;
  margin-bottom: 40px;
}

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

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

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

  .page-live__section-subtitle {
    font-size: 1.2em;
  }

  .page-live__game-grid, .page-live__features-grid, .page-live__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-live__hero-container {
    min-height: 500px;
  }

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

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

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

  .page-live__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-live__intro-section, .page-live__games-section, .page-live__features-section, .page-live__bonuses-section, .page-live__get-started-section, .page-live__faq-section, .page-live__cta-section {
    padding: 60px 0;
  }

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

  .page-live__section-subtitle {
    font-size: 1.1em;
    margin-bottom: 40px;
  }

  .page-live__text-content {
    font-size: 1em;
  }

  .page-live__game-card {
    padding-bottom: 15px;
  }

  .page-live__card-title {
    font-size: 1.5em;
  }

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

  .page-live__feature-title, .page-live__step-title, .page-live__faq-question {
    font-size: 1.4em;
  }

  .page-live__feature-description, .page-live__step-description, .page-live__faq-answer {
    font-size: 0.95em;
  }

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

  .page-live__text-content--cta {
    font-size: 1.2em;
  }

  /* Mobile content area images must be constrained */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

  .page-live__section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-live__button {
    width: 90%;
    padding: 12px 25px;
  }

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

  .page-live__card-image {
    height: 180px;
  }

  .page-live__card-title {
    font-size: 1.3em;
  }

  .page-live__feature-title, .page-live__step-title, .page-live__faq-question {
    font-size: 1.2em;
  }

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

  .page-live__text-content--cta {
    font-size: 1em;
  }
}