/* ─── Page Transition Overlay ────────────────────────────────────────────── */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@700&display=swap');

#page-transition {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(to right,
            #141414 0%,
            #0a0a0a 20%,
            #0a0a0a 100%);

    z-index: 9999;
    /* Start COVERING — JS will instantly move it off-screen on normal loads */
    transform: translateX(0);
    will-change: transform;
    pointer-events: all;
}

/* ─── Logo inside overlay ─────────────────────────────────────────────────── */
#pt-logo {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Start invisible — GSAP drives visibility */
    opacity: 0;
}

.pt-logo-text {
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
    font-size: clamp(3rem, 11vw, 5rem);
    color: #ffffff;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
}

.pt-logo-accent {
    color: #ff0000;
}

/* ─── Subtle red glow behind "CG" — brand intro only ─────────────────────── */
#pt-logo-glow {
    position: fixed;
    /* Centered, not dependent on logo layout */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 220px;
    background: radial-gradient(ellipse at center,
            rgba(255, 30, 30, 0.55) 0%,
            rgba(255, 30, 30, 0.18) 45%,
            transparent 72%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 9998;
    /* behind logo (10000) but above overlay (9999) */
    opacity: 0;
}