
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg: #050505;
    --text: #e8e8e8;
    --muted: #777;
    --line: rgba(255,255,255,0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* PARTICLES */

#particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* CONTENT */

main {
    position: relative;
    z-index: 1;
}

section {
    min-height: 100vh;
    padding: 100px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* HERO */

.hero {
    position: relative;
}

.small-label {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(42px, 8vw, 90px);
    font-weight: 300;
    letter-spacing: -5px;
    margin-bottom: 20px;
    animation: titleAppear 1.5s ease both;
}

.hero p {
    color: #888;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 2;
    animation: fadeIn 2s ease both;
}

.scroll-hint {
    position: absolute;
    bottom: 45px;
    color: #555;
    font-size: 10px;
    letter-spacing: 3px;
    animation: hint 2s infinite;
}

/* SOCIALS */

.section-title {
    font-size: 11px;
    letter-spacing: 5px;
    color: #777;
    margin-bottom: 55px;
    text-transform: uppercase;
}

.links {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
}

.social-link {
    text-decoration: none;
    color: var(--text);
    padding: 25px 10px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.4s ease;
    text-align: left;
}

.social-link:first-child {
    border-top: 1px solid var(--line);
}

.social-link:hover {
    padding-left: 25px;
    padding-right: 25px;
    color: white;
    background: rgba(255,255,255,0.035);
}

.social-link .name {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

.social-link .handle {
    font-size: 10px;
    color: #666;
    margin-top: 6px;
}

.social-link .arrow {
    color: #777;
    font-size: 17px;
    transition: 0.3s;
}

.social-link:hover .arrow {
    transform: translate(4px, -4px);
    color: white;
}

/* MUSIC */

.music-container {
    width: 100%;
    max-width: 520px;
}

.music-container h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.music-description {
    color: #777;
    font-size: 12px;
    margin-bottom: 35px;
    line-height: 2;
}

.spotify {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.92;
    transition: 0.4s;
}

.spotify:hover {
    opacity: 1;
}

.spotify iframe {
    display: block;
    width: 100%;
    height: 352px;
    border: none;
}

.spotify-link {
    display: inline-block;
    color: #888;
    font-size: 11px;
    text-decoration: none;
    margin-top: 25px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.spotify-link:hover {
    color: white;
}

/* FOOTER */

footer {
    position: relative;
    z-index: 1;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid var(--line);
    color: #555;
    font-size: 10px;
    letter-spacing: 2px;
}

/* REVEAL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* KEYFRAMES */

@keyframes titleAppear {
    from {
        opacity: 0;
        transform: translateY(25px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

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

@keyframes hint {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.8; }
}

/* MOBILE */

@media (max-width: 600px) {

    .hero h1 {
        letter-spacing: -3px;
    }

    section {
        padding: 80px 22px;
    }

    .social-link .name {
        font-size: 17px;
    }

    .social-link {
        padding: 22px 5px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
