/* style/live.css */

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

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

.page-live__section {
  padding: 80px 0;
  text-align: center;
  background-color: #111111; /* Card BG */
  margin-bottom: 20px;
}

.page-live__section:first-of-type {
  padding-top: 10px; /* Small top padding for the first section, body handles --header-offset */
}

.page-live__section-title {
  font-size: 2.8em;
  color: #F2C14E; /* Primary color for titles */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

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

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

.page-live__video-container {
  width: 100%;
  max-width: 1200px; /* Desktop width */
  margin: 0 auto 40px auto;
  box-sizing: border-box;
  position: relative;
  /* Ensure aspect ratio */
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.page-live__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.6);
  display: block; /* Ensure no extra space below video */
}

.page-live__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any background effects */
  position: relative;
}

.page-live__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive font size */
  color: #FFD36B; /* Auxiliary color for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -1px;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__cta-button {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

.page-live__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Primary color */
  border: 2px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-live__btn-secondary:hover {
  background: #222222;
  border-color: #F2C14E;
  color: #FFD36B;
  transform: translateY(-2px);
}

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

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

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

.page-live__game-icon {
  width: 30px; /* Allowed small icon size */
  height: 30px; /* Allowed small icon size */
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #F2C14E);
}

.page-live__game-category-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 10px;
}

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

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

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

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

.page-live__feature-image {
  width: 100%;
  max-width: 400px; /* Example display width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

.page-live__promotion-card {
  background: #111111; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-live__promotion-image {
  width: 100%;
  max-width: 380px; /* Example display width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-live__promotion-title {
  font-size: 1.6em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-live__promotion-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Payment Methods Section */
.page-live__payment-options {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-live__payment-item {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
  text-align: center;
  min-width: 250px;
  flex: 1; /* Allow items to grow */
  max-width: 350px;
}

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

.page-live__payment-logo {
  max-width: 200px; /* Example display width */
  height: auto;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: brightness(1.2);
  min-width: 200px;
  min-height: 100px;
}

.page-live__payment-name {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-live__payment-description {
  font-size: 1em;
  color: #FFF6D6;
}

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

.page-live__step-card {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-live__step-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 15px;
}

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

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

.page-live__mobile-screenshot {
  max-width: 600px; /* Example display width */
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  min-width: 200px;
  min-height: 200px;
}

.page-live__mobile-text-content {
  flex-grow: 1;
}

.page-live__mobile-subtitle {
  font-size: 2em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-live__mobile-description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-live__app-note {
  font-size: 0.9em;
  color: #aaa;
  margin-top: 15px;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section .page-live__section-description {
  margin-bottom: 30px;
}

/* FAQ Section */
.page-live__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

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

.page-live__faq-question:hover {
  background-color: #1a1a1a;
}

.page-live__faq-question h3 {
  margin: 0;
  font-weight: normal;
  color: inherit; /* Inherit color from parent */
}

.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; /* Initial state: collapsed */
  overflow: hidden;
  padding: 0 25px;
  color: #FFF6D6;
  font-size: 1em;
  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: 0;
  color: inherit;
}

/* Partners Section */
.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for specific partner image size */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
}

.page-live__partner-logo {
  width: 167px; /* Fixed width for partner logos */
  height: 127px; /* Fixed height for partner logos */
  object-fit: contain;
  background: #111111; /* Card BG for partner logo background */
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: grayscale(80%) brightness(1.2);
}

.page-live__partner-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
  filter: grayscale(0%) brightness(1.1);
}

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

  .page-live__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-live__mobile-screenshot {
    max-width: 80%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-live__section {
    padding: 60px 0;
  }

  .page-live__section-title {
    font-size: 1.8em;
  }

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

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

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-live__cta-button {
    width: 100% !important; /* Ensure full width */
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-live__game-categories,
  .page-live__features-grid,
  .page-live__promotions-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-live__payment-options {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }

  .page-live__payment-item {
    max-width: 100%;
  }

  .page-live__mobile-screenshot {
    max-width: 90%;
  }

  .page-live__mobile-subtitle {
    font-size: 1.6em;
  }

  .page-live__faq-question {
    font-size: 1.1em;
  }

  .page-live__faq-answer {
    padding: 0 15px;
  }

  .page-live__faq-item.active .page-live__faq-answer {
    padding: 15px !important;
  }

  .page-live__partners-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 15px;
  }

  /* Force responsive images for all content images */
  .page-live img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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;
  }

  /* Video section specific mobile padding */
  .page-live__hero-section {
    padding-top: 10px !important;
  }

  .page-live__video-container {
    padding-bottom: 56.25% !important;
    height: 0 !important;
  }

  .page-live__video {
    width: 100% !important;
    height: 100% !important;
  }
}