/* style/live.css */
.page-live {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark background */
  background-color: #0D1117; /* Main dark background color */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for PC and mobile */
}

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

.page-live__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px;
  background: linear-gradient(135deg, #0D1117 0%, #1a1e26 100%);
  position: relative;
  overflow: hidden;
}

.page-live__hero-content {
  z-index: 10;
  max-width: 900px;
}

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

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

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

.page-live__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.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-live__button--primary {
  background-color: #FFD700;
  color: #0D1117;
}

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

.page-live__button--secondary {
  background-color: #2a303d;
  color: #FFD700;
  border: 2px solid #FFD700;
}

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

.page-live__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-live__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-live__introduction-section {
  padding: 60px 0;
  background-color: #1a1e26;
}

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

.page-live__feature-card {
  background-color: #2a303d;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.page-live__feature-card:hover {
  transform: translateY(-5px);
}

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

.page-live__card-description {
  font-size: 1em;
  color: #c0c0c0;
}

.page-live__games-section {
  padding: 80px 0;
  background-color: #0D1117;
}

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

.page-live__game-card {
  background-color: #2a303d;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__game-card:hover {
  transform: translateY(-5px);
}

.page-live__game-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 150px;
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: auto; /* Pushes button to the bottom */
}

.page-live__mobile-experience-section,
.page-live__bonuses-section,
.page-live__security-section {
  padding: 80px 0;
  background-color: #1a1e26;
}

.page-live__layout-default, .page-live__layout-reverse {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-live__layout-reverse {
  flex-direction: row-reverse;
}

.page-live__content-block,
.page-live__image-block {
  flex: 1;
  min-width: 300px; /* Ensure blocks don't get too small */
}

.page-live__content-block {
  text-align: left;
}

.page-live__content-block .page-live__section-title {
  text-align: left;
  font-size: 2.2em;
  margin-bottom: 20px;
}

.page-live__content-block .page-live__text-content {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
}

.page-live__responsive-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 150px;
}

.page-live__security-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 50px auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 150px;
}

.page-live__security-section .page-live__button--secondary {
  margin: 0 auto;
  display: block;
  width: fit-content;
  margin-top: 30px;
}

.page-live__cta-section {
  padding: 80px 0;
  background-color: #0D1117;
  text-align: center;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__section-title {
    font-size: 2.5em;
  }
  .page-live__content-block .page-live__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 60px 15px 30px;
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__text-content {
    font-size: 1em;
  }
  .page-live__feature-grid, .page-live__game-grid {
    grid-template-columns: 1fr;
  }
  .page-live__layout-default, .page-live__layout-reverse {
    flex-direction: column;
    gap: 30px;
  }
  .page-live__content-block, .page-live__image-block {
    min-width: unset;
    width: 100%;
  }
  .page-live__content-block {
    text-align: center;
  }
  .page-live__content-block .page-live__section-title {
    text-align: center;
  }
  .page-live__content-block .page-live__text-content {
    text-align: center;
  }
  .page-live__responsive-image, .page-live__security-image, .page-live__game-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 150px;
  }
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button--small {
    width: auto; /* Allow small buttons to adjust width */
    max-width: unset;
  }
  /* Ensure all content 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: 2em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__content-block .page-live__section-title {
    font-size: 1.6em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}