/* style/live.css */
.page-live {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
}

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

.page-live__video-link {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  cursor: pointer;
}

.page-live__video {
  width: 100%;
  height: auto;
  display: block;
  background-color: #111111;
}

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

.page-live__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-live__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

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

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

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

.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 rgba(242, 193, 78, 0.6);
}

.page-live__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-live__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-live__game-categories-section,
.page-live__featured-games-section,
.page-live__why-choose-section,
.page-live__bonuses-section,
.page-live__how-to-play-section,
.page-live__payment-methods-section,
.page-live__faq-section,
.page-live__media-partners-section,
.page-live__download-app-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-live__categories-grid,
.page-live__games-grid,
.page-live__promos-grid,
.page-live__steps-grid,
.page-live__partners-grid {
  display: grid;
  gap: 30px;
}

.page-live__categories-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  justify-content: center;
}

.page-live__category-card {
  background-color: #111111; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.2);
}

.page-live__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #F2C14E);
}

.page-live__category-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD36B; /* Glow */
}

.page-live__category-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
}

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

.page-live__game-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
}

.page-live__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.2);
}

.page-live__game-image {
  width: 100%;
  height: 300px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-live__game-card h3,
.page-live__game-card p,
.page-live__game-card a {
  padding: 0 20px;
}

.page-live__game-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #FFD36B; /* Glow */
}

.page-live__game-provider {
  font-size: 0.9rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
}

.page-live__game-card .page-live__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
  margin-top: auto;
}

.page-live__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-live__text-block {
  line-height: 1.6;
  color: #FFF6D6;
}

.page-live__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-live__feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #FFF6D6;
}

.page-live__feature-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #F2C14E; /* Main color */
}

.page-live__feature-image {
  width: 100%;
  height: 450px; /* Adjusted height */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-live__promo-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
}

.page-live__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.2);
}

.page-live__promo-image {
  width: 100%;
  height: 267px; /* Adjusted height for 3:2 aspect ratio */
  object-fit: cover;
  display: block;
}

.page-live__promo-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0 20px;
  color: #FFD36B; /* Glow */
}

.page-live__promo-text {
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0 20px;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-live__promo-card .page-live__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
  margin-top: auto;
}

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

.page-live__step-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.2);
}

.page-live__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  display: block;
  line-height: 1;
}

.page-live__step-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD36B; /* Glow */
}

.page-live__step-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-live__step-card .page-live__btn-primary {
  width: auto;
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: auto;
}

.page-live__payment-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.page-live__payment-icon {
  width: 150px;
  height: 75px;
  object-fit: contain;
  filter: grayscale(100%) brightness(150%) drop-shadow(0 0 5px rgba(242, 193, 78, 0.5));
  transition: filter 0.3s ease;
}

.page-live__payment-icon:hover {
  filter: grayscale(0%) brightness(100%) drop-shadow(0 0 10px #F2C14E);
}

.page-live__payment-note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.95rem;
  color: #FFF6D6;
}

.page-live__text-link {
  color: #F2C14E; /* Main color */
  text-decoration: none;
}

.page-live__text-link:hover {
  text-decoration: underline;
}

.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;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #FFD36B; /* Glow */
  transition: background-color 0.3s ease;
}

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

.page-live__faq-question h3 {
  margin: 0;
  font-size: inherit;
  color: inherit;
}

.page-live__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #F2C14E; /* Main 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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  line-height: 1.6;
}

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

.page-live__partners-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  justify-content: center;
  align-items: center;
}

.page-live__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  filter: grayscale(100%) brightness(150%) drop-shadow(0 0 5px rgba(242, 193, 78, 0.5));
  transition: filter 0.3s ease;
  margin: 0 auto;
  display: block;
}

.page-live__partner-logo:hover {
  filter: grayscale(0%) brightness(100%) drop-shadow(0 0 10px #F2C14E);
}

.page-live__download-app-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 60px;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__download-content {
  flex: 1;
  text-align: left;
}

.page-live__download-app-section .page-live__section-title {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 15px;
}

.page-live__download-app-section .page-live__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
  max-width: none;
}

.page-live__app-download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-live__app-mockup {
  flex-shrink: 0;
}

.page-live__app-image {
  width: 400px;
  height: 300px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live__content-grid {
    grid-template-columns: 1fr;
  }
  .page-live__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-live__download-app-section {
    flex-direction: column;
    text-align: center;
  }
  .page-live__download-app-section .page-live__section-title,
  .page-live__download-app-section .page-live__section-description {
    text-align: center;
  }
  .page-live__app-download-buttons {
    justify-content: center;
  }
}

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

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

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

  .page-live__intro-text,
  .page-live__section-description,
  .page-live__category-text,
  .page-live__game-provider,
  .page-live__promo-text,
  .page-live__step-text,
  .page-live__payment-note,
  .page-live__faq-answer p {
    font-size: 1rem;
  }

  .page-live__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 300px !important; /* Max width for buttons on mobile */
    padding: 12px 20px !important;
    font-size: 1rem !important;
    margin: 0 auto !important; /* Center buttons */
  }

  .page-live__game-categories-section,
  .page-live__featured-games-section,
  .page-live__why-choose-section,
  .page-live__bonuses-section,
  .page-live__how-to-play-section,
  .page-live__payment-methods-section,
  .page-live__faq-section,
  .page-live__media-partners-section,
  .page-live__download-app-section {
    padding: 40px 15px;
  }

  .page-live__category-card,
  .page-live__game-card,
  .page-live__promo-card,
  .page-live__step-card,
  .page-live__faq-item,
  .page-live__download-app-section {
    padding: 20px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-live__game-image,
  .page-live__feature-image,
  .page-live__promo-image,
  .page-live__app-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

  .page-live__video-container,
  .page-live__video-link,
  .page-live__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-live__payment-icons,
  .page-live__partners-grid {
    gap: 15px;
  }

  .page-live__payment-icon {
    width: 100px;
    height: 50px;
  }

  .page-live__partner-logo {
    width: 100px;
    height: 70px;
  }

  .page-live__download-app-section {
    padding: 30px 15px;
  }

  .page-live__app-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-top: 30px;
  }

  .page-live__download-app-section .page-live__section-title {
    font-size: 1.5rem;
  }

  .page-live__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

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