/* style/live.css */
.page-live {
  color: #333333; /* Default text color for light body background */
  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__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep Red for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000; /* Fallback for image loading */
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Minimum height for hero image */
}

.page-live__hero-container {
  position: relative;
}

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

.page-live__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-live__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  border: 2px solid #FFD700;
}

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

.page-live__button--secondary {
  background-color: #8B0000; /* Deep Red */
  color: #FFD700; /* Gold */
  border: 2px solid #8B0000;
}

.page-live__button--secondary:hover {
  background-color: #6a0000;
  border-color: #6a0000;
  transform: translateY(-2px);
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 25px;
}

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

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

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

.page-live__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-live__feature-icon {
  width: 250px; /* Min 200px */
  height: 200px; /* Min 200px */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-live__cta-section {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eeeeee;
}

.page-live__cta-text {
  font-size: 1.5em;
  color: #333333;
  margin-bottom: 30px;
  font-weight: bold;
}

/* Popular Games Section */
.page-live__popular-games {
  padding: 80px 0;
  background-color: #eeeeee;
}

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

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

.page-live__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px 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__game-title {
  font-size: 1.8em;
  color: #8B0000;
  margin: 20px 0 10px 0;
}

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

/* Account Management Section */
.page-live__account-management {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-live__account-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__account-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-live__account-icon {
  width: 250px; /* Min 200px */
  height: 200px; /* Min 200px */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-live__account-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-live__account-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-live__promotions-section {
  padding: 80px 0;
  background-color: #eeeeee;
}

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

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

.page-live__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-live__promo-title {
  font-size: 1.8em;
  color: #8B0000;
  margin: 20px 0 10px 0;
}

.page-live__promo-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  padding: 0 20px 20px 20px;
}

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

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

.page-live__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-live__step-icon {
  width: 250px; /* Min 200px */
  height: 200px; /* Min 200px */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-live__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

/* Responsible Gaming & Customer Support Sections */
.page-live__responsible-gaming,
.page-live__customer-support {
  padding: 60px 0;
  text-align: center;
}

.page-live__responsible-gaming {
  background-color: #eeeeee;
}

.page-live__customer-support {
  background-color: #f9f9f9;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2.2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__section-intro {
    font-size: 0.95em;
  }
  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__account-grid,
  .page-live__promo-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__feature-icon,
  .page-live__account-icon,
  .page-live__step-icon {
    width: 100%;
    height: auto;
    max-width: 300px; /* Ensure images are not too small */
    margin-left: auto;
    margin-right: auto;
  }
  .page-live__game-image,
  .page-live__promo-image {
    height: 200px;
  }
  /* Ensure all images within .page-live are responsive and not too small */
  .page-live img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-live__hero-image {
    min-height: 250px;
  }
  .page-live__feature-card img,
  .page-live__game-card img,
  .page-live__account-card img,
  .page-live__promo-card img,
  .page-live__step-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-intro {
    font-size: 0.9em;
  }
  .page-live__feature-title,
  .page-live__game-title,
  .page-live__account-title,
  .page-live__promo-title,
  .page-live__step-title {
    font-size: 1.5em;
  }
}