* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.floating-strawberries {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-berry {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

.year-display {
    animation: yearPulse 0.5s ease-in-out;
}

@keyframes yearPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

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

@keyframes pricePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.counter-animation {
    animation: counterPop 0.3s ease-in-out;
}

@keyframes counterPop {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.slider {
    appearance: none;
    background: linear-gradient(to right, #6C5CE7, #FF4757);
    outline: none;
    border-radius: 10px;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 30px;
    height: 30px;
    background: #FF4757;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    background: #FF4757;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
    transition: transform 0.2s;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.cost-card {
    transition: all 0.3s ease;
}

.cost-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.vintage-mode {
    background: linear-gradient(to bottom, #e0e0e0, #c0c0c0) !important;
    font-family: 'Courier New', monospace !important;
}

.vintage-mode * {
    font-family: 'Courier New', monospace !important;
}

@media (max-width: 768px) {
    .floating-berry {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    .text-6xl {
        font-size: 3rem !important;
    }
}