/* style/live.css */
.page-live {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
  padding-top: 10px; /* Small padding to prevent content from touching fixed header */
}

.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: 20px;
  color: #F2C14E; /* Primary color for titles */
  line-height: 1.2;
}

.page-live__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding-bottom: 50px;
}

.page-live__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

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

.page-live__hero-content-wrapper {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  text-align: center;
}

.page-live__hero-title {
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

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

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

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-live__btn-secondary {
  background: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
}

.page-live__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
}

.page-live__btn-tertiary {
  background: #111111; /* Card BG */
  color: #F2C14E;
  border: 1px solid #3A2A12; /* Border */
  padding: 8px 20px;
  font-size: 0.9em;
}

.page-live__btn-tertiary:hover {
  background: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
}

.page-live__btn-link {
  color: #F2C14E;
  text-decoration: underline;
  font-weight: normal;
  padding: 5px 0;
}

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

/* Intro Section */
.page-live__intro-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__intro-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-live__feature-item {
  flex: 1 1 300px;
  text-align: center;
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease;
}

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

.page-live__feature-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

/* Games Section */
.page-live__games-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

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

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

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

.page-live__game-card-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin: 20px 15px 10px 15px;
}

.page-live__game-card-title a {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__game-card-title a:hover {
  color: #FFD36B;
}

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

.page-live__game-card .page-live__btn-tertiary {
  margin-bottom: 20px;
}

/* Promo Section */
.page-live__promo-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-live__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  object-fit: cover;
}

.page-live__promo-cta {
  margin-top: 30px;
}

/* Getting Started Section */
.page-live__getting-started-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__steps-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-live__step-card {
  flex: 1 1 300px;
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  border: 1px solid #3A2A12;
  padding: 30px;
  text-align: center;
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #0A0A0A;
}

.page-live__step-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-live__step-text {
  color: #FFF6D6;
  font-size: 1em;
  flex-grow: 1;
}

.page-live__getting-started-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

/* FAQ Section */
.page-live__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

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

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  color: #F2C14E;
  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: 1em;
  color: inherit;
}

.page-live__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B;
  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;
  color: #FFF6D6;
  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: 15px 25px;
}

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

/* Partners Section */
.page-live__partners-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-live__partner-logo-wrapper {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 120px;
  transition: transform 0.3s ease;
}

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

.page-live__partner-logo {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.page-live__partner-logo-wrapper:hover .page-live__partner-logo {
  filter: grayscale(0%);
}

/* Final CTA Section */
.page-live__cta-section {
  padding: 60px 0 80px 0;
  background-color: #0A0A0A;
}

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

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 120px) !important; /* Mobile padding for fixed header */
  }
  .page-live__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-live__hero-section {
    min-height: unset;
    padding-bottom: 30px;
  }
  .page-live__hero-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-cta-buttons,
  .page-live__getting-started-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__btn-tertiary,
  .page-live__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-live__intro-features {
    flex-direction: column;
  }
  .page-live__feature-item,
  .page-live__game-card,
  .page-live__step-card {
    flex: 1 1 100%;
  }
  .page-live__game-card-image {
    height: 180px;
  }
  .page-live__section-description {
    font-size: 1em;
  }
  .page-live__promo-image {
    margin: 20px auto;
  }
  .page-live__faq-question,
  .page-live__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 15px 15px;
  }
  
  /* 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,
  .page-live__hero-section,
  .page-live__intro-section,
  .page-live__games-section,
  .page-live__promo-section,
  .page-live__getting-started-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__partners-section,
  .page-live__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific overrides for logo/icon size exceptions */
  .page-live__feature-icon {
    width: 30px !important;
    height: 30px !important;
  }
  .page-live__partner-logo {
    max-width: 100% !important;
    max-height: 90px !important;
    width: auto !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: clamp(1.5em, 9vw, 2em);
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__btn-primary,
  .page-live__btn-secondary {
    font-size: 0.9em;
  }
  .page-live__feature-item,
  .page-live__game-card,
  .page-live__step-card {
    padding: 20px;
  }
  .page-live__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
}