/* ============================================================
   MONOCHROME ELITE TOKENS
   ============================================================ */
:root {
    --bg: #030303;
    --bg-soft: #080808;
    --bg-hi: #0d0d0d;
    --surface: rgba(255, 255, 255, 0.028);
    --surface-hi: rgba(255, 255, 255, 0.055);
    --surface-hi2: rgba(255, 255, 255, 0.09);
    --border: rgba(255, 255, 255, 0.075);
    --border-hi: rgba(255, 255, 255, 0.16);
    --border-hi2: rgba(255, 255, 255, 0.28);
    --text: #ffffff;
    --text-mute: rgba(255, 255, 255, 0.58);
    --text-dim: rgba(255, 255, 255, 0.32);
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mono: 'JetBrains Mono', 'Courier New', monospace;
    --silver-grad: linear-gradient(135deg, #ffffff 0%, #e8e8e8 25%, #b0b0b0 50%, #e8e8e8 75%, #ffffff 100%);
    --pearl-grad: linear-gradient(135deg, #fafafa 0%, #d0d0d0 30%, #909090 55%, #d0d0d0 80%, #fafafa 100%);
    --silk-grad: linear-gradient(180deg, #ffffff 0%, #f0f0f0 20%, #c8c8c8 60%, #a0a0a0 100%);
    --shine-grad: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.95) 50%, transparent 70%);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    cursor: none;
}
@media (hover: hover) and (pointer: fine) {
    body { cursor: none; }
    a, button { cursor: none; }
}
::selection { background: rgba(255, 255, 255, 0.3); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.35));
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.5));
}

/* ============================================================
   FIX: Кнопка профиля в навбаре
   ============================================================ */
.btn-profile {
    color: #ffffff !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-hi);
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.btn-profile:visited {
    color: #ffffff !important;
}

/* ============================================================
   Маленькая иконка слева от кнопки Вход/Профиль
   ============================================================ */
.btn-shop-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.nav-small-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.075);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    flex-shrink: 0;
}

.nav-small-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .nav-small-icon {
        display: none; /* На очень маленьких экранах скрываем, чтобы не ломать навбар */
    }
}

/* ============================================================
   ЗАДНЯЯ КАРТИНКА
   ============================================================ */
.hero-bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    z-index: -3;
    background-image: url('image/blackout.png');
    background-size: cover;
    background-position: center top;
    pointer-events: none;
    opacity: 0.9;
    animation: bgSlowZoom 20s ease-in-out infinite alternate;
}

@keyframes bgSlowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.05) 0%, rgba(10, 10, 10, 0.7) 60%, rgba(10, 10, 10, 1) 100%);
}

/* ============================================================
   AUTH MODAL — Monochrome Elite
   ============================================================ */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 3, 3, 0.75);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.auth-overlay.active { 
    display: flex; 
}

.auth-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 32px 28px 24px;
    border-radius: 32px;
    background: var(--surface, rgba(18, 18, 20, 0.72));
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid var(--border-hi, rgba(255, 255, 255, 0.1));
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.8), 
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: #fff;
    animation: authModalIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes authModalIn {
    0%   { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Кнопка закрытия */
.auth-close {
    position: absolute;
    top: 16px; 
    right: 16px;
    width: 32px; 
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-mute, rgba(255, 255, 255, 0.6));
    cursor: pointer;
    transition: all 0.3s var(--ease, ease);
}

.auth-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: rotate(90deg);
}

/* Hero (лого и заголовок) */
.auth-hero {
    text-align: center;
    padding: 6px 0 24px;
}

.auth-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    box-shadow: 
        inset 0 0.5px 0 rgba(255, 255, 255, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.auth-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 6px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-mute, rgba(255, 255, 255, 0.58));
    margin: 0;
}

/* Discord кнопка */
.discord-auth-block { margin-bottom: 20px; }

.btn-discord-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s var(--ease, ease);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-discord-auth svg { filter: grayscale(1) brightness(1.5); } /* Монохром */

.btn-discord-auth:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Разделитель */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--text-dim, rgba(255, 255, 255, 0.32));
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* iOS-сегмент-контрол */
.ios-segmented {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    margin-bottom: 22px;
}

