
/* ============================================
   灵智生活 — 温润质感 Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@200;300;400;600&family=Playfair+Display:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg-page: #0D0D0D;
  --bg-card: #141414;
  --bg-input: #1A1A1A;
  --border: #2A2A2A;
  --wood-dark: #2D2A26;
  --wood-medium: #5C4033;
  --gold-primary: #C4A484;
  --gold-light: #E8D5B7;
  --text-primary: #E0E0E0;
  --text-secondary: #AAA;
  --text-muted: #888;
  --green-accent: #5A8;
  --gray-option: #444;

  --font-cn: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-cn-heading: 'Noto Serif SC', serif;
  --font-en-display: 'Playfair Display', 'Georgia', serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 4px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-cn);
  font-weight: 400;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-cn-heading);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.section-title {
  font-family: var(--font-cn-heading);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.gold-underline {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: var(--gold-primary);
  margin-bottom: 1.5rem;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-logo {
  height: 50px;
  display: flex;
  align-items: center;
}
.nav-logo img { height: 50px; width: auto; }

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold-primary);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger — hidden by default (shown only via JS for legacy, hidden via CSS on all breakpoints) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none; border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-primary);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* --- Section Common --- */
.section {
  padding: 5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: left;
  margin-bottom: 3rem;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0D0D0D;
  position: relative;
  overflow: hidden;
}

/* Light beam — diagonal golden shaft */
.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background:
    linear-gradient(
      135deg,
      rgba(196, 164, 132, 0.18) 0%,
      rgba(196, 164, 132, 0.08) 15%,
      rgba(196, 164, 132, 0.03) 30%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

/* Subtle ambient glow in beam area */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at 20% 15%, rgba(232, 213, 183, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Dust particles */
.hero-content::before {
  content: '';
  position: absolute;
  inset: -100px;
  background-image:
    radial-gradient(1px 1px at 15% 20%, rgba(232, 213, 183, 0.5), transparent),
    radial-gradient(1px 1px at 40% 10%, rgba(232, 213, 183, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 65% 35%, rgba(232, 213, 183, 0.3), transparent),
    radial-gradient(1px 1px at 80% 22%, rgba(232, 213, 183, 0.25), transparent),
    radial-gradient(1px 1px at 25% 50%, rgba(232, 213, 183, 0.2), transparent),
    radial-gradient(1.5px 1.5px at 55% 18%, rgba(232, 213, 183, 0.3), transparent),
    radial-gradient(1px 1px at 70% 55%, rgba(232, 213, 183, 0.15), transparent),
    radial-gradient(1px 1px at 10% 40%, rgba(232, 213, 183, 0.2), transparent),
    radial-gradient(1px 1px at 35% 60%, rgba(232, 213, 183, 0.12), transparent),
    radial-gradient(1px 1px at 90% 45%, rgba(232, 213, 183, 0.15), transparent);
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.2s ease-out;
}
.hero-eyebrow {
  font-family: var(--font-en-display);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gold-primary);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-cn-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.14em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-family: var(--font-cn);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gold-primary);
  letter-spacing: 0.22em;
  margin-bottom: 0.5rem;
}
.hero-tagline {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}
.hero-divider {
  width: 1px; height: 60px;
  background: linear-gradient(transparent, var(--gold-primary), transparent);
  margin: 2rem auto;
}

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

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 2;
}
.about-image-placeholder {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Scene Grid --- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.scene-card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--bg-card) 0%, #1a1a1a 100%);
  border: 1px solid var(--border);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.scene-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color var(--transition);
}
.scene-card:hover {
  transform: scale(1.03);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}
.scene-card:hover::before {
  border-color: var(--gold-primary);
}

/* --- Form Section --- */
.form-container {
  max-width: 800px;
}
.form-block {
  margin-bottom: 2.5rem;
}
.form-block-title {
  font-family: var(--font-cn-heading);
  font-size: 1rem;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row.single { grid-template-columns: 1fr; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-family: var(--font-cn);
  font-weight: 400;
  border-radius: var(--radius);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-primary);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* File input styling */
.file-input-wrapper {
  position: relative;
}
.file-input-wrapper input[type=file] {
  width: 100%;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
}
.file-input-wrapper input[type=file]::file-selector-button {
  background: var(--border);
  border: none;
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  margin-right: 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-cn);
  font-weight: 400;
  transition: background var(--transition);
}
.file-input-wrapper input[type=file]::file-selector-button:hover {
  background: var(--gold-primary);
  color: #1a1a1a;
}

