:root {
    --bg-dark: #020205;
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff003c;
    --neon-magenta-glow: rgba(255, 0, 60, 0.5);
    --neon-cyan-glow: rgba(0, 243, 255, 0.5);
}

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

body {
    overflow: hidden;
    background-color: var(--bg-dark);
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    mix-blend-mode: screen; /* Helps the neon colors pop */
}

.ui-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    pointer-events: none;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* --- Calligraphy Layer (Ancient Chinese) --- */
.calligraphy-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Zhi Mang Xing', cursive;
    font-size: clamp(60px, 40vw, 600px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--neon-magenta);
    text-shadow: 0 0 50px var(--neon-magenta-glow), 0 0 100px var(--neon-magenta-glow);
    opacity: 0; /* Hidden for GSAP */
    filter: blur(10px);
    z-index: -1;
    white-space: nowrap;
    user-select: none;
}

/* --- Foreground Cyber Layer --- */
.foreground-content {
    position: relative;
    z-index: 2;
}

.reveal-text {
    font-size: clamp(24px, 8vw, 150px);
    font-weight: 900;
    letter-spacing: clamp(0.2rem, 1vw, 2rem);
    color: #ffffff;
    position: relative;
    opacity: 0;
    /* Cyberpunk glitch setup */
    text-shadow: 2px 2px 0px var(--neon-cyan), -2px -2px 0px var(--neon-magenta);
}

/* Cyber glitch effect class */
.glitch-active {
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    10% { transform: skew(-5deg); text-shadow: 5px 0 var(--neon-cyan), -5px 0 var(--neon-magenta); }
    20% { transform: skew(0deg); text-shadow: -2px 2px var(--neon-cyan), 2px -2px var(--neon-magenta); }
    30% { transform: skew(2deg); }
    100% { transform: skew(0deg); }
}

