/* ============================================
   澳彼得精酿 × 贝尔嘟嘟美食 · H5 品牌站
   全局样式 / 设计系统
   ============================================ */

/* --- CSS 变量：双品牌色系统 --- */
:root {
  /* 精酿金 - 澳彼得品牌色 */
  --gold: #D4A843;
  --gold-light: #E8C87A;
  --gold-dark: #B88D30;
  --gold-glow: rgba(212, 168, 67, 0.15);

  /* 美食红 - 嘟嘟品牌色 */
  --red: #C43B3B;
  --red-light: #E06060;
  --red-dark: #9E2A2A;
  --red-glow: rgba(196, 59, 59, 0.12);

  /* 深色基调 */
  --bg-dark: #0D0D0D;
  --bg-dark-2: #141414;
  --bg-dark-3: #1A1A1A;
  --bg-card: #1E1E1E;
  --bg-surface: #252525;

  /* 文字 */
  --text-primary: #F5F0E8;
  --text-secondary: #A09888;
  --text-muted: #6B6558;
  --text-on-gold: #1A1A1A;
  --text-on-red: #FFFFFF;

  /* 中性 */
  --border: rgba(245, 240, 232, 0.08);
  --border-light: rgba(245, 240, 232, 0.15);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);

  /* 渐变 */
  --gradient-gold: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  --gradient-red: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-light) 100%);
  --gradient-dual: linear-gradient(135deg, var(--gold) 0%, var(--red) 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  --gradient-hero: radial-gradient(ellipse at 30% 20%, rgba(212, 168, 67, 0.15) 0%, transparent 60%),
                    radial-gradient(ellipse at 70% 80%, rgba(196, 59, 59, 0.12) 0%, transparent 60%);

  /* 间距 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;

  /* 排版 */
  --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
  --font-en: "Georgia", "Playfair Display", "Baskerville", serif;
  --font-mono: "SF Mono", "Fira Code", monospace;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* 动效 */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;
  --duration-slower: 0.8s;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-cn);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--gold-light); }

button {
  font-family: var(--font-cn);
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

ul, ol { list-style: none; }

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-2);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 600;
}

.section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: var(--space-2xl);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.en-text {
  font-family: var(--font-en);
  letter-spacing: 1px;
}

/* --- Container --- */
.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Button System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast);
}
.btn:hover::before {
  opacity: 1;
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--text-on-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-red {
  background: var(--gradient-red);
  color: var(--text-on-red);
}
.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--red-glow);
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* --- Section spacing --- */
.section {
  padding: var(--space-3xl) 0;
}

/* --- Divider --- */
.divider {
  width: 40px;
  height: 2px;
  margin: var(--space-md) auto;
  border-radius: 1px;
}
.divider-gold { background: var(--gradient-gold); }
.divider-red { background: var(--gradient-red); }
.divider-dual { background: var(--gradient-dual); }

/* --- Card --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--duration-normal) var(--ease-out);
}
.card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* --- Glass effect --- */
.glass {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}

/* --- Tag / Badge --- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.tag-gold {
  background: var(--gold-glow);
  color: var(--gold);
}
.tag-red {
  background: var(--red-glow);
  color: var(--red);
}

/* --- Animation Utilities --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp var(--duration-slow) var(--ease-out) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--gold-glow); }
  50% { box-shadow: 0 0 40px var(--gold-glow), 0 0 60px var(--gold-glow); }
}

/* ============================================
   组件样式
   ============================================ */

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: all var(--duration-normal) var(--ease-out);
}
.header-scrolled {
  background: rgba(13, 13, 13, 0.92);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  font-weight: 700;
}
.logo-brand {
  color: var(--gold);
  letter-spacing: 2px;
}
.logo-brand--red {
  color: var(--red);
}
.logo-sep {
  color: var(--text-muted);
  font-size: 12px;
}