.segmented-pill {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 0;
}

.segmented-item {
    position: relative;
    z-index: 1;
    padding: 10px 0;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-mute, rgba(255, 255, 255, 0.5));
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: var(--font, sans-serif);
}

.segmented-item.active { color: #fff; }
.segmented-item:hover:not(.active) { color: rgba(255, 255, 255, 0.8); }

/* Формы */
.auth-form {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.auth-form.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.auth-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    color: #fff;
    font-size: 15px;
    font-family: var(--font, sans-serif);
    transition: all 0.3s var(--ease, ease);
    outline: none;
}

.auth-form input::placeholder { color: rgba(255, 255, 255, 0.3); }

.auth-form input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

/* Кнопка "Войти/Создать" */
.auth-form .btn-submit {
    margin-top: 8px;
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    background: var(--silver-grad, linear-gradient(180deg, #ffffff 0%, #d6d6d6 55%, #b6b6b6 100%));
    color: #0a0a0a;
    font-size: 15px;
    font-weight: 800;
    font-family: var(--font, sans-serif);
    cursor: pointer;
    transition: all 0.3s var(--ease, ease);
    box-shadow: 
        inset 0 2px 0 #fff,
        0 8px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.auth-form .btn-submit::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.9), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.auth-form .btn-submit:hover::after {
    animation: shimmer 0.9s ease;
}

.auth-form .btn-submit:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        inset 0 2px 0 #fff,
        0 12px 30px rgba(0, 0, 0, 0.6);
}

.auth-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Шапка ввода кода */
.auth-code-header {
    text-align: center;
    margin-bottom: 20px;
}

.auth-code-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    filter: grayscale(1) brightness(1.5); /* Монохромная иконка */
}

.auth-code-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
}

.auth-code-header p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-mute, rgba(255, 255, 255, 0.5));
    margin: 0;
}

/* Сообщения */
.auth-message {
    min-height: 18px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #ff6b6b;
    margin-top: 4px;
}

.auth-message.loading { color: rgba(255, 255, 255, 0.6); }
.auth-message.success { color: #4ade80; }

/* Ссылки */
.auth-helper {
    text-align: center;
    margin-top: 4px;
}

.auth-helper a {
    font-size: 13px;
    color: var(--text-mute, rgba(255, 255, 255, 0.5));
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-helper a:hover { color: #fff; }

/* Футер модалки */
.auth-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
}

.auth-footer a {
    color: var(--text-mute, rgba(255, 255, 255, 0.5));
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover { color: #fff; }

.auth-footer .dot-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .auth-modal { padding: 24px 20px 20px; border-radius: 24px; }
    .auth-title { font-size: 22px; }
    .auth-form input { padding: 14px 16px; font-size: 14px; }
    .auth-form .btn-submit { padding: 14px; }
}

/* ============================================================
   GLOBAL CURSOR + SPOTLIGHT
   ============================================================ */
.cursor-dot, .cursor-ring, .cursor-trail, .cursor-spotlight {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
    z-index: 999999;
}
.cursor-dot {
    width: 6px; height: 6px;
    background: #fff;
    mix-blend-mode: difference;
    transition: width 0.25s var(--ease), height 0.25s var(--ease);
}
.cursor-ring {
    width: 34px; height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.cursor-trail {
    width: 10px; height: 10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
    z-index: 999998;
}
.cursor-spotlight {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 60%);
    z-index: 2;
    transition: opacity 0.3s;
}
body.cursor-hover .cursor-ring {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.9);
}
body.cursor-hover .cursor-dot { width: 3px; height: 3px; }
@media (hover: none) {
    .cursor-dot, .cursor-ring, .cursor-trail, .cursor-spotlight { display: none; }
}

/* ============================================================
   BG LAYERS
   ============================================================ */
.noise {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.bg-mesh {
    position: fixed; inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 18% 22%, rgba(255, 255, 255, 0.11), transparent 60%),
        radial-gradient(ellipse 50% 40% at 82% 18%, rgba(255, 255, 255, 0.075), transparent 60%),
        radial-gradient(ellipse 45% 50% at 72% 78%, rgba(255, 255, 255, 0.06), transparent 60%),
        radial-gradient(ellipse 40% 45% at 22% 88%, rgba(255, 255, 255, 0.045), transparent 60%);
    filter: blur(40px);
    animation: meshDrift 24s ease-in-out infinite alternate;
}
@keyframes meshDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-3%, 2%) scale(1.06); }
    100% { transform: translate(2%, -2%) scale(1.02); }
}

