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

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

.blob-1 {
    width: 400px;
    height: 400px;
    background: #58a6ff;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #8957e5;
    bottom: 20%;
    right: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: #2ea043;
    top: 50%;
    left: 20%;
    animation-delay: -2s;
}

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

/* Layout & Containers */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

section {
    margin-bottom: 100px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(90deg, #58a6ff, #8957e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(22, 27, 34, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: width 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

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

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.hero .glass-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.greeting {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

.description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-style: italic;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.primary {
    background: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
}

.primary:hover {
    background: transparent;
    color: var(--accent-color);
}

.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

.secondary:hover {
    border-color: var(--accent-color);
    background: rgba(88, 166, 255, 0.1);
}

/* Timeline (Experience & Ed) */
.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--glass-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 50%;
    left: -79px; /* Adjusting for padding + container styling */
    top: 30px;
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.5);
}

@media (min-width: 768px) {
    .timeline-dot {
        left: -40px; 
    }
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.timeline-content h3 span {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 400;
}

.timeline-content .date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style-position: inside;
    color: var(--text-primary);
}

.timeline-content ul li {
    margin-bottom: 5px;
}

/* Contact Section */
.contact-info {
    display: flex;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item .icon {
    font-size: 2rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: text-shadow 0.3s ease;
}

.contact-item a:hover {
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.5);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .title { font-size: 3rem; }
    .subtitle { font-size: 1.5rem; }
    .glass-nav { padding: 10px 20px; }
    .nav-links { display: none; } /* Could add hamburger menu here for full implementation */
}
