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

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

.page-live__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF; /* White text on hero image */
  padding: 80px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
}

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

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
}

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login color for emphasis */
}

.page-live__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.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, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-live__button--register {
  background-color: #000000; /* Primary brand color */
  color: #FFFFFF; /* White text for register */
  border: 2px solid #FFFFFF;
}

.page-live__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-live__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text for login */
  border: 2px solid #FCBC45;
}

.page-live__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-live__button--play, .page-live__button--join-now, .page-live__button--view-promos, .page-live__button--learn-more, .page-live__button--view-all-faq, .page-live__button--register-final {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__button--play:hover, .page-live__button--join-now:hover, .page-live__button--view-promos:hover, .page-live__button--learn-more:hover, .page-live__button--view-all-faq:hover, .page-live__button--register-final:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FCBC45;
}

.page-live__section-title {
  font-size: 2.5em;
  color: #000000; /* Main text color */
  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: #FCBC45;
  border-radius: 2px;
}

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

.page-live__about-section, .page-live__games-section, .page-live__why-choose-section, .page-live__how-to-start-section, .page-live__promotions-section, .page-live__responsible-gaming-section, .page-live__faq-section, .page-live__join-community-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-live__about-section {
  background-color: #F8F8F8;
}

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

.page-live__feature-item, .page-live__advantage-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-live__feature-title, .page-live__advantage-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-live__feature-text, .page-live__advantage-text {
  color: #555555;
}

.page-live__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-live__game-text {
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-live__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-live__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-live__step-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
}

.page-live__step-text {
  color: #555555;
}

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

.page-live__promotions-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
  display: block; /* Ensure it's a block element */
  margin-left: auto; /* Center image */
  margin-right: auto; /* Center image */
}

.page-live__faq-item {
  background-color: #F8F8F8;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-live__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-live__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

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

.page-live__faq-answer {
  color: #555555;
  font-size: 1.05em;
  display: none;
  padding-top: 10px;
}

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

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 60px 0;
    min-height: 400px;
  }
  .page-live__hero-title {
    font-size: 2.2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    min-width: unset;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-live__about-section, .page-live__games-section, .page-live__why-choose-section, .page-live__how-to-start-section, .page-live__promotions-section, .page-live__responsible-gaming-section, .page-live__faq-section, .page-live__join-community-section {
    padding: 50px 0;
  }
  .page-live__features-grid, .page-live__game-cards-grid, .page-live__advantages-grid, .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__game-image {
    height: 200px;
  }
  /* Mobile content area images must not cause horizontal scroll */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__faq-question {
    font-size: 1.2em;
  }
}

/* Ensure content area images are at least 200px and no filters */
.page-live__game-image, .page-live__promotions-image {
  min-width: 200px;
  min-height: 200px;
  filter: none; /* Absolutely no filters */
}

/* Ensure all images within .page-live are at least 200px and no filters */
.page-live img {
  filter: none; /* Absolutely no filters */
}

/* Ensure no small images in content area, regardless of class */
.page-live *:has(img) img {
  min-width: 200px;
  min-height: 200px;
  /* Ensure CSS does not contradict HTML width/height or make it smaller than 200px */
  /* If HTML width/height are set, CSS should either match or use max-width: 100%; height: auto; */
}

/* Specific adjustment for button links in main content */
.page-live a.page-live__button {
  text-decoration: none;
}

/* Link text color inside content */
.page-live a {
  color: #FCBC45; /* Highlight links with accent color */
  text-decoration: underline;
}

.page-live a:hover {
  text-decoration: none;
  color: #000000;
}