/* =========================================================
   BRASIL+ DAYZ - Premium template stylesheet
   Theme: dark slate + tropical green + gold accents
   ========================================================= */

:root {
    --bm-bg:        #020617;
    --bm-bg-soft:   #0b1226;
    --bm-card:      #0f172a;
    --bm-card-hi:   #131c34;
    --bm-border:    rgba(148, 163, 184, 0.12);
    --bm-border-hi: rgba(148, 163, 184, 0.22);
    --bm-text:      #e2e8f0;
    --bm-muted:     #94a3b8;
    --bm-mute2:     #64748b;
    --bm-green:     #16a34a;
    --bm-green-2:   #22c55e;
    --bm-green-d:   #15803d;
    --bm-gold:      #fbbf24;
    --bm-gold-d:    #f59e0b;
    --bm-red:       #ef4444;
    --bm-purple:    #a855f7;
    --bm-shadow:    0 20px 50px -20px rgba(2, 6, 23, .7);
    --bm-glow-grn:  0 0 30px rgba(34, 197, 94, .35);
    --bm-glow-gld:  0 0 30px rgba(251, 191, 36, .35);
    --bm-radius:    16px;
    --bm-radius-sm: 10px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bm-bg);
    color: var(--bm-text);
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
}

/* ============ BACKGROUND PATTERN + ORBS ============ */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(1100px 600px at 80% -10%, rgba(22,163,74,0.18), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(251,191,36,0.10), transparent 60%),
        radial-gradient(700px 400px at 50% 110%, rgba(34,197,94,0.12), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}

