* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

body {
    width: 100%;
    height: 100vh;
    background-color: #020203;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1200px;
    font-family: 'Cinzel', serif;
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 3, 3, 0.15) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.glass-card {
    position: relative;
    padding: 60px 90px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    cursor: pointer;
    transition: background 0.3s ease;
}

.glass-card:hover {
    background: rgba(138, 3, 3, 0.02);
    border: 1px solid rgba(138, 3, 3, 0.1);
}

.logo {
    position: relative;
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 900;
    color: #9c0505;
    text-align: center;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transform: translateZ(50px);
    transform-style: preserve-3d;
    
    --shadow-multiplier-x: 0px;
    --shadow-multiplier-y: 8px;

    text-shadow: 
        0 1px 0 #700303,
        0 2px 0 #600202,
        0 3px 0 #500101,
        0 4px 0 #400101,
        0 5px 0 #300000,
        var(--shadow-multiplier-x) var(--shadow-multiplier-y) 20px rgba(0, 0, 0, 0.9),
        0px 10px 40px rgba(156, 5, 5, 0.3);
        
    transition: text-shadow 0.1s ease-out, transform 0.2s ease;
}

.glass-card:active .logo {
    transform: translateZ(20px) scale(0.97);
    text-shadow: 
        0 1px 0 #500101,
        0 2px 0 #300000,
        var(--shadow-multiplier-x) var(--shadow-multiplier-y) 10px rgba(0, 0, 0, 0.9);
}

.drips-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateZ(55px);
    pointer-events: none;
}

.drip {
    position: absolute;
    top: 62%; 
    background: linear-gradient(135deg, #e60606 0%, #730202 60%, #3a0000 100%);
    border-radius: 0 0 50% 50% / 0 0 70% 70%;
    box-shadow: 
        inset 1.5px 1px 2px rgba(255, 255, 255, 0.5), 
        inset -1px -2px 4px rgba(0, 0, 0, 0.6),
        0 6px 12px rgba(0, 0, 0, 0.5);
    transform-origin: top center;
    animation: bloodFluid infinite ease-in-out alternate;
}

.d-small { width: 8px; height: 22px; }
.d-medium { width: 12px; height: 34px; }
.d-large { width: 16px; height: 46px; border-radius: 0 0 50% 50% / 0 0 60% 60%; }

.positional-1 { left: 14%; animation-duration: 3.8s; animation-delay: 0s; }
.positional-2 { left: 29%; animation-duration: 4.8s; animation-delay: -1.2s; }
.positional-3 { left: 42%; animation-duration: 3.2s; animation-delay: -0.5s; }
.positional-4 { left: 59%; animation-duration: 5.5s; animation-delay: -2s; }
.positional-5 { left: 74%; animation-duration: 4.2s; animation-delay: -0.8s; }
.positional-6 { left: 88%; animation-duration: 5s; animation-delay: -2.7s; }

@keyframes bloodFluid {
    0% {
        transform: scaleY(1) scaleX(1);
    }
    40% {
        transform: scaleY(1.35) scaleX(0.88) translateY(4px);
    }
    70% {
        transform: scaleY(1.1) scaleX(0.95) translateY(1px);
    }
    100% {
        transform: scaleY(1.45) scaleX(0.82) translateY(6px);
        box-shadow: 
            inset 1.5px 1px 2px rgba(255, 255, 255, 0.6),
            inset -1px -3px 5px rgba(0, 0, 0, 0.8),
            0 8px 16px rgba(0, 0, 0, 0.6);
    }
}

.blood-particle {
    position: fixed;
    background: radial-gradient(circle, #e60606 0%, #500101 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .glass-card {
        padding: 40px 30px;
        width: 90vw;
        margin: 0 auto;
    }
    .logo {
        letter-spacing: 0.1em;
    }
    .drip {
        transform: scale(0.75);
    }
    @keyframes bloodFluid {
        0%, 100% { transform: scaleY(1); }
        50% { transform: scaleY(1.2) translateY(2px); }
    }
}