/* style/lottery.css */
:root {
  --primary-color: #FF4500;
  --secondary-color: #1E90FF;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light-card: rgba(255, 255, 255, 0.1);
  --bg-light-section: #f9f9f9;
  --border-color: #333;
}

.page-lottery {
  color: var(--text-light); /* Body background is dark (#121212), so use light text */
  background-color: var(--bg-dark);
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

/* Video Section */
.page-lottery__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px 20px; /* Specific padding for video section */
  background: linear-gradient(135deg, var(--primary-color) 0%, #a03000 100%);
  box-sizing: border-box;
}

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

.page-lottery__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-lottery__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-lottery__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event on parent <a> */
}

.page-lottery__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-lottery__video-link:hover .page-lottery__video-overlay {
  opacity: 1;
}

.page-lottery__video-click-hint {
  color: var(--text-light);
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(30, 144, 255, 0.8);
  border-radius: 8px;
  white-space: nowrap;
}

.page-lottery__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 35px;
}

.page-lottery__play-now-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-lottery__play-now-button:hover {
  background: #1a7ad4; /* Slightly darker secondary color */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.page-lottery__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-lottery__hero-section {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-dark);
  color: var(--text-light);
}

.page-lottery__hero-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-lottery__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--primary-color);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-lottery__hero-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-lottery__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons on smaller screens */
}

.page-lottery__cta-button {
  display: inline-block;
  padding: 16px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 100%; /* Ensure button adapts to container width */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-lottery__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-lottery__cta-button--primary:hover {
  background: #e63900; /* Slightly darker primary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery__cta-button--secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-lottery__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-lottery__why-choose-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #a03000 100%);
  color: var(--text-light);
  text-align: center;
}

.page-lottery__why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-lottery__why-choose-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-lottery__why-choose-intro {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-lottery__why-choose-item {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-lottery__why-choose-item:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 0, 0.4);
}

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

.page-lottery__why-choose-item-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-lottery__why-choose-item p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
}

/* Types Section */
.page-lottery__types-section {
  padding: 80px 20px;
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

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

.page-lottery__types-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.page-lottery__types-intro {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-lottery__type-card {
  background: var(--bg-light-card);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-lottery__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery__type-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-lottery__type-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-lottery__type-card-link {
  text-decoration: none;
  color: inherit;
}

.page-lottery__type-card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.page-lottery__type-card-link:hover .page-lottery__type-card-title {
  color: var(--primary-color);
}

.page-lottery__type-card-description {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-lottery__type-card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-lottery__type-card-button:hover {
  background: #e63900;
  transform: translateY(-2px);
}

/* Guide Section */
.page-lottery__guide-section {
  padding: 80px 20px;
  background: var(--bg-light-section);
  color: var(--text-dark); /* Light background, dark text */
  text-align: center;
}

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

.page-lottery__guide-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.page-lottery__guide-intro {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-lottery__guide-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-lottery__guide-step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--secondary-color);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-lottery__guide-item-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-lottery__guide-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-lottery__guide-item-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-lottery__guide-item-button:hover {
  background: #e63900;
}

/* Tips Section */
.page-lottery__tips-section {
  padding: 80px 20px;
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

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

.page-lottery__tips-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.page-lottery__tips-intro {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-lottery__tips-item {
  background: var(--bg-light-card);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-lottery__tips-item:hover {
  transform: translateY(-5px);
}

.page-lottery__tips-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery__tips-item-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-lottery__tips-item p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
}

.page-lottery__tips-cta {
  margin-top: 30px;
}

/* Promotions Section */
.page-lottery__promotions-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a7ad4 100%);
  color: var(--text-light);
  text-align: center;
}

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

.page-lottery__promotions-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-lottery__promotions-intro {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-lottery__promotion-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-lottery__promotion-card:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 0, 0.4);
}

.page-lottery__promotion-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-lottery__promotion-card-title {
  font-size: 22px;
  font-weight: 600;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-lottery__promotion-card-description {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
  margin: 0 20px 25px 20px;
  flex-grow: 1;
}

.page-lottery__promotion-card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 20px 20px 20px;
  align-self: flex-start;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-lottery__promotion-card-button:hover {
  background: #e63900;
  transform: translateY(-2px);
}

.page-lottery__promotions-footer {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 50px;
  opacity: 0.8;
}

/* FAQ Section */
.page-lottery__faq-section {
  padding: 80px 20px;
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.page-lottery__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-lottery__faq-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-lottery__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-lottery__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-light-card);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-lottery__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-lottery__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: var(--text-light);
}

.page-lottery__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-lottery__faq-item.active .page-lottery__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

.page-lottery__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 8px 8px;
}

.page-lottery__faq-item.active .page-lottery__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-lottery__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* News Section */
.page-lottery__news-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0a0a0a 100%);
  color: var(--text-light);
  text-align: center;
}

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