.bm-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
    z-index: 0;
    pointer-events: none;
    animation: bm-float 18s ease-in-out infinite;
}
.bm-orb.orb-1 { width: 420px; height: 420px; background: #16a34a; top: -120px; right: -100px; }
.bm-orb.orb-2 { width: 360px; height: 360px; background: #fbbf24; bottom: -120px; left: -120px; animation-delay: -7s; }
.bm-orb.orb-3 { width: 280px; height: 280px; background: #22c55e; top: 40%; left: 35%; opacity: .25; animation-delay: -3s; }

@keyframes bm-float {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 25px) scale(0.95); }
}

/* ============ LAYOUT WRAPPER ============ */
.bm-app {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.bm-main {
    flex: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 110px 24px 80px;
    position: relative;
    z-index: 1;
}
@media (max-width: 640px) {
    .bm-main { padding: 96px 16px 60px; }
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 .6em;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; color: var(--bm-muted); }
a { color: var(--bm-green-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bm-green); }

.bm-gradient-text {
    background: linear-gradient(90deg, #22c55e, #16a34a 40%, #fbbf24 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.bm-gold-text { color: var(--bm-gold); }

/* ============ NAV ============ */
.bm-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(2, 6, 23, .72);
    border-bottom: 1px solid var(--bm-border);
    transition: background .2s;
}
.bm-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.bm-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.bm-logo .logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #16a34a, #fbbf24);
    display: grid;
    place-items: center;
    color: #052e16;
    font-weight: 900;
    box-shadow: 0 8px 20px -6px rgba(22,163,74,.7);
}
.bm-logo .logo-plus {
    color: var(--bm-gold);
}
.bm-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bm-nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bm-muted);
    border-radius: 8px;
    transition: all .18s;
    white-space: nowrap;
}
.bm-nav-links a:hover { color: #fff; background: rgba(255,255,255,.05); }
.bm-nav-links a.active { color: #fff; background: rgba(22,163,74,.14); }
.bm-nav-links a.is-vip {
    color: var(--bm-gold);
    background: linear-gradient(135deg, rgba(251,191,36,.10), rgba(245,158,11,.06));
    border: 1px solid rgba(251,191,36,.25);
}
.bm-nav-links a.is-vip:hover { color: #fde68a; box-shadow: 0 0 18px rgba(251,191,36,.25); }

.bm-nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bm-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 700;
    color: #4ade80;
    background: rgba(22,163,74,.12);
    border: 1px solid rgba(34,197,94,.3);
    border-radius: 999px;
    letter-spacing: .04em;
}
.bm-live .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,.7);
    animation: bm-pulse 2s infinite;
}
@keyframes bm-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,.7); }
    70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.bm-burger {
    display: none;
    background: none;
    border: 1px solid var(--bm-border-hi);
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

@media (max-width: 1023px) {
    .bm-nav-links { display: none; }
    .bm-burger { display: inline-flex; }
}
.bm-mobile-menu {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(2,6,23,.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--bm-border);
    padding: 16px 20px 22px;
    transform: translateY(-110%);
    transition: transform .25s ease;
    z-index: 49;
}
.bm-mobile-menu.open { transform: translateY(0); }
.bm-mobile-menu a {
    display: block;
    padding: 12px 14px;
    color: var(--bm-text);
    font-weight: 500;
    border-radius: 8px;
}
.bm-mobile-menu a:hover { background: rgba(255,255,255,.05); }
.bm-mobile-menu a.is-vip { color: var(--bm-gold); }

/* ============ BUTTONS ============ */
.bm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    line-height: 1;
    font-family: inherit;
}
.bm-btn-primary {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(22,163,74,.6);
}
.bm-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px -8px rgba(22,163,74,.8);
    color: #fff;
}
.bm-btn-accent {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f1505;
    box-shadow: 0 10px 30px -10px rgba(251,191,36,.55);
}
.bm-btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px -8px rgba(251,191,36,.75);
    color: #1f1505;
}
.bm-btn-ghost {
    background: rgba(255,255,255,.03);
    color: var(--bm-text);
    border-color: var(--bm-border-hi);
}
.bm-btn-ghost:hover {
    background: rgba(255,255,255,.07);
    color: #fff;
    border-color: rgba(148,163,184,.35);
}
.bm-btn-danger {
    background: rgba(239,68,68,.12);
    color: #fca5a5;
    border-color: rgba(239,68,68,.3);
}
.bm-btn-danger:hover { background: rgba(239,68,68,.2); color: #fff; }
.bm-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.bm-btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.bm-btn-block { width: 100%; }

/* ============ CARDS ============ */
.bm-card {
    background: linear-gradient(180deg, rgba(15,23,42,.85), rgba(11,18,38,.75));
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius);
    padding: 26px;
    position: relative;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.bm-card:hover {
    border-color: var(--bm-border-hi);
}
.bm-card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(34,197,94,.35);
    box-shadow: 0 24px 50px -22px rgba(2,6,23,.9), 0 0 0 1px rgba(34,197,94,.15);
}
.bm-card-glow {
    box-shadow: var(--bm-shadow);
}
.bm-card-gold {
    border-color: rgba(251,191,36,.3);
    background: linear-gradient(180deg, rgba(31,21,5,.6), rgba(15,23,42,.85));
    box-shadow: 0 0 0 1px rgba(251,191,36,.15), 0 24px 50px -22px rgba(245,158,11,.35);
}

