:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #ffffff;
    --bg-color: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite alternate ease-in-out;
}

.blob-1 {
    top: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Typography & Utilities */
h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; position: relative; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: #fff; }
.highlight { color: #38f9d7; }
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(56, 249, 215, 0.2);
    color: #38f9d7;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Glassmorphism Styles */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.hover-lift {
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.4);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

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

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #38f9d7;
}

/* Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-container {
    padding: 6rem 0;
}

.section-title span {
    display: block;
    font-size: 1rem;
    color: #38f9d7;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
}

.hero-content {
    max-width: 800px;
}

.hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.basic-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    font-weight: 500;
}

.info-item i {
    color: #38f9d7;
    font-size: 1.2rem;
}

/* Timeline / Experience */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.1);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-left: 20px;
}

.timeline-icon {
    position: absolute;
    left: -19px;
    top: 30px;
    width: 40px;
    height: 40px;
    background: #0f172a;
    border: 2px solid #38f9d7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38f9d7;
    z-index: 1;
}

.timeline-content ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
    color: #cbd5e1;
}

.timeline-content li {
    margin-bottom: 0.5rem;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    text-align: center;
    padding: 3rem 2rem;
}

.skill-icon {
    font-size: 3rem;
    color: #38f9d7;
    margin-bottom: 1.5rem;
}

.skill-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* Education */
.edu-card {
    margin-top: 2rem;
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.edu-title p {
    color: #38f9d7;
    font-weight: 500;
}

.edu-status {
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #fff;
}

.edu-desc {
    color: #cbd5e1;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-links { display: none; } /* Simplified for mobile */
    
    .timeline::before { left: 0; }
    .timeline-item { margin-left: 0; padding-left: 2rem; }
    .timeline-icon { left: -20px; width: 30px; height: 30px; font-size: 0.8rem; }
    
    .glass-card { padding: 1.5rem; }
}
