body { 
    margin: 0;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(135deg, #1E3A5F, #4A90E2, #7FB3E8);
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-title {
    font-family: 'Nunito', sans-serif;
    margin-top: 40px;
    margin-bottom: 0;
    color: #F0EFEA;
}

.bio {
    font-family: 'Nunito', sans-serif;
    font-style: italic;
    font-weight: 400;
    color: #F0EFEA;
    max-width: 480px;
    margin: 16px auto 30px auto;
    line-height: 1.5;
    opacity: 0.85;
}

.bio::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: rgba(245, 245, 240, 0.5);
    margin: 0 auto 12px auto;
}

.cta-note {
    position: absolute;
    top: 250px;
    left: 42%;
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    color: #C0392B;
    transform: rotate(-8deg) translateX(-100%);
    z-index: 10;
    pointer-events: none;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 3rem;
    color: #F0EFEA; 
    text-decoration: none;
    margin: 20px auto 0 auto;
    margin-top: 15px;
    width: fit-content;
}
.social-link i {
    font-size: 2rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.social-handle {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #F0EFEA; 
}

.projects {
    margin-top: 40px;
}

.projects-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #F0EFEA;
    font-size: 1.1rem;
}

.projects-list {
    list-style: none;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    color: #F0EFEA;
}

.inline-link {
    color: #F5F5F0;
    font-weight: 700;
    text-decoration: underline;
}

.scroll-spacer {
    height: 150vh;
}

.secret-box {
    position: absolute;
    right: 20px;
    bottom: 30px;
    width: fit-content;
    text-align: center;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.secret-title {
    font-family: 'Nunito', sans-serif;
    color: #F5F5F0;
    font-size: 1rem;
    max-width: 300px;
    margin: 0 0 10px 0;
}

.secret-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    font-family: 'Nunito', sans-serif;
}

.secret-list li {
    margin-top: 6px;
}

.secret-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #F5F5F0;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
}

.secret-link i {
    font-size: 1.1rem;
    width: 18px;
    text-align: center;
}

#bubble-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#score-display {
    position: fixed;
    top: 20px;
    left: 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #F5F5F0;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 14px 28px;
    border-radius: 16px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
    position: fixed;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: 600px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 480px) {
    .social-handle {
        font-size: 0.8rem;
    }

    .social-link {
        gap: 12px;
    }
}

@media (max-width: 1600px) {
    .video-wrapper {
        position: static;
        transform: none;
        width: 90%;
        max-width: 500px;
        margin: 30px auto 0 auto;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        width: 95%;
    }
}