.bg-grid {
    position: fixed; inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}

.bg-vignette {
    position: fixed; inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.bg-particles {
    position: fixed; inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.bg-particles .pt {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    background: rgba(255, 255, 255, 0.85);
    animation: ptFloat linear infinite;
}
@keyframes ptFloat {
    0%   { transform: translate(0, 0) scale(1); opacity: 0; }
    15%  { opacity: 0.6; }
    85%  { opacity: 0.6; }
    100% { transform: translate(calc(var(--dx, 40px)), -140px) scale(0.3); opacity: 0; }
}

/* ============================================================
   LOADER (STAGED)
   ============================================================ */
.loader {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 1000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-logo {
    width: 76px; height: 76px;
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid var(--border-hi);
    animation: loaderPulse 1.6s ease-in-out infinite;
}
@keyframes loaderPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(255, 255, 255, 0.15); }
    50%      { transform: scale(1.06); box-shadow: 0 0 80px rgba(255, 255, 255, 0.4); }
}
.loader-stage {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    min-height: 16px;
    transition: color 0.3s;
}
.loader-stage::before { content: '> '; color: #fff; }
.loader-bar {
    width: 220px; height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}
.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), #fff);
    border-radius: 99px;
    animation: loaderFill 1.8s var(--ease) forwards;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}
@keyframes loaderFill { to { width: 100%; } }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 2px; width: 0%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), #fff, rgba(255, 255, 255, 0.3));
    z-index: 99999;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: width 0.08s linear;
}

/* ============================================================
   COMMAND PALETTE
   ============================================================ */
.cmdk-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}
.cmdk-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
.cmdk-modal {
    width: 100%;
    max-width: 560px;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border-hi);
    border-radius: 18px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    animation: cmdkIn 0.3s var(--ease-spring);
}
@keyframes cmdkIn {
    from { opacity: 0; transform: scale(0.95) translateY(-10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cmdk-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
}
.cmdk-input-icon { color: rgba(255, 255, 255, 0.5); flex-shrink: 0; }
.cmdk-input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-family: var(--font);
    font-weight: 600;
    outline: none;
}
.cmdk-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.cmdk-kbd {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.5);
}
.cmdk-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 8px;
}
.cmdk-list::-webkit-scrollbar { width: 4px; }
.cmdk-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 4px; }
.cmdk-group-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    padding: 12px 14px 6px;
}
.cmdk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.cmdk-item:hover, .cmdk-item.selected {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.cmdk-item-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.cmdk-item-desc {
    margin-left: auto;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
}
.cmdk-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}
.cmdk-footer span { display: flex; align-items: center; gap: 6px; }
.cmdk-empty {
    padding: 40px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
}

/* ============================================================
   НОВЫЙ НАВБАР (OVERRIDE)
   ============================================================ */
