/* style/lottery.css */

/* General styles for lottery page */
.page-lottery {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-lottery__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.page-lottery__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #003366; /* Dark blue underline */
  border-radius: 5px;
}

.page-lottery__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #cccccc;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-lottery__btn-primary,
.page-lottery__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box; /* For responsive buttons */
  white-space: normal; /* For responsive buttons */
  word-wrap: break-word; /* For responsive buttons */
}

.page-lottery__btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #003366; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-lottery__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #003366;
}

.page-lottery__btn-secondary {
  background-color: #003366; /* Dark blue button */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-lottery__btn-secondary:hover {
  background-color: #002244;
  border-color: #FFD700;
  color: #FFD700;
}

.page-lottery__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
  width: 100%; /* For responsive button container */
  max-width: 100%; /* For responsive button container */
  overflow: hidden; /* For responsive button container */
  box-sizing: border-box; /* For responsive button container */
}

.page-lottery__cta-buttons--center {
  justify-content: center;
}

.page-lottery__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-lottery__image-centered {
  margin-left: auto;
  margin-right: auto;
}

/* HERO Section */
.page-lottery__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 0; /* Shared already sets padding-top on body */
  padding-bottom: 0;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-lottery__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-lottery__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-lottery__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-lottery__hero-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold title for impact */
}

.page-lottery__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

/* Intro Section */
.page-lottery__intro-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

/* Features Section */
.page-lottery__features-section {
  padding: 80px 0;
  background-color: #003366; /* Primary brand color for dark background */
  color: #ffffff;
}

.page-lottery__features-section .page-lottery__section-title {
  color: #FFD700; /* Gold title */
}

.page-lottery__features-section .page-lottery__section-title::after {
  background-color: #FFD700; /* Gold underline */
}

.page-lottery__features-section .page-lottery__section-description {
  color: #f0f0f0;
}

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

.page-lottery__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card for dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-lottery__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-lottery__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFD700; /* Gold title */
  margin-bottom: 15px;
}

.page-lottery__feature-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-lottery__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-top: 20px;
  border-radius: 5px;
}

/* Types Section */
.page-lottery__types-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-lottery__type-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  color: #f0f0f0;
}

.page-lottery__type-card:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-lottery__type-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-lottery__type-description {
  font-size: 16px;
  color: #cccccc;
}

/* Guide Section */
.page-lottery__guide-section {
  padding: 80px 0;
  background-color: #f0f0f0; /* Light background for guide section */
  color: #333333; /* Dark text for light background */
}

.page-lottery__guide-section .page-lottery__section-title {
  color: #003366; /* Dark blue title */
}

.page-lottery__guide-section .page-lottery__section-title::after {
  background-color: #FFD700; /* Gold underline */
}

.page-lottery__guide-section .page-lottery__section-description {
  color: #555555;
}

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

.page-lottery__guide-step {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-top: 60px;
  color: #333333;
}

.page-lottery__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #003366; /* Dark blue circle */
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  border: 3px solid #FFD700; /* Gold border */
}

.page-lottery__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 15px;
}

.page-lottery__step-description {
  font-size: 16px;
  color: #555555;
}

.page-lottery__guide-step a {
  color: #003366; /* Dark blue link for light background */
  text-decoration: underline;
}
.page-lottery__guide-step a:hover {
  color: #FFD700; /* Gold hover */
}

/* Tips Section */
.page-lottery__tips-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-lottery__tip-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  color: #f0f0f0;
}

.page-lottery__tip-card:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-lottery__tip-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-lottery__tip-text {
  font-size: 16px;
  color: #cccccc;
}

/* Promotions Section */
.page-lottery__promotions-section {
  padding: 80px 0;
  background-color: #003366; /* Primary brand color for dark background */
  color: #ffffff;
}

.page-lottery__promotions-section .page-lottery__section-title {
  color: #FFD700;
}

.page-lottery__promotions-section .page-lottery__section-title::after {
  background-color: #FFD700;
}

.page-lottery__promotions-section .page-lottery__section-description {
  color: #f0f0f0;
}

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

.page-lottery__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-lottery__promo-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}