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

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

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2342;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-live__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

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

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-live__button--primary {
  background-color: #FFD700;
  color: #0A2342;
  border: 2px solid #FFD700;
}

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

.page-live__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-live__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
  transform: translateY(-2px);
}

.page-live__section-title {
  font-size: 2.8em;
  color: #0A2342;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-live__section-intro {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-live__about-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-live__games-section {
  padding: 80px 0;
  background-color: #eeeeee;
}

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

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px 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 24px rgba(0, 0, 0, 0.15);
}

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

.page-live__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-live__game-card-title {
  font-size: 1.8em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-live__game-card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  align-self: flex-start;
}

.page-live__features-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-live__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.page-live__feature-image {
  width: 100%; /* Ensure images take full width of container */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
}

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

.page-live__feature-description {
  font-size: 1em;
  color: #666666;
}

.page-live__how-to-play-section {
  padding: 80px 0;
  background-color: #eeeeee;
}

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

.page-live__step-item {
  background-color: #ffffff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 5px solid #FFD700;
}

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

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

.page-live__step-description {
  font-size: 1.05em;
  color: #555555;
  margin-bottom: 25px;
}

.page-live__faq-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-live__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-live__faq-item {
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live__faq-question {
  font-size: 1.3em;
  color: #0A2342;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-live__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-question {
  background-color: #f0f0f0;
}

.page-live__faq-item.active .page-live__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-live__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 300px; /* Adjust based on content */
  padding-top: 10px;
}

.page-live__faq-link {
  color: #0A2342;
  text-decoration: underline;
  font-weight: bold;
}

.page-live__faq-link:hover {
  color: #FFD700;
}

.page-live__cta-section {
  padding: 80px 0;
  background-color: #0A2342;
  color: #ffffff;
  text-align: center;
}

.page-live__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-live__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-live__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__section-title {
    font-size: 2.2em;
  }
  .page-live__game-card-image,
  .page-live__feature-image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 120px); /* Ensure mobile content is not hidden */
  }
  .page-live__hero-section {
    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: 80%;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__section-intro {
    font-size: 1em;
  }
  .page-live__game-grid,
  .page-live__features-grid,
  .page-live__step-list {
    grid-template-columns: 1fr;
  }
  .page-live__game-card-image,
  .page-live__feature-image {
    max-width: 100%;
    height: auto; /* Allow height to adjust for responsiveness */
    min-height: 200px; /* Ensure min size is met */
  }
  .page-live__feature-item,
  .page-live__step-item {
    padding: 25px;
  }
  .page-live__cta-title {
    font-size: 2.2em;
  }
  .page-live__cta-description {
    font-size: 1.1em;
  }
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__faq-question {
    font-size: 1.1em;
  }
  .page-live__faq-answer {
    font-size: 0.95em;
  }
  /* Mobile content area images must be constrained */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__button {
    width: 90%;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live__button--large {
    font-size: 1.1em;
  }
}