.navbar-wrapper {
    position: fixed !important;
    top: 22px !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 20px !important;
    z-index: 9000 !important;
    display: flex !important;
    justify-content: center !important;
    pointer-events: none !important;
    transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.navbar-wrapper.scrolled { 
    top: 12px !important; 
}

.nav-block {
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 1220px !important;
    padding: 10px 22px !important;
    background: rgba(8, 8, 8, 0.55) !important;
    backdrop-filter: blur(24px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
    border-radius: 60px !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
    flex-wrap: nowrap !important;
}

.navbar-wrapper.scrolled .nav-block {
    padding: 7px 16px !important;
    background: rgba(8, 8, 8, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

.logo-icon {
    width: 42px !important; 
    height: 42px !important;
    background: #000 !important;
    border-radius: 11px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    margin-left: 0 !important;
}

.logo-icon img { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
}

.logo-icon:hover { 
    transform: scale(1.08) rotate(-4deg) !important; 
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.3) !important; 
}

.nav-links { 
    display: flex !important; 
    align-items: center !important; 
    gap: 4px !important; 
    flex-shrink: 0 !important; 
}

.nav-link {
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 9px 16px !important;
    border-radius: 12px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
    white-space: nowrap !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    position: relative !important;
    overflow: visible !important;
}

/* Убираем старый блик */
.nav-link::before { 
    display: none !important; 
}

/* Добавляем новое подчеркивание */
.nav-link::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important; 
    bottom: 3px !important;
    width: 0 !important; 
    height: 1.5px !important;
    background: #fff !important;
    border-radius: 99px !important;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
    transform: translateX(-50%) !important;
    box-shadow: 0 0 8px #fff !important;
}

.nav-link:hover, .nav-link.active { 
    color: #fff !important; 
    background: rgba(255, 255, 255, 0.05) !important; 
    transform: none !important;
}

.nav-link:hover::after, .nav-link.active::after { 
    width: 60% !important; 
}

.btn-shop-wrapper {
    flex-shrink: 0 !important;
    margin-right: 0 !important;
}

.btn-auth {
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 25%, #b0b0b0 50%, #e8e8e8 75%, #ffffff 100%) !important;
    background-size: 200% 100% !important;
    color: #0a0a0a !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    font-family: var(--font) !important;
    padding: 10px 24px !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
    box-shadow: inset 0 1px 0 #fff, 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-auth::after {
    display: none !important; /* Убираем старый шиммер */
}

.btn-auth:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: inset 0 1px 0 #fff, 0 8px 24px rgba(255, 255, 255, 0.25) !important;
    animation: silverShift 6s ease infinite !important;
}

.mobile-menu-btn {
    display: none;
    width: 38px !important; 
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    color: #fff !important;
    font-size: 16px !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.cmdk-trigger {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 14px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    border-radius: 10px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: var(--font) !important;
    transition: all 0.2s !important;
    cursor: pointer !important;
}

.cmdk-trigger:hover { 
    background: rgba(255, 255, 255, 0.08) !important; 
    color: #fff !important; 
}

.cmdk-trigger .cmdk-kbd { 
    margin-left: 4px !important; 
}

@keyframes silverShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (max-width: 900px) {
    .nav-links { display: none !important; }
    .cmdk-trigger { display: none !important; }
    .mobile-menu-btn { display: flex !important; }
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content {
    position: relative;
    z-index: 3;
    padding-top: 60px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 60px 80px;
    overflow: hidden;
}
.hero-inner {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border-hi);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    animation: heroIn 0.9s var(--ease) 0.1s both;
}
.hero-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px #fff, 0 0 20px rgba(255, 255, 255, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes dotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px #fff; }
    50%      { transform: scale(1.3); box-shadow: 0 0 22px #fff, 0 0 30px rgba(255, 255, 255, 0.4); }
}

.hero-title {
    font-size: clamp(38px, 5.4vw, 78px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 26px;
}
.hero-title .line {
    display: block;
    overflow: hidden;
}
.hero-title .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(80%) rotate(8deg);
    animation: letterIn 0.9s var(--ease-expo) forwards;
}
@keyframes letterIn {
    to { opacity: 1; transform: translateY(0) rotate(0); }
}
.hero-title .grad {
    background: var(--silver-grad);
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-mute);
    max-width: 560px;
    margin-bottom: 38px;
    animation: heroIn 1s var(--ease) 0.9s both;
}
.hero-sub .typewriter {
    color: #fff;
    font-weight: 700;
    border-right: 2px solid #fff;
    padding-right: 4px;
    animation: caretBlink 1s step-end infinite;
}
@keyframes caretBlink { 50% { border-color: transparent; } }

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
    animation: heroIn 1s var(--ease) 1.1s both;
}

