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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #09090b;
    color: #f4f4f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
    position: relative;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: #3b82f6;
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #8b5cf6;
    bottom: -15%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: #10b981;
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.15); }
}

.language-switcher {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    background: rgba(24, 24, 27, 0.7);
    border: 1px solid rgba(63, 63, 70, 0.4);
    backdrop-filter: blur(12px);
    padding: 6px;
    border-radius: 9999px;
    z-index: 10;
}

.lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-btn.active, .lang-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.flag-img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.wrapper {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 80px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-card {
    background: rgba(18, 18, 23, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.avatar-container {
    position: relative;
    margin-bottom: 24px;
}

.avatar-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-img:hover {
    transform: scale(1.05) rotate(3deg);
}

.status-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background-color: #10b981;
    border: 3px solid #09090b;
    border-radius: 50%;
}

.profile-name {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 6px;
}

.profile-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 20px;
}

.skills-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.skill-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #a1a1aa;
}

.highlight-pill {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.profile-bio {
    font-size: 0.95kr;
    line-height: 1.6;
    color: #a1a1aa;
    max-width: 480px;
    margin-bottom: 32px;
}

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.link-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.link-title {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
}

.link-subtitle {
    font-size: 0.8rem;
    color: #71717a;
}

.link-arrow, .link-action {
    font-size: 1rem;
    color: #a1a1aa;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.link-card:hover .link-arrow {
    transform: translateX(4px);
    color: #3b82f6;
}

.link-action {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.details-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

@media(min-width: 540px) {
    .details-section {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-box {
    background: rgba(18, 18, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 20px;
    transition: border-color 0.3s ease;
}

.detail-box:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.detail-box h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.detail-box p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #a1a1aa;
}

.site-footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.8rem;
    color: #52525b;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #18181b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

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