/* style/live.css */
.page-live {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-live__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

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

.page-live__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

.page-live__button--secondary:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-live__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
}

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

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  color: #f0f0f0;
}

.page-live__hero-buttons .page-live__button {
  margin: 0 10px;
}

.page-live__features-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-live__feature-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-live__feature-card:hover {
  transform: translateY(-10px);
}

.page-live__feature-icon {
  width: 100%; /* Ensure images are not tiny */
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__feature-description {
  color: #555555;
}

.page-live__games-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-live__game-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-10px);
}

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

.page-live__game-card h3 {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-live__game-description {
  color: #555555;
  padding: 0 15px 20px 15px;
}

.page-live__game-card .page-live__button {
  margin-bottom: 20px;
}

.page-live__how-to-start-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-live__how-to-start-section .page-live__section-title {
  color: #FFFFFF;
}

.page-live__how-to-start-section .page-live__section-title::after {
  background-color: #FCBC45;
}

.page-live__how-to-start-section .page-live__section-description {
  color: #f0f0f0;
}

.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: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-live__step-description {
  color: #f0f0f0;
}

.page-live__cta-center {
  text-align: center;
  margin-top: 60px;
}

.page-live__detail-pages-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-live__detail-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-live__detail-title {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-live__detail-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__detail-title a:hover {
  color: #FCBC45;
}

.page-live__detail-description {
  color: #555555;
  margin-bottom: 25px;
}

.page-live__responsible-gaming-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-live__faq-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-live__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-live__faq-answer {
  color: #555555;
}

.page-live__final-cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-live__final-cta-section .page-live__section-title {
  color: #FFFFFF;
}

.page-live__final-cta-section .page-live__section-title::after {
  background-color: #FCBC45;
}

.page-live__final-cta-section .page-live__section-description {
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-buttons .page-live__button {
    display: block;
    margin: 10px auto;
    max-width: 250px;
  }
  .page-live__features-grid, .page-live__games-grid, .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__feature-icon, .page-live__game-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
  }
  .page-live__hero-image, .page-live__features-section img, .page-live__games-section img {
    max-width: 100%;
    height: auto;
  }
  /* Enforce minimum image size for content area */
  .page-live img {
    min-width: 200px;
    min-height: 200px;
  }
  .page-live__feature-icon, .page-live__game-image {
    width: 100%;
    height: auto;
  }
  .page-live__hero-section .page-live__hero-image {
    height: 500px;
  }
}

@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__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}