/* style/lottery.css */
/* 页面完整样式代码 - 注意：所有选择器必须添加页面前缀 */
:root {
  --page-lottery-primary-bg: #1A202C; /* Dark blue/black */
  --page-lottery-secondary-accent: #FFD700; /* Bright gold */
  --page-lottery-text-light: #F0F0F0; /* Light text for dark backgrounds */
  --page-lottery-text-dark: #1A202C; /* Dark text for light backgrounds */
  --page-lottery-button-bg: #FFD700;
  --page-lottery-button-text: #1A202C;
  --page-lottery-link-color: #FFD700;
  --page-lottery-border-color: #3A404C;
}

.page-lottery {
  background-color: var(--page-lottery-primary-bg);
  color: var(--page-lottery-text-light);
  font-family: 'Arial', sans-serif; /* Example font */
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

.page-lottery .hero-section {
  background-color: var(--page-lottery-primary-bg);
  /* Image placeholder for background, will be replaced by system */
  background-image: url('[GALLERY:bg:lottery,hero,abstract]');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-lottery .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 0;
}

.page-lottery .hero-content {
  position: relative;
  z-index: 1;
  color: var(--page-lottery-text-light);
}

.page-lottery h1 {
  font-size: 3.5em;
  color: var(--page-lottery-secondary-accent);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.page-lottery .hero-section p {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-lottery-text-light);
}

.page-lottery .btn {
  display: inline-block;
  background-color: var(--page-lottery-button-bg);
  color: var(--page-lottery-button-text);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery .btn:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery section {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-lottery-border-color);
}

.page-lottery section:last-of-type {
  border-bottom: none;
}

.page-lottery .section-title {
  font-size: 2.8em;
  color: var(--page-lottery-secondary-accent);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  line-height: 1.3;
}

.page-lottery .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-lottery-secondary-accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-lottery h2 {
  font-size: 2.2em;
  color: var(--page-lottery-secondary-accent);
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.3;
}

.page-lottery h3 {
  font-size: 1.8em;
  color: var(--page-lottery-text-light);
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid var(--page-lottery-secondary-accent);
  padding-left: 15px;
  line-height: 1.4;
}

.page-lottery p {
  margin-bottom: 15px;
  color: var(--page-lottery-text-light);
}

.page-lottery strong {
  color: var(--page-lottery-secondary-accent);
}

.page-lottery ul, .page-lottery ol {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-lottery ul li, .page-lottery ol li {
  margin-bottom: 10px;
  color: var(--page-lottery-text-light);
}

.page-lottery ul li::marker {
  color: var(--page-lottery-secondary-accent);
  font-size: 1.2em;
}

.page-lottery ol li::marker {
  color: var(--page-lottery-secondary-accent);
  font-weight: bold;
  font-size: 1.2em;
}

.page-lottery a {
  color: var(--page-lottery-link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-lottery a:hover {
  color: #e6c200; /* Slightly darker gold */
  text-decoration: underline;
}

.page-lottery .image-container {
  text-align: center;
  margin: 40px 0;
}

.page-lottery .image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-lottery-border-color);
}

.page-lottery .cta-section {
  background-color: #2A303C; /* Slightly lighter dark blue */
  text-align: center;
  padding: 80px 0;
}

.page-lottery .cta-section h2 {
  color: var(--page-lottery-secondary-accent);
  font-size: 2.5em;
  margin-bottom: 30px;
}

.page-lottery .cta-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive design */
@media (max-width: 992px) {
  .page-lottery h1 {
    font-size: 3em;
  }
  .page-lottery .section-title {
    font-size: 2.5em;
  }
  .page-lottery h2 {
    font-size: 2em;
  }
  .page-lottery h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-lottery h1 {
    font-size: 2.5em;
  }
  .page-lottery .hero-section p {
    font-size: 1em;
  }
  .page-lottery .btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-lottery .section-title {
    font-size: 2em;
  }
  .page-lottery h2 {
    font-size: 1.8em;
  }
  .page-lottery h3 {
    font-size: 1.5em;
  }
  .page-lottery section {
    padding: 40px 0;
  }
  .page-lottery .cta-section {
    padding: 60px 0;
  }
  .page-lottery .cta-section h2 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-lottery h1 {
    font-size: 2em;
  }
  .page-lottery .hero-section p {
    font-size: 0.9em;
  }
  .page-lottery .btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-lottery .section-title {
    font-size: 1.8em;
  }
  .page-lottery h2 {
    font-size: 1.6em;
  }
  .page-lottery h3 {
    font-size: 1.3em;
  }
  .page-lottery section {
    padding: 30px 0;
  }
}