:root {
  /* Colors - Premium Obsidian & Tech Accents */
  --bg-color: #020305;
  --bg-darker: #010102;
  --accent-gold: #d4af37; /* Muted Premium Gold */
  --accent-cyan: #00f0ff; /* Electric Ingress Cyan */
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #505050;
  --border-color: rgba(212, 175, 55, 0.2);
  
  /* Typography */
  --font-serif: "Bodoni Moda", "Playfair Display", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
  --font-zh: "Source Han Sans CN", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
}

/* Base Overlays */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.05;
  pointer-events: none;
  z-index: 9999;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(18, 16, 16, 0) 50%,
    rgba(0, 0, 0, 0.1) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 9998;
}

/* Typography Utility */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

.zh {
  font-family: var(--font-zh);
}

/* Animations */
@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { opacity: 0.4; }
}

@keyframes scanline-glow {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.scanner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.05), transparent);
  animation: scanline-glow 8s linear infinite;
  pointer-events: none;
  z-index: 9997;
}

/* Layout & Reveal */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.content-wrapper {
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
  text-align: center;
}

section.visible .content-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.invitation-card {
  border: 1px solid var(--border-color);
  padding: 3rem;
  background: rgba(2, 3, 5, 0.8);
  backdrop-filter: blur(10px);
  max-width: 600px;
  width: 90%;
  position: relative;
  z-index: 10;
}

.data-stream {
  position: absolute;
  top: 10%;
  left: 5%;
  opacity: 0.5;
  animation: pulse 2s infinite;
}

.align-center { text-align: center; }

h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.05rem;
}

/* Core Screen Specifics */
.core-screen {
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.03) 0%, transparent 70%);
}

.vertical-text h2 {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 8vh;
  margin: 0 2rem;
  opacity: 0.1;
  transition: opacity 1.5s;
}

section.visible .vertical-text h2 {
  opacity: 0.8;
}

.vertical-text h2:nth-child(2) {
  margin-top: 5vh;
}

.pulse-core {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid var(--accent-cyan);
  opacity: 0.1;
  animation: core-pulse 4s infinite;
}

@keyframes core-pulse {
  0% { transform: scale(0.8); opacity: 0.05; }
  50% { transform: scale(1.2); opacity: 0.15; }
  100% { transform: scale(0.8); opacity: 0.05; }
}

footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-darker);
}

.muted {
  opacity: 0.3;
  margin: 0.5rem 0;
}

.logo-text {
  font-size: 10vw;
  margin: 2rem 0;
  background: linear-gradient(to bottom, var(--accent-gold), #8c6a1b);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-premium {
  padding: 1rem 3rem;
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  margin-top: 2rem;
}

.btn-premium:hover {
  background: var(--accent-gold);
  color: var(--bg-color);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* i18n Toggler */
.i18n-toggler {
  position: fixed;
  top: 2rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
  z-index: 10000;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  transition: color 0.3s;
}

.lang-btn.active {
  color: var(--accent-gold);
}
