/* style/live.css */
.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 0;
}

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 40px;
  text-align: center;
  overflow: hidden;
}

.page-live__hero-image-container {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-live__hero-content-area {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 30px 20px;
  margin-top: 20px;
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-live__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-live__hero-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Titles and Text */
.page-live__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-live__section-text {
  font-size: 1.05rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__section-text a {
  color: #FFD36B;
  text-decoration: underline;
}

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  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: #111111; /* Dark text for contrast */
  border: 2px solid transparent;
}

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

.page-live__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E; /* Main Color */
}

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

.page-live__btn-text {
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-live__btn-text:hover {
  color: #F2C14E;
  text-decoration: underline;
}

/* Game Grid 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: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-live__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-live__game-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live__game-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  flex-grow: 1;
}

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

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

.page-live__feature-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-live__steps-list li {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__step-title {
  font-size: 1.6rem;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live__step-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__app-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

/* CTA Section */
.page-live__cta-section {
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  padding: 80px 0;
  text-align: center;
}

.page-live__cta-container {
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  padding: 40px;
  max-width: 900px;
}

.page-live__cta-title {
  font-size: 2.2rem;
  color: #111111;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live__cta-description {
  font-size: 1.1rem;
  color: #111111;
  margin-bottom: 30px;
}

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

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

.page-live__faq-item {
  background: #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: 18px 25px;
  cursor: pointer;
  background: #111111;
  color: #F2C14E;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-live__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

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

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

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

.page-live__faq-answer p {
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-live__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-live__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-live__section-padding {
    padding: 40px 0;
  }
  
  .page-live__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
    padding-bottom: 30px;
  }

  .page-live__hero-content-area {
    padding: 20px 15px;
  }

  .page-live__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

  .page-live__hero-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: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-live__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-live__section-text {
    font-size: 0.95rem;
  }

  .page-live__game-grid,
  .page-live__feature-grid,
  .page-live__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__game-image,
  .page-live__app-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-live__game-card,
  .page-live__feature-item,
  .page-live__steps-list li {
    padding: 20px;
  }

  .page-live__cta-section {
    padding: 50px 0;
  }

  .page-live__cta-container {
    padding: 30px 20px;
  }

  .page-live__cta-title {
    font-size: 1.8rem;
  }

  .page-live__cta-description {
    font-size: 1rem;
  }

  .page-live__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-live__faq-answer {
    padding: 0 20px;
    font-size: 0.95rem;
  }
  
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 10px 20px;
  }

  .page-live__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Ensure all content containers are responsive */
  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__game-card,
  .page-live__feature-item,
  .page-live__steps-list li,
  .page-live__cta-container,
  .page-live__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* General image responsiveness for content area */
.page-live img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure content area images are not too small */
.page-live__introduction-section img,
.page-live__games-section img,
.page-live__why-choose-section img,
.page-live__getting-started-section img,
.page-live__responsible-gaming-section img,
.page-live__cta-section img,
.page-live__faq-section img {
  min-width: 200px;
  min-height: 200px;
}

/* Override for specific small icons if they were allowed (not needed here based on rules) */
/* Example: .page-live__game-category-icon { width: 30px; height: 30px; min-width: unset; min-height: unset; } */