:root {
    --bg-color: #0b0f19;
    --panel-bg: rgba(22, 27, 34, 0.45);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-1: #3b82f6; /* Blue */
    --accent-2: #10b981; /* Emerald */
    --accent-3: #8b5cf6; /* Purple */
    --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 4rem 1rem;
    gap: 2.5rem; /* Panels overlap spacing gap */
}

/* Dynamic Animated Background Blobs */
.blob-cont {
    position: fixed; /* Keep blobs from moving out of frame when scrolling */
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    filter: blur(90px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    animation: float 25s infinite ease-in-out alternate;
    opacity: 0.5;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-1);
    top: -100px;
    left: -10%;
}

.blob-2 {
    width: 450px;
    height: 450px;
    background: var(--accent-2);
    bottom: -150px;
    right: -5%;
    animation-delay: -5s;
    animation-direction: alternate-reverse;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-3);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(150px, 150px) scale(1.1) rotate(20deg); }
}

/* Glassmorphism Profile Panel */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--panel-border);
    border-radius: 30px;
    padding: 3.5rem;
    width: 100%;
    max-width: 550px;
    z-index: 10;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

.glass-panel.delay-1 {
    animation-delay: 0.2s; /* sequential reveal animation for the secound card */
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

@keyframes slideUpFade {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Profile Elements */
.profile-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    border: 1.5px solid rgba(255,255,255,0.2);
    margin: 0 auto 1.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    position: relative;
}

.avatar-text {
    font-size: 2.5rem;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #38bdf8;
    letter-spacing: -0.02em;
}

.role {
    font-size: 0.85rem;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.info-group {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: all 0.3s ease;
}

.info-group:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.info-group h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-group p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

strong {
    color: #34d399; /* Emerald text pop */
    font-weight: 600;
}

.profile-footer {
    text-align: center;
}

.primary-btn {
    background: var(--gradient);
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.4);
    filter: brightness(1.1);
}

.primary-btn:active {
    transform: translateY(0);
}