.page-lottery__news-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.page-lottery__news-intro {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-lottery__news-item {
  background: var(--bg-light-card);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-lottery__news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery__news-item-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-lottery__news-item-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.page-lottery__news-item-link {
  text-decoration: none;
  color: inherit;
}

.page-lottery__news-item-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.page-lottery__news-item-link:hover .page-lottery__news-item-title {
  color: var(--primary-color);
}

.page-lottery__news-item-excerpt {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-lottery__news-item-date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-top: auto;
}

.page-lottery__news-cta {
  margin-top: 50px;
}


/* General Responsive Adjustments */
@media (max-width: 1024px) {
  .page-lottery__main-title {
    font-size: 42px;
  }
  .page-lottery__why-choose-title,
  .page-lottery__types-title,
  .page-lottery__guide-title,
  .page-lottery__tips-title,
  .page-lottery__promotions-title,
  .page-lottery__faq-title,
  .page-lottery__news-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .page-lottery {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-lottery__video-section {
    padding: 10px 0 40px 0 !important; /* Reset padding and rely on container for sides */
  }

  .page-lottery__video-container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-lottery__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-lottery__video-wrapper {
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-lottery__video {
    border-radius: 8px;
    object-fit: contain; /* Ensure video fits within bounds */
  }

  .page-lottery__video-click-hint {
    font-size: 16px;
    padding: 10px 15px;
  }

  .page-lottery__video-cta {
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-lottery__play-now-button {
    font-size: 16px;
    padding: 15px 30px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-lottery__hero-section,
  .page-lottery__why-choose-section,
  .page-lottery__types-section,
  .page-lottery__guide-section,
  .page-lottery__tips-section,
  .page-lottery__promotions-section,
  .page-lottery__faq-section,
  .page-lottery__news-section {
    padding: 50px 0 !important; /* Adjust section padding for mobile, rely on inner container for sides */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-lottery__hero-container,
  .page-lottery__why-choose-container,
  .page-lottery__types-container,
  .page-lottery__guide-container,
  .page-lottery__tips-container,
  .page-lottery__promotions-container,
  .page-lottery__faq-container,
  .page-lottery__news-container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-lottery__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-lottery__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-lottery__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-lottery__cta-button {
    width: 100% !important;
    font-size: 16px;
    padding: 14px 25px;
  }

  .page-lottery__why-choose-title,
  .page-lottery__types-title,
  .page-lottery__guide-title,
  .page-lottery__tips-title,
  .page-lottery__promotions-title,
  .page-lottery__faq-title,
  .page-lottery__news-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-lottery__why-choose-intro,
  .page-lottery__types-intro,
  .page-lottery__guide-intro,
  .page-lottery__tips-intro,
  .page-lottery__promotions-intro,
  .page-lottery__news-intro {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-lottery__why-choose-grid,
  .page-lottery__types-grid,
  .page-lottery__guide-steps,
  .page-lottery__tips-list,
  .page-lottery__promotion-cards,
  .page-lottery__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-lottery__why-choose-item,
  .page-lottery__type-card,
  .page-lottery__guide-item,
  .page-lottery__tips-item,
  .page-lottery__promotion-card,
  .page-lottery__news-item {
    padding: 25px;
  }

  .page-lottery__why-choose-icon {
    width: 80px;
    height: 80px;
  }

  .page-lottery__why-choose-item-title,
  .page-lottery__type-card-title,
  .page-lottery__guide-item-title,
  .page-lottery__tips-item-title,
  .page-lottery__promotion-card-title,
  .page-lottery__news-item-title {
    font-size: 20px;
  }

  .page-lottery__type-card-image,
  .page-lottery__promotion-card-image,
  .page-lottery__news-item-image {
    height: 180px;
  }

  .page-lottery__type-card-button,
  .page-lottery__guide-item-button,
  .page-lottery__promotion-card-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px;
    padding: 10px 20px;
  }

  .page-lottery__faq-question {
    padding: 15px 20px;
  }

  .page-lottery__faq-question h3 {
    font-size: 16px;
  }

  .page-lottery__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-lottery__faq-item.active .page-lottery__faq-answer {
    padding: 15px 20px !important;
  }

  .page-lottery__faq-answer p {
    font-size: 15px;
  }

  .page-lottery__promotions-footer {
    font-size: 14px;
    margin-top: 30px;
  }

  .page-lottery__news-item-date {
    font-size: 12px;
  }
}

/* Ensure all images are responsive */
.page-lottery img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all image containers are responsive */
.page-lottery__why-choose-item,
.page-lottery__type-card,
.page-lottery__guide-item,
.page-lottery__tips-item,
.page-lottery__promotion-card,
.page-lottery__news-item,
.page-lottery__video-wrapper {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile specific overrides for image containers */
@media (max-width: 768px) {
  .page-lottery img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-lottery__why-choose-item,
  .page-lottery__type-card,
  .page-lottery__guide-item,
  .page-lottery__tips-item,
  .page-lottery__promotion-card,
  .page-lottery__news-item,
  .page-lottery__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
}