@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.denmark-gradient {
    background: linear-gradient(135deg, #C60C30 0%, #8B0000 100%);
}

.denmark-pattern {
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(198, 12, 48, 0.03) 48%, rgba(198, 12, 48, 0.03) 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(198, 12, 48, 0.03) 48%, rgba(198, 12, 48, 0.03) 52%, transparent 52%);
    background-size: 30px 30px;
}

.hero-section {
    background: linear-gradient(135deg, #16213E 0%, #1A1A2E 50%, #0F3460 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(198, 12, 48, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(198, 12, 48, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #C60C30 0%, #A00A28 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A00A28 0%, #8B0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(198, 12, 48, 0.3);
}

.search-input {
    transition: all 0.3s ease;
}

.search-input:focus {
    box-shadow: 0 0 0 3px rgba(198, 12, 48, 0.2);
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.denmark-flag-stripe {
    height: 4px;
    background: linear-gradient(90deg, #C60C30 0%, #C60C30 42%, #FFFFFF 42%, #FFFFFF 58%, #C60C30 58%, #C60C30 100%);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(198, 12, 48, 0.1) 0%, rgba(198, 12, 48, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C60C30;
    font-size: 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #C60C30 0%, #A00A28 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.result-available {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.result-unavailable {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#langDropdown {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#langDropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#langDropdown.hidden {
    opacity: 0;
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
