.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0,0,0,.84);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    white-space: nowrap;
    font-weight: 900;
    letter-spacing: .7px;
}
.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #74c96b, #3f8e3f);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.14);
    font-size: 20px;
}
.nav {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.nav a {
    color: var(--text);
    opacity: .92;
    font-weight: 700;
    letter-spacing: .4px;
    font-size: 17px;
}
.nav a:hover { color: var(--accent); }
.actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 29px;
    width: auto;
    display: block;
} 
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 800;
    letter-spacing: .3px;
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
    box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-primary { background: var(--accent); color: #5c3600; }
.btn-secondary { background: var(--accent-2); color: #fff; }
.btn-dark { background: #222; color: #fff; border: 1px solid var(--border); }

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-store {
    background: #e11d48;
    color: rgb(255, 255, 255);
}

.btn-store:hover {
    filter: brightness(1.1);
}

.btn-discord:hover {
    filter: brightness(1.1);
}

@media (max-width: 900px) {

    .topbar-inner {
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        padding: 16px 0;
        min-height: auto;
    }

    .brand {
        justify-content: center;
    }

    .nav {
        display: none;
    }
    .nav a {
        font-size: 15px;
    }

    .actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}