:root {
    --blue-deep: #173b5b;
    --gold: #c7a84b;
    --cream: #fffaf2;
    --text: #2d3a43;
    --muted: #6f7c84;

    --shadow:
        0 18px 45px rgba(34, 58, 76, 0.12);
}


/* RESET */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: var(--text);

    background:
        radial-gradient(
            circle at top,
            #f7fcff 0%,
            #edf5f9 35%,
            #f7f2e8 100%
        );
}


/* PAGINA */

.sons-page {
    width: 100%;
    margin: 0;
    padding: 0 0 80px;
}


/* TERUG NAAR PORTAL */

.back-to-portal {
    display: inline-flex;
    align-items: center;

    margin: 24px 0 0 28px;
    padding: 11px 20px;

    border-radius: 999px;

    border: 1px solid rgba(199, 168, 75, 0.75);

    background: rgba(255, 250, 242, 0.92);

    color: #6a28b8;

    font-family: Arial, sans-serif;
    font-size: 14px;

    text-decoration: none;

    box-shadow:
        0 5px 15px rgba(48, 44, 75, 0.08);

    transition:
        transform .2s ease,
        background .2s ease;
}

.back-to-portal:hover {
    transform: translateY(-1px);
    background: #fffdf8;
}


/* HEADER */

.portal-header {
    width: 100%;
    max-width: none;

    margin: 0 0 54px 0;

    border-radius: 0 0 30px 30px;

    overflow: hidden;

    background:
        linear-gradient(
            105deg,
            #6c1fb7 0%,
            #3158c9 25%,
            #16a7c6 48%,
            #66b6a3 72%,
            #d7b62b 100%
        );

    box-shadow:
        0 20px 45px rgba(32, 50, 80, 0.14);
}

.portal-header__inner {
    width: min(980px, 92%);
    margin: 0 auto;

    padding: 52px 28px 48px;

    text-align: center;

    color: white;
}

.portal-header__logo {
    display: block;

    width: 116px;
    height: 116px;

    max-width: 116px;
    max-height: 116px;

    object-fit: contain;

    margin: 0 auto 23px;

    filter:
        drop-shadow(
            0 10px 18px rgba(0, 0, 0, 0.16)
        );
}

.portal-header__eyebrow {
    margin: 0 0 10px;

    font-family: Arial, sans-serif;
    font-size: 12px;

    letter-spacing: .24em;

    color: rgba(255, 255, 255, .92);
}

.portal-header h1 {
    margin: 0;

    font-size: clamp(42px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.08;

    color: white;
}

.portal-header__subtitle {
    margin: 15px 0 0;

    font-size: 22px;
    font-style: italic;

    color: #fff4c9;
}

.portal-header__divider {
    width: 70px;
    height: 1px;

    margin: 27px auto;

    background:
        rgba(255, 255, 255, .45);
}

.portal-header__text {
    max-width: 770px;

    margin: 0 auto;

    font-size: 17px;
    line-height: 1.75;

    color: rgba(255, 255, 255, .95);
}

.portal-header__closing {
    margin: 22px 0 0;

    font-size: 16px;
    font-style: italic;
    font-weight: 600;

    color: #ffe79b;
}


/* GRID */

.sons-grid {
    width: min(1180px, 92%);
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px;
}


/* KAART */

.sound-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 38px 34px 34px;

    border-radius: 28px;

    background:
        rgba(255, 253, 248, 0.86);

    border:
        1px solid rgba(199, 168, 75, 0.30);

    box-shadow: var(--shadow);

    overflow: hidden;

    backdrop-filter: blur(8px);
}

.sound-card::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;
}

.sound-card--fire::before {
    background:
        radial-gradient(
            circle at top right,
            rgba(191, 150, 43, 0.30),
            transparent 42%
        );
}

.sound-card--moon::before {
    background:
        radial-gradient(
            circle at top right,
            rgba(105, 166, 205, 0.34),
            transparent 40%
        );
}

.sound-icon {
    position: relative;

    display: grid;
    place-items: center;

    width: 60px;
    height: 60px;

    margin-bottom: 22px;

    border-radius: 50%;

    font-size: 28px;

    background:
        linear-gradient(
            145deg,
            var(--cream),
            #f0e5c5
        );

    border:
        1px solid rgba(199, 168, 75, 0.40);
}

.sound-card--moon .sound-icon {
    background:
        linear-gradient(
            145deg,
            #eef8ff,
            #d9ecf7
        );
}

