/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #D7141A;
    --secondary: #11457E;
    --accent: #FFD700;
    --bg-gradient-start: #FF6B6B;
    --bg-gradient-end: #4ECDC4;
    --card-bg: #FFF9E6;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text-light);
}

.container {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

/* Header */
header {
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.flag-icon {
    width: 80px;
    height: 80px;
    color: var(--accent);
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Main Content */
main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background: linear-gradient(135deg, #FFE66D 0%, #FF6B9D 100%);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    border: 3px solid var(--accent);
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card i {
    width: 48px;
    height: 48px;
    color: var(--text-light);
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.card h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    animation: fadeIn 1s ease-out 0.5s both;
}

footer p {
    color: var(--text-light);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

footer i {
    width: 20px;
    height: 20px;
    color: #FF1744;
    animation: heartbeat 1.5s infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 30px 20px;
    }
}