:root {
  --primary-color: #0A2463; /* Deep Tech Blue */
  --secondary-color: #E3B505; /* Vibrant Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000; /* Body background from shared.css */
  --bg-light-section: #f1f3f5;
  --border-light: #e0e0e0;
}

.page-lottery {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency with body bg */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

/* HERO Section specific to Xổ Số page */
.page-lottery__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #1A3E8A 100%); /* Gradient background for visual appeal */
  color: var(--text-light);
}

.page-lottery__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-lottery__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-lottery__hero-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-lottery__hero-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-lottery__hero-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-lottery__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
}

.page-lottery__cta-button:hover {
  background: #FFD700; /* Slightly lighter gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.page-lottery__cta-button--large {
    padding: 20px 50px;
    font-size: 22px;
}


/* General Section Styles */
.page-lottery__section {
  padding: 60px 20px;
  margin-bottom: 0; /* No margin between sections */
}

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

.page-lottery__heading {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light); /* Default heading color for dark body */
}

.page-lottery__paragraph {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85); /* Default paragraph color for dark body */
}

.page-lottery__link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-lottery__link:hover {
  color: #FFD700;
  text-decoration: underline;
}

/* Dark background sections */
.page-lottery__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-lottery__dark-bg .page-lottery__heading {
  color: var(--text-light);
}

.page-lottery__dark-bg .page-lottery__paragraph {
  color: rgba(255, 255, 255, 0.85);
}

/* Light background sections */
.page-lottery__light-bg {
  background-color: var(--bg-light-section);
  color: var(--text-dark);
}

.page-lottery__light-bg .page-lottery__heading {
  color: var(--text-dark);
}

.page-lottery__light-bg .page-lottery__paragraph {
  color: var(--text-dark);
}

.page-lottery__light-bg .page-lottery__link {
  color: var(--primary-color);
}

.page-lottery__light-bg .page-lottery__link:hover {
  color: var(--secondary-color);
}


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

.page-lottery__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark); /* For light background cards */
}

.page-lottery__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-lottery__card-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}