.nav {
  display: none;
}
.nav-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(20px);
  padding: var(--space-lg);
  gap: var(--space-md);
}
.nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  transition: color var(--duration-fast);
  padding: 4px 0;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--duration-fast);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, var(--gold-glow) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, var(--red-glow) 0%, transparent 60%),
    var(--bg-dark);
  animation: heroBgPulse 8s ease-in-out infinite;
}
@keyframes heroBgPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(13,13,13,0.8) 80%, var(--bg-dark) 100%),
    linear-gradient(0deg, transparent 50%, rgba(13,13,13,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.hero-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: var(--space-sm);
  animation: fadeInUp var(--duration-slow) var(--ease-out) 0.2s both;
}
.hero-title-line {
  display: block;
  color: var(--gold);
}
.hero-title-line--red {
  color: var(--red);
  font-size: 24px;
  margin-top: 4px;
  animation: fadeInUp var(--duration-slow) var(--ease-out) 0.4s both;
}
.hero-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 3px;
  margin-bottom: var(--space-md);
  animation: fadeInUp var(--duration-slow) var(--ease-out) 0.6s both;
}
.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: var(--space-md) 0 var(--space-xl);
  animation: fadeInUp var(--duration-slow) var(--ease-out) 0.8s both;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: 280px;
  animation: fadeInUp var(--duration-slow) var(--ease-out) 1s both;
}
.hero-scroll {
  position: absolute;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}
.scroll-arrow {
  width: 1px;
  height: 24px;
  background: var(--text-muted);
  mask: linear-gradient(black, transparent);
  -webkit-mask: linear-gradient(black, transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- Product Cards --- */
.product-grid {
  display: grid;
  gap: var(--space-md);
}
.product-card {
  position: relative;
  overflow: hidden;
}
.product-emoji {
  font-size: 40px;
  margin-bottom: var(--space-md);
}
.product-meta {
  margin-bottom: var(--space-sm);
}
.product-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: 1px;
}
.product-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  font-family: var(--font-en);
  margin-bottom: var(--space-sm);
}
.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.product-suggest {
  margin-top: var(--space-md);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* --- Transition Section (Beer → Food) --- */
.transition-section {
  padding: var(--space-3xl) 0;
  background:
    linear-gradient(180deg, var(--bg-dark-3), var(--bg-dark-2));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.transition-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(transparent, var(--text-muted));
}
.transition-content {
  position: relative;
  z-index: 1;
}
.transition-label {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 4px;
  text-transform: uppercase;
}
.transition-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
  font-size: 48px;
}
.transition-plus {
  color: var(--text-muted);
  font-size: 32px;
}
.transition-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 3px;
  background: var(--gradient-dual);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Story Section --- */
.section-story {
  background: var(--bg-dark-2);
}
.story-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.story-card {
  position: relative;
  padding-left: 0;
  border-left: none;
}
.story-accent {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: var(--space-md);
}
.story-accent--gold {
  background: var(--gradient-gold);
}
.story-accent--red {
  background: var(--gradient-red);
}
.story-brand {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}
.story-brand--red {
  color: var(--red);
}
.story-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.story-union {
  text-align: center;
  background: linear-gradient(135deg, rgba(212,168,67,0.08), rgba(196,59,59,0.08));
  border-color: rgba(212,168,67,0.2);
}
.union-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  background: var(--gradient-dual);
  color: var(--text-on-gold);
  margin-bottom: var(--space-md);
}
.union-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* --- Activity Section --- */
.section-activity {
  background: var(--bg-dark);
}
.activity-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}
.activity-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulseGlow 2s infinite;
}
.activity-card {
  text-align: center;
}
.activity-emoji {
  font-size: 56px;
  margin-bottom: var(--space-md);
}
.activity-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}
.activity-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.activity-time {
  margin-bottom: var(--space-lg);
}
.activity-quota {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--space-md);
}
.activity-quota--empty {
  color: var(--red);
}