.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    font-family: var(--font);
    text-decoration: none;
    border: none;
    transition: all 0.35s var(--ease-spring);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.005em;
    will-change: transform;
}
.btn-primary {
    background: var(--silver-grad);
    background-size: 200% 100%;
    color: #0a0a0a;
    box-shadow: inset 0 2px 0 #fff, 0 8px 30px rgba(255, 255, 255, 0.15), 0 4px 14px rgba(0, 0, 0, 0.5);
    animation: silverShift 6s ease infinite;
}
@keyframes silverShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: var(--shine-grad);
    transform: skewX(-22deg);
    transition: left 0.6s var(--ease);
}
.btn-primary:hover {
    box-shadow: inset 0 2px 0 #fff, 0 12px 40px rgba(255, 255, 255, 0.35), 0 8px 22px rgba(0, 0, 0, 0.6);
}
.btn-primary:hover::after { left: 130%; }

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid var(--border-hi);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--border-hi2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.btn-ghost svg { transition: transform 0.3s var(--ease); }
.btn-ghost:hover svg { transform: translateX(3px); }

.hero-meta {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    animation: heroIn 1s var(--ease) 1.3s both;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-val { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.hero-meta-val .accent { color: #fff; }
.hero-meta-lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }

@keyframes heroIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    animation: heroIn 1.1s var(--ease) 0.5s both;
}
.hero-visual-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50%      { transform: scale(1.1); opacity: 1; }
}
.hero-frame {
    position: relative;
    width: 100%;
    max-width: 370px;
    aspect-ratio: 1 / 1.1;
    border-radius: 36px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-hi);
    backdrop-filter: blur(20px);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
    animation: heroFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
    will-change: transform;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-14px) rotate(1deg); }
}
.hero-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 36px;
    padding: 1px;
    background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.5), transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 75%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: conicSpin 8s linear infinite;
}
@keyframes conicSpin { to { transform: rotate(360deg); } }
.hero-frame img {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(1.15);
    width: 85%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.85));
    user-select: none;
    -webkit-user-drag: none;
    z-index: 1;
}
.hero-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.10), transparent 60%);
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb--1 {
    width: 120px; height: 120px;
    top: 5%; right: -5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
    filter: blur(20px);
    animation-delay: -2s;
}
.hero-orb--2 {
    width: 160px; height: 160px;
    bottom: 8%; left: -10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
    filter: blur(24px);
    animation-delay: -4s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(10px, -20px) scale(1.15); }
}

.scroll-cue {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    animation: heroIn 1s var(--ease) 1.5s both;
}
.scroll-cue-line {
    width: 1px;
    height: 42px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    position: relative;
    overflow: hidden;
}
.scroll-cue-line::after {
    content: '';
    position: absolute;
    top: -50%; left: 0;
    width: 100%; height: 50%;
    background: #fff;
    animation: scrollCue 2s ease-in-out infinite;
    box-shadow: 0 0 8px #fff;
}
@keyframes scrollCue {
    0%   { top: -50%; opacity: 0; }
    30%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ============================================================
   MOBILE MENU (ИСПРАВЛЕНИЕ)
   ============================================================ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: none;
    flex-direction: column;
    padding: 100px 30px 40px;
    gap: 4px;
    animation: fadeIn 0.3s ease;
}

.mobile-menu.open { 
    display: flex; 
}

.mobile-menu-close {
    position: absolute;
    top: 24px; 
    right: 24px;
    width: 44px; 
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    padding: 16px 20px;
    border-radius: 14px;
    transition: background 0.2s;
}

.mobile-menu a:hover { 
    background: rgba(255, 255, 255, 0.06); 
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section {
    position: relative;
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
}
.section-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 56px;
    max-width: 780px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
    width: fit-content;
}
.eyebrow::before {
    content: '';
    width: 24px; height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
}
.section-title {
    font-size: clamp(30px, 4.2vw, 54px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.section-title .grad {
    background: var(--silver-grad);
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}
.section-sub {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-mute);
    max-width: 620px;
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 0.07s); }
.reveal-item.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto 80px;
    max-width: 1280px;
    position: relative;
    z-index: 3;
}
.stat-cell {
    background: rgba(6, 6, 6, 0.85);
    backdrop-filter: blur(20px);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.stat-cell::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.3));
    transition: width 0.5s var(--ease);
}
.stat-cell:hover { background: rgba(16, 16, 16, 0.95); }
.stat-cell:hover::after { width: 100%; }
.stat-val {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    background: var(--silver-grad);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}
.stat-val.live { color: #fff; -webkit-text-fill-color: #fff; background: none; }
.stat-lbl { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.stat-trend { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.55); margin-top: 2px; }

/* ============================================================
   BENTO FEATURES
   ============================================================ */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 150px;
    gap: 16px;
}
.bento-card {
    position: relative;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 26px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    will-change: transform;
    transform-style: preserve-3d;
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.bento-card > * { position: relative; z-index: 1; }
.bento-card:hover {
    border-color: var(--border-hi);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 255, 255, 0.03);
}
.bento-card:hover::before { opacity: 1; }

