:root {
    --bg-color: #0d1117;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --accent: #58a6ff;
    --glass-bg: rgba(22, 27, 34, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    position: relative;
    padding: 6rem 2rem 4rem 2rem;
}

/* Background Animated Blobs */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: #3f51b5;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #9c27b0;
    bottom: -10%;
    right: 15%;
    animation-delay: -5s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: #00bcd4;
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Container & Glass Card */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-5px);
}

/* Typography & Layout */
.profile-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.greeting {
    display: block;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.name {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.eng-name {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
    display: inline-block;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Timeline/List styling */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    padding-bottom: 1rem;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.6);
    z-index: 1;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    transform: translateX(5px);
}

.role {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.4rem;
}

.description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards 0.3s;
}

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

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* About Me Box Styling */
.about-box {
    border: 1px dashed rgba(88, 166, 255, 0.5);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.about-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    padding: 0 1rem;
    text-align: center;
}

.about-list {
    list-style: none;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-list li {
    font-size: 0.85rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.2rem;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.about-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
}

.about-list strong {
    color: #fff;
    margin-right: 0.5rem;
}

/* Responsive Navbar */
@media (max-width: 600px) {
    .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    body {
        padding-top: 8rem;
    }
}
