/* style/live.css */
.page-live {
  color: #ffffff; /* Text on dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000; /* Ensure consistency with body background if needed for specific sections */
}

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px; /* Minimum height for hero */
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-live__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-live__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

.page-live__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-live__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-live__button--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-live__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.page-live__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* About Section */
.page-live__about-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

/* Games Section */
.page-live__games-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.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: #1A1A1A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-live__game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-live__game-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
  padding: 0 20px;
  flex-grow: 1;
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
}

/* Features Section */
.page-live__features-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

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

.page-live__feature-item {
  background-color: #0d0d0d;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-live__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
}

.page-live__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Constrain image width */
  border-radius: 8px;
  margin-top: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Getting Started Section */
.page-live__getting-started-section {
  padding: 80px 0;
  background-color: #000;
}

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

.page-live__step-card {
  background-color: #1A1A1A;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-live__step-description {
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
  flex-grow: 1;
}

/* Call to Action Section */
.page-live__cta-section {
  padding: 80px 0;
  background-color: #1A1A1A;
  text-align: center;
}

.page-live__cta-content {
  max-width: 900px;
}

.page-live__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.page-live__cta-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-live__cta-actions {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.page-live__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Responsive Design */
@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: 2.2em;
  }
  .page-live__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 500px;
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-live__game-grid, .page-live__features-grid, .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__cta-title {
    font-size: 2em;
  }
  .page-live__cta-description {
    font-size: 1.1em;
  }
  .page-live__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__feature-image {
    max-width: 100%;
  }
  /* Mobile content area images must not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__hero-image {
    filter: brightness(0.4); /* Darken more for mobile readability */
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.6em;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live__cta-description {
    font-size: 1em;
  }
}