/* style/live.css */

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

.page-live__section-padding {
  padding: 60px 20px;
}

.page-live__dark-section {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

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

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

.page-live__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for hero section */
  min-height: 70vh;
  text-align: center;
  overflow: hidden;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #FFF6D6; /* Text Main */
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
}

.page-live__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #FFD36B; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-live__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

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

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 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 gradient */
  color: #0A0A0A; /* Dark text for contrast */
  border: 2px solid transparent;
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  color: #111111;
}

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

.page-live__btn-secondary:hover {
  background-color: #F2C14E;
  color: #0A0A0A;
}

.page-live__read-more-btn {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* About Live Casino Section */
.page-live__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-live__grid-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-live__feature-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border */
}

.page-live__feature-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-live__feature-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

/* Games Selection Section */
.page-live__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

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

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

.page-live__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #FFD36B);
}

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

.page-live__category-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
}

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

.page-live__step-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__step-title {
  font-size: 1.6em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-live__step-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live__step-btn {
  margin-top: 20px;
}

/* 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: #111111; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border */
  text-align: center;
}

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

.page-live__promo-card h3,
.page-live__promo-card p,
.page-live__promo-card a {
  padding: 0 20px;
}

.page-live__promo-title {
  font-size: 1.4em;
  color: #F2C14E; /* Primary color */
  margin: 20px 0 10px;
}

.page-live__promo-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

/* Mobile Experience Section */
.page-live__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-live__mobile-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-live__mobile-text-content {
  flex-grow: 1;
  color: #FFF6D6; /* Text Main */
}

.page-live__mobile-subtitle {
  font-size: 1.8em;
  color: #F2C14E; /* Primary color */
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-live__mobile-paragraph {
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-live__responsible-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__responsible-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border */
}

.page-live__responsible-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-live__responsible-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

/* Why Choose Us Section */
.page-live__benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-live__benefit-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-live__benefit-item strong {
  color: #F2C14E; /* Primary color */
}

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

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

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  color: #F2C14E; /* Primary color */
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-live__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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; /* Text Main */
}

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

.page-live__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-live__conclusion-section .page-live__section-description {
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-live__hero-content {
    padding: 20px;
  }
  .page-live__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__mobile-content {
    flex-direction: column;
  }
  .page-live__mobile-image {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-live__section-padding {
    padding: 40px 15px;
  }
  .page-live__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-live__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

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

  .page-live__grid-image {
    height: 250px;
  }

  .page-live__mobile-text-content {
    text-align: center;
  }

  /* Mobile responsive image styles */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .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;
  }
  
  /* 🚨 Video section: body already has --header-offset; prevent double padding */
  .page-live__video-section {
    padding-top: 10px !important;
  }

  /* Button 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 {
    flex-direction: column;
  }
}