/* 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 not hidden by fixed header */
}

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

.page-live__hero-section {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-live__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-live__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.page-live__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-live__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  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;
  border: 2px solid #FFD700;
}

.page-live__cta-button:hover {
  background-color: #003366;
  color: #FFD700;
  border-color: #FFD700;
}

.page-live__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-live__about-section, .page-live__games-section, .page-live__advantages-section, .page-live__mobile-betting-section, .page-live__responsible-gaming-section, .page-live__cta-section {
  padding: 60px 0;
}

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

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

.page-live__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-live__feature-icon {
  width: 200px; /* Minimum 200px */
  height: auto;
  margin-bottom: 20px;
}

.page-live__card-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-live__card-text {
  font-size: 1em;
  color: #555555;
}

.page-live__games-section {
  background-color: #ffffff;
}

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

.page-live__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-live__game-card .page-live__card-title {
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-live__game-card .page-live__card-text {
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-live__game-button {
  display: inline-block;
  background-color: #003366;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

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

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

.page-live__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-live__advantage-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-live__advantage-icon {
  width: 250px; /* Minimum 200px */
  height: auto;
  margin-bottom: 20px;
}

.page-live__mobile-betting-section {
  background-color: #003366;
  color: #ffffff;
}

.page-live__mobile-betting-section .page-live__section-title {
  color: #FFD700;
}

.page-live__mobile-betting-section .page-live__section-intro {
  color: #f0f0f0;
}

.page-live__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-live__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-live__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-live__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-live__secondary-button {
  display: inline-block;
  background-color: transparent;
  color: #FFD700;
  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;
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-live__secondary-button:hover {
  background-color: #FFD700;
  color: #003366;
}

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

.page-live__cta-section {
  background-color: #FFD700;
  color: #003366;
  text-align: center;
}

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

.page-live__cta-section .page-live__section-intro {
  color: #333333;
}

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

.page-live__cta-section .page-live__cta-button {
  background-color: #003366;
  color: #FFD700;
  border-color: #003366;
}

.page-live__cta-section .page-live__cta-button:hover {
  background-color: #FFD700;
  color: #003366;
  border-color: #003366;
}

.page-live__cta-section .page-live__secondary-button {
  background-color: transparent;
  color: #003366;
  border-color: #003366;
}

.page-live__cta-section .page-live__secondary-button:hover {
  background-color: #003366;
  color: #FFD700;
}

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

@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-intro {
    font-size: 0.95em;
  }
  .page-live__features-grid, .page-live__games-grid, .page-live__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-live__mobile-content {
    flex-direction: column-reverse;
  }
  .page-live__secondary-button {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-live__cta-buttons {
    flex-direction: column;
  }
  .page-live__cta-button, .page-live__secondary-button {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  /* Ensure all images within .page-live are responsive and do not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  /* Specific overrides for images that might have fixed widths */
  .page-live__feature-icon, .page-live__advantage-icon {
    width: 100%;
    max-width: 200px; /* Keep minimum size, but allow shrinking */
  }
  .page-live__game-image {
    height: auto; /* Allow height to adjust proportionally */
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__cta-button, .page-live__secondary-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}