/* style/live.css */
.page-live {
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--primary-color); /* Inherits from shared.css, which is #1A202C */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  line-height: 1.6;
}

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

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the background image for text readability */
}

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

.page-live__hero-title {
  font-size: 3.5em;
  color: var(--secondary-color); /* Gold color for title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.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;
}

.page-live__button--primary {
  background-color: var(--secondary-color); /* Gold */
  color: var(--primary-color); /* Dark text */
  border: 2px solid var(--secondary-color);
}

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

.page-live__button--secondary {
  background-color: transparent;
  color: var(--secondary-color); /* Gold text */
  border: 2px solid var(--secondary-color);
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  position: relative;
}

.page-live__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

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

.page-live__introduction-section,
.page-live__features-section,
.page-live__blog-preview-section,
.page-live__faq-section {
  padding: 60px 0;
}

.page-live__games-showcase {
  padding: 80px 0;
  background-color: #1a202c;
}

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

.page-live__game-card {
  background-color: #2a3240;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-10px);
}

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

.page-live__card-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin: 20px 0 10px;
}

.page-live__card-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 20px 20px;
}

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

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

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

.page-live__feature-icon {
  width: 200px; /* Minimum 200px */
  height: 150px; /* Minimum 200px, adjusted for aspect ratio */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-live__feature-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

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

.page-live__cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a475a 100%);
  padding: 80px 20px;
  text-align: center;
}

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

.page-live__cta-title {
  font-size: 3em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

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

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

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

.page-live__button--inverted:hover {
  background-color: #ffffff;
  color: var(--primary-color);
}

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

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

.page-live__faq-question {
  font-size: 1.3em;
  color: var(--secondary-color);
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-live__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-live__faq-answer {
  font-size: 1em;
  color: #cccccc;
  padding: 0 20px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
  padding: 0 20px 20px;
}

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

.page-live__blog-card {
  background-color: #2a3240;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.page-live__blog-card:hover {
  transform: translateY(-10px);
}

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

.page-live__blog-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  padding: 15px 20px 5px;
}

.page-live__blog-excerpt {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px 15px;
}

.page-live__read-more {
  display: block;
  color: var(--secondary-color);
  font-weight: bold;
  padding: 0 20px 20px;
  text-align: right;
}

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

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also has padding from header */
  }
  .page-live__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }
  .page-live__hero-content {
    padding: 30px;
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button--large {
    width: 100%;
  }
  .page-live__section-title {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-live__text-content {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-live__game-grid,
  .page-live__features-grid,
  .page-live__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live__game-image,
  .page-live__feature-icon,
  .page-live__blog-image {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure images are not too small */
  }
  .page-live__cta-section {
    padding: 60px 15px;
  }
  .page-live__cta-title {
    font-size: 2em;
  }
  .page-live__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page-live__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-live__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-content {
    padding: 20px;
  }
  .page-live__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live__cta-description {
    font-size: 1em;
  }
  .page-live__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}