/* 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__video-hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px;
  box-sizing: border-box;
}

.page-live__video-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-sizing: border-box;
  z-index: 1;
}

.page-live__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-live__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 2;
  margin-top: -80px; /* Overlap slightly with video for visual flow */
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-live__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #F2C14E; /* Main Color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255,211,107,0.5);
}

.page-live__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

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

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

.page-live__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px #FFD36B; /* Glow */
}

.page-live__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E;
}

.page-live__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  box-shadow: 0 0 15px #FFD36B; /* Glow */
}

.page-live__btn-text {
  background: transparent;
  color: #FFD36B; /* Glow color */
  border: 1px solid #3A2A12; /* Border */
  padding: 10px 20px;
}

.page-live__btn-text:hover {
  color: #FFF6D6;
  border-color: #FFD36B;
}

.page-live__games-overview-section,
.page-live__why-okbet-section,
.page-live__get-started-section,
.page-live__download-app-section,
.page-live__faq-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-live__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255,211,107,0.3);
}

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

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

.page-live__game-category-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.page-live__game-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(255,211,107,0.2); /* Glow */
  border-color: #FFD36B;
}

.page-live__game-category-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255,211,107,0.5));
}

.page-live__game-category-title {
  font-size: 1.3em;
  color: #F2C14E;
  margin: 0;
}

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

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

.page-live__feature-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  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 12px 25px rgba(255,211,107,0.25);
}

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

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

.page-live__feature-description {
  font-size: 1em;
  padding: 0 15px 20px;
  margin: 0;
}

.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: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.page-live__step-number {
  font-size: 3em;
  font-weight: 800;
  color: rgba(242, 193, 78, 0.2);
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: 0;
}

.page-live__step-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.page-live__step-description {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.page-live__download-app-section {
  background: linear-gradient(90deg, #111111 0%, #0A0A0A 100%);
  padding: 80px 20px;
  margin-top: 60px;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-live__download-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-live__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255,211,107,0.4));
}

.page-live__app-text-block {
  max-width: 500px;
  text-align: left;
}

.page-live__app-text-block .page-live__section-title {
  text-align: left;
  margin-bottom: 20px;
}

.page-live__app-text-block .page-live__section-description {
  text-align: left;
  margin-bottom: 30px;
  margin-left: 0;
  margin-right: 0;
}

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

.page-live__faq-item {
  background: #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;
  cursor: pointer;
  color: #F2C14E;
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: rgba(255,211,107,0.1);
}

.page-live__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  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 */
  padding: 15px 25px 20px;
}

.page-live__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-content {
    margin-top: -60px;
  }

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

  .page-live__app-text-block {
    text-align: center;
  }

  .page-live__app-text-block .page-live__section-title,
  .page-live__app-text-block .page-live__section-description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-live__video-hero-section {
    padding: 10px 15px 40px;
  }

  .page-live__hero-content {
    padding: 30px 15px;
    margin-top: -40px;
  }

  .page-live__main-title {
    font-size: 2.2em;
  }

  .page-live__description {
    font-size: 1em;
  }

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

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__btn-text {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
  }
  
  .page-live__games-overview-section,
  .page-live__why-okbet-section,
  .page-live__get-started-section,
  .page-live__download-app-section,
  .page-live__faq-section {
    padding: 40px 15px;
  }

  .page-live__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-live__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-live__game-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-live__feature-image {
    height: 180px;
  }

  .page-live__feature-title {
    font-size: 1.3em;
  }

  .page-live__step-title {
    font-size: 1.4em;
  }

  .page-live__download-content {
    gap: 30px;
  }

  .page-live__app-image {
    max-width: 300px;
  }

  .page-live__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-live__faq-item.active .page-live__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Image responsive enforcement */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-live__video-hero-section,
  .page-live__games-overview-section,
  .page-live__why-okbet-section,
  .page-live__get-started-section,
  .page-live__download-app-section,
  .page-live__faq-section,
  .page-live__game-category-card,
  .page-live__feature-card,
  .page-live__step-card,
  .page-live__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__video-hero-section {
    padding-top: 10px !important; /* Ensure this is not var(--header-offset) */
  }

  /* Buttons responsive enforcement */
  .page-live__cta-button,
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-live__cta-buttons,
  .page-live__button-group,
  .page-live__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-live__cta-buttons {
    flex-direction: column;
  }
}