/* ============ Neon Roleplay — neon-noir night-city ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #05060a;
    --bg-2: #090b12;
    --panel: rgba(255, 255, 255, 0.035);
    --panel-line: rgba(255, 255, 255, 0.08);
    --txt: #eef1f8;
    --muted: #8b93a9;
    --cyan: #19e3d0;
    --cyan-2: #38f5ff;
    --mag: #ff2e88;
    --violet: #7b5cff;
    --maxw: 1160px;
    --display: 'Chakra Petch', system-ui, sans-serif;
    --body: 'Sora', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--txt);
    font-family: var(--body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- atmosphere ---- */
.grain {
    position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora .blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.42; mix-blend-mode: screen; }
.aurora .b1 { width: 52vw; height: 52vw; background: var(--cyan); top: -16vw; left: -10vw; animation: drift1 22s ease-in-out infinite; }
.aurora .b2 { width: 46vw; height: 46vw; background: var(--mag); top: -8vw; right: -12vw; animation: drift2 26s ease-in-out infinite; }
.aurora .b3 { width: 50vw; height: 50vw; background: var(--violet); bottom: -22vw; left: 28vw; opacity: 0.3; animation: drift3 30s ease-in-out infinite; }
.aurora .grid {
    position: absolute; inset: -2px;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 75%);
}
@keyframes drift1 { 50% { transform: translate(8vw, 10vh) scale(1.15); } }
@keyframes drift2 { 50% { transform: translate(-7vw, 12vh) scale(1.1); } }
@keyframes drift3 { 50% { transform: translate(6vw, -8vh) scale(1.2); } }

/* ---- header ---- */
#nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; align-items: center; gap: 24px;
    padding: 18px clamp(18px, 4vw, 48px);
    transition: background 0.3s, border-color 0.3s, padding 0.3s;
    border-bottom: 1px solid transparent;
}
#nav.scrolled {
    background: rgba(6, 7, 12, 0.82);
    border-bottom-color: var(--panel-line);
    padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; letter-spacing: 3px; font-size: 19px; }
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(25,227,208,0.5)); }
.links { margin-left: auto; display: flex; gap: 28px; }
.links a { color: var(--muted); font-size: 14px; letter-spacing: 0.5px; transition: color 0.2s; }
.links a:hover { color: var(--cyan); }

/* ---- buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 1.5px;
    padding: 13px 26px; border-radius: 11px; cursor: pointer; border: 1px solid transparent;
    transition: transform 0.12s, box-shadow 0.2s, filter 0.2s, background 0.2s; text-transform: uppercase;
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 9px 18px; font-size: 12.5px; }
.btn-primary { color: #04110f; background: linear-gradient(100deg, var(--cyan), var(--cyan-2)); box-shadow: 0 8px 26px rgba(25,227,208,0.28); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 10px 34px rgba(25,227,208,0.45); }
.btn-ghost { color: var(--txt); background: var(--panel); border-color: var(--panel-line); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 1px rgba(25,227,208,0.2); }

/* ---- hero ---- */
.hero { position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 80px; }
.hero-inner { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.hero-inner > * { opacity: 0; transform: translateY(22px); animation: rise 0.7s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.22s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.30s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.38s; }
.hero-inner > *:nth-child(6) { animation-delay: 0.46s; }
.hero-inner > *:nth-child(7) { animation-delay: 0.54s; }
.hero-inner > *:nth-child(8) { animation-delay: 0.62s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.f2p {
    margin-top: 20px;
    display: inline-flex; align-items: center; gap: 4px;
    font-family: var(--display); font-weight: 600; font-size: 13.5px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--cyan);
    padding: 9px 20px; border-radius: 99px;
    background: rgba(25, 227, 208, 0.08);
    border: 1px solid rgba(25, 227, 208, 0.38);
    box-shadow: 0 0 28px rgba(25, 227, 208, 0.16);
}
.f2p span { color: var(--muted); }

.status-pill {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 30px;
    padding: 8px 16px; border-radius: 99px; font-size: 13px; letter-spacing: 0.5px;
    background: var(--panel); border: 1px solid var(--panel-line); color: var(--muted);
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #5a6175; box-shadow: 0 0 0 0 rgba(25,227,208,0.6); }
.status-pill.online .dot { background: var(--cyan); animation: pulse 2s infinite; }
.status-pill.online { color: var(--txt); border-color: rgba(25,227,208,0.3); }
.status-pill.offline .dot { background: var(--mag); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25,227,208,0.5); } 70% { box-shadow: 0 0 0 8px rgba(25,227,208,0); } 100% { box-shadow: 0 0 0 0 rgba(25,227,208,0); } }

