:root {
    --c0: #c026d3;
    --c1: #9333ea;
    --c2: #db2777;
    --c3: #7e22ce;
    --c4: #f43f5e;
    --bg: #09050e;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg);
    color: #fff;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    cursor: crosshair;
}

canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#vignette {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 70% at center, transparent 40%, rgba(0, 0, 0, 0.72) 100%);
}

#scanlines {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0, 0, 0, 0.06) 3px,
        rgba(0, 0, 0, 0.06) 4px
    );
}

main {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform;
    transition: transform 0.12s cubic-bezier(0.23, 1, 0.32, 1);
}

.logo-img {
    width: clamp(220px, 42vw, 460px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(192, 38, 211, 0.45));
    transition: filter 1.2s ease;
}

.logo-text {
    display: none;
    font-family: 'Chakra Petch', monospace;
    font-size: clamp(2.8rem, 11vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, var(--c0) 0%, var(--c1) 60%, var(--c2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 35px rgba(192, 38, 211, 0.4));
    transition: filter 1.2s ease;
}

.tagline {
    margin-top: 1.4rem;
    font-family: 'Share Tech', monospace;
    font-size: clamp(0.58rem, 1.8vw, 0.72rem);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: rgba(200, 190, 220, 0.45);
    transition: color 1.2s ease;
}

.bracket {
    position: fixed;
    z-index: 20;
    width: 22px;
    height: 22px;
    opacity: 0.1;
    pointer-events: none;
    transition: opacity 1.2s;
}

.bracket.tl { top: 1.6rem; left: 1.6rem; border-top: 1px solid #fff; border-left: 1px solid #fff; }
.bracket.tr { top: 1.6rem; right: 1.6rem; border-top: 1px solid #fff; border-right: 1px solid #fff; }
.bracket.bl { bottom: 1.6rem; left: 1.6rem; border-bottom: 1px solid #fff; border-left: 1px solid #fff; }
.bracket.br { bottom: 1.6rem; right: 1.6rem; border-bottom: 1px solid #fff; border-right: 1px solid #fff; }

#status {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    font-family: 'Share Tech', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    white-space: nowrap;
    transition: color 0.4s, opacity 0.4s;
}

#flash {
    position: fixed;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s;
}

.ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 15;
    transform: translate(-50%, -50%);
    animation: ring-expand 0.65s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}

@keyframes ring-expand {
    from { width: 0px; height: 0px; opacity: 0.9; }
    to { width: 380px; height: 380px; opacity: 0; }
}

#egg {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Chakra Petch', monospace;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
    color: #fff;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    letter-spacing: 0.1em;
}
