/* style/live.css */

/* Base styles for the live page */
.page-live {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main color */
  background-color: #0A0A0A; /* Background color */
  line-height: 1.6;
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Primary color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  letter-spacing: 1px;
}

.page-live__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-live__hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-live__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-live__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size constraint */
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text on bright button */
  border: none;
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary color */
  border: 2px solid #F2C14E; /* Border color */
}

.page-live__btn-secondary:hover {
  background-color: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* Introduction Section */
.page-live__introduction-section,
.page-live__casino-games-section,
.page-live__sports-betting-section,
.page-live__promotions-section,
.page-live__getting-started-section,
.page-live__why-choose-section,
.page-live__partners-section,
.page-live__faq-section {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12; /* Border color */
}

.page-live__introduction-section:last-of-type, /* Adjust if needed */
.page-live__faq-section:last-of-type {
  border-bottom: none;
}

.page-live__image-wrapper {
  text-align: center;
  margin: 30px 0;
}

.page-live__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Casino Games Section */
.page-live__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-live__category-item {
  background-color: #111111; /* Card BG color */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12;
}

.page-live__category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-live__category-icon {
  width: 30px; /* Allowed small icon size */
  height: 30px; /* Allowed small icon size */
  margin-bottom: 15px;
  object-fit: contain;
}

.page-live__category-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-live__category-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-live__category-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #F2C14E;
  color: #0A0A0A;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__category-link:hover {
  background-color: #FFD36B;
}

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

.page-live__promo-card {
  background-color: #111111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12;
}

.page-live__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(242, 193, 78, 0.3);
}

.page-live__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-live__promo-card .page-live__promo-title {
  font-size: 1.4em;
  color: #F2C14E;
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-live__promo-card .page-live__promo-description {
  font-size: 0.95em;
  color: #FFF6D6;
  padding: 0 20px 15px;
}

.page-live__promo-link {
  display: block;
  padding: 12px 20px;
  background-color: #FFD36B;
  color: #0A0A0A;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__promo-link:hover {
  background-color: #F2C14E;
}

/* Getting Started Section */
.page-live__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-live__steps-list li {
  background-color: #111111;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
}

.page-live__step-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-live__step-description {
  font-size: 1em;
  color: #FFF6D6;
}

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

.page-live__feature-item {
  background-color: #111111;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12;
}

.page-live__feature-icon {
  width: 100%;
  height: 200px;
  max-width: 300px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-live__feature-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-live__feature-description {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Partners Section */
.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 2x5 grid */
  gap: 20px;
  margin-top: 30px;
  justify-items: center;
  align-items: center;
}

.page-live__partner-logo {
  width: 167px; /* Fixed size for game type images */
  height: 127px; /* Fixed size for game type images */
  object-fit: contain;
  border-radius: 5px;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.page-live__partner-logo:hover {
  transform: scale(1.05);
}

/* FAQ Section */
.page-live__faq-list {
  margin-top: 30px;
}

.page-live__faq-item {
  background-color: #111111;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #3A2A12;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(242, 193, 78, 0.1);
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.2);
}

.page-live__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #F2C14E;
}

.page-live__faq-toggle {
  font-size: 1.8em;
  color: #FFD36B;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-toggle {
  transform: rotate(45deg);
}

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 20px;
}

.page-live__faq-answer p {
  margin: 0;
  font-size: 1em;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .page-live__container {
    padding: 30px 15px;
  }

  .page-live__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-live__hero-section {
    padding-bottom: 40px;
  }

  .page-live__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

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

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }

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

  .page-live__partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Mobile image responsiveness */
  .page-live img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__promo-card,
  .page-live__category-item,
  .page-live__feature-item,
  .page-live__faq-item,
  .page-live__partners-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video section specific mobile padding */
  .page-live__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }

  /* Buttons mobile responsiveness */
  .page-live__cta-button,
  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live a[class*="button"],
  .page-live a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-live__cta-buttons,
  .page-live__button-group,
  .page-live__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-live__cta-buttons {
    display: flex;
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .page-live__partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}