/* 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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-live__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-live__item-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color */
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-live__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-live__hero-video-wrapper {
  width: 100%;
  max-height: 700px; /* Limit video height */
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-live__hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-live__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-live__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* About Section */
.page-live__about-section,
.page-live__games-categories,
.page-live__experience-section,
.page-live__promotions-section,
.page-live__how-to-join-section,
.page-live__security-section,
.page-live__mobile-section,
.page-live__providers-section,
.page-live__faq-section,
.page-live__cta-bottom-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-live__about-item,
.page-live__experience-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__about-image,
.page-live__experience-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-live__item-description {
  color: #FFF6D6;
  font-size: 0.95em;
}

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

.page-live__category-card {
  background-color: #111111; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  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;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px #FFD36B; /* Glow */
}

.page-live__category-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-live__card-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-live__card-description {
  font-size: 0.9em;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-live__category-card .page-live__card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
  margin-top: 15px;
}

/* Promotions Section */
.page-live__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__card {
  background-color: #111111; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-live__card .page-live__btn-primary,
.page-live__card .page-live__btn-secondary {
  margin-top: auto; /* Push button to bottom */
}

/* How to Join Section */
.page-live__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-live__step-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-live__step-title {
  color: #F2C14E;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-live__step-description {
  color: #FFF6D6;
  font-size: 0.95em;
}

.page-live__cta-buttons-bottom {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* Security Section */
.page-live__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__feature-item {
  background-color: #111111; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__feature-title {
  color: #FFD36B;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-live__feature-description {
  color: #FFF6D6;
  font-size: 0.95em;
}

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

.page-live__mobile-image {
  flex: 1 1 400px;
  max-width: 50%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.page-live__mobile-text {
  flex: 1 1 400px;
  max-width: 50%;
}

.page-live__mobile-text .page-live__item-title {
  color: #F2C14E;
  text-align: left;
}

.page-live__mobile-text .page-live__item-description {
  text-align: left;
  margin-bottom: 25px;
}

.page-live__mobile-features-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-live__mobile-features-list li {
  display: flex;
  align-items: center;
  color: #FFF6D6;
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-live__mobile-features-list li img {
  
  
  margin-right: 15px;
  object-fit: contain;
}

/* Providers Section */
.page-live__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-live__providers-grid img {
  
  
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.2);
  transition: filter 0.3s ease;
}

.page-live__providers-grid img:hover {
  filter: brightness(1) grayscale(0);
}

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

.page-live__faq-item {
  background-color: #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;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #222222;
}

.page-live__faq-question .page-live__item-title {
  margin: 0;
  color: #FFF6D6;
  font-size: 1.2em;
}

.page-live__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #F2C14E;
  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;
  font-size: 1em;
}

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

/* CTA Bottom Section */
.page-live__cta-bottom-section {
  text-align: center;
  padding-bottom: 100px;
}

.page-live__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-live__mobile-image,
  .page-live__mobile-text {
    max-width: 100%;
    flex: 1 1 100%;
    text-align: center;
  }
  
  .page-live__mobile-text .page-live__item-title,
  .page-live__mobile-text .page-live__item-description {
    text-align: center;
  }

  .page-live__mobile-features-list {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  .page-live__mobile-features-list li {
    flex-basis: calc(50% - 15px);
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-live__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-live__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

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

  .page-live__btn-primary,
  .page-live__btn-secondary {
    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__hero-cta-buttons,
  .page-live__cta-buttons-bottom,
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__about-section,
  .page-live__games-categories,
  .page-live__experience-section,
  .page-live__promotions-section,
  .page-live__how-to-join-section,
  .page-live__security-section,
  .page-live__mobile-section,
  .page-live__providers-section,
  .page-live__faq-section,
  .page-live__cta-bottom-section {
    padding: 40px 0;
  }

  .page-live__container {
    padding: 0 15px;
  }

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

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

  .page-live__hero-video-wrapper,
  .page-live__about-item,
  .page-live__experience-item,
  .page-live__category-card,
  .page-live__card,
  .page-live__step-item,
  .page-live__feature-item,
  .page-live__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-live__mobile-features-list li {
    flex-basis: 100%;
  }

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

  .page-live__providers-grid img {
    
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__item-title {
    font-size: 1.3em;
  }
  .page-live__faq-question .page-live__item-title {
    font-size: 1em;
  }
  .page-live__faq-toggle {
    font-size: 1.5em;
  }
}