/* Space level selectors */
.space-options-label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.space-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(42,42,42,0.4);
}
.space-name { font-size: 0.9rem; font-weight: 400; color: var(--text-secondary); }
.space-levels { display: flex; gap: 0.5rem; }

.level-btn {
  flex: 1;
  max-width: 110px;
  padding: 0.4rem 0.3rem;
  font-size: 0.75rem;
  text-align: center;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-family: var(--font-cn);
}
.level-btn:hover { border-color: var(--text-muted); }

.level-btn.selected-priority {
  border-color: var(--gold-primary);
  background: rgba(196,164,132,0.1);
  color: var(--gold-primary);
}
.level-btn.selected-basic {
  border-color: var(--green-accent);
  background: rgba(85,170,136,0.1);
  color: var(--green-accent);
}
.level-btn.selected-none {
  border-color: var(--gray-option);
  background: rgba(68,68,68,0.2);
  color: var(--gray-option);
}

/* Checkbox chips */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chip-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: all var(--transition);
  user-select: none;
}
.chip-label input { display: none; }
.chip-label:has(input:checked) {
  border-color: var(--gold-primary);
  background: rgba(196,164,132,0.1);
  color: var(--gold-primary);
}
.chip-label:hover { border-color: var(--text-muted); }

/* Submit button */
.btn-submit {
  display: inline-block;
  background: var(--gold-primary);
  color: #1a1a1a;
  border: none;
  padding: 0.85rem 3rem;
  font-size: 0.95rem;
  font-family: var(--font-cn);
  font-weight: 400;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* --- Form Confirmation Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal-overlay.active { display: flex; }

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: var(--radius);
  animation: fadeInUp 0.4s ease-out;
}
.modal-title {
  font-family: var(--font-cn-heading);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}
.modal-message {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.modal-summary { margin-bottom: 1.5rem; }
.modal-summary dt {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.8rem;
}
.modal-summary dd {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-primary);
}
.btn-close {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.6rem 2rem;
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-family: var(--font-cn);
}
.btn-close:hover { border-color: var(--gold-primary); color: var(--gold-primary); }

