/* style/live.css */
.page-live {
  color: #333333; /* Dark text for default 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__section {
  padding: 60px 0;
  text-align: center;
}

.page-live__section-title {
  font-size: 2.8em;
  color: #0A2463; /* Primary color for main titles */
  margin-bottom: 25px;
  font-weight: bold;
}

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2463; /* Dark background for hero */
  color: #ffffff;
  padding: 100px 20px 0;
}

.page-live__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #E5A000; /* Secondary color for hero title */
}

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

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

.page-live__hero-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 200px; /* Ensure button minimum size */
}

.page-live__hero-button--primary {
  background-color: #E5A000;
  color: #0A2463;
  border: 2px solid #E5A000;
}

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

.page-live__hero-button--secondary {
  background-color: transparent;
  color: #E5A000;
  border: 2px solid #E5A000;
}

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

.page-live__hero-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;
  height: auto;
  object-fit: cover;
  z-index: 1;
  opacity: 0.8;
}

/* Intro Section */
.page-live__intro-section {
  background-color: #f9f9f9;
}

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

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-live__game-title {
  font-size: 1.6em;
  color: #0A2463;
  margin: 20px 25px 10px;
  font-weight: 600;
}

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

.page-live__game-button {
  display: inline-block;
  background-color: #E5A000;
  color: #0A2463;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  margin: 0 25px 25px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

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

/* Tech Section */
.page-live__tech-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 0;
}

.page-live__tech-section .page-live__section-title {
  color: #E5A000;
}

.page-live__tech-section .page-live__section-text {
  color: #f0f0f0;
}

.page-live__tech-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Advantages Section */
.page-live__advantages-section {
  background-color: #f0f5f8;
}

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

.page-live__advantage-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

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

.page-live__advantage-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-live__advantage-description {
  font-size: 1em;
  color: #666666;
}

.page-live__text-link {
  color: #0A2463;
  text-decoration: none;
  font-weight: bold;
}

.page-live__text-link:hover {
  text-decoration: underline;
  color: #E5A000;
}

/* Getting Started Section */
.page-live__getting-started-section {
  background-color: #ffffff;
}

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

.page-live__step-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__step-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-live__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-live__step-button {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-live__step-button:hover {
  background-color: #1a3c7a;
}

/* CTA Section */
.page-live__cta-section {
  background-color: #E5A000;
  color: #0A2463;
  padding: 80px 0;
}

.page-live__cta-section .page-live__section-title {
  color: #0A2463;
  font-size: 2.5em;
}

.page-live__cta-section .page-live__section-text {
  color: #333333;
  max-width: 800px;
}

.page-live__cta-button {
  display: inline-block;
  background-color: #0A2463;
  color: #E5A000;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
  padding-bottom: 80px;
  background-color: #f9f9f9;
}

/* Responsive Design */
@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.2em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 80px 15px 0;
  }

  .page-live__hero-title {
    font-size: 2.5em;
  }

  .page-live__hero-description {
    font-size: 1.1em;
  }

  .page-live__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-live__hero-button {
    width: 100%;
    max-width: 300px;
  }

  .page-live__section {
    padding: 40px 0;
  }

  .page-live__section-title {
    font-size: 1.8em;
  }

  .page-live__section-text {
    font-size: 1em;
  }

  .page-live__games-grid, .page-live__advantages-grid, .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-live__game-title, .page-live__advantage-title, .page-live__step-title {
    font-size: 1.3em;
  }

  .page-live__cta-section .page-live__section-title {
    font-size: 2em;
  }

  .page-live__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Mobile image sizing for content area */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }

  .page-live__hero-description {
    font-size: 0.95em;
  }

  .page-live__section-title {
    font-size: 1.6em;
  }

  .page-live__game-image, .page-live__tech-image {
    height: auto; /* Allow image to scale freely */
  }

  .page-live__game-card, .page-live__advantage-card, .page-live__step-card {
    padding: 20px;
  }

  .page-live__game-title, .page-live__advantage-title, .page-live__step-title {
    font-size: 1.2em;
  }

  .page-live__cta-section .page-live__section-title {
    font-size: 1.8em;
  }
}