@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root {
    --hitam: #09090B;
    --hitam-2: #111113;
    --hitam-3: #18181B;
    --marun: #8E1735;
    --marun-terang: #A82042;
    --emas: #C8A45D;
    --emas-muda: #E1C887;
    --putih: #F4F1ED;
    --abu: #A7A4A1;
    --garis: rgba(255,255,255,.09);
}

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

html {
    background: var(--hitam);
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 80% 8%, rgba(142,23,53,.20), transparent 32%),
        radial-gradient(circle at 10% 40%, rgba(200,164,93,.05), transparent 30%),
        var(--hitam);
    color: var(--putih);
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 82px;
}

button {
    font: inherit;
    color: inherit;
}

.layar {
    min-height: 100vh;
    overflow: hidden;
}


/* =========================
   HUD ATAS
========================= */

.hud-atas {
    position: sticky;
    top: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        calc(15px + env(safe-area-inset-top))
        18px
        14px;

    background: rgba(9,9,11,.86);
    border-bottom: 1px solid var(--garis);
    backdrop-filter: blur(18px);
}

.merek {
    display: flex;
    align-items: center;
    gap: 11px;
}

.lencana {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(200,164,93,.42);
    background: linear-gradient(145deg, #8E1735, #561022);

    border-radius: 10px;

    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;

    box-shadow:
        inset 0 1px rgba(255,255,255,.12),
        0 5px 18px rgba(142,23,53,.25);
}

.judul-merek {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.subjudul-merek {
    margin-top: 2px;

    color: var(--emas);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.tombol-bulat {
    width: 40px;
    height: 40px;

    border: 1px solid var(--garis);
    border-radius: 12px;

    background: rgba(255,255,255,.045);

    color: #ddd;
    font-size: 19px;

    cursor: pointer;
}


/* =========================
   BERANDA
========================= */

.beranda {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 23px 17px 35px;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;

    padding: 26px 22px 23px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(142,23,53,.30),
            rgba(25,19,21,.92) 58%,
            rgba(9,9,11,.98)
        );

    box-shadow:
        0 24px 70px rgba(0,0,0,.35),
        inset 0 1px rgba(255,255,255,.06);

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -130px;
    top: -130px;

    border: 1px solid rgba(200,164,93,.14);
    border-radius: 50%;
}

.hero::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    top: -90px;

    border: 1px solid rgba(200,164,93,.10);
    border-radius: 50%;
}

.hero-garis {
    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 115px;

    background: linear-gradient(
        180deg,
        var(--emas),
        transparent
    );
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--emas);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.titik {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--emas);

    box-shadow:
        0 0 12px rgba(200,164,93,.65);
}

.hero-tahun {
    margin-top: 28px;

    color: rgba(255,255,255,.35);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    position: relative;
    z-index: 1;

    margin-top: 8px;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 43px;
    line-height: .98;

    letter-spacing: -1.8px;
}

.hero h1 em {
    color: var(--emas-muda);
    font-weight: 600;
}

.hero-teks {
    position: relative;
    z-index: 1;

    max-width: 340px;

    margin-top: 17px;

    color: #B9B5B1;

    font-size: 12px;
    line-height: 1.7;
}

.hero-teks strong {
    color: white;
}

.tombol-mulai {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: 53px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 23px;
    padding: 0 18px 0 20px;

    border: 1px solid rgba(225,200,135,.30);
    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #A82042,
            #78152E
        );

    color: white;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;

    box-shadow:
        0 10px 28px rgba(142,23,53,.25),
        inset 0 1px rgba(255,255,255,.14);

    cursor: pointer;

    transition: .2s ease;
}

.tombol-mulai b {
    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    border-radius: 9px;

    background: rgba(255,255,255,.10);

    font-size: 18px;
}

.tombol-mulai:active {
    transform: scale(.985);
}

