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

:root {
    --bg: #0d0d12;
    --ink: #f0ede8;
    --muted: #6b6880;
    --accent: #a78bfa;
    --accent2: #f472b6;
    --accent3: #34d399;
}

html, body {
    height: 100%;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Syne', sans-serif;
    overflow: hidden;
    cursor: none;
}

/* canvas for cursor ripples */
#ripple-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* colour grading overlay */
.grade {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
            radial-gradient(ellipse 60% 50% at 15% 20%, rgba(167,139,250,0.13) 0%, transparent 70%),
            radial-gradient(ellipse 50% 40% at 85% 80%, rgba(244,114,182,0.11) 0%, transparent 70%),
            radial-gradient(ellipse 40% 60% at 50% 50%, rgba(52,211,153,0.05) 0%, transparent 70%);
    animation: gradeShift 12s ease-in-out infinite alternate;
}
@keyframes gradeShift {
    0%   { opacity: 1; filter: hue-rotate(0deg); }
    50%  { opacity: 0.85; filter: hue-rotate(15deg); }
    100% { opacity: 1; filter: hue-rotate(-10deg); }
}

/* vignette */
.vignette {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 45%, rgba(0,0,0,0.65) 100%);
}

.page {
    position: relative;
    z-index: 3;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.domain-badge {
    font-family: 'Syne Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    border: 1px solid rgba(167,139,250,0.3);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 2.8rem;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.2s;
    background: rgba(167,139,250,0.06);
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(4rem, 12vw, 8.5rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--ink);
    opacity: 0;
    animation: fadeUp 0.7s ease forwards 0.4s;
}

h1 .word-soon {
    display: block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 55%, var(--accent3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200%;
    animation: gradShift 6s ease infinite alternate;
}
@keyframes gradShift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.cursor-blink {
    display: inline-block;
    width: 4px;
    height: 0.72em;
    background: var(--accent2);
    margin-left: 6px;
    vertical-align: middle;
    border-radius: 2px;
    animation: blink 1s step-end infinite;
    -webkit-text-fill-color: var(--accent2);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.sub {
    margin-top: 1.4rem;
    font-family: 'Syne Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--muted);
    opacity: 0;
    animation: fadeUp 0.7s ease forwards 0.65s;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2.4rem auto;
    opacity: 0;
    animation: fadeUp 0.5s ease forwards 0.85s;
}
.divider span { width: 32px; height: 1px; background: var(--muted); opacity: 0.35; }
.divider i {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.8);opacity:0.5} }

.notify {
    display: flex;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 0.7s ease forwards 1.05s;
}

.notify input {
    font-family: 'Syne Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 11px 18px;
    color: var(--ink);
    outline: none;
    width: 220px;
    transition: border-color 0.25s, background 0.25s;
    cursor: none;
}
.notify input::placeholder { color: var(--muted); }
.notify input:focus {
    border-color: rgba(167,139,250,0.5);
    background: rgba(167,139,250,0.07);
}

.notify button {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: white;
    border: none;
    border-radius: 10px;
    padding: 11px 20px;
    cursor: none;
    transition: transform 0.15s cubic-bezier(.36,.07,.19,.97), opacity 0.2s;
}
.notify button:hover  { opacity: 0.85; transform: scale(1.05); }
.notify button:active { transform: scale(0.95); }

.thanks {
    font-family: 'Syne Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--accent3);
    margin-top: 0.9rem;
    height: 1rem;
    opacity: 0;
    transition: opacity 0.5s;
}
.thanks.show { opacity: 1; }

.sig {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    font-family: 'Syne Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    opacity: 0;
    animation: fadeUp 0.5s ease forwards 1.5s;
}
.links {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1.4rem;
    opacity: 0;
    animation: fadeUp 0.5s ease forwards 1.5s;
}
.links a {
    font-family: 'Syne Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    cursor: none;
}
.links a:hover { color: var(--accent); }

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

/* custom cursor */
#cur-dot {
    position: fixed;
    width: 6px; height: 6px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%,-50%);
    mix-blend-mode: difference;
    transition: width 0.2s, height 0.2s;
}
#cur-dot.big  { width: 10px; height: 10px; }