/* style/live.css */
.page-live {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-bottom: 60px; /* Ensure space above footer */
}

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

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

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

.page-live__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-live__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFD36B; /* Glow color for emphasis */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
  font-size: clamp(2.5rem, 4vw, 3.8rem); /* Responsive H1 font size */
}

.page-live__hero-description {
  font-size: 1.15rem;
  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;
}

.page-live__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: bold;
}

.page-live__info-section,
.page-live__games-section,
.page-live__tech-section,
.page-live__promo-section,
.page-live__getting-started-section,
.page-live__responsible-gaming-section,
.page-live__faq-section,
.page-live__why-choose-section {
  padding: 60px 0;
}

.page-live__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: justify;
}

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

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
}

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

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

.page-live__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border-color: #F2C14E;
}

.page-live__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-3px);
}

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

.page-live__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__game-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-live__game-card-title {
  font-size: 1.5rem;
  color: #FFD36B;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-live__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-live__game-card-title a:hover {
  text-decoration: underline;
}

.page-live__game-card-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  padding: 0 15px;
}

.page-live__tech-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-live__tech-text {
  flex: 1;
  min-width: 300px;
}

.page-live__tech-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-live__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-live__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-live__promo-card {
  background-color: #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;
}

.page-live__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-live__promo-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-live__promo-card-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-live__promo-card-description {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-live__promo-card-description a {
  color: #FFD36B;
  text-decoration: underline;
}

.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 */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.page-live__step-number {
  font-size: 3rem;
  font-weight: bold;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.6);
}

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

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

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

.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 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2C14E;
  cursor: pointer;
  background-color: #111111;
  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.5rem;
  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 25px;
  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 25px 20px;
}

.page-live__faq-answer p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #FFF6D6;
}

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

.page-live__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-live__advantage-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 20px;
  font-size: 1.1rem;
  color: #FFF6D6;
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-live__advantage-item::before {
  content: '✔';
  color: #FFD36B; /* Glow color */
  font-size: 1.5rem;
  font-weight: bold;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live__hero-content {
    padding: 30px 15px;
  }
  .page-live__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  .page-live__section-title {
    font-size: 2rem;
  }
  .page-live__tech-content {
    flex-direction: column-reverse;
  }
  .page-live__tech-text, .page-live__tech-image {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-live__container {
    padding: 0 15px;
  }
  .page-live__hero-section {
    padding-bottom: 40px;
  }
  .page-live__main-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }
  .page-live__hero-description {
    font-size: 1rem;
  }
  .page-live__hero-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;
    font-size: 1rem;
    text-align: center;
  }
  .page-live__info-section,
  .page-live__games-section,
  .page-live__tech-section,
  .page-live__promo-section,
  .page-live__getting-started-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__why-choose-section {
    padding: 40px 0;
  }
  .page-live__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-live__text-block {
    font-size: 0.95rem;
  }
  .page-live__game-cards-grid, .page-live__promo-grid, .page-live__steps-grid, .page-live__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live__game-card-image {
    height: 180px;
  }
  .page-live__game-card-title {
    font-size: 1.3rem;
  }
  .page-live__promo-card-image {
    height: 150px;
  }
  .page-live__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 10px 20px 15px;
  }
  /* Mobile image adaptation */
  .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;
  }
  .page-live__hero-image-wrapper,
  .page-live__hero-image {
    width: 100%;
    height: 100%;
  }
  .page-live__hero-content {
    width: calc(100% - 30px);
    margin: 0 15px;
  }
  .page-live__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-live__cta-buttons > * {
    width: 100%;
    max-width: 100%;
  }
}