* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #15191f;
    color: #f0f0f0;
}


/* =========================
   NAVBAR
   ========================= */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 40px;

    background-color: #232a34;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.45);
}

.nav-links {
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;

    padding: 10px 14px;

    border-radius: 6px;
    border: 1px solid transparent;

    background-color: transparent;

    transition:
        background-color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.25s ease;
}

nav a:hover {
    color: white;
    background-color: #343e4b;

    border-top-color: #586779;
    border-left-color: #586779;
    border-right-color: #171c22;
    border-bottom-color: #171c22;

    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transform: translateY(-1px);
}

nav a:active {
    background-color: #2a323d;

    transform: translateY(1px);

    border-top-color: #171c22;
    border-left-color: #171c22;
    border-right-color: #586779;
    border-bottom-color: #586779;

    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.45);
}


/* =========================
   NAVBAR BRAND
   ========================= */

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-brand h2 {
    margin: 0;
}

nav img {
    max-height: 70px;
    width: auto;

    object-fit: contain;
}


/* =========================
   MAIN CONTENT
   ========================= */

main {
    max-width: 900px;

    margin: 50px auto;
    padding: 20px;
}

section {
    margin-top: 40px;
    scroll-margin-top: 110px;
}

.rule {
    background-color: #232a34;

    padding: 20px;
    margin: 15px 0;

    border-radius: 8px;
}


/* =========================
   DONATE PAGE
   ========================= */

.donate-page {
    display: flex;
    justify-content: center;

    text-align: center;
}

.donate-box {
    background-color: #232a34;

    padding: 45px;

    max-width: 600px;
    width: 100%;

    border-radius: 10px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.donate-box h1 {
    margin-top: 0;
}

.cash-tag {
    font-size: 28px;
    font-weight: bold;

    color: #61a5ff;
}

.donate-button {
    display: inline-block;

    margin-top: 15px;
    padding: 14px 28px;

    color: white;
    text-decoration: none;
    font-weight: bold;

    background-color: #343e4b;

    border-radius: 7px;

    border-top: 1px solid #586779;
    border-left: 1px solid #586779;
    border-right: 1px solid #171c22;
    border-bottom: 1px solid #171c22;

    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.2s ease;
}

.donate-button:hover {
    background-color: #465365;

    transform: translateY(-2px);

    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.donate-button:active {
    transform: translateY(1px);

    box-shadow:
        inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.donate-note {
    margin-top: 25px;

    color: #aab2bd;

    font-size: 14px;
}


/* =========================
   RULES GUIDE
   ========================= */

.guide-progress {
    position: fixed;

    right: 40px;
    top: 50%;

    transform: translateY(-50%);

    width: 200px;

    padding: 20px 16px 20px 22px;

    background-color: #232a34;

    border-radius: 8px;

    border: 1px solid #303946;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    z-index: 100;
}


/* purple guide rail */

.guide-progress::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background-color: #4e2b73;

    border-radius: 8px 0 0 8px;
}


.guide-progress h3 {
    margin: 0 0 14px 0;

    color: white;
}


/* =========================
   GUIDE LINKS
   ========================= */

.guide-progress a {
    position: relative;

    display: block;

    color: #9ba4b0;
    text-decoration: none;

    padding: 8px 10px 8px 23px;

    margin: 2px 0;

    border-radius: 5px;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.guide-progress a:hover {
    color: white;

    background-color: #343e4b;

    transform: translateX(3px);
}


/* =========================
   CURRENT RULE SECTION
   ========================= */

.guide-progress a.active {
    color: white;

    background-color: #343e4b;

    transform: translateX(4px);

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}


/* glowing indicator */

.guide-progress a.active::before {
    content: "";

    position: absolute;

    left: 7px;
    top: 50%;

    width: 5px;
    height: 20px;

    transform: translateY(-50%);

    background-color: #b67aff;

    border-radius: 4px;

    box-shadow:
        0 0 4px #b67aff,
        0 0 8px #a35dff,
        0 0 14px #8a3fff,
        0 0 22px rgba(138, 63, 255, 0.9);

    animation: guideGlow 1.8s ease-in-out infinite;
}


/* subtle light around active entry */

.guide-progress a.active::after {
    content: "";

    position: absolute;

    left: 0;
    top: 3px;
    bottom: 3px;

    width: 35px;

    background: linear-gradient(
        90deg,
        rgba(155, 99, 255, 0.18),
        transparent
    );

    pointer-events: none;
}


/* =========================
   GLOW ANIMATION
   ========================= */

@keyframes guideGlow {
    0%,
    100% {
        opacity: 0.65;

        box-shadow:
            0 0 3px #b67aff,
            0 0 7px #9b63ff,
            0 0 12px rgba(121, 60, 255, 0.7);
    }

    50% {
        opacity: 1;

        box-shadow:
            0 0 5px #d0a3ff,
            0 0 10px #b67aff,
            0 0 17px #9b63ff,
            0 0 25px rgba(121, 60, 255, 0.95);
    }
}


/* =========================
   SMALLER SCREENS
   ========================= */

@media (max-width: 1300px) {
    .guide-progress {
        display: none;
    }
}