/* style/live.css */
.page-live {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Ensure page background matches body if desired, or use transparent */
}

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Minimum height for hero section */
  text-align: center;
}

.page-live__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.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: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay for text readability */
  border-radius: 10px;
  color: #FFFFFF;
}

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

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

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

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

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

.page-live__button--register:hover {
  background-color: #FCBC45; /* Login color for hover */
  color: #000000;
  transform: translateY(-3px);
}

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

.page-live__button--play:hover {
  background-color: #000000; /* Primary color for hover */
  color: #FFFFFF;
  transform: translateY(-3px);
}

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

.page-live__content-area--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-live__content-area--flex-reverse {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
}

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

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

.page-live__feature-grid, .page-live__game-grid, .page-live__steps-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__step-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__feature-icon, .page-live__game-image, .page-live__step-icon, .page-live__promo-image, .page-live__responsible-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce minimum width for content images */
  min-height: 200px; /* Enforce minimum height for content images */
  object-fit: cover;
}

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

.page-live__feature-description, .page-live__game-description, .page-live__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

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

.page-live__promotions-section, .page-live__responsible-gaming-section {
  background-color: #F0F0F0;
}

.page-live__promo-text, .page-live__responsible-text {
  flex: 1;
}

.page-live__promo-image-wrapper, .page-live__responsible-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-live__promo-list, .page-live__responsible-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-live__promo-item, .page-live__responsible-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-live__promo-item::before, .page-live__responsible-item::before {
  content: '✔️'; /* Checkmark icon */
  position: absolute;
  left: 0;
  color: #FCBC45;
}

.page-live__button--view-promo, .page-live__button--responsible {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-live__button--view-promo:hover, .page-live__button--responsible:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-live__faq-section {
  padding-bottom: 80px;
}

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

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

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

.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-answer {
  font-size: 1em;
  color: #666666;
  padding: 0 25px 20px 25px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-live__faq-answer.active {
  max-height: 200px; /* Arbitrary max-height, should be enough for most answers */
  padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__content-area--flex, .page-live__content-area--flex-reverse {
    flex-direction: column;
  }
  .page-live__promo-text, .page-live__responsible-text {
    text-align: center;
  }
  .page-live__promo-list, .page-live__responsible-list {
    text-align: left;
    margin: 0 auto 30px auto;
    max-width: 500px;
  }
  .page-live__promo-item::before, .page-live__responsible-item::before {
    left: auto;
    right: 100%;
    margin-right: 10px;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 400px;
  }
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 80%;
    max-width: 300px;
  }
  .page-live__content-area {
    padding: 40px 15px;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-intro {
    font-size: 0.95em;
  }
  .page-live__feature-grid, .page-live__game-grid, .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile image handling for content area images */
  .page-live img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size is maintained */
    min-height: 200px;
  }
  .page-live__feature-icon, .page-live__game-image, .page-live__step-icon, .page-live__promo-image, .page-live__responsible-image {
    width: 100%;
    height: auto;
  }
  .page-live__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-live__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

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