/* style/live.css */

/* Custom properties for colors from the prompt */
:root {
  --page-live-primary-color: #F2C14E;
  --page-live-secondary-color: #FFD36B;
  --page-live-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --page-live-card-bg: #111111;
  --page-live-background-color: #0A0A0A;
  --page-live-text-main: #FFF6D6;
  --page-live-border-color: #3A2A12;
  --page-live-glow-color: #FFD36B;
}

.page-live {
  background-color: var(--page-live-background-color);
  color: var(--page-live-text-main); /* Ensure contrast with dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-live__section-title {
  font-size: clamp(2rem, 4vw, 3rem); /* H1 font-size rule compliance */
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-live-primary-color);
  line-height: 1.2;
}

.page-live__section-description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: var(--page-live-text-main);
}

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrap for responsiveness */
  word-wrap: break-word; /* Allow text wrap for responsiveness */
  box-sizing: border-box; /* Ensure padding/border included in width */
  max-width: 100%; /* Ensure button doesn't overflow container */
}

.page-live__btn-primary {
  background: var(--page-live-button-gradient);
  color: #ffffff; /* White text for gradient button */
  border: 2px solid transparent;
}

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

.page-live__btn-secondary {
  background: transparent;
  color: var(--page-live-primary-color);
  border: 2px solid var(--page-live-primary-color);
}

.page-live__btn-secondary:hover {
  background: var(--page-live-primary-color);
  color: var(--page-live-background-color);
  transform: translateY(-2px);
}

.page-live__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
}

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