/* --- Store Section --- */
.store-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 10px;
  text-align: center;
}
.store-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  justify-content: center;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* ===== Consultation Simple (Contact + Teaser) ===== */
.consultation-simple {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0;
}
.contact-info-block {
  margin-bottom: 2.5rem;
}
.contact-label {
  font-family: var(--font-cn);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.contact-name-display {
  font-family: var(--font-cn-heading);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.contact-phone-display {
  font-family: var(--font-cn);
  font-size: 1.5rem;
  color: var(--gold-light);
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.contact-phone-display:hover {
  color: var(--gold-primary);
}
.contact-wechat-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.lottery-teaser {
  margin-bottom: 2.5rem;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.teaser-line1, .teaser-line2 {
  font-family: var(--font-cn);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.teaser-amount-display {
  font-family: var(--font-en-display);
  font-size: 2.2rem;
  color: var(--gold-light);
  margin: 0.8rem 0;
  letter-spacing: 0.03em;
}
.teaser-line3 {
  font-family: var(--font-cn-heading);
  font-size: 0.95rem;
  color: var(--gold-primary);
  font-style: italic;
  margin-top: 0.5rem;
}
.btn-consult-cta {
  display: inline-block;
  background: var(--gold-primary);
  color: var(--bg-page);
  font-family: var(--font-cn);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.9rem 2.8rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-consult-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196, 164, 132, 0.2);
}

.store-contact {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}
.btn-navigate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  background: rgba(196, 164, 132, 0.12);
  border: 1px solid var(--gold-primary);
  border-radius: 6px;
  color: var(--gold-light);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-navigate:hover {
  background: rgba(196, 164, 132, 0.2);
  transform: translateY(-1px);
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 400;
}

/* --- Back Button --- */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.5rem 0;
  transition: color var(--transition);
}
.btn-back:hover { color: var(--gold-primary); }
.btn-back::before { content: '\2190'; }

/* --- Scene Hero (sub pages) --- */
.scene-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0D0D0D;
  position: relative;
  overflow: hidden;
}
.scene-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background:
    linear-gradient(
      135deg,
      rgba(196, 164, 132, 0.12) 0%,
      rgba(196, 164, 132, 0.04) 18%,
      transparent 45%
    );
  pointer-events: none;
  z-index: 0;
}
.scene-hero .hero-content { animation: fadeInUp 0.8s ease-out; position: relative; z-index: 1; }
.scene-hero .hero-content .hero-title {
  font-weight: 300;
}

/* --- Video Placeholder Grid --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.video-placeholder {
  aspect-ratio: 16/9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  transition: border-color var(--transition);
  cursor: default;
}
.video-placeholder:hover { border-color: var(--text-muted); }
.video-placeholder .play-icon {
  width: 48px; height: 48px;
  border: 1.5px solid var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.video-placeholder .play-icon::after { content: '\25B6'; margin-left: 2px; }
.scene-video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: block;
}
.video-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.video-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Scene description */
.scene-desc {
  max-width: 700px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet: scene grid 3-col */
@media (max-width: 1024px) {
  .scene-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
  .section { padding: 3.5rem 1.5rem; }

  /* --- Mobile Nav: pill buttons, no hamburger --- */
  .hamburger { display: none !important; }

  .navbar {
    padding: 0.5rem 0.75rem;
    height: auto;
    justify-content: center;
    background: rgba(13, 13, 13, 0.88);
  }

  .nav-logo {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: none;
    padding: 0;
    border-bottom: none;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.4rem;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 2rem;
    transition: all var(--transition);
    position: static;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(196, 164, 132, 0.12);
    border-color: var(--gold-primary);
    color: var(--gold-light);
  }

  /* --- Scene Cards: 2-col, shorter, smaller text --- */
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .scene-card {
    aspect-ratio: auto;
    height: 65px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }

  /* --- Layout --- */
  .about-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .space-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .space-name { margin-bottom: 0.2rem; }
  .level-btn { max-width: none; }
}

/* Small mobile: < 480px */
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.4rem; }
}

/* ============================================
   NEW: Hero Light Beam & Particles
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
}

/* Diagonal light beam */
.hero-light-beam {
  position: absolute;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  background: radial-gradient(ellipse at 30% 30%, 
    rgba(196, 164, 132, 0.08) 0%, 
    rgba(196, 164, 132, 0.03) 30%, 
    transparent 60%);
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
}
.hero-light-beam::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 25%;
  width: 2px;
  height: 60%;
  background: linear-gradient(to bottom, 
    rgba(232, 213, 183, 0.4), 
    rgba(196, 164, 132, 0.15), 
    transparent);
  transform: rotate(-8deg);
  filter: blur(1px);
}

/* Dust particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(232, 213, 183, 0.3);
  border-radius: 50%;
  animation: float-particle 8s ease-in-out infinite;
}
.hero-particles span:nth-child(1) { top: 15%; left: 70%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 25%; left: 30%; animation-delay: 1.5s; width: 3px; height: 3px; }
.hero-particles span:nth-child(3) { top: 45%; left: 80%; animation-delay: 3s; }
.hero-particles span:nth-child(4) { top: 60%; left: 20%; animation-delay: 4.5s; width: 1px; height: 1px; }
.hero-particles span:nth-child(5) { top: 35%; left: 55%; animation-delay: 6s; }
.hero-particles span:nth-child(6) { top: 70%; left: 65%; animation-delay: 2s; width: 2px; height: 2px; }
.hero-particles span:nth-child(7) { top: 10%; left: 45%; animation-delay: 5s; }
.hero-particles span:nth-child(8) { top: 80%; left: 35%; animation-delay: 1s; width: 3px; height: 3px; }
.hero-particles span:nth-child(9) { top: 50%; left: 10%; animation-delay: 7s; }
.hero-particles span:nth-child(10) { top: 30%; left: 90%; animation-delay: 3.5s; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
  50% { transform: translateY(-10px) translateX(-5px); opacity: 0.2; }
  75% { transform: translateY(-30px) translateX(15px); opacity: 0.5; }
}

/* Hero tagline */
.hero-tagline-main {
  font-family: var(--font-cn-heading);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  margin-top: 1.4rem;
  animation: fadeInUp 1.2s 0.4s ease-out both;
}
.hero-tagline-sub {
  font-family: var(--font-en-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
  animation: fadeInUp 1.2s 0.6s ease-out both;
}

/* ===== Hero CTA Button ===== */
.hero-cta-btn {
  display: inline-block;
  margin-top: 2rem;
  background: var(--gold-primary);
  color: var(--bg-page);
  font-family: var(--font-cn);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.8rem 2.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.hero-cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196, 164, 132, 0.25);
}

