:root {
    --blue-deep:   #071a3e;
    --blue-mid:    #0d2d6b;
    --blue-bright: #1a5fbd;
    --blue-glow:   #3b8bff;
    --gold:        #00d4ff;
    --white:       #f0f4ff;
    --mono:        'DM Mono', monospace;
    --serif:       'Playfair Display', serif;
}

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

/* Secret display */
.secrets {
    margin: 1.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--mono);
    max-width: 420px;
}
.secret-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(59,139,255,0.25);
    border-radius: 8px;
    background: rgba(13,45,107,0.35);
}
.secret-key {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
}
.secret-val {
    color: var(--white);
    font-size: 0.9rem;
    word-break: break-all;
    text-align: right;
}

body {
    background: var(--blue-deep);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Radial depth gradient */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, var(--blue-mid) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(59,139,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 30% 30% at 80% 20%, rgba(26,95,189,0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Noise texture overlay */
.noise {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
    animation: drift 20s linear infinite;
}

@keyframes drift {
    from { transform: translate(0, 0); }
    to   { transform: translate(-50px, -50px); }
}

/* Subtle grid */
.grid-lines {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,139,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,139,255,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

/* Main stage */
.stage {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Eyebrow */
.eyebrow {
    font-family: var(--mono);
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--blue-glow);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

/* Big headline */
.headline {
    font-family: var(--serif);
    font-weight: 900;
    line-height: 0.9;
    display: flex;
    flex-direction: column;
    gap: 0.05em;
}

.word {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.word.hello {
    font-size: clamp(5rem, 18vw, 14rem);
    color: var(--white);
    animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.word.world {
    font-size: clamp(5rem, 18vw, 14rem);
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 2px var(--gold);
    text-shadow: 0 0 60px rgba(0,212,255,0.35);
    animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* Divider rule */
.rule {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

/* Sub copy */
.sub {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: rgba(240,244,255,0.55);
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.1s forwards;
}

/* Coordinates / clock bar */
.coords {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: rgba(59,139,255,0.6);
    display: flex;
    gap: 0.6rem;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease 1.4s forwards;
}

.sep { color: rgba(59,139,255,0.3); }

/* Animations */
@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    to { opacity: 1; }
}
