.page-resources-66-lottery-app-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff; /* Explicitly set for content area */
}

.page-resources-66-lottery-app-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #017439, #FFFFFF);
  color: #ffffff;
}

.page-resources-66-lottery-app-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-66-lottery-app-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources-66-lottery-app-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-66-lottery-app-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #FFFFFF; /* Ensure text is white on gradient background */
}

.page-resources-66-lottery-app-guide__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF; /* Ensure title is white */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-66-lottery-app-guide__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF; /* Ensure description is white */
}

.page-resources-66-lottery-app-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-66-lottery-app-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-66-lottery-app-guide__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-66-lottery-app-guide__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-66-lottery-app-guide__btn-secondary {
  background: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-resources-66-lottery-app-guide__btn-secondary:hover {
  background: #005a2d;
  border-color: #005a2d;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-66-lottery-app-guide__section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-66-lottery-app-guide__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

.page-resources-66-lottery-app-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Brand color for titles on light background */
}

.page-resources-66-lottery-app-guide__dark-bg .page-resources-66-lottery-app-guide__section-title {
  color: #FFFFFF; /* White title on dark background */
}

.page-resources-66-lottery-app-guide__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #017439;
}

.page-resources-66-lottery-app-guide__dark-bg .page-resources-66-lottery-app-guide__sub-title {
  color: #FFFFFF;
}

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

.page-resources-66-lottery-app-guide__grid--games {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-resources-66-lottery-app-guide__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-resources-66-lottery-app-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-66-lottery-app-guide__dark-bg .page-resources-66-lottery-app-guide__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-66-lottery-app-guide__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-resources-66-lottery-app-guide__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-resources-66-lottery-app-guide__dark-bg .page-resources-66-lottery-app-guide__card-title {
  color: #FFFFFF;
}

.page-resources-66-lottery-app-guide__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-resources-66-lottery-app-guide__card-title a:hover {
  text-decoration: underline;
}