:root {
    --bg: #000;
    --text: #fff;
    --muted: rgba(255, 255, 255, .7);
    --button: #171717;
    --button-hover: #2a2a2a;
    --radius: 12px;
    --space: 16px;
    --maxw: 600px
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased
}

main {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: calc(var(--space)*6) var(--space) calc(var(--space)*2);
    text-align: center
}

header {
    margin-bottom: calc(var(--space)*3)
}

header img {
    width: 180px;
    height: 180px;
    border-radius: 25px;
    object-fit: cover;
    margin-bottom: var(--space);
    opacity: 0;
    animation: fadeIn .5s ease forwards
}

h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeIn .5s ease .1s forwards
}

header p {
    font-size: 22px;
    color: var(--muted);
    margin-bottom: calc(var(--space)*3);
    opacity: 0;
    animation: fadeIn .5s ease .2s forwards
}

nav {
    display: flex;
    gap: var(--space);
    justify-content: center;
    margin-bottom: calc(var(--space)*3);
    opacity: 0;
    animation: fadeIn .5s ease .3s forwards
}

nav a {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center
}

nav a:nth-child(1) {
    background: #5865F2
}

nav a:nth-child(2) {
    background: #181717
}

nav a:nth-child(3) {
    background: #1DB954
}

nav img {
    width: 32px;
    height: 32px;
    display: block
}

section {
    margin-bottom: calc(var(--space)*2);
    opacity: 0;
    animation: fadeIn .5s ease forwards
}

section:nth-of-type(1) {
    animation-delay: .4s
}

section:nth-of-type(2) {
    animation-delay: .5s
}

section:nth-of-type(3) {
    animation-delay: .6s
}

section:nth-of-type(4) {
    animation-delay: .7s
}

section:nth-of-type(5) {
    animation-delay: .8s
}

h2 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space);
    color: var(--muted)
}

ul {
    list-style: none
}

li {
    margin-bottom: 0
}

a {
    color: var(--text);
    text-decoration: none
}

section a {
    display: block;
    background: var(--button);
    padding: var(--space) 24px;
    border-radius: var(--radius);
    font-weight: 600;
    max-width: 400px;
    margin: 0 auto 8px
}

section a:hover {
    background: var(--button-hover)
}

:where(a):focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 2px
}

@media(max-width:768px) {
    header img {
        width: 140px;
        height: 140px
    }

    h1 {
        font-size: 32px;
        letter-spacing: -1.5px
    }

    header p {
        font-size: 18px
    }

    nav a {
        width: 52px;
        height: 52px
    }
}

@keyframes fadeIn {
    to {
        opacity: 1
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important
    }
}