.bento-card--lg { grid-column: span 3; grid-row: span 2; }
.bento-card--md { grid-column: span 3; grid-row: span 1; }
.bento-card--sm { grid-column: span 2; grid-row: span 1; }
.bento-card--wide { grid-column: span 4; grid-row: span 1; }

.bento-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.4s var(--ease-spring);
}
.bento-card:hover .bento-icon {
    transform: scale(1.12) rotate(-6deg);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-hi2);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
}

.bento-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0;
    line-height: 1.25;
}
.bento-card--lg .bento-title { font-size: 24px; }
.bento-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-mute);
    margin: 6px 0 0;
}
.bento-card--lg .bento-desc { font-size: 15px; }

.bento-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: rgba(255, 255, 255, 0.65);
    width: fit-content;
}

.bento-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-top: auto;
    padding-top: 14px;
    transition: gap 0.3s var(--ease);
}
.bento-cta:hover { gap: 14px; }

.bento-visual {
    position: absolute;
    right: -20px; bottom: -20px;
    width: 160px;
    opacity: 0.35;
    pointer-events: none;
    transition: all 0.5s var(--ease);
    filter: grayscale(1);
    z-index: 0 !important;
}
.bento-card:hover .bento-visual { opacity: 0.65; transform: scale(1.1) rotate(-5deg); }

.cmd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cmd-chip {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s;
}
.cmd-chip:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--border-hi); color: #fff; }

