.page-live {
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-live__section--padded {
  padding: 60px 20px;
}

.page-live__section--dark-bg {
  background-color: #0056b3; /* Darker shade of primary color */
  color: #ffffff;
}

.page-live__section--light-bg {
  background-color: #f5f9ff; /* Very light blue background */
  color: #333333;
}

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

.page-live__section-title {
  font-size: 2.8em;
  color: #007bff; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live__section--dark-bg .page-live__section-title,
.page-live__section--dark-bg h3 {
  color: #ffffff;
}

.page-live__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  white-space: nowrap;
  font-size: 1.05em;
  border: none;
  cursor: pointer;
}

.page-live__button--primary {
  background-color: #007bff;
  color: #ffffff;
}

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

.page-live__button--secondary {
  background-color: #28a745;
  color: #ffffff;
}

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

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

.page-live__button--tertiary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-live__button--small {
  padding: 8px 18px;
  font-size: 0.95em;
  border-radius: 5px;
}

/* Hero Section */
.page-live__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #e0e0e0;
}

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

.page-live__hero-image-container {
  margin-top: 50px;
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for the image */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-live__hero-image {
  display: block;
  width: 100%;
  height: auto;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

/* About Section */
.page-live__image-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-live__grid-item-text h3 {
  font-size: 1.8em;
  color: #007bff;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-live__grid-item-text p {
  font-size: 1.05em;
  margin-bottom: 15px;
}

.page-live__image--responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

/* Games Section */
.page-live__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-live__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

.page-live__game-card-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-live__game-card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

.page-live__advantage-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.page-live__advantage-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-live__advantage-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #28a745; /* Auxiliary color for icons */
  padding: 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

.page-live__advantage-item h3 {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-live__advantage-item p {
  color: #e0e0e0;
}

.page-live__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-live__cta-center--bottom {
  margin-top: 60px;
}

/* How to Play Section */
.page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__step-item {
  text-align: center;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-live__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 15px;
  background-color: #e6f0ff; /* Light background for number */
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.page-live__step-item h3 {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-live__step-item p {
  color: #555555;
  margin-bottom: 20px;
}

/* Bonuses Section */
.page-live__bonus-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__bonus-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__bonus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-live__bonus-card-image {
  width: 100%;
  height: 220px; /* Consistent height for bonus images */
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

.page-live__bonus-card-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-live__bonus-card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Security Section */
.page-live__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__feature-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.page-live__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #28a745; /* Auxiliary color for icons */
  padding: 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

.page-live__feature-item h3 {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-live__feature-item p {
  color: #e0e0e0;
}

/* FAQ Section */
.page-live__faq-list {
  margin-top: 40px;
}

.page-live__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-live__faq-question {
  font-size: 1.3em;
  color: #007bff;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #f0f8ff;
}

.page-live__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  font-weight: bold;
  color: #28a745;
}

.page-live__faq-question.active::after {
  content: '-';
}

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

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

/* Final CTA Section */
.page-live__final-cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #007bff, #28a745);
  color: #ffffff;
}

.page-live__final-cta-section .page-live__section-title {
  color: #ffffff;
}

.page-live__final-cta-section .page-live__section-description {
  color: #e0e0e0;
  margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__section-title {
    font-size: 2.2em;
  }
  .page-live__image-text-grid {
    grid-template-columns: 1fr;
  }
  .page-live__grid-item-image {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-description {
    font-size: 1em;
  }
  .page-live__button {
    width: 100%;
    max-width: 300px;
  }
  .page-live__hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .page-live__game-card-image, .page-live__bonus-card-image {
    height: 180px;
  }
  .page-live__advantage-icon, .page-live__feature-icon {
    width: 80px;
    height: 80px;
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
  }
  .page-live__advantage-item, .page-live__feature-item {
    padding: 20px;
  }
  /* Mobile content area image overflow prevention */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__hero-image-container {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 0.95em;
  }
  .page-live__section--padded {
    padding: 40px 15px;
  }
  .page-live__section-title {
    font-size: 1.6em;
  }
  .page-live__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-live__faq-question::after {
    right: 20px;
  }
  .page-live__faq-answer {
    padding: 0 20px 15px;
  }
  .page-live__hero-section {
    padding: 60px 15px 30px;
  }
  .page-live__final-cta-section {
    padding: 60px 15px;
  }
}