.page-k8-lottery-guide {
  color: #ffffff; /* Dark body background #0a0a0a, so light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-k8-lottery-guide__section {
  padding: 60px 0;
}

/* Adjust padding-top for the first section to account for fixed header */
.page-k8-lottery-guide__hero-section {
  padding-top: var(--header-offset, 120px); /* Desktop and mobile */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #0a0a0a; /* Ensure hero section background is dark */
}

.page-k8-lottery-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #ffffff;
}

.page-k8-lottery-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for title, good contrast */
  text-shadow: 0 0 10px rgba(38, 169, 224, 0.5);
}

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

.page-k8-lottery-guide__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-k8-lottery-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Darken image for better text contrast */
  filter: brightness(0.7); /* Further darken image without changing color */
}

.page-k8-lottery-guide__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 5px rgba(38, 169, 224, 0.3);
}

.page-k8-lottery-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #e0e0e0; /* Light text for dark background */
}

.page-k8-lottery-guide__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-k8-lottery-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-k8-lottery-guide__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent light background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

.page-k8-lottery-guide__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-k8-lottery-guide__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-k8-lottery-guide__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-k8-lottery-guide__card-text {
  color: #e0e0e0;
}

.page-k8-lottery-guide__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-k8-lottery-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-k8-lottery-guide__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3; /* Above video */
}

.page-k8-lottery-guide__video-wrapper:hover .page-k8-lottery-guide__video-overlay {
  opacity: 1;
}

.page-k8-lottery-guide__btn-play {
  background-color: #EA7C07; /* Login color for play button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-k8-lottery-guide__btn-play:hover {
  background-color: #d46c00;
}


.page-k8-lottery-guide__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-k8-lottery-guide__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 20px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #ffffff;
}

.page-k8-lottery-guide__step-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-k8-lottery-guide__step-description {
  color: #e0e0e0;
}

.page-k8-lottery-guide__step-description a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-k8-lottery-guide__step-description a:hover {
  color: #4dc2ff;
}

.page-k8-lottery-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-k8-lottery-guide__btn-primary,
.page-k8-lottery-guide__btn-secondary {
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping by default */
  box-sizing: border-box;
}

.page-k8-lottery-guide__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-k8-lottery-guide__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-k8-lottery-guide__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-k8-lottery-guide__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-k8-lottery-guide__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-k8-lottery-guide__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
  color: #ffffff;
}

.page-k8-lottery-guide__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-k8-lottery-guide__feature-description {
  color: #e0e0e0;
}

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