:root {
    /* ===== THEME GITAFEST (CREAM) ===== */
    --color-blue-custom: #6b4f2a; /* jadi coklat (buat text/accents) */
    --color-blue-2-custom: #c8a97e; /* tan/cream tua */
    --color-blue-3-custom: rgba(245, 230, 200, 0.55); /* cream transparan */

    /* Background */
    --bg-image: url("/images/bri/background/bg.png"); /* kalau belum ada, pakai yang lama */
    /* kalau belum punya file bg gitafest, pakai ini:
       --bg-image: url("/images/bri/background/bg.png");
    */

    /* Brand background */
    --bg-primary: #f5e6c8; /* cream */
    --bg-secondary: #ead7b3; /* cream lebih tua (hover) */
    --bg-accent: #fff3e0; /* accent cream muda */

    /* Text */
    --text-primary: #3b2f2f; /* coklat tua (biar kontras di cream) */
    --text-secondary: #6b5a4a; /* coklat muda */

    /* Other */
    --color-purple-custom: rgba(198, 156, 109, 1); /* tan */
    --color-orange-custom: #d18b2c; /* orange hangat */
    --color-black-custom: #000000;
    --color-white-custom: #ffffff;
}

body {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    font-family: "Poppins", sans-serif;
    color: var(--text-primary);
    background: #fff9ef; /* biar kalau bg-image kosong tetap cream */
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

/* kalau background image kamu gelap/terang beda, ini tetap aman */
main {
    background-image: var(--bg-image);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.main-content {
    padding-top: 20px;
    padding-bottom: 160px;
}

.text-small {
    font-size: 0.875rem;
}

.text-secondary-custom {
    color: var(--text-secondary);
}

/* Link biar kebaca di theme cream */
a {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
}

.bg-primary-custom {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Bootstrap primary button ikut cream */
.btn-primary {
    background-color: var(--bg-primary) !important;
    border-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

.btn-primary:hover {
    background-color: var(--bg-secondary) !important;
    border-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

.bg-secondary-custom {
    background-color: var(--bg-secondary);
}

/* Button base */
.btn-base {
    background: #ffffff;
}

.btn-base:hover {
    background: var(--bg-primary);
}

/* Ini sekarang jadi tombol “cream” dengan teks coklat */
.btn-white-custom {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-weight: bold;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
}

.btn-white-custom:hover {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* leaderboard medal tetap */
.text-gold {
    color: #ffd700;
}
.text-silver {
    color: #c0c0c0;
}
.text-bronze {
    color: #cd7f32;
}

@media screen and (max-width: 360px) {
    img.navbar-logo {
        height: 35px;
        width: auto;
    }
}

.color-blue-custom {
    color: var(--color-blue-custom) !important;
}