/* ============================================================
   SERVER SPECS
   ============================================================ */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.spec-card {
    padding: 26px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.spec-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.spec-card:hover {
    border-color: var(--border-hi);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.spec-card:hover::before { opacity: 1; }
.spec-icon { font-size: 22px; filter: grayscale(1) brightness(1.4); }
.spec-label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.spec-value {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
}
.spec-detail { font-size: 12px; color: var(--text-mute); line-height: 1.5; font-weight: 500; }

/* ============================================================
   COMPARISON
   ============================================================ */
.compare-wrap {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
}
.compare-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: center;
    padding: 18px 28px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row.head {
    background: rgba(255, 255, 255, 0.03);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}
.compare-row:hover:not(.head) { background: rgba(255, 255, 255, 0.025); }
.compare-cell { font-size: 14px; color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.compare-cell.feature { color: rgba(255, 255, 255, 0.65); font-weight: 500; }
.compare-cell.center { text-align: center; }
.compare-check { color: #fff; font-size: 18px; font-weight: 900; }
.compare-cross { color: rgba(255, 255, 255, 0.2); font-size: 18px; font-weight: 900; }
.compare-cell.us {
    font-weight: 800;
    color: #fff;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent);
    position: relative;
}
.compare-cell.us::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 8px #fff;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
    position: relative;
    padding: 20px 0;
    max-width: 900px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 30px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-hi) 10%, var(--border-hi) 90%, transparent);
}
.timeline-item {
    position: relative;
    padding: 0 0 40px 80px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 24px; top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border-hi);
    z-index: 2;
    transition: all 0.4s var(--ease);
}
.timeline-item.active::before {
    border-color: #fff;
    background: #fff;
    box-shadow: 0 0 16px #fff, 0 0 32px rgba(255, 255, 255, 0.5);
}
.timeline-item.future::before { border-color: rgba(255, 255, 255, 0.3); }
.timeline-year {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}
.timeline-item.active .timeline-year { color: #fff; }
.timeline-title { font-size: 20px; font-weight: 800; color: #fff; }
.timeline-desc { font-size: 14px; line-height: 1.6; color: var(--text-mute); }

/* ============================================================
   STAFF
   ============================================================ */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.staff-card {
    padding: 28px 22px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.staff-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}
.staff-card:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.staff-card:hover::before { opacity: 1; }
.staff-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border-hi);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
    transition: all 0.4s var(--ease-spring);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.staff-card:hover .staff-avatar {
    transform: scale(1.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 24px rgba(255, 255, 255, 0.15);
}
.staff-name { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.staff-role {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 99px;
}
.staff-role.owner { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); }
.staff-role.admin { color: rgba(255, 255, 255, 0.85); border-color: var(--border-hi); }
.staff-desc { font-size: 12px; color: var(--text-mute); line-height: 1.5; margin-top: 2px; }

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.roadmap::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, var(--border-hi) 10%, var(--border-hi) 90%, transparent);
}
.roadmap-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    padding: 26px 0;
    position: relative;
}
.roadmap-item:nth-child(even) .roadmap-content { order: 3; text-align: left; }
.roadmap-item:nth-child(even) .roadmap-spacer { order: 1; }
.roadmap-item:nth-child(even) .roadmap-node { order: 2; }
.roadmap-content { order: 1; text-align: right; }
.roadmap-spacer { order: 3; }
.roadmap-node { order: 2; }
.roadmap-node {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border-hi);
    position: relative;
    z-index: 2;
    transition: all 0.4s var(--ease);
}
.roadmap-node.active {
    border-color: #fff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.25);
    background: #fff;
}
.roadmap-node.future { border-color: rgba(255, 255, 255, 0.35); }
.roadmap-content { display: flex; flex-direction: column; gap: 4px; }
.roadmap-date {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.roadmap-date.active { color: #fff; }
.roadmap-date.future { color: var(--text-mute); }
.roadmap-title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.roadmap-desc { font-size: 14px; line-height: 1.6; color: var(--text-mute); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--border-hi); }
.faq-item.open { background: var(--surface-hi); border-color: var(--border-hi); }
.faq-q {
    width: 100%;
    padding: 22px 26px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.3s;
}
.faq-q:hover { color: rgba(255, 255, 255, 0.85); }
.faq-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: all 0.4s var(--ease);
    flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: #fff; color: #050505; border-color: #fff; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
    padding: 0 26px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 26px 22px; }
.faq-a-inner { font-size: 14.5px; line-height: 1.7; color: var(--text-mute); padding-top: 4px; }
.faq-a-inner a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
    position: relative;
    margin: 60px auto 100px;
    max-width: 1200px;
    padding: 80px 60px;
    border-radius: 32px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.09), transparent 60%),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.06), transparent 60%),
        var(--surface);
    border: 1px solid var(--border-hi);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent);
    pointer-events: none;
}
.final-cta-logo {
    width: 80px; height: 80px;
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid var(--border-hi);
    position: relative;
    z-index: 1;
    animation: heroFloat 5s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}
.final-cta-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 700px;
    position: relative;
    z-index: 1;
}
.final-cta-title .grad {
    background: var(--silver-grad);
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}
.final-cta-sub {
    font-size: 16px;
    color: var(--text-mute);
    max-width: 500px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}
.final-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: 8px;
}
.ip-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-hi);
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s var(--ease);
    position: relative;
    z-index: 1;
}
.ip-chip:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--border-hi2); }
.ip-chip.copied { background: rgba(255, 255, 255, 0.15); border-color: #fff; }
.ip-chip-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px #fff;
    animation: dotPulse 2s ease-in-out infinite;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-wrapper {
    position: relative;
    z-index: 3;
    padding: 0 20px 60px;
}
.footer-block {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 40px;
    border-radius: var(--radius-lg);
    background: rgba(6, 6, 6, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo-row { display: flex; align-items: center; gap: 14px; }
.footer-logo {
    width: 48px; height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-hi);
    object-fit: cover;
}
.footer-brand-name { font-size: 17px; font-weight: 900; letter-spacing: -0.02em; }
.footer-brand-sub { font-size: 12px; color: var(--text-dim); font-weight: 600; }
.footer-disclaimer { font-size: 12px; line-height: 1.6; color: var(--text-dim); }
.footer-col-title { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a {
    color: var(--text-mute);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
    width: fit-content;
}
.footer-col-links a:hover { color: #fff; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-social {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mute);
    transition: all 0.3s var(--ease-spring);
}
.footer-social:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hi);
    transform: translateY(-3px) scale(1.1);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(6, 6, 6, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-hi);
    color: #fff;
    font-size: 20px;
    z-index: 8000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-3px); }