/* Activity Progress Bar */
.activity-progress {
  margin: var(--space-lg) 0;
}
.progress-label {
  font-size: 14px;
  margin-bottom: var(--space-sm);
  text-align: center;
}
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gradient-dual);
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}
.progress-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}
.progress-hint strong {
  color: var(--gold);
}

/* Activity Rules */
.activity-rules {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.activity-rules li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
}

/* Coupon Types */
.coupon-types {
  margin: var(--space-lg) 0;
}
.coupon-types-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.coupon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
}
.activity-grab-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Redeem Section - 三核销入口 */
.redeem-section {
  margin: var(--space-lg) 0;
}
.activity-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  letter-spacing: 1px;
}
.activity-section {
  margin: var(--space-lg) 0;
}
.redeem-grid {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}
.redeem-card {
  flex: 1;
  max-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}
.redeem-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,67,0.2);
}
.redeem-icon {
  font-size: 32px;
  line-height: 1;
}
.redeem-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}
.redeem-sub {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 374px) {
  .redeem-grid {
    flex-direction: column;
    align-items: center;
  }
  .redeem-card {
    max-width: 200px;
    flex-direction: row;
    gap: var(--space-sm);
    padding: var(--space-md);
    width: 100%;
  }
  .hero-title {
    font-size: 24px;
  }
  .hero-title-line--red {
    font-size: 18px;
  }
  .section-title {
    font-size: 22px;
  }
  .product-card,
  .story-card,
  .contact-card {
    padding: var(--space-md);
  }
}
.activity-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xl);
  color: var(--text-muted);
}
.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Contact Section --- */
.section-contact {
  background: var(--bg-dark-2);
}
.contact-grid {
  display: grid;
  gap: var(--space-md);
}
.contact-card {
  text-align: center;
}
.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--gold);
}
.contact-icon svg {
  width: 100%;
  height: 100%;
}
.contact-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  letter-spacing: 1px;
}
.contact-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}
.contact-link {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 1px;
}
.contact-link:hover {
  color: var(--gold-light);
}

/* --- Footer --- */
.footer {
  padding: var(--space-2xl) 0 var(--space-lg);
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.footer-logo {
  color: var(--gold);
  letter-spacing: 2px;
}
.footer-logo--red {
  color: var(--red);
}
.footer-sep {
  color: var(--text-muted);
}
.footer-desc {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 3px;
  margin-bottom: var(--space-sm);
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* --- Responsive --- */
@media (min-width: 500px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-actions {
    flex-direction: row;
    max-width: 400px;
  }
  .hero-title {
    font-size: 40px;
  }
  .section {
    padding: var(--space-4xl) 0;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  .section-title {
    font-size: 36px;
  }
  .hero-title {
    font-size: 52px;
  }
  .hero-title-line--red {
    font-size: 32px;
  }
  .nav {
    display: flex;
    gap: var(--space-lg);
  }
  .hamburger {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-actions {
    flex-direction: row;
    max-width: 400px;
  }
  .section {
    padding: var(--space-4xl) 0;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
  .hero-title {
    font-size: 64px;
  }
  .hero-title-line--red {
    font-size: 40px;
  }
}

/* ============================================
   返回小城大事 · 退出弹窗
   ============================================ */
.exit-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}
.exit-modal {
  background: #1a1a2e;
  border: 2px solid var(--gold, #D4A843);
  border-radius: 24px;
  padding: 40px 32px 32px;
  width: 300px;
  text-align: center;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.exit-modal-icon { font-size: 56px; margin-bottom: 16px; }
.exit-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold, #D4A843);
  margin-bottom: 28px;
}
.exit-modal-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exit-btn {
  display: block;
  padding: 14px 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.exit-btn--stay {
  background: var(--gold, #D4A843);
  color: #1a1a2e;
}
.exit-btn--stay:active { background: #c99a3a; }
.exit-btn--leave {
  background: transparent;
  color: #ccc;
  border: 1px solid #555;
}
.exit-btn--leave:active { border-color: var(--gold, #D4A843); color: var(--gold, #D4A843); }

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