/* style/live.css */

/* Base styles for the page-live container */
.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); /* Ensure space for fixed header */
}

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

.page-live__section {
  padding: 60px 0;
  text-align: center;
}

.page-live__section--dark-bg {
  background-color: #000000; /* Main color as dark background */
  color: #FFFFFF; /* White text for dark background */
}

.page-live__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000; /* Dark title for light background */
  font-weight: bold;
}

.page-live__section--dark-bg .page-live__section-title {
  color: #FCBC45; /* Accent color for titles on dark background */
}

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

.page-live__section-description--small {
  font-size: 0.95em;
  margin-top: 20px;
  margin-bottom: 0;
}

/* Hero Section */
.page-live__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-color: #FFFFFF; /* Light background for hero */
  position: relative;
  overflow: hidden;
}

.page-live__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-live__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 40px;
}

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

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-live__button--register {
  background-color: #000000; /* Black button for register */
  color: #FFFFFF; /* White text */
  border: 2px solid #000000;
}

.page-live__button--register:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-live__button--login {
  background-color: #FCBC45; /* Accent color for login */
  color: #000000; /* Black text */
  border: 2px solid #FCBC45;
}

.page-live__button--login:hover {
  background-color: #E0A030;
  border-color: #E0A030;
}

.page-live__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Game Types Section */
.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: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-live__game-card-title {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 20px 10px 20px;
}

.page-live__game-card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-live__button--play {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  font-size: 1em;
  margin-left: 20px;
  border: 2px solid #FCBC45;
}

.page-live__button--play:hover {
  background-color: #E0A030;
  border-color: #E0A030;
}

/* Why Choose Section */
.page-live__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-live__feature-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-live__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
}

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

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

/* Providers Section */
.page-live__provider-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-live__provider-logo {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: grayscale(100%); /* Example: make logos grayscale */
  opacity: 0.7;
}

.page-live__provider-logo:hover {
  transform: scale(1.05);
  filter: grayscale(0%); /* Example: color on hover */
  opacity: 1;
}

/* Promotions Section */
.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: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  text-align: left;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

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

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

.page-live__promo-card-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin: 20px 20px 10px 20px;
}

.page-live__promo-card-description {
  font-size: 1em;
  color: #F0F0F0;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-live__button--claim {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  font-size: 1em;
  margin-left: 20px;
  border: 2px solid #FCBC45;
}

.page-live__button--claim:hover {
  background-color: #E0A030;
  border-color: #E0A030;
}

/* How to Play Section */
.page-live__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-live__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.page-live__step-description {
  font-size: 1.1em;
  color: #555555;
}

.page-live__cta-buttons {
  margin-top: 40px;
}

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

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

/* Responsible Gaming Section */
.page-live__responsible-gaming-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-live__responsible-gaming-image {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-live__responsible-gaming-text {
  text-align: left;
  flex: 1;
}

.page-live__responsible-gaming-text .page-live__section-description {
  margin-bottom: 20px;
  color: #F0F0F0;
  max-width: none;
}

.page-live__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 12px 25px;
  font-size: 1em;
}

.page-live__button--learn-more:hover {
  background-color: #333333;
  border-color: #FCBC45;
}

/* FAQ Section */
.page-live__faq-accordion {
  margin-top: 40px;
  text-align: left;
}

.page-live__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live__faq-question {
  font-size: 1.4em;
  color: #000000;
  padding: 20px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-live__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-live__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-live__faq-question:hover {
  background-color: #F8F8F8;
}

.page-live__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-live__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  padding: 20px;
}

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

/* CTA Section */
.page-live__cta-content {
  padding: 60px 20px;
}

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

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

  .page-live__game-card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* All content images must be max-width: 100%; height: auto; to prevent overflow */
  .page-live img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-live__hero-section {
    flex-direction: column;
    padding: 60px 20px;
  }

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

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

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

  .page-live__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-live__section {
    padding: 40px 0;
  }

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

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

  .page-live__responsible-gaming-content {
    flex-direction: column;
  }

  .page-live__responsible-gaming-image {
    width: 100%;
    height: auto;
  }

  .page-live__faq-question {
    font-size: 1.2em;
  }

  .page-live__faq-answer.active {
    max-height: 300px; /* Adjust for mobile content */
  }
}

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

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

  .page-live__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-live__game-card-title, .page-live__feature-title, .page-live__promo-card-title, .page-live__step-title {
    font-size: 1.4em;
  }

  .page-live__faq-question {
    font-size: 1em;
  }
}