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

:root {
    --primary-red: #ff0055;
    --primary-red-dark: #cc0033;
    --primary-red-light: #ff3366;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
}

body {
    width: 100vw;
    height: 100vh;
    background: var(--bg-dark);
    overflow: hidden;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-light);
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(255, 0, 85, 0.1) 0%, 
        rgba(138, 43, 226, 0.05) 50%,
        var(--bg-darker) 100%);
    z-index: 0;
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    will-change: transform;
    bottom: -5px;
    left: 0;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(-100vh - 5px)) translateX(var(--drift-x, 0px));
        opacity: 0;
    }
}

.penis-button {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: #ffffff;
    font-size: 52px;
    font-weight: 900;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    box-shadow: 
        0 0 40px rgba(255, 0, 85, 0.6),
        0 10px 60px rgba(255, 0, 85, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 510;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.penis-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.penis-button:hover::before {
    opacity: 1;
}

.button-text {
    position: relative;
    z-index: 2;
    display: block;
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.penis-button:hover {
    background: linear-gradient(135deg, var(--primary-red-light) 0%, var(--primary-red) 100%);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 
        0 0 60px rgba(255, 0, 85, 0.8),
        0 15px 80px rgba(255, 0, 85, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.penis-button:hover .button-glow {
    opacity: 0.6;
    animation: pulseGlow 2s ease-in-out infinite;
}

.penis-button:active {
    transform: translate(-50%, -50%) scale(1.02);
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, #990022 100%);
    box-shadow: 
        0 0 30px rgba(255, 0, 85, 0.5),
        0 5px 40px rgba(255, 0, 85, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

.draggable-item {
    position: fixed;
    width: 80px;
    height: 180px;
    cursor: grab;
    user-select: none;
    z-index: 1000;
    pointer-events: auto;
    left: 0;
    top: 0;
    transform-origin: center center;
    will-change: transform;
    contain: layout style paint;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.draggable-item::before {
    content: '';
    position: absolute;
    width: 45px;
    height: 50px;
    background: linear-gradient(135deg, var(--tip-color, #ff6b9d) 0%, var(--tip-light, #ff8fab) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 25px var(--shadow-color, rgba(255, 107, 157, 0.7));
    animation: tipPulse 2s ease-in-out infinite;
    z-index: 3;
}

.draggable-item::after {
    content: '';
    position: absolute;
    width: 42px;
    height: 90px;
    background: linear-gradient(180deg, var(--shaft-color, #ff8fab) 0%, var(--shaft-light, #ffa8c5) 50%, var(--shaft-light, #ffb8d0) 100%);
    border-radius: 21px;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 20px var(--shadow-color, rgba(255, 107, 157, 0.5));
    z-index: 2;
}

.draggable-item .ball-left {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ball-color, #ff8fab) 0%, var(--shaft-light, #ffa8c5) 100%);
    border-radius: 50%;
    bottom: 20px;
    left: -5px;
    box-shadow: 0 5px 15px var(--shadow-color, rgba(255, 107, 157, 0.6));
    z-index: 1;
    animation: ballSway 3s ease-in-out infinite;
}

.draggable-item .ball-right {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ball-color, #ff8fab) 0%, var(--shaft-light, #ffa8c5) 100%);
    border-radius: 50%;
    bottom: 20px;
    right: -5px;
    box-shadow: 0 5px 15px var(--shadow-color, rgba(255, 107, 157, 0.6));
    z-index: 1;
    animation: ballSway 3s ease-in-out infinite 0.15s;
}

.draggable-item:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.draggable-item.dragging {
    animation: none;
    transition: none;
}

@keyframes tipPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 25px var(--shadow-color, rgba(255, 107, 157, 0.7));
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 0 35px var(--shadow-light, rgba(255, 107, 157, 0.9));
    }
}

@keyframes ballSway {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .title {
        font-size: 1.5rem;
    }
    
    .penis-button {
        width: 220px;
        height: 220px;
        font-size: 40px;
    }
    
    .instruction {
        font-size: 0.9rem;
    }
}
