/* Custom styles for maximum cringe effect */

@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Creepster&display=swap');

.cringe-bg {
    background: linear-gradient(45deg, #ff00ff, #00ff00, #ff6600, #ff00ff);
    background-size: 400% 400%;
    animation: cringe-gradient 8s ease infinite;
}

@keyframes cringe-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cringe-title {
    text-shadow: 3px 3px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000;
    animation: cringe-wobble 2s ease-in-out infinite;
}

@keyframes cringe-wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

.cringe-button {
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cringe-button:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 8px 16px rgba(255,0,255,0.3);
}

.cringe-wobble {
    animation: button-wobble 0.5s ease-in-out;
}

.cringe-wobble:hover {
    animation: button-wobble 0.3s ease-in-out infinite;
}

@keyframes button-wobble {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(1deg) scale(1.02); }
    75% { transform: rotate(-1deg) scale(1.02); }
}

.cringe-slider {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #22c55e, #facc15, #ef4444);
    outline: none;
    appearance: none;
}

.cringe-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #8b5cf6;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.cringe-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #8b5cf6;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.cringe-pulse {
    animation: cringe-pulse 2s ease-in-out infinite;
}

@keyframes cringe-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.screen-shake {
    animation: screen-shake 1s ease-in-out;
}

@keyframes screen-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Extra cringy scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(to bottom, #ff00ff, #00ff00);
}

::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 6px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* Deliberately bad animations for extra cringe */
* {
    transition: color 0.3s ease;
}

body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><text y="16" font-size="16">😬</text></svg>'), auto;
}

button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><text y="16" font-size="16">💀</text></svg>'), pointer;
}