@import url('https://fonts.cdnfonts.com/css/azo-sans');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff6666;
    --primary-dark: #cc5252;
    --primary-light: #ff8888;
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --bg-hover: #1f1f1f;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --shadow: rgba(255, 102, 102, 0.3);
}

body {
    font-family: 'Azo Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    max-width: 480px;
    width: 100%;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Czech Flag */
.flag-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.czech-flag {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.czech-flag:hover {
    transform: scale(1.05);
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
    animation: scaleIn 0.8s ease-out 0.2s backwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.profile-image-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
}

.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px var(--shadow);
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.profile-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-bio {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.country-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 102, 102, 0.2);
    transition: all 0.3s ease;
}

.country-badge:hover {
    border-color: var(--primary);
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 102, 0.2);
}

.country-flag {
    width: 32px;
    height: 21px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.country-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 102, 102, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.6s ease-out backwards;
}

.social-link:nth-child(1) { animation-delay: 0.3s; }
.social-link:nth-child(2) { animation-delay: 0.4s; }
.social-link:nth-child(3) { animation-delay: 0.5s; }
.social-link:nth-child(4) { animation-delay: 0.6s; }
.social-link:nth-child(5) { animation-delay: 0.7s; }
.social-link:nth-child(6) { animation-delay: 0.8s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 102, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 4px 16px var(--shadow);
}

.social-link:active {
    transform: translateX(8px) scale(0.98);
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.15) rotate(5deg);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    animation: fadeIn 1s ease-out 0.9s backwards;
}

.footer p {
    opacity: 0.7;
}

/* Mobile Optimization */
@media (max-width: 480px) {
    body {
        padding: 16px;
    }
    
    .profile-name {
        font-size: 28px;
    }
    
    .social-link {
        padding: 14px 18px;
        font-size: 16px;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}