:root {
    --bg-color: #fdfdfc;
    --text-primary: #171717;
    --text-secondary: #666666;
    --accent-color: #000000;
    --glow-1: #3b82f6;
    /* bright blue */
    --glow-2: #8b5cf6;
    /* vibrant purple */
}

body {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Magic */
#blob {
    height: 40vmax;
    aspect-ratio: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    border-radius: 50%;
    background: linear-gradient(to right, var(--glow-1), var(--glow-2));
    animation: rotate 20s infinite;
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
}

#blur {
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 2;
    backdrop-filter: blur(120px);
    -webkit-backdrop-filter: blur(120px);
    top: 0;
    left: 0;
    pointer-events: none;
}

.container {
    max-width: 620px;
    width: 100%;
    z-index: 10;
    position: relative;
    margin-top: 15vh;
    margin-bottom: 5vh;
}

/* Typographic Hierarchy */
header {
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.intro-text {
    color: var(--text-primary);
    font-weight: 400;
}

.link {
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 1px;
    transition: all 0.3s ease;
}

.link:hover {
    cursor: pointer;
    border-bottom-color: var(--text-primary);
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.experience-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 0;
}

.experience-list li {
    position: relative;
    padding-left: 1.5rem;
}

/* Custom Bullet Points */
.experience-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.experience-list li:hover::before,
.experience-list li:hover p {
    color: var(--text-primary);
}

.experience-list li p {
    margin: 0;
    transition: color 0.3s ease;
}

.highlight {
    color: var(--text-primary);
    font-weight: 500;
}

.footer-text {
    margin-top: 0;
    transition: color 0.3s ease;
}

.footer-text:hover {
    color: var(--text-primary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

@keyframes rotate {
    from {
        rotate: 0deg;
    }

    to {
        rotate: 360deg;
    }
}

/* Stagger animations for elements */
#header.fade-in {
    animation-delay: 0.1s;
}

#intro.fade-in {
    animation-delay: 0.3s;
}

#experience .fade-in:nth-child(1) {
    animation-delay: 0.4s;
}

#experience .fade-in:nth-child(2) {
    animation-delay: 0.5s;
}

#experience .fade-in:nth-child(3) {
    animation-delay: 0.6s;
}

#experience .fade-in:nth-child(4) {
    animation-delay: 0.7s;
}

#outro.fade-in {
    animation-delay: 0.9s;
}

/* Selection Matching Theme */
::selection {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .container {
        margin-top: 10vh;
    }

    /* Optimize background for mobile devices */
    #blob {
        height: 60vmax;
        animation: none;
        opacity: 0.15;
    }

    .content {
        gap: 1rem;
    }
}