/* Easter egg: special glow on logo */
body.konami .logo-icon { animation: konamiGlow 0.6s ease-in-out infinite; }
@keyframes konamiGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    50%      { box-shadow: 0 0 40px rgba(255, 255, 255, 0.9), 0 0 60px rgba(255, 255, 255, 0.5); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .hero { padding: 80px 30px 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-meta { justify-content: center; }
    .hero-visual { min-height: 420px; }
    .hero-frame { max-width: 340px; }
    .section { padding: 80px 30px; }
    .stats-strip { margin-left: 30px; margin-right: 30px; margin-bottom: 60px; }
    .bento { grid-template-columns: repeat(4, 1fr); }
    .bento-card--lg { grid-column: span 2; }
    .bento-card--md { grid-column: span 2; }
    .bento-card--sm { grid-column: span 2; }
    .bento-card--wide { grid-column: span 4; }
    .staff-grid { grid-template-columns: repeat(2, 1fr); }
    .specs-grid { grid-template-columns: 1fr 1fr; }
    .footer-block { grid-template-columns: 1fr; gap: 30px; }
    .final-cta { margin: 40px 30px 80px; padding: 60px 30px; }
}
@media (max-width: 768px) {
    .nav-block { padding: 8px 12px; gap: 10px; }
    .hero { padding: 70px 20px 60px; }
    .hero-title { font-size: clamp(32px, 8vw, 48px); }
    .hero-sub { font-size: 15px; }
    .hero-meta { gap: 20px; }
    .hero-meta-val { font-size: 18px; }
    .section { padding: 60px 20px; }
    .section-head { margin-bottom: 36px; }
    .stats-strip { grid-template-columns: 1fr 1fr; margin-left: 20px; margin-right: 20px; margin-bottom: 50px; }
    .stat-cell { padding: 24px 20px; }
    .stat-val { font-size: 28px; }
    .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-card--lg, .bento-card--md, .bento-card--sm, .bento-card--wide { grid-column: span 1; grid-row: span 1; min-height: 150px; }
    .bento-card--lg { min-height: 200px; }
    .roadmap::before { left: 12px; }
    .roadmap-item { grid-template-columns: auto 1fr; gap: 20px; padding: 18px 0; text-align: left; }
    .roadmap-content { order: 2; text-align: left; }
    .roadmap-node { order: 1; }
    .roadmap-spacer { display: none; }
    .faq-q { padding: 18px 20px; font-size: 15px; }
    .final-cta { margin: 30px 20px 60px; padding: 50px 24px; }
    .footer-block { padding: 24px 20px; }
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
    .staff-grid { grid-template-columns: 1fr 1fr; }
    .specs-grid { grid-template-columns: 1fr 1fr; }
    .compare-row { grid-template-columns: 1.2fr 1fr 1fr; padding: 14px 16px; font-size: 12px; }
    .compare-cell { font-size: 12px; }
    .cmdk-modal { max-width: calc(100vw - 24px); }
    .cmdk-list { max-height: 60vh; }
}
@media (max-width: 480px) {
    .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; justify-content: center; }
    .stats-strip { grid-template-columns: 1fr; }
    .ip-chip { font-size: 13px; }
    .staff-grid { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal, .reveal-item, .hero-badge, .hero-sub, .hero-actions, .hero-meta, .hero-visual { opacity: 1 !important; transform: none !important; }
    .hero-title .letter { opacity: 1 !important; transform: none !important; }
}