:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --header-offset: 122px; /* Value from shared.css */
}

.page-live {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-live__section-padding {
  padding: 80px 0;
}

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

.page-live__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-live__center-button {
  text-align: center;
  margin-top: 40px;
}

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

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

.page-live__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-live__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--background-color);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-live__text-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__text-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 80px;
  overflow: hidden;
}

.page-live__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.page-live__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
}

.page-live__main-title {
  font-size: clamp(2.5em, 5vw, 4.5em);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.page-live__hero-description {
  font-size: 1.3em;
  color: var(--text-main-color);
  margin-bottom: 40px;
  line-height: 1.5;
}

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

/* Features Section */
.page-live__features-section {
  background-color: var(--card-bg);
}

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

.page-live__feature-item {
  background-color: var(--background-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-live__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(242, 193, 78, 0.3);
}

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

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

.page-live__feature-text {
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
}

/* Categories Section */
.page-live__categories-section {
  background-color: var(--background-color);
}

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

.page-live__category-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: var(--text-main-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-live__category-card:hover {
  transform: translateY(-5px);
  background-color: rgba(242, 193, 78, 0.1);
}

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

.page-live__category-name {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--primary-color);
}

/* Sports Highlights Section */
.page-live__sports-highlights {
  background-color: var(--card-bg);
}

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

.page-live__highlight-item {
  background-color: var(--background-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

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

.page-live__highlight-heading {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-live__highlight-text {
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Casino Experience Section */
.page-live__casino-experience {
  background-color: var(--background-color);
}

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

.page-live__casino-game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-live__casino-game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(242, 193, 78, 0.3);
}

.page-live__casino-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-live__casino-game-title {
  font-size: 1.6em;
  color: var(--primary-color);
  padding: 20px 20px 10px;
}

.page-live__casino-game-description {
  font-size: 1em;
  color: var(--text-main-color);
  padding: 0 20px 20px;
  line-height: 1.5;
}

/* Promotions Section */
.page-live__promotions-section {
  background-color: var(--card-bg);
}

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

.page-live__promo-card {
  background-color: var(--background-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-live__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(242, 193, 78, 0.3);
}

.page-live__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-live__promo-title {
  font-size: 1.6em;
  color: var(--primary-color);
  padding: 20px 20px 10px;
}

.page-live__promo-text {
  font-size: 1em;
  color: var(--text-main-color);
  padding: 0 20px 20px;
  line-height: 1.5;
}

/* App Download Section */
.page-live__app-download {
  background-color: var(--card-bg);
  color: var(--text-main-color);
}

.page-live__app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-live__app-text {
  flex: 1;
  min-width: 300px;
}

.page-live__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-live__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-live__app-features li {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-live__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 15px;
  background-color: var(--primary-color);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.page-live__icon--mobile {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M17 1H7a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2m-2 20H9v-1h6m2-3H7V4h10z"/></svg>');
}
.page-live__icon--fast {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M13 1.07c-2.4-.23-4.8.46-6.6 2.05L4 1.91V22h16V1.91l-2.4 1.21c-1.8-1.59-4.2-2.28-6.6-2.05m0 2c2.1.05 4.1.78 5.6 2.08L19 6v14h-4V10c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v10H5V6l.8-2.85c1.5-1.3 3.5-2.03 5.6-2.08z"/></svg>');
}
.page-live__icon--events {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-.5 15.5v-7h-2v-2h4v9z"/></svg>');
}
.page-live__icon--alerts {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m-1-13h2v6h-2V7m0 8h2v2h-2v-2z"/></svg>');
}

/* Partners Section */
.page-live__partners-section {
  background-color: var(--background-color);
}

.page-live__partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.page-live__partner-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 127px; /* Fixed height for partner items */
  width: 167px; /* Fixed width for partner items */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-live__partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px; /* Optional: slight border-radius for the image */
}

/* News & Blog Section */
.page-live__news-blog-section {
  background-color: var(--card-bg);
}

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

.page-live__blog-card {
  background-color: var(--background-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-live__blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(242, 193, 78, 0.3);
}

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

.page-live__blog-content {
  padding: 20px;
}

.page-live__blog-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-live__blog-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-live__blog-title a:hover {
  text-decoration: underline;
}

.page-live__blog-meta {
  font-size: 0.9em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-live__blog-excerpt {
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* About Section */
.page-live__about-section {
  background-color: var(--card-bg);
}

.page-live__about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-live__about-text {
  flex: 1;
  min-width: 300px;
}

.page-live__about-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-live__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-live__faq-section {
  background-color: var(--background-color);
}

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

.page-live__faq-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--primary-color);
  background-color: rgba(242, 193, 78, 0.05);
  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: 1.2em;
  color: var(--primary-color);
}

.page-live__faq-toggle {
  font-size: 1.8em;
  font-weight: 300;
  color: var(--secondary-color);
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-toggle {
  transform: rotate(0deg); /* Explicitly reset to ensure it's not rotated to X or + */
}

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main-color);
  line-height: 1.6;
}

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

.page-live__faq-answer p {
  margin: 0;
}

/* Info Text Section */
.page-live__info-text-section {
  background-color: var(--card-bg);
}

.page-live__expandable-content {
  max-height: none; /* Default expanded */
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.page-live__expandable-content.collapsed {
  max-height: 300px; /* Adjust as needed for initial collapsed view */
}

.page-live__expandable-content p {
  margin-bottom: 1em;
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
}

.page-live__btn-text-toggle {
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 1.1em;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 8px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.page-live__btn-text-toggle:hover {
  color: var(--primary-color);
  background-color: rgba(242, 193, 78, 0.1);
}

/* Global Image Styles */
.page-live img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__section-title {
    font-size: 2.2em;
  }
  .page-live__hero-description {
    font-size: 1.15em;
  }
  .page-live__app-content,
  .page-live__about-content {
    flex-direction: column;
    text-align: center;
  }
  .page-live__app-text,
  .page-live__about-text {
    order: 2;
  }
  .page-live__app-image-wrapper,
  .page-live__about-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
  .page-live__partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .page-live__section-padding {
    padding: 50px 0;
  }
  .page-live__hero-section {
    padding-bottom: 50px;
    padding-top: 10px !important;
  }
  .page-live__main-title {
    font-size: clamp(2em, 8vw, 3em);
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
  }
  .page-live__cta-buttons {
    flex-direction: column;
    padding: 0 15px;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-live__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .page-live__feature-item,
  .page-live__highlight-item,
  .page-live__casino-game-card,
  .page-live__promo-card,
  .page-live__blog-card {
    padding: 20px;
  }
  .page-live__feature-heading,
  .page-live__highlight-heading,
  .page-live__casino-game-title,
  .page-live__promo-title,
  .page-live__blog-title {
    font-size: 1.4em;
  }
  .page-live__faq-question h3 {
    font-size: 1em;
  }
  .page-live__faq-question {
    padding: 15px 20px;
  }
  .page-live__faq-answer {
    padding: 0 20px;
  }
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-live__partner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-live__partner-item {
    width: 100% !important;
    height: auto !important;
    min-height: 80px;
  }

  /* Mandatory mobile image/container styles */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__hero-section,
  .page-live__video-container,
  .page-live__app-download,
  .page-live__about-section,
  .page-live__cta-buttons,
  .page-live__partner-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-live__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-live__video-container {
    padding: 0;
  }
  .page-live__video {
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-live__section-title {
    font-size: 1.6em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__category-grid {
    grid-template-columns: 1fr;
  }
  .page-live__feature-grid,
  .page-live__highlight-grid,
  .page-live__casino-grid,
  .page-live__promo-cards,
  .page-live__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-live__partner-grid {
    grid-template-columns: 1fr;
  }
  .page-live__app-features li {
    font-size: 1em;
  }
  .page-live__faq-question h3 {
    font-size: 0.95em;
  }
}