/* style/live.css */

/* Base Styles for the Live Page */
.page-live {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A192F; /* Dark background for hero */
  color: #ffffff;
  padding-bottom: 80px; /* Add padding at the bottom */
}

.page-live__hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

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

.page-live__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Slightly darker overlay for text readability */
  border-radius: 10px;
}

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

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-live__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A192F;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-live__hero-button:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-2px);
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #0A192F;
  text-align: center;
  margin-bottom: 20px;
}

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

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

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

.page-live__feature-item:hover {
  transform: translateY(-5px);
}

.page-live__feature-icon {
  width: 100%; /* Ensure images are responsive within their container */
  height: auto;
  max-width: 300px; /* Ensure images don't get too large */
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-live__feature-title {
  font-size: 1.5em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-live__feature-text {
  font-size: 1em;
  color: #666666;
}

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

.page-live__games-section .page-live__section-title {
  color: #FFD700;
}

.page-live__games-section .page-live__section-description {
  color: #e0e0e0;
}

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

.page-live__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-live__game-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-live__game-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images don't get too large */
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-live__game-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-live__game-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__game-button:hover {
  background-color: #e6c200;
}

/* Promotions Section */
.page-live__promotions-section {
  padding: 80px 0;
  background-color: #f4f4f4;
}

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

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

.page-live__promo-card:hover {
  transform: translateY(-5px);
}

.page-live__promo-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images don't get too large */
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-live__promo-title {
  font-size: 1.6em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-live__promo-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-live__promo-button {
  display: inline-block;
  background-color: #0A192F;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__promo-button:hover {
  background-color: #1a2b4a;
}

.page-live__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-live__view-all-button {
  display: inline-block;
  background-color: transparent;
  border: 2px solid #0A192F;
  color: #0A192F;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-live__view-all-button:hover {
  background-color: #0A192F;
  color: #FFD700;
}

/* Call to Action Section */
.page-live__cta-section {
  background-color: #FFD700;
  padding: 80px 20px;
  text-align: center;
  color: #0A192F;
}

.page-live__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #0A192F;
}

.page-live__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-live__cta-button {
  display: inline-block;
  background-color: #0A192F;
  color: #FFD700;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-live__cta-button:hover {
  background-color: #1a2b4a;
  transform: translateY(-3px);
}

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

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

.page-live__faq-question {
  font-size: 1.4em;
  color: #0A192F;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  padding-left: 15px;
  border-left: 3px solid #FFD700;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-live__hero-title {
    font-size: 2.2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-content {
    padding: 20px;
  }
  .page-live__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-description,
  .page-live__cta-description {
    font-size: 0.95em;
  }
  .page-live__features-grid,
  .page-live__game-grid,
  .page-live__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-live__feature-item,
  .page-live__game-card,
  .page-live__promo-card {
    padding: 20px;
  }
  .page-live__feature-icon,
  .page-live__game-image,
  .page-live__promo-image {
    max-width: 100%; /* Ensure images do not overflow */
    height: auto;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live__cta-button {
    padding: 15px 30px;
    font-size: 1.2em;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__cta-title {
    font-size: 1.6em;
  }
}