.hero-logo { width: clamp(120px, 18vw, 168px); height: auto; filter: drop-shadow(0 12px 40px rgba(25,227,208,0.35)); animation: rise 0.7s cubic-bezier(.2,.8,.2,1) forwards, floaty 6s ease-in-out infinite 0.7s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.wordmark {
    font-family: var(--display); font-weight: 700; font-size: clamp(72px, 16vw, 168px); line-height: 0.9;
    letter-spacing: 4px; margin-top: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #b9c6ff 55%, var(--cyan) 130%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: 0 0 60px rgba(25,227,208,0.25);
}
.kicker { font-family: var(--display); font-weight: 600; font-size: clamp(13px, 2.2vw, 17px); color: var(--cyan); letter-spacing: 6px; margin-top: -4px; }
.tagline { color: var(--muted); font-size: clamp(15px, 2vw, 18px); margin-top: 22px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.hero-meta b { color: var(--txt); font-family: var(--display); font-weight: 600; }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--panel-line); }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 22px; animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---- sections ---- */
.section { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 11vw, 130px) clamp(18px, 4vw, 40px); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: 4px; text-transform: uppercase; color: var(--cyan); }
.section-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 5vw, 46px); line-height: 1.05; margin-top: 12px; letter-spacing: 0.5px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 16px; }

/* ---- feature grid ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.fcard {
    position: relative; padding: 26px 24px; border-radius: 16px; overflow: hidden;
    background: linear-gradient(160deg, var(--panel), rgba(255,255,255,0.015));
    border: 1px solid var(--panel-line);
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.fcard::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: linear-gradient(var(--cyan), var(--violet)); opacity: 0.5; transition: opacity 0.18s, box-shadow 0.18s; }
.fcard:hover { transform: translateY(-5px); border-color: rgba(25,227,208,0.4); box-shadow: 0 16px 44px rgba(0,0,0,0.5); }
.fcard:hover::before { opacity: 1; box-shadow: 0 0 14px rgba(25,227,208,0.7); }
.fcard .ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(25,227,208,0.1); border: 1px solid rgba(25,227,208,0.22); color: var(--cyan); margin-bottom: 16px; }
.fcard .ic svg { width: 22px; height: 22px; }
.fcard h3 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: 0.5px; }
.fcard p { color: var(--muted); font-size: 14px; margin-top: 7px; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.step { position: relative; padding: 30px 26px; border-radius: 16px; background: linear-gradient(160deg, var(--panel), rgba(255,255,255,0.015)); border: 1px solid var(--panel-line); }
.step-no { font-family: var(--display); font-weight: 700; font-size: 46px; color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,0.14); }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 20px; margin-top: 6px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 10px 0 20px; }

/* ---- voice ---- */
.voice .voice-card { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 30px; align-items: center;
    padding: clamp(30px, 5vw, 54px); border-radius: 22px; overflow: hidden;
    background: radial-gradient(120% 140% at 0% 0%, rgba(25,227,208,0.08), transparent 55%), linear-gradient(160deg, var(--panel), rgba(255,255,255,0.015));
    border: 1px solid var(--panel-line); }
.voice .voice-card .eyebrow { color: var(--cyan); }
.voice h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 38px); margin-top: 10px; line-height: 1.08; }
.voice-text p { color: var(--muted); margin-top: 14px; max-width: 460px; }
.voice-rows { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.voice-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; border-radius: 11px; background: rgba(0,0,0,0.25); border: 1px solid var(--panel-line); }
.voice-rows .vk { color: var(--muted); font-size: 13px; letter-spacing: 0.5px; }
.voice-rows .vv { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--cyan); background: none; border: none; cursor: pointer; }
.voice-rows .vv:hover { text-decoration: underline; }
.voice-badge { display: grid; place-items: center; }
.voice-badge img { width: min(240px, 60%); filter: drop-shadow(0 16px 50px rgba(123,92,255,0.35)); }

/* ---- footer ---- */
footer { position: relative; z-index: 2; border-top: 1px solid var(--panel-line); margin-top: 40px; padding: 46px clamp(18px,4vw,48px); display: flex; flex-wrap: wrap; align-items: center; gap: 22px; max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.foot-brand { display: flex; align-items: center; gap: 13px; }
.foot-brand img { width: 40px; height: 40px; }
.foot-brand b { font-family: var(--display); letter-spacing: 2px; display: block; font-size: 15px; }
.foot-brand span { color: var(--muted); font-size: 12.5px; }
.foot-links { margin-left: auto; display: flex; gap: 24px; }
.foot-links a, .foot-links .linkish { color: var(--muted); font-size: 14px; background: none; border: none; cursor: pointer; transition: color 0.2s; font-family: var(--body); }
.foot-links a:hover, .foot-links .linkish:hover { color: var(--cyan); }
.foot-copy { flex-basis: 100%; color: #5a6175; font-size: 12.5px; }

/* ---- toast ---- */
.toast { position: fixed; left: 50%; bottom: 30px; translate: -50% 20px; z-index: 100;
    background: rgba(10,12,18,0.95); border: 1px solid rgba(25,227,208,0.4); color: var(--txt);
    padding: 12px 20px; border-radius: 11px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity 0.25s, translate 0.25s; box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.toast.show { opacity: 1; translate: -50% 0; }

@media (max-width: 720px) {
    .links { display: none; }
    .voice .voice-card { grid-template-columns: 1fr; }
    .voice-badge { order: -1; }
    .foot-links { margin-left: 0; flex-basis: 100%; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .aurora .blob, .hero-logo, .scroll-hint, .status-pill.online .dot { animation: none !important; }
    .hero-inner > * { animation: none !important; opacity: 1; transform: none; }
}
