/* Custom Styles for Lucky Draw Deluxe 1001 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animation for number display */
@keyframes numberPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes nameSlide {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.number-pop {
    animation: numberPop 0.6s ease-out;
}

.name-slide {
    animation: nameSlide 0.5s ease-out;
}

/* Custom button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #c026d3 0%, #a21caf 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 70, 239, 0.3);
}

/* History item styles */
.history-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 4px;
    border-left: 4px solid;
    transition: all 0.2s ease;
}

.history-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.number-history {
    border-left-color: #0ea5e9;
}

.name-history {
    border-left-color: #d946ef;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #numberDisplay {
        font-size: 4rem;
    }
    
    #nameDisplay {
        font-size: 2rem;
    }
}