/* 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;
  --okbet-btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-live {
  font-family: Arial, sans-serif;
  color: var(--okbet-text-main); /* Default text color for the page */
  background-color: var(--okbet-background);
}

.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, use small top padding here */
  text-align: center;
  overflow: hidden;
}

.page-live__video-container {
  width: 100%;
  max-width: 1920px; /* Max width for the video container */
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Pull content slightly over video for visual connection */
  background-color: rgba(10, 10, 10, 0.8);
  border-radius: 10px;
}

.page-live__main-title {
  font-weight: bold;
  color: var(--okbet-primary-color);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 100%;
  margin-bottom: 15px;
}

.page-live__tagline {
  font-size: 1.1em;
  line-height: 1.5;
  margin-bottom: 30px;
  color: var(--okbet-text-main);
}

.page-live__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-text {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  display: inline-flex; /* Use flex to center text vertically if needed */
  align-items: center;
  justify-content: center;
}

.page-live__btn-primary {
  background: var(--okbet-btn-gradient);
  color: #ffffff;
  border: none;
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #FFD86A 0%, #F2C14E 100%);
  box-shadow: 0 0 15px var(--okbet-glow);
}

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

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

.page-live__btn-text {
  background: none;
  color: var(--okbet-primary-color);
  border: 2px solid var(--okbet-primary-color);
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: var(--okbet-primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live__section-description {
  font-size: 1.1em;
  color: var(--okbet-text-main);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-live__games-showcase,
.page-live__sports-betting-section,
.page-live__why-choose-okbet,
.page-live__how-to-start,
.page-live__media-partners,
.page-live__responsible-gaming,
.page-live__faq-section,
.page-live__contact-cta {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-live__category-item {
  background-color: var(--okbet-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--okbet-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--okbet-glow);
}

.page-live__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px var(--okbet-primary-color));
}

.page-live__category-title {
  font-size: 1.4em;
  color: var(--okbet-primary-color);
  margin-bottom: 10px;
}

.page-live__category-text {
  font-size: 0.95em;
  color: var(--okbet-text-main);
  line-height: 1.5;
}

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

.page-live__sports-betting-section {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: var(--okbet-card-bg);
  border-radius: 10px;
  padding: 40px;
  margin-top: 60px;
  border: 1px solid var(--okbet-border);
}

.page-live__sports-content {
  flex: 1;
}

.page-live__sports-image {
  flex: 1;
  text-align: center;
}

.page-live__sports-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.page-live__sports-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: var(--okbet-text-main);
}

.page-live__sports-features li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-live__sports-features li img {
  
  
  margin-right: 15px;
  filter: drop-shadow(0 0 5px var(--okbet-secondary-color));
}

.page-live__why-choose-okbet {
  background-color: var(--okbet-background);
}

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

.page-live__feature-card {
  background-color: var(--okbet-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--okbet-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--okbet-glow);
}

.page-live__feature-card img {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--okbet-primary-color);
}

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

.page-live__feature-description {
  font-size: 0.95em;
  color: var(--okbet-text-main);
  line-height: 1.5;
}

.page-live__how-to-start {
  background-color: var(--okbet-background);
}

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

.page-live__step-card {
  background-color: var(--okbet-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--okbet-border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background-color: var(--okbet-secondary-color);
  color: #000000;
  font-size: 2.5em;
  font-weight: bold;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.page-live__step-title {
  font-size: 1.6em;
  color: var(--okbet-primary-color);
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-live__step-description {
  font-size: 0.95em;
  color: var(--okbet-text-main);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live__media-partners {
  background-color: var(--okbet-background);
}

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

.page-live__partners-grid img {
   /* Fixed width */
   /* Fixed height */
  object-fit: contain;
  background-color: var(--okbet-card-bg);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid var(--okbet-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__partners-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--okbet-glow);
}

.page-live__responsible-gaming {
  text-align: center;
  background-color: var(--okbet-card-bg);
  border-radius: 10px;
  padding: 40px;
  margin-top: 60px;
  border: 1px solid var(--okbet-border);
}

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

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

.page-live__faq-item.active {
  background-color: rgba(var(--okbet-primary-color), 0.1);
}

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

.page-live__faq-question:hover {
  color: var(--okbet-secondary-color);
}

.page-live__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--okbet-secondary-color);
  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);
  line-height: 1.6;
}

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

.page-live__contact-cta {
  text-align: center;
}

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

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

  .page-live__sports-betting-section {
    flex-direction: column;
    text-align: center;
  }

  .page-live__sports-image {
    margin-top: 30px;
  }

  .page-live__partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .page-live__hero-section {
    padding-bottom: 40px;
  }

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

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

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

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

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__btn-text {
    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__games-showcase,
  .page-live__sports-betting-section,
  .page-live__why-choose-okbet,
  .page-live__how-to-start,
  .page-live__media-partners,
  .page-live__responsible-gaming,
  .page-live__faq-section,
  .page-live__contact-cta {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  /* Mobile image and video responsive styles */
  .page-live img,
  .page-live video {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-live__video-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .page-live__category-icon,
  .page-live__sports-features li img {
    
    
  }

  .page-live__feature-card img {
    
    
  }

  .page-live__partners-grid img {
    width: 100% !important;
    height: auto !important; /* Allow auto height for scaling */
     /* Maintain original aspect ratio */
    object-fit: contain !important;
  }

  .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: 15px 20px 20px 20px;
  }
}