/* ============ HERO ============ */
.bm-hero {
    position: relative;
    padding: 50px 0 60px;
    text-align: center;
}
.bm-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.25);
    color: #86efac;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    margin-bottom: 22px;
}
.bm-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 18px;
}
.bm-hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--bm-muted);
    max-width: 720px;
    margin: 0 auto 32px;
}
.bm-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ STATS GRID ============ */
.bm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 50px 0;
}
@media (max-width: 900px) {
    .bm-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
.bm-stat {
    padding: 22px 20px;
    background: linear-gradient(180deg, rgba(15,23,42,.9), rgba(11,18,38,.7));
    border: 1px solid var(--bm-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform .2s, border-color .2s;
}
.bm-stat:hover { transform: translateY(-3px); border-color: rgba(34,197,94,.3); }
.bm-stat-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
    background: rgba(22,163,74,.12);
    color: var(--bm-green-2);
    border: 1px solid rgba(34,197,94,.2);
}
.bm-stat-icon.is-gold { background: rgba(251,191,36,.12); color: var(--bm-gold); border-color: rgba(251,191,36,.25); }
.bm-stat-icon.is-red  { background: rgba(239,68,68,.12); color: #fca5a5; border-color: rgba(239,68,68,.25); }
.bm-stat-icon.is-prp  { background: rgba(168,85,247,.12); color: #c4b5fd; border-color: rgba(168,85,247,.25); }
.bm-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.bm-stat-label {
    font-size: 13px;
    color: var(--bm-muted);
    margin-top: 4px;
}

/* ============ SECTION HEADER ============ */
.bm-section {
    margin: 60px 0;
}
.bm-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.bm-section-head h2 {
    margin: 0;
}
.bm-section-head .sub {
    color: var(--bm-muted);
    margin: 4px 0 0;
}
.bm-section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--bm-green-2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.bm-section-link:hover { color: var(--bm-gold); }

/* ============ SERVER CARDS ============ */
.bm-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 20px;
}
.bm-server-card {
    padding: 24px;
    background: linear-gradient(180deg, rgba(15,23,42,.9), rgba(11,18,38,.7));
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius);
    transition: all .2s;
    position: relative;
    overflow: hidden;
}
.bm-server-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bm-green), var(--bm-gold));
    opacity: .6;
}
.bm-server-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34,197,94,.4);
    box-shadow: 0 24px 50px -22px rgba(2,6,23,.9), 0 0 0 1px rgba(34,197,94,.15);
}
.bm-server-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}
.bm-server-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}
.bm-server-meta {
    font-size: 13px;
    color: var(--bm-muted);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.bm-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.bm-badge-online { background: rgba(34,197,94,.14); color: #4ade80; border: 1px solid rgba(34,197,94,.3); }
.bm-badge-off    { background: rgba(148,163,184,.14); color: #cbd5e1; border: 1px solid rgba(148,163,184,.3); }
.bm-badge-plat   { background: rgba(59,130,246,.14); color: #93c5fd; border: 1px solid rgba(59,130,246,.3); }
.bm-badge-gold   { background: rgba(251,191,36,.14); color: var(--bm-gold); border: 1px solid rgba(251,191,36,.3); }
.bm-badge-vip    { background: linear-gradient(135deg, rgba(251,191,36,.18), rgba(245,158,11,.12)); color: var(--bm-gold); border: 1px solid rgba(251,191,36,.4); }

.bm-server-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 16px 0;
}
.bm-server-stats > div {
    background: rgba(255,255,255,.02);
    border: 1px solid var(--bm-border);
    border-radius: 10px;
    padding: 10px 12px;
}
.bm-server-stats .lbl { font-size: 11px; color: var(--bm-mute2); text-transform: uppercase; letter-spacing: .04em; }
.bm-server-stats .val { font-size: 1.15rem; font-weight: 700; color: #fff; margin-top: 2px; }
.bm-server-stats .val .pulse {
    display: inline-block;
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 6px;
    animation: bm-pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(34,197,94,.7);
}
.bm-server-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.bm-server-actions .bm-btn { flex: 1; }

/* ============ LEADERBOARD TABLE ============ */
.bm-table-wrap {
    background: linear-gradient(180deg, rgba(15,23,42,.9), rgba(11,18,38,.7));
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius);
    overflow: hidden;
    backdrop-filter: blur(12px);
}
.bm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.bm-table thead th {
    text-align: left;
    padding: 14px 16px;
    background: rgba(255,255,255,.02);
    border-bottom: 1px solid var(--bm-border);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--bm-mute2);
    font-weight: 600;
}
.bm-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(148,163,184,.05);
}
.bm-table tbody tr { transition: background .15s; }
.bm-table tbody tr:hover { background: rgba(34,197,94,.04); }
.bm-table tbody tr:last-child td { border-bottom: none; }
.bm-table .rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 13px;
    background: rgba(148,163,184,.08);
    color: #cbd5e1;
}
.bm-table .rank.gold   { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1f1505; box-shadow: 0 4px 14px -4px rgba(251,191,36,.6); }
.bm-table .rank.silver { background: linear-gradient(135deg, #cbd5e1, #94a3b8); color: #0f172a; }
.bm-table .rank.bronze { background: linear-gradient(135deg, #f97316, #c2410c); color: #fff; }
.bm-table .player-name { color: #fff; font-weight: 600; }
.bm-table .player-name:hover { color: var(--bm-green-2); }
.bm-table .score { color: var(--bm-green-2); font-weight: 700; }
.bm-table tr.is-me { background: rgba(251,191,36,.06); }

/* ============ SERVER FILTER CHIPS ============ */
.bm-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.bm-chip {
    padding: 8px 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--bm-border);
    color: var(--bm-muted);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all .18s;
    cursor: pointer;
}
.bm-chip:hover { color: #fff; border-color: var(--bm-border-hi); }
.bm-chip.active {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 22px -10px rgba(22,163,74,.7);
}

.bm-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--bm-border);
    padding-bottom: 6px;
}
.bm-tab {
    padding: 8px 16px;
    color: var(--bm-muted);
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -7px;
    transition: all .18s;
}
.bm-tab:hover { color: #fff; }
.bm-tab.active {
    color: #fff;
    border-bottom-color: var(--bm-green-2);
}

/* ============ KILLFEED ============ */
.bm-killfeed {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bm-kill-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    background: rgba(15,23,42,.7);
    border: 1px solid var(--bm-border);
    border-radius: 12px;
    font-size: 14px;
    transition: all .18s;
}
.bm-kill-line:hover { border-color: var(--bm-border-hi); transform: translateX(2px); }
.bm-kill-line .killer { color: var(--bm-green-2); font-weight: 600; }
.bm-kill-line .victim { color: var(--bm-text); }
.bm-kill-line .arrow { color: var(--bm-mute2); margin: 0 6px; }
.bm-kill-line .weapon { color: var(--bm-gold); font-weight: 500; }
.bm-kill-line .dist { color: var(--bm-muted); font-size: 12px; margin-left: 8px; }
.bm-kill-line .meta {
    font-size: 12px;
    color: var(--bm-mute2);
    text-align: right;
    line-height: 1.5;
}
.bm-kill-line .meta .srv { display: block; color: var(--bm-green-2); font-weight: 600; }
.bm-kill-line.is-hs { border-color: rgba(251,191,36,.3); background: linear-gradient(90deg, rgba(251,191,36,.08), rgba(15,23,42,.7) 30%); }
.bm-kill-line.is-hs .weapon::after {
    content: "HEADSHOT";
    margin-left: 8px;
    padding: 2px 6px;
    background: var(--bm-gold);
    color: #1f1505;
    font-size: 10px;
    font-weight: 800;
    border-radius: 4px;
    letter-spacing: .04em;
}

/* ============ VIP CARDS ============ */
.bm-vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    margin: 30px 0;
    align-items: stretch;
}
.bm-vip-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(15,23,42,.95), rgba(11,18,38,.85));
    border: 1px solid var(--bm-border);
    border-radius: 20px;
    padding: 30px 26px;
    position: relative;
    transition: all .25s;
    overflow: hidden;
}
.bm-vip-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(34,197,94,0.10), transparent 60%);
    pointer-events: none;
}
.bm-vip-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34,197,94,.4);
    box-shadow: 0 30px 60px -25px rgba(2,6,23,.9), 0 0 0 1px rgba(34,197,94,.2);
}
.bm-vip-card.is-featured {
    border-color: rgba(251,191,36,.5);
    background: linear-gradient(180deg, rgba(31,21,5,.6), rgba(15,23,42,.92));
    box-shadow: 0 0 0 1px rgba(251,191,36,.3), 0 30px 60px -25px rgba(245,158,11,.35);
    transform: scale(1.02);
}
.bm-vip-card.is-featured::before {
    background: radial-gradient(circle at top right, rgba(251,191,36,0.18), transparent 60%);
}
.bm-vip-card.is-featured:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 0 0 1px rgba(251,191,36,.4), 0 36px 70px -22px rgba(245,158,11,.55);
}
.bm-vip-pop {
    position: absolute;
    top: 12px; right: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f1505;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    animation: bm-pulse-gold 2.5s ease-in-out infinite;
}
@keyframes bm-pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,.6); }
    50% { box-shadow: 0 0 0 8px rgba(251,191,36,0); }
}
.bm-vip-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 28px;
    background: rgba(34,197,94,.12);
    color: var(--bm-green-2);
    border: 1px solid rgba(34,197,94,.3);
    margin-bottom: 16px;
}
.bm-vip-card.is-featured .bm-vip-icon {
    background: rgba(251,191,36,.14);
    color: var(--bm-gold);
    border-color: rgba(251,191,36,.4);
}
.bm-vip-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
}
.bm-vip-desc {
    color: var(--bm-muted);
    font-size: 14px;
    margin: 0 0 18px;
    min-height: 38px;
}
.bm-vip-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 16px 0 20px;
}
.bm-vip-price .amount {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.bm-vip-price .per {
    color: var(--bm-muted);
    font-size: 14px;
}
.bm-vip-benefits {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
}
.bm-vip-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
    color: var(--bm-text);
}
.bm-vip-benefits li i {
    color: var(--bm-green-2);
    margin-top: 3px;
    flex-shrink: 0;
}
.bm-vip-card.is-featured .bm-vip-benefits li i { color: var(--bm-gold); }

