/* Critical Above-The-Fold CSS (≤14KB) */
:root {
  --bg-deep: #02050E;
  --bg-surface: #060B18;
  --bg-card: rgba(8, 16, 32, 0.85);
  --border-subtle: rgba(0, 229, 255, 0.15);
  --border-accent: rgba(0, 229, 255, 0.45);
  --neon-cyan: #00E5FF;
  --neon-green: #00FF9D;
  --neon-amber: #F59E0B;
  --neon-red: #EF4444;
  --text-main: #DDF7FF;
  --text-muted: #8EADC8;
  --text-dim: #475569;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(ellipse at 50% 10%, rgba(0, 229, 255, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(0, 255, 157, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(245, 158, 11, 0.02) 0%, transparent 40%);
  background-attachment: fixed;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--neon-cyan);
  color: #000;
  padding: 8px 16px;
  z-index: 9999;
  font-weight: bold;
  border-radius: 4px;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 10px;
}

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

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 5, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFF;
  font-weight: 900;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.6));
}

.badge-18plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 77, 77, 0.6);
  background: rgba(255, 77, 77, 0.12);
  color: #FF6B6B;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.2);
  user-select: none;
}

.brand-logo .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.nav-links {
  display: none;
  gap: 24px;
  list-style: none;
}
@media (min-width: 900px) {
  .nav-links { display: flex; align-items: center; }
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--neon-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-mono);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00E5FF, #00B4D8);
  color: #02050E;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.7);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(0, 229, 255, 0.08);
  color: var(--neon-cyan);
  border-color: var(--border-subtle);
}
.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.16);
  border-color: var(--neon-cyan);
}

.btn-telegram {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.4);
}
.btn-telegram:hover {
  background: rgba(56, 189, 248, 0.28);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 40px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FFF;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #00E5FF 0%, #00FF9D 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
@media (min-width: 640px) {
  .hero-cta-group { flex-direction: row; justify-content: center; }
}

.download-pill-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  margin-left: 6px;
}
