body {
    font-family: 'Balsamiq Sans', cursive;
    user-select: none;
    overflow: hidden; 
    touch-action: none;
    background-color: #222;
}

.font-comic {
    font-family: 'Comic Neue', cursive;
}

.pattern-desk {
    background-color: #ff90e8;
    background-image: radial-gradient(#000 12%, transparent 13%), radial-gradient(#000 12%, transparent 13%);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
}

.neo-shadow {
    box-shadow: 6px 6px 0px #000;
}

.neo-shadow-lg {
    box-shadow: 10px 10px 0px #000;
}

.neo-border {
    border: 4px solid #000;
    border-radius: 12px;
}

.paper-main {
    background-color: #fffbc8;
}

.paper-ce {
    background-color: #a5f3fc;
}

.paper-transparency {
    background-color: #fde047;
}

.paper-bribe {
    background-color: #bbf7d0;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 12px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #ffcf54; 
    border-left: 4px solid #000;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #ff3b3b; 
    border: 3px solid #000;
    border-radius: 10px;
}

@keyframes stampAnim {
    0% { transform: scale(4) rotate(var(--rot)); opacity: 0; }
    40% { transform: scale(0.7) rotate(calc(var(--rot) - 10deg)); opacity: 1; }
    70% { transform: scale(1.1) rotate(calc(var(--rot) + 5deg)); opacity: 1; }
    100% { transform: scale(1) rotate(var(--rot)); opacity: 1; }
}

.stamp {
    position: absolute;
    animation: stampAnim 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    pointer-events: none;
    z-index: 1000;
}

@keyframes slideOut {
    0% { transform: translateY(0) scale(1) rotate(0); }
    20% { transform: translateY(-20px) scale(1.1) rotate(-5deg); }
    100% { transform: translateY(200%) scale(0) rotate(45deg); opacity: 0; }
}

.sliding-out {
    animation: slideOut 0.6s ease-in forwards;
    pointer-events: none;
}

@keyframes bounceIn {
    0% { transform: translateY(-200%) scale(0.5) rotate(-30deg); opacity: 0; }
    60% { transform: translateY(10%) scale(1.05) rotate(10deg); opacity: 1; }
    80% { transform: translateY(-5%) scale(0.95) rotate(-5deg); }
    100% { transform: translateY(0) scale(1) rotate(0); opacity: 1; }
}

.sliding-in {
    animation: bounceIn 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.btn-press:active {
    transform: translate(6px, 6px);
    box-shadow: 0px 0px 0px #000;
}