/* ===== PAGE ===== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 3rem 1.5rem;

    background:
        radial-gradient(circle at top, #1f2937 0%, #0f172a 45%, #020617 100%);

    color: #f1f5f9;

    font-family:
        Inter,
        system-ui,
        sans-serif;

    line-height: 1.6;
}

/* subtle texture */

body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image:
        radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);

    background-size: 22px 22px;

    pointer-events: none;
}

/* ===== CONTENT WIDTH ===== */

body > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== TITLE ===== */

h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);

    line-height: 1;

    margin-bottom: 1rem;

    font-weight: 900;

    text-align: center;

    letter-spacing: -2px;
}

h1::after {
    content: "";
    display: block;

    width: 140px;
    height: 4px;

    margin: 1.5rem auto 0;

    border-radius: 999px;

    background:
        linear-gradient(90deg, #22c55e, #4ade80);
}

/* ===== SUBTITLE AREA ===== */

h1 + ul {
    display: flex;
    justify-content: center;
    gap: 1rem;

    list-style: none;
    padding: 0;

    margin-bottom: 4rem;
}

/* ===== EPISODES ===== */

h2 {
    max-width: 900px;

    margin:
        3rem auto 1rem;

    padding:
        1.5rem 1.75rem 0;

    font-size: 2rem;

    font-weight: 800;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.03)
        );

    border:
        1px solid rgba(255,255,255,0.08);

    border-bottom: none;

    border-radius:
        24px 24px 0 0;

    backdrop-filter: blur(14px);
}

/* ===== EPISODE LINK BOX ===== */

h2 + ul {
    max-width: 900px;

    margin:
        0 auto 2rem;

    padding:
        0 1.75rem 1.75rem;

    list-style: none;

    display: flex;
    flex-wrap: wrap;
    gap: 1rem;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.03),
            rgba(255,255,255,0.02)
        );

    border:
        1px solid rgba(255,255,255,0.08);

    border-top: none;

    border-radius:
        0 0 24px 24px;

    backdrop-filter: blur(14px);

    box-shadow:
        0 12px 40px rgba(0,0,0,0.35);
}

/* ===== LINKS ===== */

a {
    text-decoration: none;
}

/* ===== PLATFORM BUTTONS ===== */

li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 140px;

    padding:
        0.9rem 1.2rem;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(34,197,94,0.22),
            rgba(74,222,128,0.18)
        );

    border:
        1px solid rgba(74,222,128,0.28);

    color: #dcfce7;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* ===== HOVER ===== */

li a:hover {
    transform: translateY(-3px);

    background:
        linear-gradient(
            135deg,
            rgba(34,197,94,0.35),
            rgba(74,222,128,0.28)
        );

    border-color:
        rgba(74,222,128,0.5);

    box-shadow:
        0 0 24px rgba(74,222,128,0.18);
}

/* ===== MOBILE ===== */

@media (max-width: 700px) {

    body {
        padding: 1.25rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h1 + ul,
    h2 + ul {
        flex-direction: column;
    }

    li a {
        width: 100%;
    }
}
