/* 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); /* Ensure space for fixed header */
}

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

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0;
  padding-bottom: 60px; /* Add some padding below content */
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 700px; /* Limit height for aesthetic */
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-live__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FF6B00; /* Primary brand color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

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

.page-live__hero-button {
  display: inline-block;
  background-color: #FF6B00; /* Primary brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__hero-button:hover {
  background-color: #e65a00; /* Darker shade on hover */
}

.page-live__section-title {
  font-size: 2.5em;
  color: #222222;
  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: #00A86B; /* Secondary brand color */
  border-radius: 2px;
}

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

.page-live__intro-section,
.page-live__features-section,
.page-live__promo-section,
.page-live__get-started-section,
.page-live__app-section,
.page-live__faq-section,
.page-live__cta-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-live__games-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

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

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-live__card-title {
  font-size: 1.8em;
  color: #FF6B00; /* Primary brand color */
  margin: 20px 15px 10px;
}

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

.page-live__card-button {
  display: inline-block;
  background-color: #00A86B; /* Secondary brand color */\  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-live__card-button:hover {
  background-color: #008f5a; /* Darker shade on hover */
}

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

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

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

.page-live__feature-icon {
  width: 200px; /* Min size for image */
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.page-live__promo-section {
  text-align: center;
  background-color: #FF6B00; /* Primary brand color as background */
  color: #ffffff;
  padding: 80px 20px;
  border-radius: 8px;
}

.page-live__promo-section .page-live__section-title {
  color: #ffffff;
}

.page-live__promo-section .page-live__section-title::after {
  background-color: #ffffff;
}

.page-live__promo-section .page-live__section-text {
  color: #f0f0f0;
  margin-bottom: 50px;
}

.page-live__promo-button {
  display: inline-block;
  background-color: #00A86B; /* Secondary brand color */
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__promo-button:hover {
  background-color: #008f5a;
}

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

.page-live__step-item {
  background-color: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-live__step-title {
  font-size: 1.7em;
  color: #222222;
  margin-bottom: 15px;
}

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

.page-live__step-button {
  display: inline-block;
  background-color: #FF6B00;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.page-live__step-button:hover {
  background-color: #e65a00;
}

.page-live__app-section {
  text-align: center;
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.page-live__app-button {
  display: inline-block;
  background-color: #00A86B;
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

.page-live__app-button:hover {
  background-color: #008f5a;
}

.page-live__faq-accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__faq-question {
  font-size: 1.4em;
  color: #222222;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-live__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FF6B00;
  transition: transform 0.3s ease;
}

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

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

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

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 25px 25px;
}

.page-live__faq-answer p {
  margin: 0;
  color: #555555;
  font-size: 1em;
}

.page-live__cta-section {
  text-align: center;
  background-color: #00A86B; /* Secondary brand color as background */
  color: #ffffff;
  padding: 80px 20px;
  border-radius: 8px;
}

.page-live__cta-section .page-live__section-title {
  color: #ffffff;
}

.page-live__cta-section .page-live__section-title::after {
  background-color: #ffffff;
}

.page-live__cta-section .page-live__section-text {
  color: #f0f0f0;
  margin-bottom: 50px;
}

.page-live__cta-button {
  display: inline-block;
  background-color: #FF6B00;
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__cta-button:hover {
  background-color: #e65a00;
}

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

@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-text {
    font-size: 0.95em;
  }
  .page-live__game-grid,
  .page-live__features-grid,
  .page-live__steps-list {
    grid-template-columns: 1fr;
  }
  .page-live__game-image,
  .page-live__feature-icon {
    max-width: 100%;
    width: 100%; /* Ensure images fill container */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  .page-live__game-card,
  .page-live__feature-item,
  .page-live__step-item {
    padding: 20px;
  }
  .page-live__card-title {
    font-size: 1.5em;
  }
  .page-live__promo-button,
  .page-live__app-button,
  .page-live__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-live__faq-question {
    font-size: 1.2em;
    padding: 15px 20px;
  }
  .page-live__faq-question::after {
    right: 20px;
  }
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-live__hero-content {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__section-text {
    font-size: 0.9em;
  }
  .page-live__hero-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}