@media (max-width: 768px) {
  .hero { min-height: 55vh; }
  .hero-tagline-main { font-size: 1.3rem; }
  .hero-tagline-sub { font-size: 0.82rem; }
}

/* ============================================
   NEW: Mobile Navigation (pill buttons, no hamburger)
   ============================================ */
.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .hamburger { display: none !important; }
  .nav-links { display: none !important; }
  
  .mobile-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(13, 13, 13, 0.94);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 998;
  }
  
  .mobile-nav-pill {
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  white-space: nowrap;

    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
  }
  .mobile-nav-pill:hover,
  .mobile-nav-pill:active {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    background: rgba(196, 164, 132, 0.08);
  }
}

/* ============================================
   TEAM ADVANTAGES
   ============================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.advantage-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition);
}
.advantage-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.advantage-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.advantage-title {
  font-family: var(--font-cn-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.advantage-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Brand logo badges */
.brand-logos-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-keey {
  background: rgba(200, 180, 150, 0.15);
  color: #C8B496;
  border: 1px solid rgba(200, 180, 150, 0.3);
  font-family: Georgia, serif;
}

.brand-aqara {
  background: rgba(59, 130, 246, 0.12);
  color: #6BA4F8;
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-family: 'Segoe UI', sans-serif;
}

.brand-mi {
  background: rgba(255, 105, 0, 0.12);
  color: #FF8C3D;
  border: 1px solid rgba(255, 105, 0, 0.25);
  font-family: 'Segoe UI', sans-serif;
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .advantage-card {
    padding: 1.5rem 1rem;
  }
}

/* ============================================
   TECH CAPABILITIES
   ============================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 680px;
  margin: 2rem auto 0;
}

.tech-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.tech-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.tech-wired {
  background: rgba(196, 164, 132, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(196, 164, 132, 0.25);
}

.tech-wireless {
  background: rgba(90, 170, 136, 0.1);
  color: #7BC4A0;
  border: 1px solid rgba(90, 170, 136, 0.25);
}

.tech-protocols {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.protocol-tag {
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============================================
   UPDATED: Scene Cards (compact on mobile)
   ============================================ */
@media (max-width: 768px) {
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .scene-card {
    aspect-ratio: auto;
    height: 64px;
    padding: 10px 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }
  .scene-card::before {
    display: none;
  }
}