/* ============ VIP BANNER ============ */
.bm-vip-banner {
    margin: 60px 0;
    padding: 40px;
    border-radius: var(--bm-radius);
    background:
        linear-gradient(135deg, rgba(251,191,36,.14), rgba(245,158,11,.06) 60%, rgba(15,23,42,.95)),
        radial-gradient(circle at right, rgba(251,191,36,.2), transparent 70%);
    border: 1px solid rgba(251,191,36,.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.bm-vip-banner h2 { color: #fde68a; margin: 0 0 8px; }
.bm-vip-banner p { color: rgba(254,243,199,.85); margin: 0; max-width: 620px; }
.bm-vip-banner .crown {
    position: absolute;
    right: -30px; top: 50%;
    transform: translateY(-50%);
    font-size: 180px;
    color: rgba(251,191,36,.06);
    pointer-events: none;
}

/* ============ FORMS ============ */
.bm-form-group {
    display: block;
    margin-bottom: 18px;
}
.bm-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--bm-text);
    margin-bottom: 6px;
}
.bm-form-group .help {
    font-size: 12px;
    color: var(--bm-mute2);
    margin-top: 4px;
}
.bm-input, .bm-select, .bm-textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(2,6,23,.6);
    border: 1px solid var(--bm-border-hi);
    color: var(--bm-text);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.bm-input:focus, .bm-select:focus, .bm-textarea:focus {
    outline: none;
    border-color: var(--bm-green-2);
    box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}
.bm-textarea { resize: vertical; min-height: 90px; }
.bm-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}
.bm-checkbox input { accent-color: var(--bm-green); width: 16px; height: 16px; }

