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

.page-lottery .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-lottery .section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-lottery .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-lottery p {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-lottery h1, .page-lottery h2, .page-lottery h3 {
  color: var(--primary-color);
}

/* Hero Section */
.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;
  background: linear-gradient(135deg, #003366, #001a33);
  color: #ffffff;
}

.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-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-lottery .hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery .hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-lottery .hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-lottery .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-lottery .cta-button:hover {
  background: #fff;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: var(--secondary-color);
}

.page-lottery .cta-button.secondary {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-lottery .cta-button.secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

/* Intro Section */
.page-lottery .intro-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-lottery .intro-section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-lottery .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: center;
}

.page-lottery .feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-lottery .feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery .feature-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-lottery .feature-item p {
  font-size: 15px;
  color: #555;
}

/* Games Section */
.page-lottery .games-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-lottery .game-card {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.page-lottery .game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-lottery .game-card h3 {
  font-size: 22px;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
}

.page-lottery .game-card h3 a {
  color: inherit;
  text-decoration: none;
}

.page-lottery .game-card h3 a:hover {
  color: var(--secondary-color);
}

.page-lottery .game-card p {
  font-size: 15px;
  color: #666;
  padding: 0 15px 20px 15px;
}

.page-lottery .card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-lottery .card-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* Guide Section */
.page-lottery .guide-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-lottery .step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-lottery .step-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery .step-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-lottery .step-item p {
  font-size: 15px;
  color: #555;
}

.page-lottery .step-item p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-lottery .step-item p a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Promotions Section */
.page-lottery .promotions-section {
  padding: 60px 0;
  background-color: #eef2f6;
}

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

.page-lottery .promo-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-lottery .promo-card h3 {
  font-size: 22px;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
}

.page-lottery .promo-card h3 a {
  color: inherit;
  text-decoration: none;
}

.page-lottery .promo-card h3 a:hover {
  color: var(--secondary-color);
}

.page-lottery .promo-card p {
  font-size: 15px;
  color: #666;
  padding: 0 15px 20px 15px;
}

/* Tips Section */
.page-lottery .tips-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-lottery .tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-lottery .tips-list li {
  background: #fdfdfd;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: #444;
}

.page-lottery .tips-list li strong {
  color: var(--primary-color);
}

/* Security Section */
.page-lottery .security-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-lottery .security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: center;
}

.page-lottery .security-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery .security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-lottery .security-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery .security-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-lottery .security-item p {
  font-size: 15px;
  color: #555;
}

/* FAQ Section */
.page-lottery .faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-lottery .faq-list {
  margin-top: 30px;
}

.page-lottery .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-lottery .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fdfdfd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-lottery .faq-question:hover {
  background: #f5f5f5;
}

.page-lottery .faq-question h3 {
  font-size: 18px;
  margin: 0;
  color: var(--primary-color);
}

.page-lottery .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-lottery .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-lottery .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
  color: #444;
}

.page-lottery .faq-item.active .faq-answer {
  max-height: 500px; /* Đủ lớn để chứa nội dung */
  padding: 15px 20px;
}

.page-lottery .faq-answer p {
  margin-bottom: 0;
  font-size: 15px;
}

.page-lottery .faq-answer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-lottery .faq-answer p a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-lottery .hero-content h1 {
    font-size: 40px;
  }
  .page-lottery .hero-content p {
    font-size: 18px;
  }
  .page-lottery .section-title {
    font-size: 30px;
  }
  .page-lottery .feature-item, .page-lottery .security-item {
    padding: 25px;
  }
  .page-lottery .feature-icon, .page-lottery .security-icon {
    width: 80px;
    height: 80px;
  }
  .page-lottery .game-image, .page-lottery .promo-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-lottery .hero-section {
    padding: 40px 15px;
  }
  .page-lottery .hero-content h1 {
    font-size: 32px;
  }
  .page-lottery .hero-content p {
    font-size: 16px;
  }
  .page-lottery .hero-ctas {
    flex-direction: column;
    gap: 15px;
  }
  .page-lottery .cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-lottery .section-title {
    font-size: 26px;
  }
  .page-lottery .feature-grid, .page-lottery .game-cards, .page-lottery .guide-steps, .page-lottery .promo-cards, .page-lottery .security-features {
    grid-template-columns: 1fr;
  }
  .page-lottery .faq-question h3 {
    font-size: 16px;
  }
  .page-lottery .faq-toggle {
    font-size: 20px;
  }
  .page-lottery .faq-answer {
    padding: 0 15px;
  }
  .page-lottery .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-lottery .hero-content h1 {
    font-size: 28px;
  }
  .page-lottery .hero-content p {
    font-size: 14px;
  }
  .page-lottery .section-title {
    font-size: 22px;
  }
  .page-lottery .feature-item h3, .page-lottery .security-item h3, .page-lottery .game-card h3, .page-lottery .promo-card h3, .page-lottery .step-item h3 {
    font-size: 20px;
  }
}