/* ===== Page Sections (Hash Routing) ===== */

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-page);
  z-index: 1000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.btn-back-link {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.btn-back-link:hover { color: var(--gold-primary); }
.field-error { color: #c0392b; font-size: 0.8rem; margin-top: 0.3rem; min-height: 1.2em; }
.radio-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; font-size: 0.95rem; color: var(--text-secondary); }
.radio-label input[type="radio"] { width: 18px; height: 18px; accent-color: var(--gold-primary); }
.privacy-check { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.9rem; color: var(--text-muted); }
.privacy-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold-primary); }
.btn-submit .btn-loading { display: inline-flex; align-items: center; gap: 0.4rem; }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* ===== Lottery Page ===== */
.envelope-wrapper { margin: 2rem auto; position: relative; }
.envelope-svg { filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.envelope-glow { animation: envGlow 0.6s ease-in-out 3; }
@keyframes envGlow {
  0%,100% { filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
  50% { filter: drop-shadow(0 4px 24px rgba(196,164,132,0.4)); }
}
.amount-tags { position: relative; height: 200px; margin: 1rem auto; max-width: 400px; }
.amount-tag {
  position: absolute;
  top: 50%; left: 50%;
  font-family: var(--font-en-display);
  font-size: 1.3rem;
  color: var(--gold-light);
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  opacity: 0;
  transform: scale(0.3);
}
.amount-tag.fly-in {
  animation: tagFly 0.7s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes tagFly {
  0% { opacity:0; transform:scale(0.3) translate(var(--tx),var(--ty)); }
  60% { opacity:1; }
  100% { opacity:1; transform:scale(1) translate(0,0); }
}
.wheel-container { position: relative; width: 300px; height: 300px; margin: 2rem auto; }
.wheel-pointer {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 16px solid transparent; border-right: 16px solid transparent;
  border-top: 22px solid var(--gold-primary);
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.wheel-spin {
  width: 100%; height: 100%; border-radius: 50%;
  background: conic-gradient(#8B2E2E 0deg 45deg, #C4A484 45deg 90deg, #8B2E2E 90deg 135deg, #C4A484 135deg 180deg, #8B2E2E 180deg 225deg, #C4A484 225deg 270deg, #8B2E2E 270deg 315deg, #C4A484 315deg 360deg);
  position: relative; overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.3);
  transition: transform 4s cubic-bezier(0.17,0.67,0.12,0.99);
  display: flex; align-items: center; justify-content: center;
}
.wheel-center {
  width: 48px; height: 48px; background: var(--bg-card);
  border-radius: 50%; border: 2px solid var(--gold-primary);
  z-index: 5; position: absolute;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-cn); font-size: 0.9rem; color: var(--gold-primary);
}
.btn-spin {
  display: inline-block; background: var(--gold-primary); color: var(--bg-page);
  font-family: var(--font-cn); font-size: 1.1rem; font-weight: 500;
  padding: 0.9rem 2.5rem; border-radius: var(--radius);
  border: none; cursor: pointer; margin-top: 1rem;
  transition: all var(--transition);
}
.btn-spin:hover { background: var(--gold-light); }
.btn-spin:disabled { opacity: 0.5; cursor: not-allowed; }
.lottery-result { display: none; margin-top: 2rem; }
.lottery-result.show { display: block; }
.result-amount { font-family: var(--font-en-display); font-size: 2.5rem; color: var(--gold-light); }
.result-sub { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.5rem; }
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 1000; align-items: center; justify-content: center; }
.overlay.show { display: flex; }
.overlay-popup {
  background: var(--bg-card); border: 1px solid var(--gold-primary);
  border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center;
  max-width: 360px; margin: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn { from { opacity:0; transform:scale(0.8) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }
.overlay-emoji { font-size: 2.5rem; margin-bottom: 0.5rem; }
.overlay-amount { font-family: var(--font-en-display); font-size: 2.2rem; color: var(--gold-light); }
.overlay-sub { font-size: 1rem; color: var(--text-secondary); margin: 0.5rem 0; }
.overlay-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.btn-close-overlay {
  background: var(--gold-primary); color: var(--bg-page); border: none;
  padding: 0.6rem 2rem; border-radius: var(--radius); cursor: pointer;
  font-size: 0.9rem; font-family: var(--font-cn);
}


.scene-hero { position: relative; min-height: 50vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.scene-hero .hero-content { position: relative; z-index: 2; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; padding: 2rem 0; }
.video-placeholder { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; cursor: pointer; transition: all var(--transition); }
.video-placeholder:hover { border-color: var(--gold-primary); }
.play-icon { width: 0; height: 0; border-left: 24px solid var(--gold-primary); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.video-label { color: var(--text-muted); font-size: 0.9rem; }
.scene-desc { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; text-align: center; padding: 1rem 0; }
.btn-back { display: inline-block; color: var(--text-muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 1rem; transition: color var(--transition); padding: 0.5rem 1rem; }
.btn-back:hover { color: var(--gold-primary); }

/* Scene pages */
.scene-hero { position: relative; min-height: 50vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.scene-hero .hero-content { position: relative; z-index: 2; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; padding: 2rem 0; }
.video-placeholder { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; cursor: pointer; transition: all var(--transition); }
.video-placeholder:hover { border-color: var(--gold-primary); }
.play-icon { width: 0; height: 0; border-left: 24px solid var(--gold-primary); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.video-label { color: var(--text-muted); font-size: 0.9rem; }
.scene-desc { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; text-align: center; padding: 1rem 0; }
.btn-back { display: inline-block; color: var(--text-muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 1rem; transition: color var(--transition); padding: 0.5rem 1rem; }
.btn-back:hover { color: var(--gold-primary); }
