/* style/live.css */
.page-live {
  color: #ffffff; /* Default text color for dark sections */
  background-color: var(--secondary-color); /* Matches body background from shared.css */
}

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #000000; /* Dark background for hero */
}

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

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-live__hero-title {
  font-size: 3.5em;
  color: #FCBC45; /* Login button color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #FFFFFF;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-live__btn--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-live__btn--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.page-live__btn--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__btn--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

/* General Section Styling */
.page-live__section-title {
  font-size: 2.8em;
  text-align: center;
  color: #000000; /* Dark text for light background sections */
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-live__section-intro {
  font-size: 1.1em;
  text-align: center;
  color: #333333;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-live__section-text {
  font-size: 1.1em;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Why Choose Section */
.page-live__why-choose-section {
  background-color: #FFFFFF;
  padding: 80px 0;
}

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

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

.page-live__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-live__feature-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Game Showcase Section */
.page-live__game-showcase-section {
  background-color: #000000;
  padding: 80px 0;
}

.page-live__game-showcase-section .page-live__section-title,
.page-live__game-showcase-section .page-live__section-intro {
  color: #FFFFFF;
}

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

.page-live__game-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

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

.page-live__game-card h3,
.page-live__game-card p {
  padding: 0 25px;
}

.page-live__game-title {
  font-size: 1.5em;
  color: #FCBC45;
  margin: 20px 0 10px 0;
}

.page-live__game-description {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live__btn--play-now {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 12px 25px;
  border-radius: 0 0 10px 10px;
  width: 100%;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
}

.page-live__btn--play-now:hover {
  background-color: #FFFFFF;
  color: #000000;
}

/* Experience Section */
.page-live__experience-section {
  background-color: #FFFFFF;
  padding: 80px 0;
}

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

.page-live__experience-item {
  text-align: center;
  padding: 20px;
}

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

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

.page-live__experience-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Get Started Section */
.page-live__get-started-section {
  background-color: #000000;
  padding: 80px 0;
}

.page-live__get-started-section .page-live__section-title,
.page-live__get-started-section .page-live__section-intro {
  color: #FFFFFF;
}

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

.page-live__step-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__step-number {
  font-size: 3em;
  color: #FCBC45;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

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

.page-live__step-text {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 25px;
}

.page-live__btn--action {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.page-live__btn--action:hover {
  background-color: #FFFFFF;
  color: #000000;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
  background-color: #F8F8F8;
  padding: 80px 0;
  text-align: center;
}

.page-live__responsible-gaming-section .page-live__section-title {
  color: #000000;
}

.page-live__btn--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
}

.page-live__btn--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

/* FAQ Section */
.page-live__faq-section {
  background-color: #FFFFFF;
  padding: 80px 0;
}

.page-live__faq-section .page-live__section-title {
  color: #000000;
}

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

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

.page-live__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* CTA Section */
.page-live__cta-section {
  background-color: #000000;
  padding: 80px 0;
  text-align: center;
}

.page-live__cta-section .page-live__section-title,
.page-live__cta-section .page-live__section-intro {
  color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__section-title {
    font-size: 2.2em;
  }
  .page-live__hero-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }
  .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__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-live__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-live__features-grid,
  .page-live__game-cards-grid,
  .page-live__experience-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__feature-image,
  .page-live__game-image,
  .page-live__experience-icon {
    max-width: 100%;
    height: auto;
  }
  .page-live__game-image {
    height: 200px;
  }
  .page-live__experience-icon {
    width: 200px;
    height: 150px;
  }
  .page-live__hero-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all content images are not smaller than 200px and are responsive */
  .page-live img {
    max-width: 100%; 
    height: auto; 
    min-width: 200px;
    min-height: 200px;
  }
  .page-live__feature-image, .page-live__game-image, .page-live__experience-icon {
    min-width: 200px; /* Override if smaller */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.6em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__hero-content {
    padding: 20px;
  }
  .page-live__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__step-number {
    font-size: 2.5em;
  }
  .page-live__step-title {
    font-size: 1.5em;
  }
  .page-live__faq-question {
    font-size: 1.1em;
  }
  .page-live__hero-section {
    padding-top: var(--header-offset, 100px); /* Adjust for smaller screens if header is smaller */
  }
}