/* ============ MODAL ============ */
.bm-modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(2,6,23,.78);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 200;
}
.bm-modal-bg.open { display: flex; animation: bm-fade .2s ease; }
@keyframes bm-fade { from { opacity: 0; } to { opacity: 1; } }
.bm-modal {
    background: var(--bm-card);
    border: 1px solid var(--bm-border-hi);
    border-radius: 18px;
    padding: 32px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: bm-slide .25s ease;
}
@keyframes bm-slide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.bm-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    background: none;
    border: none;
    color: var(--bm-muted);
    font-size: 22px;
    cursor: pointer;
    width: 32px; height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}
.bm-modal-close:hover { color: #fff; background: rgba(255,255,255,.05); }

/* ============ PROFILE ============ */
.bm-profile-card {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(15,23,42,.9), rgba(11,18,38,.75));
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius);
}
.bm-avatar {
    width: 90px; height: 90px;
    border-radius: 50%;
    border: 3px solid var(--bm-green);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bm-bg-soft);
}
.bm-profile-card h2 { margin: 0 0 6px; }
.bm-profile-card .sub { color: var(--bm-muted); margin: 0; }
.bm-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 28px 0;
}
@media (max-width: 768px) {
    .bm-profile-grid { grid-template-columns: 1fr; }
    .bm-profile-card { flex-direction: column; text-align: center; }
}

