.page-live {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-live__hero-section {
  position: relative;
  color: #ffffff;
  padding: 80px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

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

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-live__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-live__button--primary {
  background-color: #FFD700; /* Gold */
  color: #0A1931; /* Dark blue text */
}

.page-live__button--primary:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

.page-live__button--secondary {
  background-color: #0A1931; /* Dark blue */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-live__button--secondary:hover {
  background-color: #1a325a;
  transform: translateY(-2px);
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 1em;
  min-width: 150px; /* Still large enough */
}

.page-live__heading {
  font-size: 2.8em;
  color: #0A1931; /* Dark blue */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-live__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-live__sub-heading {
  font-size: 1.4em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__text-content {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

.page-live__about-section,
.page-live__how-to-play,
.page-live__security-section,
.page-live__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-live__game-categories {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-live__why-choose-us {
  padding: 60px 0;
  background-color: #0A1931; /* Dark blue background */
  color: #ffffff;
}

.page-live__why-choose-us .page-live__heading,
.page-live__why-choose-us .page-live__sub-heading,
.page-live__why-choose-us .page-live__advantage-title,
.page-live__why-choose-us .page-live__advantage-description {
  color: #ffffff; /* White text on dark background */
}

.page-live__why-choose-us .page-live__heading::after {
  background-color: #FFD700;
}

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

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-live__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.page-live__game-title {
  font-size: 1.8em;
  color: #0A1931;
  margin: 20px 20px 10px;
  text-align: center;
}

.page-live__game-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-live__game-card .page-live__button {
  margin: 0 20px 20px;
}

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

.page-live__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #FFD700;
  transition: transform 0.3s ease;
}

.page-live__step-item:hover {
  transform: translateY(-5px);
}

.page-live__step-title {
  font-size: 1.6em;
  color: #0A1931;
  margin-bottom: 15px;
}

.page-live__step-description {
  font-size: 1em;
  color: #555555;
}

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

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

.page-live__advantage-item {
  background-color: #1a325a; /* Slightly lighter dark blue */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-live__advantage-item:hover {
  background-color: #2b4573;
}

.page-live__advantage-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-live__advantage-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-live__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.page-live__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-live__faq-question {
  font-size: 1.3em;
  color: #0A1931;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #fcfcfc;
  border-bottom: 1px solid #e0e0e0;
}

.page-live__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  margin: 0;
  display: none;
}

.page-live__faq-item.active .page-live__faq-question::after {
  content: '-';
}

.page-live__faq-item.active .page-live__faq-answer {
  display: block;
}

.page-live__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #0A1931, #1a325a); /* Dark blue gradient */
  color: #ffffff;
}

.page-live__cta-section--bottom .page-live__heading,
.page-live__cta-section--bottom .page-live__text-content {
  color: #ffffff;
}

.page-live__cta-section--bottom .page-live__heading::after {
  background-color: #FFD700;
}

.page-live__cta-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__hero-description {
    font-size: 1.2em;
  }
  .page-live__heading {
    font-size: 2.5em;
  }
  .page-live__sub-heading {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-live__hero-section {
    min-height: 500px;
    padding: 60px 0;
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 90%;
    margin: 0 auto;
  }
  .page-live__heading {
    font-size: 2em;
  }
  .page-live__sub-heading {
    font-size: 1.1em;
  }
  .page-live__game-grid,
  .page-live__steps-list,
  .page-live__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-live__container {
    padding: 0 15px;
  }
  /* Mobile image constraint */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__game-image {
    height: 200px;
  }
  .page-live__button--small {
    min-width: unset;
    width: 100%;
  }
  .page-live__faq-question::after {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__heading {
    font-size: 1.8em;
  }
  .page-live__sub-heading {
    font-size: 1em;
  }
  .page-live__hero-section {
    padding: 40px 0;
    min-height: 400px;
  }
  .page-live__button {
    padding: 12px 20px;
    font-size: 1em;
  }
}