/* Cards */
.page-live__card {
  background-color: var(--page-live-card-bg);
  border: 1px solid var(--page-live-border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: var(--page-live-text-main); /* Light text for dark card background */
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image block above text block */
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-live__video-container {
  width: 100%;
  max-width: 1200px; /* Constrain video width */
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px; /* Space between video and content */
}

.page-live__video-link {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  cursor: pointer;
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.page-live__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-live__main-title {
  font-size: clamp(2.8rem, 5vw, 4rem); /* H1 font-size rule compliance */
  font-weight: 900;
  color: var(--page-live-primary-color);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-live__hero-description {
  font-size: 1.2em;
  color: var(--page-live-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Choose Section */
.page-live__why-choose-section {
  padding: 60px 0;
}

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

.page-live__feature-card {
  text-align: center;
}

.page-live__feature-icon {
  width: 200px; /* Enforce 200x200px minimum for content images */
  height: 200px; /* Enforce 200x200px minimum for content images */
  object-fit: contain;
  margin: 0 auto 20px auto; /* Center the icon */
  filter: drop-shadow(0 0 10px rgba(242, 193, 78, 0.4)); /* Glow effect */
}

.page-live__feature-title {
  font-size: 1.5em;
  color: var(--page-live-primary-color);
  margin-bottom: 15px;
}

.page-live__feature-text {
  font-size: 1em;
  color: var(--page-live-text-main);
}

/* Games Section */
.page-live__games-section {
  padding: 60px 0;
  background-color: rgba(17, 17, 17, 0.7); /* Slightly lighter background for contrast */
}

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

.page-live__game-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push link to bottom */
}

.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--page-live-border-color);
  min-width: 200px;
  min-height: 200px;
}

.page-live__game-title {
  font-size: 1.6em;
  color: var(--page-live-primary-color);
  margin-bottom: 15px;
}

.page-live__game-text {
  font-size: 1em;
  color: var(--page-live-text-main);
  flex-grow: 1; /* Allow text to take available space */
  margin-bottom: 20px;
}

.page-live__game-link {
  display: inline-block;
  color: var(--page-live-secondary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

.page-live__game-link:hover {
  text-decoration: underline;
  color: #ffffff;
}


/* Promotions Section */
.page-live__promotions-section {
  padding: 60px 0;
}

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

.page-live__promo-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--page-live-border-color);
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-live__promo-text {
  flex: 2 1 500px;
  color: var(--page-live-text-main);
}

.page-live__promo-text h3 {
  font-size: 1.8em;
  color: var(--page-live-secondary-color);
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-live__promo-text p {
  margin-bottom: 15px;
}

/* Mobile Section */
.page-live__mobile-section {
  padding: 60px 0;
  background-color: rgba(17, 17, 17, 0.7); /* Slightly lighter background for contrast */
}

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

.page-live__mobile-text {
  flex: 2 1 500px;
  color: var(--page-live-text-main);
}

.page-live__mobile-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-live__mobile-text ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-live__mobile-text ul li::before {
  content: '✓';
  color: var(--page-live-primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-live__mobile-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--page-live-border-color);
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

/* Security Section */
.page-live__security-section {
  padding: 60px 0;
}

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

.page-live__security-item {
  text-align: center;
}

.page-live__security-icon {
  width: 200px; /* Enforce 200x200px minimum for content images */
  height: 200px; /* Enforce 200x200px minimum for content images */
  object-fit: contain;
  margin: 0 auto 20px auto;
  filter: drop-shadow(0 0 8px rgba(255, 211, 107, 0.3));
}

.page-live__security-title {
  font-size: 1.5em;
  color: var(--page-live-primary-color);
  margin-bottom: 15px;
}

.page-live__security-text {
  font-size: 1em;
  color: var(--page-live-text-main);
}

/* Payments Section */
.page-live__payments-section {
  padding: 60px 0;
  background-color: rgba(17, 17, 17, 0.7); /* Slightly lighter background for contrast */
}

.page-live__payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-live__payment-item {
  text-align: center;
  padding: 20px;
}

.page-live__payment-icon {
  width: 80px; /* Allowed exception for icons */
  height: 80px; /* Allowed exception for icons */
  object-fit: contain;
  margin: 0 auto 15px auto;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.2));
}

.page-live__payment-name {
  font-size: 1.2em;
  color: var(--page-live-secondary-color);
  font-weight: bold;
}

.page-live__payment-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95em;
  color: var(--page-live-text-main);
}

/* Support Section */
.page-live__support-section {
  padding: 60px 0;
}

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

.page-live__support-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--page-live-border-color);
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-live__support-text {
  flex: 2 1 500px;
  color: var(--page-live-text-main);
}

.page-live__contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-live__contact-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-live__contact-list li::before {
  content: '•';
  color: var(--page-live-primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}


/* FAQ Section */
.page-live__faq-section {
  padding: 60px 0;
  background-color: rgba(17, 17, 17, 0.7); /* Slightly lighter background for contrast */
}

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

.page-live__faq-item {
  margin-bottom: 20px;
  cursor: pointer;
  overflow: hidden; /* For transition */
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--page-live-card-bg); /* Use card background for question */
  border-bottom: 1px solid var(--page-live-border-color);
  border-radius: 12px;
  color: var(--page-live-primary-color);
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

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

.page-live__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-live-secondary-color);
}

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

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px; /* Adjusted padding to match question */
  background-color: #1a1a1a; /* Slightly lighter than card bg */
  color: var(--page-live-text-main);
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-left: 1px solid var(--page-live-border-color);
  border-right: 1px solid var(--page-live-border-color);
  border-bottom: 1px solid var(--page-live-border-color);
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 20px !important; /* Adjust padding when open */
}

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

/* CTA Section (final) */
.page-live__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #0A0A0A 0%, #3A2A12 100%); /* Blend of background and border color for a rich dark look */
  border-top: 3px solid var(--page-live-primary-color);
}

.page-live__cta-section .page-live__section-title,
.page-live__cta-section .page-live__section-description {
  color: var(--page-live-text-main); /* Ensure light text on dark background */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live__hero-section {
    padding-bottom: 40px;
  }

  .page-live__main-title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  }

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

  .page-live__promo-content,
  .page-live__mobile-content,
  .page-live__support-content {
    flex-direction: column;
  }

  .page-live__promo-image,
  .page-live__mobile-image,
  .page-live__support-image {
    max-width: 80%;
    margin-bottom: 30px;
  }

  .page-live__payment-methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}