/* style/live.css */
.page-live {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-live__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Primary Color */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-live__section-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

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

/* HERO Section */
.page-live__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #0A0A0A; /* Ensure dark background for hero area */
}

.page-live__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for desktop hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 1920px;
  min-width: 200px; /* Minimum size */
}

.page-live__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-live__hero-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #F2C14E; /* Primary Color */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-live__hero-cta-buttons,
.page-live__get-started-cta,
.page-live__promotions-cta,
.page-live__responsible-gaming-cta,
.page-live__final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Color */
  color: #111111;
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.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: #111111;
}

/* Sections */
.page-live__introduction-section,
.page-live__categories-section,
.page-live__why-choose-section,
.page-live__get-started-section,
.page-live__promotions-section,
.page-live__partners-section,
.page-live__responsible-gaming-section,
.page-live__faq-section,
.page-live__cta-final-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__introduction-section,
.page-live__get-started-section,
.page-live__promotions-section,
.page-live__responsible-gaming-section,
.page-live__cta-final-section {
  text-align: center;
}

/* Game Categories */
.page-live__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-live__category-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border Color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-live__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px #FFD36B;
}

.page-live__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  display: inline-block;
  min-width: 30px;
  min-height: 30px;
}

.page-live__category-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #F2C14E; /* Primary Color */
  margin-bottom: 10px;
}

.page-live__category-description {
  font-size: 0.95em;
  color: #FFF6D6;
  line-height: 1.5;
}

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

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

.page-live__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px #FFD36B;
}

.page-live__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-live__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #F2C14E; /* Primary Color */
  margin-bottom: 10px;
}

.page-live__feature-description {
  font-size: 1em;
  color: #FFF6D6;
  line-height: 1.6;
}

/* Get Started Section */
.page-live__steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-live__step-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border Color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  max-width: 300px;
  flex: 1 1 280px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-live__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #F2C14E; /* Primary Color */
  color: #111111;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-live__step-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #F2C14E; /* Primary Color */
  margin-bottom: 10px;
}

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

/* Partners Section */
.page-live__partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-live__partner-logo {
  max-width: 167px;
  max-height: 127px;
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.2);
  transition: filter 0.3s ease;
  min-width: 167px;
  min-height: 127px;
}

.page-live__partner-logo:hover {
  filter: brightness(1) grayscale(0);
}

/* FAQ Section */
.page-live__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border Color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

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

.page-live__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #F2C14E; /* Primary Color */
  flex-grow: 1;
}

.page-live__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD36B; /* Glow Color */
  margin-left: 15px;
  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;
}

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

.page-live__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #FFF6D6;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-live__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header spacing */
    padding-bottom: 40px;
  }
  .page-live__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-live__hero-image {
    max-height: 400px;
  }
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-cta-buttons,
  .page-live__get-started-cta,
  .page-live__promotions-cta,
  .page-live__responsible-gaming-cta,
  .page-live__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-live__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-live__section-text {
    font-size: 0.95em;
  }
  .page-live__game-categories,
  .page-live__features-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live__category-card,
  .page-live__feature-item,
  .page-live__step-item {
    padding: 25px;
  }
  .page-live__feature-image {
    height: 180px;
  }
  .page-live__partners-grid {
    gap: 20px;
  }
  .page-live__partner-logo {
    max-width: 120px;
    max-height: 90px;
    min-width: 120px;
    min-height: 90px;
  }
  .page-live__faq-question h3 {
    font-size: 1.1em;
  }
  .page-live__faq-answer p {
    font-size: 0.9em;
  }
  /* Mobile image responsiveness */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-live__section,
  .page-live__card,
  .page-live__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__section-title {
    font-size: 1.6em;
  }
  .page-live__btn-primary,
  .page-live__btn-secondary {
    font-size: 1em;
    padding: 12px 25px;
  }
}