/* ============ FEATURES ============ */
.bm-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 50px 0;
}
.bm-feature {
    padding: 26px;
    background: rgba(15,23,42,.65);
    border: 1px solid var(--bm-border);
    border-radius: var(--bm-radius);
    transition: all .2s;
}
.bm-feature:hover {
    transform: translateY(-3px);
    border-color: rgba(34,197,94,.3);
    background: rgba(15,23,42,.85);
}
.bm-feature .icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    background: linear-gradient(135deg, rgba(34,197,94,.18), rgba(22,163,74,.08));
    border: 1px solid rgba(34,197,94,.25);
    color: var(--bm-green-2);
    margin-bottom: 14px;
}
.bm-feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.bm-feature p { margin: 0; font-size: 14px; }

/* ============ ALERTS ============ */
.bm-alert {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.bm-alert i { font-size: 18px; flex-shrink: 0; }
.bm-alert-success { background: rgba(34,197,94,.10); color: #86efac; border-color: rgba(34,197,94,.3); }
.bm-alert-danger  { background: rgba(239,68,68,.10); color: #fca5a5; border-color: rgba(239,68,68,.3); }
.bm-alert-info    { background: rgba(59,130,246,.10); color: #93c5fd; border-color: rgba(59,130,246,.3); }
.bm-alert-warning { background: rgba(251,191,36,.10); color: #fde68a; border-color: rgba(251,191,36,.3); }

/* ============ EMPTY STATE ============ */
.bm-empty {
    text-align: center;
    padding: 60px 20px;
    background: rgba(15,23,42,.5);
    border: 1px dashed var(--bm-border-hi);
    border-radius: var(--bm-radius);
    color: var(--bm-muted);
}
.bm-empty i { font-size: 42px; color: var(--bm-mute2); margin-bottom: 14px; }
.bm-empty h3 { color: var(--bm-text); margin: 0 0 8px; }

/* ============ FOOTER ============ */
.bm-footer {
    margin-top: 80px;
    border-top: 1px solid var(--bm-border);
    background: rgba(2,6,23,.6);
    backdrop-filter: blur(12px);
    padding: 50px 24px 28px;
    position: relative;
    z-index: 1;
}
.bm-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.bm-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.bm-footer-col h4 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 16px;
}
.bm-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bm-footer-col li {
    margin-bottom: 8px;
}
.bm-footer-col a {
    color: var(--bm-muted);
    font-size: 14px;
}
.bm-footer-col a:hover { color: var(--bm-green-2); }
.bm-footer-bottom {
    border-top: 1px solid var(--bm-border);
    padding-top: 22px;
    color: var(--bm-mute2);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.bm-footer-bottom a { color: var(--bm-green-2); }

/* Lang switcher */
.bm-lang-switcher { display: inline-flex; align-items: center; gap: 6px; }
.bm-lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 16px;
    line-height: 1;
    opacity: 0.55;
    transition: opacity .15s ease, border-color .15s ease, transform .15s ease;
    text-decoration: none;
}
.bm-lang-flag:hover { opacity: 1; transform: translateY(-1px); }
.bm-lang-flag.active {
    opacity: 1;
    border-color: var(--bm-green);
    background: rgba(22, 163, 74, 0.08);
}

@media (max-width: 768px) {
    .bm-footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .bm-footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
    .bm-footer-grid { grid-template-columns: 1fr; }
}

/* ============ FADE IN ============ */
.bm-fade-in {
    animation: bm-fadeUp .6s ease both;
}
@keyframes bm-fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.bm-fade-in.d-1 { animation-delay: .05s; }
.bm-fade-in.d-2 { animation-delay: .1s; }
.bm-fade-in.d-3 { animation-delay: .15s; }
.bm-fade-in.d-4 { animation-delay: .2s; }

/* ============ HELPERS ============ */
.bm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) {
    .bm-grid-2, .bm-grid-3 { grid-template-columns: 1fr; }
}
.bm-text-c { text-align: center; }
.bm-text-r { text-align: right; }
.bm-flex { display: flex; }
.bm-flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bm-flex-gap { display: flex; gap: 10px; flex-wrap: wrap; }
.bm-mt-2 { margin-top: 16px; }
.bm-mt-4 { margin-top: 32px; }
.bm-mb-2 { margin-bottom: 16px; }
.bm-mb-4 { margin-bottom: 32px; }
.bm-muted { color: var(--bm-muted); }
.bm-tiny { font-size: 12px; }
.bm-fw-700 { font-weight: 700; }

.bm-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 28px;
    flex-wrap: wrap;
}
.bm-pagination a, .bm-pagination span {
    padding: 8px 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--bm-border);
    color: var(--bm-muted);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.bm-pagination a:hover { color: #fff; border-color: var(--bm-border-hi); }
.bm-pagination .active {
    background: linear-gradient(135deg, var(--bm-green), var(--bm-green-d));
    color: #fff;
    border-color: transparent;
}

/* ============ MOBILE OPTIMIZATIONS ============ */
@media (max-width: 640px) {
    .bm-hero { padding: 20px 0 30px; }
    .bm-hero-cta { flex-direction: column; align-items: stretch; }
    .bm-hero-cta .bm-btn { width: 100%; }
    .bm-section { margin: 40px 0; }
    .bm-vip-card.is-featured { transform: none; }
    .bm-vip-card.is-featured:hover { transform: translateY(-4px); }
    .bm-table thead { display: none; }
    .bm-table tbody tr {
        display: block;
        padding: 12px;
        border-bottom: 1px solid var(--bm-border);
    }
    .bm-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 6px 4px;
        border: none;
    }
    .bm-table tbody td::before {
        content: attr(data-label);
        color: var(--bm-mute2);
        font-size: 12px;
        text-transform: uppercase;
    }
    .bm-kill-line {
        grid-template-columns: 1fr;
    }
    .bm-kill-line .meta { text-align: left; }
}

/* ====== V2 : animations live killfeed + Charts cards ====== */
@keyframes bmSlideInTop {
    0%   { opacity: 0; transform: translateY(-12px) scale(.97); }
    100% { opacity: 1; transform: translateY(0)     scale(1);   }
}
@keyframes bmSlideOutBottom {
    0%   { opacity: 1; max-height: 200px; }
    100% { opacity: 0; max-height: 0;   padding-top:0; padding-bottom:0; margin:0; }
}
.bm-slide-in  { animation: bmSlideInTop 0.45s cubic-bezier(.4,.2,.2,1) both; }
.bm-slide-out { animation: bmSlideOutBottom 0.35s ease both; overflow:hidden; }

/* Charts cards */
.bm-card canvas { max-width: 100%; }

/* Rank colors */
.rank.gold   { background: rgba(251,191,36,.18); color: #fbbf24; border-color: rgba(251,191,36,.45); }
.rank.silver { background: rgba(203,213,225,.18); color: #cbd5e1; border-color: rgba(203,213,225,.45); }
.rank.bronze { background: rgba(161,98,7,.18);   color: #fcd34d; border-color: rgba(161,98,7,.45);   }

/* ============ V3 : Content cards (news / events / gallery) ============ */
.bm-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.bm-content-card {
    background: var(--bm-card);
    border: 1px solid var(--bm-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, border-color .2s ease;
}
.bm-content-card:hover { transform: translateY(-3px); border-color: var(--bm-border-hi); }
.bm-content-cover {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: linear-gradient(135deg, rgba(34,197,94,.10), rgba(15,23,42,.20));
    background-size: cover;
    background-position: center;
    display: block;
    border-bottom: 1px solid var(--bm-border);
}
.bm-content-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bm-content-title { color: #fff; font-size: 1.1rem; font-weight: 700; margin: 0; line-height: 1.3; }
.bm-content-excerpt { color: var(--bm-muted); font-size: .92rem; line-height: 1.5; margin: 0; }
.bm-content-meta { display: flex; gap: 12px; align-items: center; color: var(--bm-mute2); font-size: 12px; margin-top: auto; }
.bm-content-meta a { color: var(--bm-green-2); }
.bm-content-meta .badge { padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }

.bm-news-detail {
    max-width: 820px;
    margin: 0 auto;
    background: var(--bm-card);
    border: 1px solid var(--bm-border);
    border-radius: 16px;
    padding: 28px 32px 36px;
}
.bm-news-detail-cover {
    width: calc(100% + 64px);
    margin: -28px -32px 24px;
    aspect-ratio: 16 / 7;
    background-size: cover;
    background-position: center;
    border-radius: 16px 16px 0 0;
}
.bm-news-detail h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 8px; }
.bm-news-detail .bm-news-meta { color: var(--bm-mute2); font-size: 13px; margin: 0 0 20px; display: flex; gap: 14px; }
.bm-news-detail .bm-rich-content { color: var(--bm-text); line-height: 1.7; }
.bm-news-detail .bm-rich-content h2 { font-size: 1.4rem; margin: 24px 0 10px; color: #fff; }
.bm-news-detail .bm-rich-content h3 { font-size: 1.15rem; margin: 20px 0 8px; color: #fff; }
.bm-news-detail .bm-rich-content p  { margin: 0 0 14px; }
.bm-news-detail .bm-rich-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }
.bm-news-detail .bm-rich-content a { color: var(--bm-green-2); }
.bm-news-detail .bm-rich-content ul,
.bm-news-detail .bm-rich-content ol { margin: 12px 0 16px; padding-left: 24px; }
.bm-news-detail .bm-rich-content li { margin: 4px 0; }
.bm-news-detail .bm-rich-content blockquote {
    border-left: 3px solid var(--bm-green-2);
    padding: 4px 16px;
    margin: 16px 0;
    color: var(--bm-muted);
    background: rgba(34,197,94,.04);
}

/* Event card */
.bm-event-card {
    background: var(--bm-card);
    border: 1px solid var(--bm-border);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bm-event-card .bm-event-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bm-event-card .bm-event-title { color: #fff; font-size: 1.1rem; font-weight: 700; margin: 0; }
.bm-event-card .bm-event-date  { color: var(--bm-green-2); font-weight: 600; font-size: .9rem; }
.bm-event-card .bm-event-desc  { color: var(--bm-muted); font-size: .9rem; line-height: 1.5; margin: 0; }
.bm-event-badge {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(34,197,94,.16);
    color: var(--bm-green-2);
    border: 1px solid rgba(34,197,94,.35);
}

/* Gallery */
.bm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.bm-gallery-item {
    background: var(--bm-card);
    border: 1px solid var(--bm-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.bm-gallery-media {
    aspect-ratio: 16 / 9;
    background: #0a0f1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.bm-gallery-media img,
.bm-gallery-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.bm-gallery-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.bm-gallery-caption { color: #e2e8f0; font-size: .92rem; margin: 0; }
.bm-gallery-footer { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px 12px; color: var(--bm-mute2); font-size: 12px; }
.bm-vote-btn {
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.32);
    color: var(--bm-green-2);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.bm-vote-btn[disabled], .bm-vote-btn.voted { opacity: .6; cursor: default; }

.bm-video-embed { width: 100%; height: 100%; border: 0; }

/* Subtabs (content -> news/events/pages) */
.bm-subtabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--bm-border);
    margin: 0 0 18px;
    flex-wrap: wrap;
}
.bm-subtab {
    padding: 8px 16px;
    color: var(--bm-mute2);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.bm-subtab:hover { color: #fff; }
.bm-subtab.active { color: #fff; border-bottom-color: var(--bm-green-2); }

