/* 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 content is below fixed header */
}

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

.page-live__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text for dark background */
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-live__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

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

.page-live__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color for CTA */
  color: #000000; /* Dark text for bright button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-live__hero-button:hover {
  background-color: #e0a53b;
}

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

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

.page-live__section-subtitle {
  font-size: 1.3em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-live__section-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

.page-live__about-section,
.page-live__game-selection-section,
.page-live__features-section,
.page-live__how-to-play-section,
.page-live__promotions-section,
.page-live__responsible-gaming-section,
.page-live__cta-final-section {
  padding: 60px 0;
}

.page-live__about-section {
  background-color: #FFFFFF;
}

.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: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

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

.page-live__game-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  text-align: justify;
}

.page-live__game-button {
  display: inline-block;
  background-color: #000000; /* Main color for button */
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__game-button:hover {
  background-color: #333333;
}

.page-live__features-section {
  background-color: #f0f0f0;
}

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

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

.page-live__feature-icon {
  width: 150px; /* Min size 200px, but these are feature icons, let's keep them reasonable */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-live__feature-description {
  font-size: 1em;
  color: #555555;
  text-align: center;
}

.page-live__how-to-play-section {
  background-color: #FFFFFF;
}

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

.page-live__step-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

.page-live__step-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-live__promotions-section {
  background-color: #000000; /* Dark background for promotions */
  color: #FFFFFF;
  text-align: center;
}

.page-live__promotions-section .page-live__section-title {
  color: #FFFFFF;
}

.page-live__promotions-section .page-live__section-text {
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 30px;
}

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

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

.page-live__responsible-gaming-section {
  background-color: #FFFFFF;
  text-align: center;
}

.page-live__responsible-gaming-section .page-live__section-text {
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-live__responsible-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__responsible-button:hover {
  background-color: #333333;
}

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

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

.page-live__cta-final-section .page-live__section-text {
  color: #333333;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-live__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-live__cta-button--register {
  background-color: #000000; /* Main color for register */
  color: #FFFFFF;
}

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

.page-live__cta-button--login {
  background-color: #FFFFFF; /* White for login button */
  color: #000000;
  border: 2px solid #000000;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2.5em;
  }

  .page-live__hero-description {
    font-size: 1em;
  }

  .page-live__section-title {
    font-size: 2em;
  }

  .page-live__section-subtitle {
    font-size: 1.1em;
  }

  .page-live__game-grid,
  .page-live__features-grid,
  .page-live__steps-list {
    grid-template-columns: 1fr;
  }

  .page-live__game-image,
  .page-live__feature-icon {
    height: auto; /* Allow image height to adjust */
    max-width: 100%; /* Ensure images don't overflow */
    min-width: 200px; /* Ensure minimum width for content images */
    min-height: 200px; /* Ensure minimum height for content images */
  }

  .page-live__feature-icon {
    width: 200px; /* Ensure minimum width */
    height: 200px; /* Ensure minimum height */
  }

  .page-live__game-card, .page-live__feature-item, .page-live__step-item {
    margin: 0 10px; /* Add some horizontal padding for cards/items */
  }

  .page-live__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-live__cta-button {
    width: 80%;
  }

  /* Ensure all images within .page-live are responsive and don't overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  /* Specifically target content area images to ensure minimum size */
  .page-live__game-card img, .page-live__feature-item img {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }

  .page-live__section-title {
    font-size: 1.8em;
  }

  .page-live__hero-section,
  .page-live__about-section,
  .page-live__game-selection-section,
  .page-live__features-section,
  .page-live__how-to-play-section,
  .page-live__promotions-section,
  .page-live__responsible-gaming-section,
  .page-live__cta-final-section {
    padding: 40px 0;
  }
}