@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #020202;
    color: #e2e8f0;
    overflow: hidden;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.3);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(220, 38, 38, 0.5);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(253, 186, 19, 0.8);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse-soft {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.2); }
    70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.animate-enter {
    animation: slideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-pop {
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.clown-animation {
    display: inline-block;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.glass-panel {
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.glass-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.context-menu {
    position: fixed;
    z-index: 1000;
    min-width: 160px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    padding: 6px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.15s, transform 0.15s;
    pointer-events: none;
}

.context-menu.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.login-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.login-input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.15);
}

.glow-gold {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.glow-pink {
    color: #ff79c6;
    text-shadow: 0 0 15px rgba(255, 121, 198, 0.3);
}

.special-border-gold {
    border-color: rgba(255, 215, 0, 0.4) !important;
    background: linear-gradient(90deg, rgba(255,215,0,0.05), transparent) !important;
}

.special-border-pink {
    border-color: rgba(255, 121, 198, 0.4) !important;
    background: linear-gradient(90deg, rgba(255,121,198,0.05), transparent) !important;
}

.panel-transition {
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hidden-panel {
    width: 0 !important;
    opacity: 0;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    pointer-events: none;
}

.full-width {
    width: 100% !important;
    flex: 1;
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1e293b;
    transition: .4s;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,0.1);
}

.custom-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 2px;
    bottom: 2px;
    background-color: #94a3b8;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .custom-slider {
    background-color: #ef4444;
    border-color: #ef4444;
}

input:checked + .custom-slider:before {
    transform: translateX(14px);
    background-color: #ffffff;
}

.text-shadow-glow {
    text-shadow: 0 0 10px rgba(253, 224, 71, 0.7);
}

.vip-link {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.05), transparent);
    border-color: rgba(234, 179, 8, 0.4) !important;
    box-shadow: -2px 0 0 #ffd700;
}

.vip-glow {
    color: #facc15;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

.stats-ticker {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.emote-img {
    height: 1.5em;
    vertical-align: middle;
    display: inline-block;
    margin: 0 2px;
}