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

:root {
    --purple: #a855f7;
    --purple-dark: #7c3aed;
    --orange: #f97316;
    --orange-light: #fb923c;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    color: #fff;
    background: url('../images/wallpaper.jpg') center/cover no-repeat fixed;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.55);
    z-index: -1;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    max-width: 700px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.avatar-container {
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.avatar:hover {
    transform: scale(1.08);
    border-color: var(--purple);
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.4);
}

.name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.tagline span {
    display: inline-block;
    width: 4px;
    height: 12px;
    background: linear-gradient(to bottom, var(--purple), var(--orange));
    vertical-align: middle;
    margin: 0 8px;
    border-radius: 3px;
}

.quote {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 36px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.quote .highlight {
    color: var(--orange-light);
    text-decoration: underline;
    text-decoration-color: var(--purple);
    text-underline-offset: 4px;
    font-weight: 500;
}

.quote-author {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
}

.bottom-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    margin-bottom: 32px;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    transition: var(--transition);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    min-width: 72px;
}

.nav-item:hover {
    color: #fff;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(249, 115, 22, 0.3));
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.2);
}

.social-links {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.social-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links a:hover {
    color: #fff;
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-2px);
}

.social-links .email-link {
    position: relative;
    width: auto;
    padding: 0 14px;
    border-radius: 50px;
}

.social-links .email-text {
    display: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-left: 8px;
    white-space: nowrap;
}

.social-links .email-link:hover {
    width: auto;
}

.social-links .email-link:hover .email-text {
    display: inline-block;
}

.social-links a svg {
    width: 16px;
    height: 16px;
}

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

@media (max-width: 600px) {
    .main-content {
        padding: 30px 16px;
    }

    .avatar {
        width: 80px;
        height: 80px;
    }

    .name {
        font-size: 24px;
    }

    .tagline {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .quote {
        font-size: 13px;
        padding: 0 12px;
    }

    .bottom-nav {
        gap: 8px;
    }

    .nav-item {
        padding: 8px 20px;
        font-size: 13px;
        min-width: 60px;
    }

    .social-links {
        gap: 14px;
    }
}

@media (max-width: 400px) {
    .bottom-nav {
        gap: 6px;
    }

    .nav-item {
        padding: 7px 14px;
        font-size: 12px;
    }
}