.page-lottery-games-welfare-lottery {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.page-lottery-games-welfare-lottery .highlight {
  color: #FFCC00; /* Vàng kim làm điểm nhấn */
}

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

/* Hero Section */
.page-lottery-games-welfare-lottery__hero {
  background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Deep Ocean Blue gradient */
  color: #fff;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-lottery-games-welfare-lottery__hero-content {
  z-index: 1;
  max-width: 900px;
}

.page-lottery-games-welfare-lottery__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #fff; /* Ensure high contrast */
}

.page-lottery-games-welfare-lottery__subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #e0e0e0; /* Slightly lighter for contrast */
}

.page-lottery-games-welfare-lottery__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-lottery-games-welfare-lottery__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-lottery-games-welfare-lottery__btn--primary {
  background-color: #FFCC00; /* Golden Yellow */
  color: #003366; /* Deep Ocean Blue for text */
  border-color: #FFCC00;
}

.page-lottery-games-welfare-lottery__btn--primary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
  transform: translateY(-3px);
}

.page-lottery-games-welfare-lottery__btn--secondary {
  background-color: transparent;
  color: #FFCC00; /* Golden Yellow for text */
  border-color: #FFCC00;
}

.page-lottery-games-welfare-lottery__btn--secondary:hover {
  background-color: #FFCC00;
  color: #003366; /* Deep Ocean Blue for text */
  transform: translateY(-3px);
}

.page-lottery-games-welfare-lottery__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%; /* Adjust as needed */
  max-width: 600px;
  opacity: 0.2;
  z-index: 0;
}

.page-lottery-games-welfare-lottery__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* General Section Styling */
.page-lottery-games-welfare-lottery__about-lottery,
.page-lottery-games-welfare-lottery__game-types,
.page-lottery-games-welfare-lottery__how-to-play,
.page-lottery-games-welfare-lottery__why-gemwin,
.page-lottery-games-welfare-lottery__faq,
.page-lottery-games-welfare-lottery__responsible-gaming {
  padding: 60px 0;
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-lottery-games-welfare-lottery__heading {
  font-size: 2.5em;
  color: #003366; /* Deep Ocean Blue */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-lottery-games-welfare-lottery__heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-lottery-games-welfare-lottery__text {
  font-size: 1.1em;
  color: #555;
  text-align: justify;
  margin-bottom: 25px;
  line-height: 1.8;
}

/* Features Grid */
.page-lottery-games-welfare-lottery__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery-games-welfare-lottery__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.page-lottery-games-welfare-lottery__feature-item:hover {
  transform: translateY(-5px);
}

.page-lottery-games-welfare-lottery__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 5px rgba(0, 51, 102, 0.2));
}

.page-lottery-games-welfare-lottery__feature-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-lottery-games-welfare-lottery__feature-description {
  font-size: 1em;
  color: #666;
}

/* Game Types Grid */
.page-lottery-games-welfare-lottery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery-games-welfare-lottery__grid-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.page-lottery-games-welfare-lottery__grid-item:hover {
  transform: translateY(-5px);
}

.page-lottery-games-welfare-lottery__grid-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-lottery-games-welfare-lottery__item-title {
  font-size: 1.4em;
  color: #003366;
  padding: 20px 20px 10px;
}

.page-lottery-games-welfare-lottery__item-description {
  font-size: 1em;
  color: #666;
  padding: 0 20px 20px;
}

/* How to Play Steps */
.page-lottery-games-welfare-lottery__steps {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 40px;
}

.page-lottery-games-welfare-lottery__steps li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-lottery-games-welfare-lottery__step-number {
  counter-increment: step-counter;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: #FFCC00;
  color: #003366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 20px;
}

.page-lottery-games-welfare-lottery__step-title {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 5px;
}

.page-lottery-games-welfare-lottery__steps li a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
}

.page-lottery-games-welfare-lottery__steps li a:hover {
  text-decoration: underline;
}

/* Why GEMWIN Benefits Grid */
.page-lottery-games-welfare-lottery__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery-games-welfare-lottery__benefit-item {
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.page-lottery-games-welfare-lottery__benefit-item:hover {
  transform: translateY(-5px);
}

.page-lottery-games-welfare-lottery__benefit-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 5px rgba(255, 204, 0, 0.3));
}

.page-lottery-games-welfare-lottery__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Accordion */
.page-lottery-games-welfare-lottery__accordion {
  margin-top: 40px;
}

.page-lottery-games-welfare-lottery__accordion-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-lottery-games-welfare-lottery__accordion-header {
  display: block;
  width: 100%;
  padding: 20px;
  background-color: #003366;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  padding-right: 50px;
}

.page-lottery-games-welfare-lottery__accordion-header:hover {
  background-color: #004080;
}

.page-lottery-games-welfare-lottery__accordion-header::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: #FFCC00;
}

.page-lottery-games-welfare-lottery__accordion-header.active::after {
  content: '-';
}

.page-lottery-games-welfare-lottery__accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #fff;
  color: #333;
}

.page-lottery-games-welfare-lottery__accordion-content.active {
  max-height: 200px; /* Adjust as needed */
  padding: 20px;
}

.page-lottery-games-welfare-lottery__accordion-content p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.7;
}

.page-lottery-games-welfare-lottery__accordion-content a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
}

.page-lottery-games-welfare-lottery__accordion-content a:hover {
  text-decoration: underline;
}

/* Responsible Gaming */
.page-lottery-games-welfare-lottery__responsible-gaming {
  text-align: center;
  background-color: #e6f2ff; /* Light blue background for emphasis */
  border: 1px solid #cce0ff;
}

.page-lottery-games-welfare-lottery__responsible-gaming .page-lottery-games-welfare-lottery__heading {
  color: #003366;
}

.page-lottery-games-welfare-lottery__responsible-gaming .page-lottery-games-welfare-lottery__heading::after {
  background-color: #003366;
}

.page-lottery-games-welfare-lottery__responsible-gaming .page-lottery-games-welfare-lottery__text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-lottery-games-welfare-lottery__title {
    font-size: 2.8em;
  }
  .page-lottery-games-welfare-lottery__subtitle {
    font-size: 1.2em;
  }
  .page-lottery-games-welfare-lottery__hero-image-wrapper {
    width: 70%;
  }
}

@media (max-width: 768px) {
  .page-lottery-games-welfare-lottery__hero {
    padding: 60px 0;
  }
  .page-lottery-games-welfare-lottery__title {
    font-size: 2.2em;
  }
  .page-lottery-games-welfare-lottery__subtitle {
    font-size: 1.1em;
  }
  .page-lottery-games-welfare-lottery__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-lottery-games-welfare-lottery__btn {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-lottery-games-welfare-lottery__heading {
    font-size: 2em;
  }
  .page-lottery-games-welfare-lottery__text {
    font-size: 1em;
  }
  .page-lottery-games-welfare-lottery__hero-image-wrapper {
    width: 80%;
    position: static;
    margin-top: 40px;
    opacity: 1; /* Make it more visible on small screens if desired, or remove */
  }
  .page-lottery-games-welfare-lottery__steps li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-lottery-games-welfare-lottery__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-lottery-games-welfare-lottery__accordion-header {
    font-size: 1.1em;
    padding-right: 40px;
  }
}

@media (max-width: 480px) {
  .page-lottery-games-welfare-lottery__title {
    font-size: 1.8em;
  }
  .page-lottery-games-welfare-lottery__subtitle {
    font-size: 0.95em;
  }
  .page-lottery-games-welfare-lottery__heading {
    font-size: 1.8em;
  }
  .page-lottery-games-welfare-lottery__btn {
    width: 90%;
  }
}