/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:focus {
  outline: 2px solid #c70000;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 变量定义 */
:root {
  --primary-color: #c70000;
  --primary-dark: #a80000;
  --primary-light: #ff2b2b;
  --secondary-color: #f8efae;
  --gold-dark: #8f672d;
  --gold-light: #cc964a;
  --text-dark: #111111;
  --text-light: #666666;
  --bg-light: #ffffff;
  --bg-dark: #333333;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
  --shadow-heavy: 0 10px 40px rgba(0,0,0,0.2);
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 20px;
  --border-radius-xl: 50px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --mission-bg: #F2F304;
}

/* 基本样式 */
body {
  font-family: 'Inter', 'Noto Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  line-height: 1.6;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

input, select, button, textarea {
  font-family: 'Inter', 'Noto Sans', sans-serif;
  font-size: 16px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

button {
  cursor: pointer;
  border: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* 通用类 */
.gold-gradient {
  background: linear-gradient(135deg, var(--secondary-color), var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.primary-color {
  color: var(--primary-color);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.d-none {
  display: none !important;
}

.d-flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.flex-column {
  flex-direction: column;
}

/* 动画 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

.fade-in {
  animation: fadeIn var(--transition-slow);
}

.slide-up {
  animation: slideUp var(--transition-normal);
}

.blink {
  animation: blink 1.5s infinite;
}

/* 通知横幅 */
.notification-banner {
  background: linear-gradient(135deg, var(--warning-color), #ff9800);
  color: var(--text-dark);
  padding: 10px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

.notification-banner .ad-badge {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 2px 8px;
  border-radius: var(--border-radius-sm);
  font-size: 12px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Hero Section Styles */
.hero {
  background: #000;
  color: #fff;
  padding: 60px 20px 80px;
  text-align: center;
}

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

.hero-headline {
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.em-strong {
  color: #ff6a00;
  font-weight: 700;
}

.em-highlight {
  color: #ffd400;
  font-weight: 700;
}

.em-without {
  color: #ffd400;
  font-style: italic;
  font-weight: 700;
  margin: 0 6px;
}

.em-muted {
  color: #cccccc;
}

.em-money {
  color: #ffd400;
  font-size: 26px;
  font-weight: 800;
}

.hero-btn {
  display: inline-block;
  background: #ffd400;
  color: #000;
  font-weight: 800;
  padding: 14px 30px;
  margin: 20px 0 35px;
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--transition-normal);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 212, 0, 0.4);
}

.hero-btn.large {
  font-size: 20px;
  padding: 18px 42px;
}

.hero-subtitle {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero-desc {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 30px;
}

.hero-proof {
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.hero-note {
  font-size: 14px;
  color: #b5b5b5;
  margin-bottom: 30px;
}

.hero-price {
  font-size: 36px;
  margin-bottom: 25px;
}

.price-old {
  text-decoration: line-through;
  margin-right: 12px;
}

.price-free {
  color: #ff0000;
  font-weight: 900;
}

.hero-step {
  font-size: 14px;
  color: #ffd400;
  margin-top: 12px;
}

/* 主标题 */
.main-title {
  text-align: center;
  color: white;
  margin: 30px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.main-title h2 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.main-title p {
  font-size: clamp(18px, 3vw, 24px);
  color: rgba(255,255,255,0.9);
  max-width: 800px;
  margin: 0 auto;
}

/* 推广横幅 */
.promotion-banner {
  max-width: 1100px;
  margin: 30px auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
  transition: transform var(--transition-normal);
}

.promotion-banner:hover {
  transform: translateY(-5px);
}

.promotion-banner img {
  width: 100%;
  height: auto;
}

/* 步骤指示器 */
.step-indicator {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.step-title {
  text-align: center;
  color: white;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.steps-container {
  background: white;
  padding: 15px;
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  padding: 15px 10px;
  border-radius: var(--border-radius-xl);
  background: #f5f5f5;
  color: #999;
  font-weight: 600;
  font-size: clamp(14px, 2vw, 18px);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
}

.step.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(199, 0, 0, 0.3);
}

.step.completed {
  background: var(--success-color);
  color: white;
}

.step-separator {
  color: #ddd;
  font-size: 20px;
  padding: 0 5px;
  position: relative;
  z-index: 1;
}

/* 选项卡内容 */
.tabs-wrapper {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.tab-content {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-medium);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 问题区域 */
.question-area {
  margin-bottom: 40px;
}

.question-text {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.highlight {
  background: linear-gradient(to top, rgba(255, 250, 212, 0.5) 40%, transparent 40%);
  padding: 0 5px;
}

/* 回答区域 */
.answer-area {
  margin: 20px 0;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.radio-option {
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 200px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  font-weight: 600;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-dark);
}

.radio-option label:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-color);
}

.radio-option input[type="radio"]:checked + label {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(199, 0, 0, 0.2);
}

.radio-option label .badge {
  margin-top: 15px;
  padding: 8px 20px;
  background: white;
  color: var(--text-dark);
  border-radius: var(--border-radius-xl);
  font-size: 14px;
  font-weight: 500;
  border: 2px solid white;
  transition: all var(--transition-normal);
}

.radio-option input[type="radio"]:checked + label .badge {
  background: var(--primary-dark);
  color: white;
  border-color: var(--primary-dark);
}

/* 输入字段 */
.input-group {
  margin: 0 auto 20px auto;
  max-width: 420px;
}

.input-field {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-size: 16px;
  transition: all var(--transition-fast);
}

.input-field:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(199, 0, 0, 0.1);
}

.input-field.error {
  border-color: var(--danger-color);
  background: #fff5f5;
}

/* 仪表盘区域 */
.gauge-area {
  max-width: 600px;
  margin: 40px auto;
}

.gauge-item {
  margin-bottom: 30px;
}

.gauge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.gauge-title {
  font-weight: 600;
  font-size: 16px;
}

.gauge-status {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
}

.gauge-status.loading {
  background: #6c757d;
  color: white;
}

.gauge-status.completed {
  background: var(--success-color);
  color: white;
}

.gauge-bar {
  height: 12px;
  background: #e9ecef;
  border-radius: 6px;
  overflow: hidden;
}

.gauge-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 6px;
  transition: width 2s ease-in-out;
}

/* 按钮样式 */
.button-group {
  margin-top: 30px;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 18px 40px;
  border-radius: var(--border-radius-xl);
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  min-width: 200px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  box-shadow: 0 5px 20px rgba(199, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(199, 0, 0, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background: #f8f9fa;
  border-color: var(--primary-color);
}

.btn-disabled {
  background: #cccccc;
  color: #666666;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* 同意复选框 */
.agreement-group {
  max-width: 500px;
  margin: 20px auto;
  background: #f8f9fa;
  padding: 20px;
  border-radius: var(--border-radius-md);
}

.agreement-item {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

.agreement-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.agreement-item label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}

.agreement-item input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

.agreement-link {
  color: var(--primary-color);
  font-weight: 500;
  margin-left: 5px;
}

.agreement-link:hover {
  text-decoration: underline;
}

/* 通知消息 */
.notification {
  padding: 15px;
  border-radius: var(--border-radius-md);
  margin: 20px auto;
  max-width: 500px;
  text-align: center;
  font-weight: 600;
}

.notification.warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.notification.info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.notification.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* 我们的宗旨板块 */
.mission-section {
  background-color: var(--mission-bg);
  color: var(--text-dark);
  padding: 40px 20px;
  margin: 40px 0;
  display: none;
}

.mission-container {
  max-width: 800px;
  margin: 0 auto;
}

.mission-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.mission-quote {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
  padding: 0 20px;
  color: var(--text-dark);
  font-style: italic;
}

.mission-content {
  font-size: 16px;
  line-height: 1.8;
}

.mission-content p {
  margin-bottom: 20px;
}

.mission-content p:last-child {
  margin-bottom: 0;
}

/* 页脚 */
.site-footer {
  background: var(--bg-dark);
  color: white;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-disclaimer {
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

.footer-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.footer-info div {
  text-align: center;
}

/* 移动端图片库 */
.mobile-gallery {
  display: none;
  margin-top: 40px;
}

.gallery-item {
  margin-bottom: 0;
  line-height: 0;
}

.gallery-item img {
  width: 100%;
  height: auto;
}

/* Thriving Together 组件独立样式 */
.tt-section {
  --section-bg: #66DEFA;
  position: relative;
  background: var(--section-bg);
  padding: 60px 15px;
  z-index: 1;
  margin: 40px 0;
}

@media (min-width: 768px) {
  .tt-section {
    padding: 80px 20px;
  }
}

.tt-section__inner {
  position: relative;
  background: var(--section-bg);
  padding: 30px 20px;
  border-radius: 15px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .tt-section__inner {
    padding: 40px 30px;
    border-radius: 20px;
  }
}

.tt-container {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.tt-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.tt-col {
  width: 100%;
}

/* 标题样式 */
.tt-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  font-size: 28px;
  margin-bottom: 25px;
  color: #021c4c;
  text-align: center;
}

@media (min-width: 768px) {
  .tt-title {
    font-size: 32px;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .tt-title {
    font-size: 42px;
    margin-bottom: 30px;
  }
}

/* 段落样式 */
.tt-text {
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 25px;
  color: #021c4c;
  text-align: center;
}

@media (min-width: 768px) {
  .tt-text {
    text-align: left;
  }
}

@media (min-width: 992px) {
  .tt-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
  }
}

/* 统计区域 */
.tt-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(2, 28, 76, 0.1);
  margin-top: 30px;
}

@media (min-width: 768px) {
  .tt-stats {
    margin-top: 40px;
    padding-top: 40px;
  }
}

@media (min-width: 992px) {
  .tt-stats {
    margin-top: 80px;
    padding-top: 60px;
  }
}

.tt-stats__item {
  flex: 0 0 calc(33.333% - 10px);
  text-align: center;
  margin-bottom: 20px;
}

.tt-stats__number {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #021c4c;
  display: block;
}

.tt-stats__label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #021c4c;
  display: block;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .tt-stats__item {
    flex: 0 0 calc(33.333% - 20px);
  }
  
  .tt-stats__number {
    font-size: 42px;
    margin-bottom: 10px;
  }
  
  .tt-stats__label {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .tt-stats__number {
    font-size: 60px;
  }
  
  .tt-stats__label {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .tt-stats__item {
    flex: 0 0 100%;
  }
  
  .tt-stats__number {
    font-size: 32px;
  }
}

/* 插图区域 - 移动端图片 */
.tt-illustration-mobile {
  width: 100%;
  margin: 30px 0;
  text-align: center;
}

.tt-illustration-mobile__image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

/* 插图区域 - 桌面端图片 */
.tt-illustration-desktop {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tt-illustration-desktop__image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 响应式布局 */
@media (min-width: 768px) {
  .tt-col:first-child {
    width: 60%;
  }
  
  .tt-col:last-child {
    width: 40%;
  }
}

@media (min-width: 992px) {
  .tt-col:first-child {
    width: 50%;
  }
  
  .tt-col:last-child {
    width: 50%;
  }
  
  .tt-illustration-desktop__image {
    max-width: 600px;
    margin-left: 40px;
  }
}

/* 隐藏/显示类 */
.tt-mobile-only {
  display: block !important;
}

.tt-desktop-only {
  display: none !important;
}

@media (min-width: 768px) {
  .tt-mobile-only {
    display: none !important;
  }
  
  .tt-desktop-only {
    display: block !important;
  }
}

/* 动画效果 */
.tt-animated {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tt-animated.visible {
  opacity: 1;
  transform: translateY(0);
}

.tt-animated-1 {
  transition-delay: 0.1s;
}

.tt-animated-2 {
  transition-delay: 0.2s;
}

.tt-animated-3 {
  transition-delay: 0.3s;
}

.tt-animated-4 {
  transition-delay: 0.4s;
}

.tt-animated-5 {
  transition-delay: 0.5s;
}

/* 背景装饰 */
.tt-section::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(102, 222, 250, 0.3), rgba(102, 222, 250, 0.1));
  border-radius: 50%;
  z-index: 0;
}

.tt-section::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(102, 222, 250, 0.2), rgba(102, 222, 250, 0.05));
  border-radius: 50%;
  z-index: 0;
}

@media (min-width: 768px) {
  .tt-section::before {
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
  }
  
  .tt-section::after {
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
  }
}

.tt-section__inner {
  position: relative;
  z-index: 2;
}

/* 内容区域在桌面端的优化 */
.tt-content {
  width: 100%;
}

@media (min-width: 768px) {
  .tt-content {
    padding-right: 30px;
  }
}

@media (min-width: 992px) {
  .tt-content {
    padding-right: 50px;
  }
}

/* ========== 模态框样式 - 完全修复 ========== */

/* 基础模态框样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-overlay.active {
  opacity: 1;
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  margin: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 25px 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-radius: 20px 20px 0 0;
  position: relative;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 5px;
}

.modal-subtitle {
  font-size: 16px;
  opacity: 0.9;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  color: white;
}

.modal-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
}

.modal-footer {
  padding: 20px 30px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* 政策模态框特定样式 */
#policyModal .modal-content {
  max-width: 700px;
}

/* 资格模态框特定样式 - 完全修复 */
#qualificationModal .modal-content {
  max-width: 600px;
  width: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
}

.qualification-header {
  padding: 30px 20px;
  text-align: center;
  background: linear-gradient(135deg, #ffd400, #ff6a00);
  border-radius: 20px 20px 0 0;
}

.qualification-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #000;
}

.congrats-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
}

.qualification-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.qualification-body {
  padding: 50px 20px;
  max-height: calc(90vh - 150px);
  overflow-y: auto;
}

.person-image-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.person-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.4) 100%);
  padding: 20px 15px 15px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invitation-code-container {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
}

.invitation-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #ffd400;
}

.copy-hint {
  font-size: 14px;
  color: #ffd400;
  margin-bottom: 15px;
  font-weight: 600;
  opacity: 0.9;
}

.invitation-code-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  width: 100%;
}

.invitation-code {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  background: rgba(0,0,0,0.85);
  padding: 20px 30px;
  border-radius: 12px;
  border: 3px solid #ffd400;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  text-align: center;
  display: inline-block;
  min-width: 280px;
  max-width: 100%;
  user-select: none;
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  word-break: break-all;
  box-sizing: border-box;
}

.invitation-code:hover {
  background: rgba(0,0,0,0.95);
  border-color: #ffed4e;
  box-shadow: 0 0 30px rgba(255, 212, 0, 0.4);
  transform: translateY(-2px);
}

.invitation-code:active {
  transform: translateY(0);
}

.invitation-code.copied {
  background: rgba(40, 167, 69, 0.2);
  border-color: #28a745;
  color: #28a745;
  animation: pulseGreen 1s ease;
}

.invitation-note {
  font-size: 14px;
  color: #ccc;
  margin-top: 10px;
}

.copy-success {
  background: rgba(40, 167, 69, 0.95);
  border: 1px solid #28a745;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin: 15px auto 5px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  width: 90%;
  box-sizing: border-box;
}

.copy-success.show {
  opacity: 1;
  transform: translateY(0);
  display: flex;
}

.copy-success i {
  font-size: 16px;
}

.join-btn {
  width: 100%;
  margin: 10px 0 0 0;
  font-size: 18px;
  position: relative;
  background: #ffd400;
  color: #000;
  font-weight: 800;
  padding: 18px 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.join-btn:hover {
  background: #ffed4e;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 212, 0, 0.4);
}

.join-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.qualification-instructions {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
}

.instruction-card {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.instruction-card:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.instruction-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-right: 20px;
  flex-shrink: 0;
  font-size: 18px;
}

.instruction-content h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.instruction-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

.time-limit-notice {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.clock-icon {
  font-size: 24px;
  color: #856404;
  margin-right: 15px;
  flex-shrink: 0;
  margin-top: 3px;
}

.notice-content h4 {
  font-size: 18px;
  color: #856404;
  margin-bottom: 10px;
}

.notice-content p {
  font-size: 14px;
  color: #856404;
  line-height: 1.5;
  margin-bottom: 5px;
}

.bonus-notice {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.bonus-notice i {
  margin-right: 10px;
}

/* Cookie同意横幅 - 独立样式 */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 全局通知 */
.global-notification {
  position: fixed !important;
  top: 80px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-20px) !important;
  z-index: 10000 !important;
  min-width: 300px !important;
  max-width: 90% !important;
  padding: 15px 20px !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  opacity: 0 !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
}

.global-notification.notification {
  margin: 0 !important;
  max-width: none !important;
}

.notification-close {
  margin-left: auto !important;
  background: none !important;
  border: none !important;
  color: inherit !important;
  cursor: pointer !important;
  padding: 0 !important;
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.error-message {
  color: var(--danger-color) !important;
  font-size: 14px !important;
  margin-top: 5px !important;
  font-weight: 500 !important;
}

/* ========== 响应式样式 ========== */
@media (max-width: 768px) {
  .notification-banner {
    font-size: 12px;
    padding: 8px 15px;
  }
  
  .hero-headline {
    font-size: 18px;
  }
  
  .hero-proof {
    font-size: 18px;
  }
  
  .hero-subtitle {
    font-size: 22px;
  }
  
  .hero-btn.large {
    font-size: 18px;
    padding: 16px 30px;
  }
  
  .main-title {
    margin: 20px auto;
  }
  
  .promotion-banner {
    margin: 20px auto;
    border-radius: 10px;
  }
  
  .tab-content {
    padding: 30px 20px;
    min-height: 350px;
  }
  
  .question-text {
    font-size: 22px;
  }
  
  .radio-group {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .radio-option label {
    height: 120px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 20px;
    text-align: left;
  }
  
  .radio-option label .badge {
    margin-top: 0;
    margin-left: auto;
  }
  
  .steps-container {
    padding: 10px;
  }
  
  .step {
    padding: 12px 5px;
    font-size: 12px;
  }
  
  .step-separator {
    font-size: 16px;
  }
  
  .btn {
    padding: 16px 30px;
    font-size: 16px;
    min-width: 180px;
  }
  
  /* 移动端模态框修复 */
  .modal-overlay {
    padding: 10px !important;
    align-items: flex-start;
  }
  
  .modal-content {
    max-height: 95vh;
    width: calc(100% - 20px) !important;
    margin: auto;
    border-radius: 15px;
  }
  
  #qualificationModal .modal-content {
    max-width: calc(100% - 20px) !important;
  }
  
  .qualification-content {
    max-height: 95vh;
  }
  
  .qualification-body {
    max-height: calc(95vh - 140px);
    padding: 50px 15px;
  }
  
  .qualification-header {
    padding: 5px 15px;
  }
  
  .qualification-title {
    font-size: 24px;
  }
  
  .qualification-subtitle {
    font-size: 16px;
  }
  
  .person-image-container {
    max-height: 250px;
  }
  
  .person-image {
    max-height: 250px;
  }
  
  .image-overlay {
    padding: 15px 12px 12px;
  }
  
  .invitation-code {
    font-size: 20px;
    padding: 15px 20px;
    min-width: 250px;
  }
  
  .copy-hint {
    font-size: 12px;
  }
  
  .instruction-card {
    flex-direction: column;
    text-align: center;
  }
  
  .instruction-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .time-limit-notice {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  .clock-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .join-btn {
    padding: 16px 25px;
    font-size: 16px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    min-width: 100%;
  }
  
  .mobile-gallery {
    display: block;
  }
  
  .mission-section {
    display: block;
  }
  
  .mission-title {
    font-size: 28px;
  }
  
  .mission-quote {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .main-title h2 {
    font-size: 28px;
  }
  
  .main-title p {
    font-size: 16px;
  }
  
  .tab-content {
    padding: 20px 15px;
    min-height: 300px;
  }
  
  .question-text {
    font-size: 20px;
  }
  
  .radio-option label {
    height: 100px;
    font-size: 16px;
  }
  
  .input-field {
    padding: 14px 16px;
  }
  
  .btn {
    padding: 14px 20px;
    font-size: 15px;
    min-width: 160px;
  }
  
  .modal-title {
    font-size: 20px;
  }
  
  .modal-subtitle {
    font-size: 14px;
  }
  
  .invitation-code {
    font-size: 18px;
    padding: 12px 16px;
    min-width: 220px;
  }
  
  .mission-title {
    font-size: 24px;
  }
  
  .mission-quote {
    font-size: 16px;
    padding: 0 10px;
  }
  
  .mission-content {
    font-size: 14px;
  }
  
  .qualification-title {
    font-size: 22px;
  }
  
  .qualification-subtitle {
    font-size: 15px;
  }
  
  .person-image-container {
    max-height: 200px;
  }
  
  .person-image {
    max-height: 200px;
  }
  
  .invitation-title {
    font-size: 14px;
  }
  
  .instruction-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .instruction-content h4 {
    font-size: 16px;
  }
  
  .instruction-content p {
    font-size: 13px;
  }
  
  .time-limit-notice {
    padding: 12px;
  }
  
  .notice-content h4 {
    font-size: 16px;
  }
  
  .notice-content p {
    font-size: 13px;
  }
  
  .bonus-notice {
    padding: 12px;
    font-size: 14px;
  }
}

/* 防止水平滚动 */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* 提高可访问性 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  .primary-color {
    color: #b30000 !important;
  }
  
  .btn-primary {
    background: #b30000 !important;
  }
  
  .invitation-code {
    border-color: #ffff00 !important;
    color: #ffff00 !important;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .tab-content {
    background: #2d2d2d;
    color: #ffffff;
  }
  
  .radio-option label {
    background: #3d3d3d;
    color: #ffffff;
    border-color: #4d4d4d;
  }
  
  .input-field {
    background: #3d3d3d;
    border-color: #4d4d4d;
    color: #ffffff;
  }
  
  .input-field:focus {
    border-color: var(--primary-color);
  }
  
  .agreement-group {
    background: #3d3d3d;
    border-color: #4d4d4d;
  }
  
  .mission-section {
    background-color: #444;
    color: #fff;
  }
  
  .qualification-content {
    background: #2d2d2d !important;
    color: white !important;
  }
  
  .qualification-instructions {
    background: #3d3d3d !important;
  }
  
  .instruction-content h4 {
    color: white !important;
  }
  
  .instruction-content p {
    color: #ccc !important;
  }
}

/* 页脚链接容器 */
.footer-links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 政策菜单 */
.footer-policy-menu {
  flex: 1;
  min-width: 250px;
}

.policy-menu-title {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.policy-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.policy-menu-list li {
  margin-bottom: 12px;
}

.policy-menu-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-align: left;
  padding: 8px 0;
  width: 100%;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  padding-left: 10px;
}

.policy-menu-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding-left: 15px;
}

.policy-menu-link i {
  width: 20px;
  text-align: center;
  color: var(--primary-color);
}

/* 页脚版权信息 */
.footer-copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-notice {
  font-size: 12px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.5);
}

/* 移动端优化 */
@media (max-width: 768px) {
  .footer-links-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-info {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .footer-info div {
    width: 100%;
  }
  
  .policy-menu-title {
    text-align: center;
  }
  
  .policy-menu-link {
    justify-content: center;
    padding: 10px 15px;
  }
  
  .policy-menu-link:hover {
    padding-left: 15px;
  }
}

/* 页脚信息区域调整 */
.footer-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  flex: 2;
}

.footer-info div {
  text-align: left;
  min-width: 200px;
}

@media (max-width: 768px) {
  .footer-info {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .footer-info div {
    width: 100%;
    text-align: center;
  }
}