/* style/live.css */
.page-live {
  color: #333333; /* Default text color for light 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__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2463; /* Dark blue background for hero section */
  color: #ffffff;
  padding: 0; /* Image will fill, content overlays */
}

.page-live__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7; /* Slightly dim image for text readability */
}

.page-live__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

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

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

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

.page-live__hero-button--primary {
  background-color: #FFD700; /* Gold */
  color: #0A2463; /* Dark blue */
  border: 2px solid #FFD700;
}

.page-live__hero-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-live__hero-button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-live__hero-button--secondary:hover {
  background-color: #0A2463;
  color: #ffffff;
  transform: translateY(-3px);
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-live__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-live__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

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

.page-live__feature-card:hover,
.page-live__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.page-live__feature-title,
.page-live__game-title {
  font-size: 1.6em;
  color: #0A2463;
  margin: 25px 15px 10px 15px;
}

.page-live__feature-description,
.page-live__game-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 25px 20px;
}

.page-live__game-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2463;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

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

.page-live__mobile-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-live__mobile-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-live__mobile-content {
  flex: 1;
  text-align: left;
}

.page-live__mobile-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-live__mobile-button {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

.page-live__mobile-button:hover {
  background-color: #071a47;
}

.page-live__promo-section,
.page-live__security-section {
  padding: 60px 0;
}

.page-live__promo-section {
  background-color: #0A2463;
  color: #ffffff;
}

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

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

.page-live__promo-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0 auto;
  background-color: #FFD700;
  color: #0A2463;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-live__promo-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-live__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-live__security-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #0A2463;
  padding: 20px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  flex: 1 1 calc(50% - 20px); /* Two columns on larger screens */
  max-width: 450px;
  text-align: left;
}

.page-live__cta-section {
  background: linear-gradient(135deg, #0A2463, #071a47);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-live__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-live__cta-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-live__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2463;
  padding: 20px 45px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.4em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-live__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__cta-title {
    font-size: 2.5em;
  }
  .page-live__cta-description {
    font-size: 1.1em;
  }
  .page-live__mobile-container {
    flex-direction: column;
    text-align: center;
  }
  .page-live__mobile-content {
    order: 2;
  }
  .page-live__mobile-image {
    order: 1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 100px);
  }
  .page-live__hero-content {
    max-width: 90%;
    padding: 15px;
  }
  .page-live__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-live__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__hero-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-live__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-live__features-grid,
  .page-live__games-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-live__feature-image, .page-live__game-image, .page-live__mobile-image {
    max-width: 100%;
    height: auto;
  }
  .page-live__feature-card, .page-live__game-card {
    margin: 0 auto;
    max-width: 450px;
  }
  .page-live__security-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-live__cta-title {
    font-size: 2em;
  }
  .page-live__cta-description {
    font-size: 1em;
  }
  .page-live__cta-button {
    padding: 15px 30px;
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__hero-button {
    width: 90%;
    padding: 12px 20px;
    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 {
    font-size: 1.4em;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}