/* style/live.css */

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

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

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

.page-live__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-live__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Use clamp for H1 font size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: var(--primary-color);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__section-description,
.page-live__main-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main-color);
}

.page-live__dark-section {
  background-color: var(--card-bg);
  padding: 60px 0;
}

.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Rely on body for header offset, small top padding */
  background-color: var(--background-color-dark);
  overflow: hidden;
}

.page-live__video-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

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

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-text {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-live__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-live__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--glow-color);
}

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

.page-live__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--background-color-dark);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-live__btn-text {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 8px 15px;
  font-size: 0.95em;
}

.page-live__btn-text:hover {
  background-color: var(--primary-color);
  color: var(--background-color-dark);
}

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

.page-live__feature-item,
.page-live__game-card,
.page-live__step-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-live__feature-image,
.page-live__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-live__feature-title,
.page-live__game-title,
.page-live__step-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin: 0 20px 10px 20px;
  line-height: 1.3;
}

.page-live__feature-text,
.page-live__game-text,
.page-live__step-text {
  font-size: 1em;
  color: var(--text-main-color);
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__view-all-games {
  text-align: center;
  margin-top: 50px;
}

.page-live__mobile-gaming-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  background-color: var(--background-color-dark);
}

.page-live__mobile-content {
  max-width: 600px;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.page-live__mobile-image-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-live__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

.page-live__responsible-gaming-section {
  padding: 80px 0;
  text-align: center;
}

.page-live__faq-section {
  padding: 60px 0;
  background-color: var(--background-color-dark);
}

.page-live__faq-list {
  margin-top: 40px;
}

.page-live__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--card-bg);
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1em;
}

.page-live__faq-question h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.1em;
}

.page-live__faq-toggle {
  font-size: 1.5em;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main-color);
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px 20px 20px;
}

.page-live__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  color: var(--text-main-color);
}

.page-live__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-live__mobile-gaming-section {
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    padding: 80px 0;
  }

  .page-live__mobile-content {
    text-align: left;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .page-live__section-title {
    font-size: 2.2em;
  }

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

  .page-live__section-description,
  .page-live__main-description {
    font-size: 1em;
  }

  .page-live__hero-section,
  .page-live__why-choose-us-section,
  .page-live__games-selection-section,
  .page-live__getting-started-section,
  .page-live__mobile-gaming-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__cta-final-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-live__video-container {
    margin-bottom: 30px;
  }

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
  }

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live a[class*="button"],
  .page-live a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-live__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    flex-wrap: wrap !important;
  }

  .page-live__features-grid,
  .page-live__game-cards-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-live__feature-image,
  .page-live__game-image {
    height: 200px;
  }

  .page-live img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__mobile-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-live__faq-question,
  .page-live__faq-question h3 {
    font-size: 1em;
  }

  .page-live__faq-answer p {
    font-size: 0.9em;
  }
}

/* Ensure no CSS filters are used on images */
.page-live img {
  filter: none; /* Explicitly ensure no filters */
}

/* Content area image size enforcement for non-icon images */
.page-live__feature-image,
.page-live__game-image,
.page-live__mobile-image {
  min-width: 200px;
  min-height: 200px;
}