.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); /* Ensures content is not hidden by fixed header */
}

.page-live__section-padding {
  padding: 60px 20px;
}

.page-live__section--dark {
  background-color: #0A192F; /* Primary brand color for dark sections */
  color: #ffffff;
}

.page-live__section--gold-bg {
  background-color: #FFD700; /* Accent brand color for prominent sections */
  color: #0A192F; /* Dark text for light background */
}

.page-live__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0A192F; /* Dark background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.page-live__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

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

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

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

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

.page-live__button--primary:hover {
  background-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: #0A192F;
  transform: translateY(-2px);
}

.page-live__button--inline {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
  background-color: #0A192F; /* Dark button for light backgrounds */
  color: #FFD700;
  border: 1px solid #0A192F;
}

.page-live__button--inline:hover {
  background-color: #1a3250;
  border-color: #1a3250;
}

.page-live__button--cta {
  background-color: #0A192F;
  color: #FFD700;
  border: 2px solid #0A192F;
  padding: 18px 35px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-live__button--cta:hover {
  background-color: #1a3250;
  border-color: #1a3250;
}

.page-live__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #0A192F;
}

.page-live__section--dark .page-live__section-title {
  color: #FFD700;
}

.page-live__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-live__text-block {
  flex: 1;
  font-size: 1.1em;
}

.page-live__text-block p {
  margin-bottom: 15px;
}

.page-live__image-block {
  flex: 1;
  text-align: center;
}

.page-live__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-live__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-live__game-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark section */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-live__game-card:hover {
  transform: translateY(-5px);
}

.page-live__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-live__game-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-live__game-description {
  font-size: 0.95em;
  color: #e0e0e0;
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #FFD700;
  color: #0A192F;
  border: none;
  margin-top: auto; /* Push button to bottom */
}

.page-live__button--small:hover {
  background-color: #e6c200;
}

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

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

.page-live__feature-card:hover {
  transform: translateY(-5px);
}

.page-live__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-live__cta-section {
  text-align: center;
  padding: 80px 20px;
}

.page-live__cta-title {
  font-size: 2.8em;
  color: #0A192F;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-live__cta-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__responsible-gaming-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1em;
}

.page-live__responsible-gaming-content p {
  margin-bottom: 15px;
}

.page-live__responsible-gaming-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-live__responsible-gaming-list li {
  margin-bottom: 8px;
}

.page-live__responsible-gaming-list li a {
  color: #0A192F;
  text-decoration: underline;
}

.page-live__responsible-gaming-list li a:hover {
  color: #FFD700;
}

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

.page-live__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live__faq-question {
  font-size: 1.2em;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFD700;
  margin: 0;
  position: relative;
}

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

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

.page-live__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #e0e0e0;
}

.page-live__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding-bottom: 20px;
}

.page-live__faq-answer p {
  margin-bottom: 10px;
}

.page-live__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-live__floating-button {
  background-color: #FFD700;
  color: #0A192F;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1em;
  text-align: center;
}

.page-live__floating-button--register {
  background-color: #FFD700;
  color: #0A192F;
}

.page-live__floating-button--register:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-live__floating-button--login {
  background-color: #0A192F;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-live__floating-button--login:hover {
  background-color: #1a3250;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__section-title {
    font-size: 2.2em;
  }
  .page-live__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 120px);
  }
  .page-live__hero-section {
    padding: 60px 20px;
  }
  .page-live__hero-title {
    font-size: 2.2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    max-width: 300px;
  }
  .page-live__content-wrapper {
    flex-direction: column;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-subtitle {
    font-size: 0.95em;
  }
  .page-live__games-grid,
  .page-live__features-grid {
    grid-template-columns: 1fr;
  }
  .page-live__cta-title {
    font-size: 2em;
  }
  .page-live__responsible-gaming-list {
    margin-left: 20px;
  }
  .page-live__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-live__faq-answer {
    padding: 0 15px;
  }
  .page-live__floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  .page-live__floating-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  /* Ensure content area images do not overflow */
  .page-live__content-wrapper img,
  .page-live__games-grid img,
  .page-live__features-grid img {
    max-width: 100%;
    height: auto;
  }
  .page-live__game-image {
    height: auto; /* Allow game images to scale */
  }
}