/* style/live.css */

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

/* Base styles for the page content, assuming shared.css sets body background to --okbet-background */
.page-live {
  font-family: Arial, sans-serif;
  color: var(--okbet-text-main); /* Ensure text is light on dark background */
  line-height: 1.6;
  font-size: 1rem;
}

/* Hero Section / Main Video Area */
.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px; /* Minimum height for hero */
  padding-bottom: 40px; /* Space below content */
  background-color: var(--okbet-background);
}

.page-live__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  display: flex; /* Ensure video is centered if smaller */
  justify-content: center;
  align-items: center;
}

.page-live__video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the container */
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  margin-top: 60px; /* Space from top to avoid header overlap */
  color: var(--okbet-text-main);
}

.page-live__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

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

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

.page-live__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff; /* White text on gradient button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-live__btn-secondary:hover {
  background: var(--okbet-primary-color);
  color: var(--okbet-background);
}

/* General Section Styling */
.page-live__section {
  padding: 60px 20px;
  background-color: var(--okbet-background);
  color: var(--okbet-text-main);
}

.page-live__section--dark {
  background-color: var(--okbet-card-bg);
}

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

.page-live__section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--okbet-primary-color);
  font-weight: bold;
  line-height: 1.3;
}

.page-live__subsection-title {
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--okbet-secondary-color);
  font-weight: bold;
}

.page-live__text-block {
  margin-bottom: 20px;
  color: var(--okbet-text-main);
}

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

.page-live__link {
  color: var(--okbet-primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-live__link:hover {
  text-decoration: underline;
}

/* Grid Layouts */
.page-live__grid {
  display: grid;
  gap: 30px;
  margin-bottom: 30px;
}

.page-live__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-live__grid--3-col {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Styling */
.page-live__card {
  background-color: var(--okbet-card-bg);
  border: 1px solid var(--okbet-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--okbet-text-main);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-live__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-live__card-title {
  color: var(--okbet-secondary-color);
  font-weight: bold;
  margin-bottom: 15px;
}

.page-live__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--okbet-text-main);
}

.page-live__list li {
  margin-bottom: 8px;
}

/* Step Cards */
.page-live__step-card {
  background-color: var(--okbet-card-bg);
  border: 1px solid var(--okbet-border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-live__step-title {
  color: var(--okbet-primary-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.page-live__step-description {
  font-size: 0.95rem;
  color: var(--okbet-text-main);
}

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

.page-live__feature-item {
  background-color: var(--okbet-card-bg);
  border: 1px solid var(--okbet-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: var(--okbet-text-main);
}

.page-live__feature-title {
  color: var(--okbet-secondary-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.page-live__feature-description {
  font-size: 0.95rem;
}

/* Image Styling */
.page-live__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-live__image--center {
  display: block;
  margin: 0 auto 30px auto;
}

/* FAQ Section */
.page-live__faq-list {
  margin-top: 30px;
}

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

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--okbet-primary-color);
  transition: background-color 0.3s ease;
}

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

.page-live__faq-heading {
  margin: 0;
  color: inherit;
}

.page-live__faq-toggle {
  font-size: 1.5rem;
  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: var(--okbet-text-main);
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

/* Partner Logos Grid */
.page-live__section--partners {
  padding-bottom: 80px;
}

.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns for desktop */
  gap: 20px;
  justify-items: center;
  align-items: center;
  margin-top: 40px;
}

.page-live__partner-logo {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%) brightness(0.8); /* Subtle effect for logos */
  transition: filter 0.3s ease;
}

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.5rem;
  }
}

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

  .page-live__hero-section {
    min-height: 400px;
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }

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

  .page-live__hero-title {
    font-size: 2rem;
  }

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

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

  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

  .page-live__section,
  .page-live__container,
  .page-live__card,
  .page-live__grid,
  .page-live__feature-grid,
  .page-live__faq-list,
  .page-live__partners-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-live__section {
    padding: 40px 15px;
  }

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

  .page-live__subsection-title {
    font-size: 1.3rem;
  }

  .page-live__grid--2-col,
  .page-live__grid--3-col,
  .page-live__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-live__card,
  .page-live__step-card,
  .page-live__feature-item {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-live__faq-question {
    padding: 15px 20px;
  }

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

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

  .page-live__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 15px;
  }

  /* Image and Video responsiveness */
  .page-live img,
  .page-live video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-live__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure content images are never too small */
.page-live__card-image,
.page-live__image {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Exceptions for partner logos */
.page-live__partner-logo {
  min-width: unset; /* Override general min-width */
  min-height: unset; /* Override general min-height */
  width: 167px; /* Fixed width for partner logos */
  height: 127px; /* Fixed height for partner logos */
  object-fit: contain; /* Ensure logo is fully visible */
}