* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
}

.header-gradient {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #F59E0B 100%);
}

.timer-display {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 50%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8));
    }
}

.card-glow {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -1px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.card-glow:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.3),
        0 4px 6px -2px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pill-button {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.pill-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.pill-button:hover::after {
    left: 100%;
}

.ship-button {
    background: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
    color: white;
    box-shadow: 
        0 10px 40px rgba(16, 185, 129, 0.4),
        0 0 60px rgba(16, 185, 129, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ship-button:hover {
    background: linear-gradient(135deg, #34D399 0%, #10B981 50%, #059669 100%);
    box-shadow: 
        0 15px 50px rgba(16, 185, 129, 0.5),
        0 0 80px rgba(16, 185, 129, 0.3);
}

.progress-bar {
    background: linear-gradient(90deg, #8B5CF6 0%, #EC4899 100%);
}

.excuse-strikethrough {
    position: relative;
}

.excuse-strikethrough::after {
    content: '';
    position: absolute;
    left: -5%;
    top: 50%;
    width: 110%;
    height: 4px;
    background: linear-gradient(90deg, #EF4444, #F97316);
    transform: rotate(-2deg);
    animation: strikethrough 0.3s ease-out forwards;
    border-radius: 2px;
}

@keyframes strikethrough {
    from {
        width: 0%;
        opacity: 0;
    }
    to {
        width: 110%;
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .timer-display {
        font-size: 3rem;
    }
    
    .ship-button {
        font-size: 1.5rem;
        padding: 1rem 2rem;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1F2937;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #A78BFA, #F472B6);
}