.page-live {
  color: #333333; /* Dark text on light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px; /* Add padding to the bottom of the hero for content */
}

.page-live__hero-container {
  position: relative;
  max-width: 1920px; /* Max width for hero content */
  margin: 0 auto;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-live__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 90%;
  width: 800px;
  padding: 20px;
  box-sizing: border-box;
}

.page-live__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF; /* White text for contrast on darkened image */
}

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

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

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

.page-live__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-live__cta-button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-live__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__cta-button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-live__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__cta-button--large:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-live__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.8;
}

.page-live__content-area--center {
  text-align: center;
}

.page-live__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 25px;
  color: #000000;
  text-align: center;
}

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

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

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

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

.page-live__game-card {
  background-color: #FDFDFD;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #EEEEEE;
}

.page-live__game-title {
  font-size: 1.6em;
  font-weight: bold;
  margin: 25px 15px 15px;
  color: #000000;
}

.page-live__game-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

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

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

.page-live__feature-item {
  text-align: center;
  padding: 25px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-live__feature-icon {
  width: 100%; /* Ensure images are not tiny */
  max-width: 300px; /* Max width for feature icons */
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 5px;
}

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

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

.page-live__cta-bottom-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
}

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

.page-live__cta-bottom-section .page-live__section-description {
  color: #E0E0E0;
}

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

@media (max-width: 768px) {
  .page-live__hero-section {
    padding-bottom: 40px;
  }
  .page-live__hero-content {
    top: 55%; /* Adjust position for smaller screens */
    max-width: 95%;
  }
  .page-live__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-live__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-live__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-live__content-area {
    padding: 40px 15px;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__section-description {
    font-size: 0.95em;
  }
  .page-live__game-grid, .page-live__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-live__game-image, .page-live__feature-icon {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  /* Ensure all content area images are responsive and don't overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__game-title {
    font-size: 1.4em;
  }
  .page-live__feature-title {
    font-size: 1.3em;
  }
}