

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.neon-text {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 
                 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Fireworks Canvas */
#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.comet {
    position: fixed;
    top: -50px;
    right: -50px;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #fff 0%, #FFD700 50%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px #fff, 0 0 60px #FFD700, 0 0 90px #FFD700;
    z-index: 1;
    opacity: 0;
    animation: comet-fall 5s linear infinite;
}

.comet::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, #fff);
    right: 0;
}

@keyframes comet-fall {
    0% { transform: translate(0, 0) rotate(45deg); opacity: 1; }
    100% { transform: translate(-100vw, 100vh) rotate(45deg); opacity: 0; }
}

.star {
    position: fixed;
    background: white;
    border-radius: 50%;
    z-index: 0;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.fireworks-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.firework {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: explode 1.5s ease-out infinite;
}

@keyframes explode {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 20px currentColor, 0 0 40px currentColor, 0 0 60px currentColor;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Table */
table {
    border-collapse: collapse;
    width: 100%;
}

tbody tr {
    transition: background-color 0.3s ease;
}

tbody tr:hover {
    background-color: rgba(100, 116, 139, 0.3);
}

/* Modal - Responsive Compact */
#patternModal.hidden {
    opacity: 0;
    pointer-events: none;
}

#patternModal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

/* Chart Container - Compact */
.chart-container-compact {
    position: relative;
    height: 180px;
    width: 100%;
}

/* Hot Spin Badges */
.hot-spin-badge {
    animation: hot-pulse 1s ease-in-out infinite;
}

@keyframes hot-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* FAQ Toggle */
.faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-toggle.active i {
    transform: rotate(180deg);
}

/* Mobile Menu */
#mobile-menu {
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B8860B;
}

/* Responsive */
@media (max-width: 768px) {
    .comet {
        width: 6px;
        height: 6px;
    }
    
    .comet::before {
        width: 200px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .chart-container-compact {
        height: 150px;
    }
    
    #patternModal .max-w-lg {
        max-width: 95vw;
    }
}

@media (max-width: 480px) {
    .chart-container-compact {
        height: 130px;
    }
    
    #patternModal .p-4 {
        padding: 0.75rem;
    }
}