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

.page-live__hero-section {
  background-color: #004aad; /* Main brand color */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffcc00; /* Auxiliary brand color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

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

.page-live__hero-button {
  display: inline-block;
  background-color: #ffcc00; /* Auxiliary color for CTA */
  color: #004aad; /* Main color for text on CTA */
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #ffcc00;
}

.page-live__hero-button:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-live__section-title {
  font-size: 2.5em;
  color: #004aad; /* Main brand color */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.page-live__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-live__features-section,
.page-live__games-section,
.page-live__bonuses-section,
.page-live__guide-section,
.page-live__testimonials-section,
.page-live__responsible-gaming-section,
.page-live__faq-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-live__feature-card,
.page-live__game-card,
.page-live__testimonial-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-card:hover,
.page-live__game-card:hover,
.page-live__testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-live__feature-image,
.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px 10px 0 0;
}

.page-live__feature-title,
.page-live__game-title {
  font-size: 1.8em;
  color: #004aad;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-live__feature-text,
.page-live__game-text {
  font-size: 1em;
  color: #666666;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-live__game-button {
  display: inline-block;
  background-color: #004aad;
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__game-button:hover {
  background-color: #003380;
}

.page-live__bonuses-section {
  background-color: #f8f8f8;
  text-align: center;
  padding: 80px 20px;
  border-radius: 10px;
  margin-top: 40px;
}

.page-live__bonus-button {
  display: inline-block;
  background-color: #ffcc00;
  color: #004aad;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #ffcc00;
}

.page-live__bonus-button:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-live__bonus-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-live__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-counter;
  margin-top: 40px;
}

.page-live__guide-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  padding: 30px;
  position: relative;
  text-align: left;
  padding-left: 80px;
}

.page-live__guide-item::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  background-color: #004aad;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-live__guide-item h3 {
  color: #004aad;
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-live__guide-item p {
  color: #666666;
  margin-bottom: 15px;
}

.page-live__guide-button {
  display: inline-block;
  background-color: #ffcc00;
  color: #004aad;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-live__guide-button:hover {
  background-color: #e6b800;
}

.page-live__guide-cta-button {
  display: inline-block;
  background-color: #004aad;
  color: #ffffff;
  padding: 18px 45px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  margin-top: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #004aad;
}

.page-live__guide-cta-button:hover {
  background-color: #003380;
  transform: translateY(-3px);
}

.page-live__testimonial-card {
  padding: 30px;
  background-color: #fcfcfc;
}

.page-live__testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #ffcc00;
}

.page-live__testimonial-quote {
  font-style: italic;
  color: #444444;
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-live__testimonial-author {
  font-weight: bold;
  color: #004aad;
  font-size: 1em;
}

.page-live__responsible-gaming-section {
  text-align: center;
  background-color: #f0f4f7; /* Light blueish-grey for a calm section */
  padding: 70px 20px;
  border-radius: 10px;
  margin-top: 40px;
}

.page-live__responsible-gaming-button {
  display: inline-block;
  background-color: #004aad;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 25px;
  transition: background-color 0.3s ease;
}

.page-live__responsible-gaming-button:hover {
  background-color: #003380;
}

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

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

.page-live__faq-question {
  background-color: #f9f9f9;
  color: #004aad;
  padding: 20px;
  margin: 0;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  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;
  transition: transform 0.3s ease;
}

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

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

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

.page-live__faq-answer p {
  padding-bottom: 20px;
  margin: 0;
  color: #555555;
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__feature-title,
  .page-live__game-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 60px 15px;
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }
  .page-live__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-live__features-section,
  .page-live__games-section,
  .page-live__bonuses-section,
  .page-live__guide-section,
  .page-live__testimonials-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section {
    padding: 40px 15px;
  }
  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__testimonials-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-live__feature-image,
  .page-live__game-image {
    height: 200px;
  }
  .page-live__guide-item {
    padding: 25px;
    padding-left: 70px;
  }
  .page-live__guide-item::before {
    left: 20px;
    top: 25px;
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
  .page-live__guide-item h3 {
    font-size: 1.5em;
  }
  .page-live__guide-cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-live__testimonial-avatar {
    width: 80px;
    height: 80px;
  }
  .page-live__testimonial-quote {
    font-size: 1em;
  }
  .page-live__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  /* Ensure all images in content area are responsive and not too small */
  .page-live img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small, except for specific exceptions like logos in shared header/footer */
    min-height: 200px;
  }
  .page-live__hero-image {
    min-width: unset;
    min-height: unset;
  }
  .page-live__testimonial-avatar {
    min-width: unset;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__section-title {
    font-size: 1.6em;
  }
  .page-live__feature-image,
  .page-live__game-image {
    height: 180px;
  }
  .page-live__guide-item {
    padding-left: 60px;
  }
  .page-live__guide-item::before {
    left: 15px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 1.1em;
  }
}