.sound-category {
    margin: 0 0 9px;

    font-size: 11px;
    letter-spacing: 0.17em;

    color: var(--gold);
}

.sound-card h2 {
    position: relative;

    margin: 0 0 13px;

    font-size: 29px;
    line-height: 1.25;

    font-weight: 400;

    color: var(--blue-deep);
}

.sound-meta {
    margin: 0 0 22px;

    font-size: 14px;
    line-height: 1.6;

    color: #758692;
}

.sound-description {
    margin: 0;

    font-size: 16px;
    line-height: 1.75;

    color: #4b5e69;
}

.headphones-note {
    margin: 19px 0 22px;

    font-size: 13px;
    line-height: 1.6;

    color: #667985;
}


/* PLAYER */

.player {
    position: relative;

    display: flex;
    align-items: center;

    gap: 17px;

    margin-top: auto;
    padding: 18px;

    border-radius: 20px;

    background:
        rgba(225, 239, 247, 0.55);

    border:
        1px solid rgba(57, 102, 130, 0.10);
}

.play-button {
    flex: 0 0 auto;

    width: 52px;
    height: 52px;

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    font-size: 18px;

    color: white;

    background:
        linear-gradient(
            145deg,
            #315f7b,
            #173b5b
        );

    box-shadow:
        0 8px 20px rgba(31, 72, 98, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.play-button:hover {
    transform: scale(1.05);

    box-shadow:
        0 10px 24px rgba(31, 72, 98, 0.28);
}

.play-button:active {
    transform: scale(0.97);
}

.player-main {
    flex: 1;
    min-width: 0;
}

.progress-wrap {
    width: 100%;
}

.progress {
    width: 100%;

    accent-color: var(--gold);

    cursor: pointer;
}

.player-time {
    display: flex;
    justify-content: space-between;

    margin-top: 5px;

    font-size: 12px;
    color: var(--muted);
}


/* DISCLAIMER */

.sons-note {
    width: min(760px, 92%);

    margin: 48px auto 0;

    text-align: center;

    font-size: 13px;
    line-height: 1.7;

    color: #7c898f;
}

.sons-note p {
    margin: 5px 0;
}


/* TABLET */

@media (max-width: 820px) {

    .sons-grid {
        grid-template-columns: 1fr;
        width: min(92%, 650px);
    }

    .sound-card {
        padding: 31px 24px;
    }

}


/* MOBIEL */

@media (max-width: 700px) {

    .back-to-portal {
        margin:
            18px
            0
            0
            18px;

        padding: 10px 16px;

        font-size: 13px;
    }

    .portal-header {
        margin-bottom: 42px;
    }

    .portal-header__inner {
        width: 100%;

        padding:
            38px
            22px
            40px;
    }

    .portal-header__logo {
        width: 72px;
        height: 72px;

        max-width: 72px;
        max-height: 72px;

        margin-bottom: 16px;
    }

    .portal-header__eyebrow {
        font-size: 11px;
        letter-spacing: .20em;
    }

    .portal-header h1 {
        font-size: 46px;
    }

    .portal-header__subtitle {
        font-size: 18px;
        line-height: 1.45;
    }

    .portal-header__text {
        font-size: 15px;
        line-height: 1.7;
    }

    .portal-header__closing {
        font-size: 15px;
        line-height: 1.5;
    }

}


/* KLEINE MOBIEL */

@media (max-width: 480px) {

    .portal-header__logo {
        width: 64px;
        height: 64px;

        max-width: 64px;
        max-height: 64px;
    }

    .portal-header h1 {
        font-size: 42px;
    }

    .sons-grid {
        width: 92%;
    }

    .sound-card {
        padding: 28px 22px;
    }

    .sound-card h2 {
        font-size: 25px;
    }

    .sound-description {
        font-size: 15px;
    }

    .player {
        gap: 14px;
        padding: 14px;
    }

    .play-button {
        width: 46px;
        height: 46px;
    }

}

.back-to-portal {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;

    display: inline-flex;
    align-items: center;

    padding: 11px 20px;

    border-radius: 999px;

    border: 1px solid rgba(212, 175, 55, 0.85);

    background: rgba(255, 250, 242, 0.94);

    color: #6a0dad;

    font-family: Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.back-to-portal:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.16);
}

@media (max-width: 700px) {
    .back-to-portal {
        top: 14px;
        left: 14px;

        padding: 9px 14px;

        font-size: 12px;
    }
}