:root {
    --bg-color: #0b0b0b;
    --text-color: #ffffff;
    --accent-color: #0a21c0;
    --accent-secondary: #050a30;
    --font-primary: 'Syne', sans-serif;
    --font-secondary: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom Cursor */
.no-cursor {
    cursor: none !important;
}

#custom-cursor {
    position: fixed;
    width: 32px;
    height: 32px;
    background: url('cursor.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Visual Layers Stacking (Bottom to Top) */
/* 
1. Body Background
2. #rain-canvas (z: 1)
3. .background-container (Cat) (z: 2)
4. .glow-effect (z: 100)
5. Main Content (SHIZU) (z: 10)
*/

#rain-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* ABOVE Rain, BELOW Text */
    mix-blend-mode: screen; /* Keep black transparent, cat shows up */
}

.background-image {
    width: 100%;
    height: 100%;
    background: url('maru.png') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
    filter: brightness(0.7) grayscale(0.2);
    animation: pulse 10s ease-in-out infinite alternate;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 11, 11, 0.4), rgba(11, 11, 11, 0.9));
}

.glow-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(10, 33, 192, 0.45) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    margin-top: -400px;
    margin-left: -400px;
    mix-blend-mode: screen;
    z-index: 100;
}

main {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    text-align: center;
    position: relative;
}

#shizu-title {
    font-family: var(--font-primary);
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
    user-select: none;
}

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

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    #shizu-title {
        letter-spacing: -0.02em;
    }
    #custom-cursor { display: none; } /* Standard cursor for touch devices */
    .no-cursor { cursor: auto !important; }
}