.hero-catatan {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 18px;

    color: rgba(255,255,255,.28);

    font-size: 6px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.hero-catatan i {
    width: 2px;
    height: 2px;

    border-radius: 50%;

    background: var(--emas);
    opacity: .6;
}


/* =========================
   STATISTIK
========================= */

.panel-statistik {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;

    margin-top: 13px;
    padding: 17px 8px;

    border: 1px solid var(--garis);
    border-radius: 16px;

    background: rgba(255,255,255,.025);
}

.statistik-utama {
    text-align: center;
}

.statistik-nilai {
    color: var(--putih);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 24px;
    font-weight: 700;
}

.statistik-nilai.emas {
    color: var(--emas-muda);
}

.statistik-label {
    margin-top: 3px;

    color: #77736F;

    font-size: 6px;
    font-weight: 700;
    letter-spacing: 1px;
}

.garis-pemisah {
    width: 1px;
    height: 28px;

    background: var(--garis);
}


/* =========================
   PANEL SISTEM
========================= */

.panel-sistem {
    margin-top: 30px;
}

.judul-panel {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 13px;
}

.label-kecil {
    color: var(--emas);

    font-size: 7px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.judul-panel h2 {
    margin-top: 4px;

    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.3px;
}

.nomor-panel {
    color: rgba(255,255,255,.18);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 26px;
    font-weight: 700;
}

.kartu-aturan {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-top: 8px;
    padding: 16px;

    border: 1px solid var(--garis);
    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );

    transition: .2s ease;
}

.kartu-aturan:hover {
    border-color: rgba(200,164,93,.25);
}

.ikon-aturan {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    border: 1px solid rgba(200,164,93,.20);
    border-radius: 9px;

    color: var(--emas);

    font-size: 8px;
    font-weight: 800;
}

.isi-aturan {
    padding-right: 20px;
}

.isi-aturan strong {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.isi-aturan p {
    margin-top: 5px;

    color: #8F8B87;

    font-size: 10px;
    line-height: 1.55;
}

.isi-aturan b {
    color: #CFCAC5;
}

.panah {
    position: absolute;

    right: 15px;
    top: 17px;

    color: rgba(200,164,93,.5);

    font-size: 15px;
}


/* =========================
   KUTIPAN
========================= */

.kutipan {
    position: relative;

    margin: 35px 5px 10px;
    padding-left: 17px;
}

.kutipan-garis {
    position: absolute;

    left: 0;
    top: 2px;
    bottom: 2px;

    width: 2px;

    background: linear-gradient(
        180deg,
        var(--emas),
        transparent
    );
}

.kutipan p {
    font-family: "Playfair Display", Georgia, serif;

    color: #D4D0CC;

    font-size: 16px;
    line-height: 1.35;
}

.kutipan span {
    display: block;

    margin-top: 9px;

    color: var(--emas);

    font-size: 7px;
    font-weight: 800;
    letter-spacing: 1.6px;
}


/* =========================
   NAVIGASI
========================= */

.navigasi {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 200;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    padding:
        7px
        8px
        calc(7px + env(safe-area-inset-bottom));

    border-top: 1px solid var(--garis);

    background: rgba(9,9,11,.91);

    backdrop-filter: blur(20px);
}

.item-navigasi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    min-height: 52px;

    border: 0;
    background: transparent;

    color: #696764;

    font-size: 8px;
    font-weight: 700;

    cursor: pointer;
}

.item-navigasi .ikon {
    font-size: 18px;
    line-height: 1;
}

.item-navigasi.aktif {
    color: var(--emas-muda);
}

.item-navigasi.aktif .ikon {
    filter: drop-shadow(0 0 7px rgba(200,164,93,.25));
}


/* =========================
   DESKTOP
========================= */

@media (min-width: 700px) {

    body {
        padding-bottom: 0;
    }

    .hud-atas {
        padding-left: 35px;
        padding-right: 35px;
    }

    .beranda {
        max-width: 920px;
        padding: 45px 35px 70px;
    }

    .hero {
        padding: 50px;
    }

    .hero h1 {
        font-size: 62px;
    }

    .hero-teks {
        font-size: 14px;
        max-width: 490px;
    }

    .tombol-mulai {
        max-width: 340px;
    }

    .panel-statistik {
        padding: 22px;
    }

    .statistik-nilai {
        font-size: 30px;
    }

    .statistik-label {
        font-size: 7px;
    }

    .kartu-aturan {
        padding: 19px;
    }

    .navigasi {
        position: static;

        max-width: 920px;
        margin: 0 auto;

        border-top: 0;

        background: transparent;
        backdrop-filter: none;
    }
}
