/* ============================================================
   GC-BRAZA - tema escuro com as cores do Brasil
   ============================================================ */

:root {
    --bg: #070a12;
    --bg-2: #0f1320;
    --bg-3: #171c2b;
    --surface: rgba(255,255,255,0.04);
    --surface-2: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.1);
    --text: #e8eaf0;
    --text-muted: #a3acbb;
    --accent: #009c3b;          /* verde */
    --accent-2: #ffdf00;        /* amarelo */
    --accent-3: #1f4fd1;        /* azul */
    --accent-rgb: 0,156,59;
    --accent-2-rgb: 255,223,0;
    --gold: #ffdf00;
    --success: #3ddc97;
    --danger: #ff5a5f;
    --info: #4ea8ff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 12px 40px rgba(0,0,0,0.5);
    --container: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body {
    margin: 0; padding: 0;
    background: var(--bg); color: var(--text);
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: #fff36b; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 5px; font-size: .9em; }
h1, h2, h3 { line-height: 1.2; }
.h1 { font-size: clamp(36px, 6vw, 76px); font-weight: 900; line-height: 1.02; margin: 0 0 18px; letter-spacing: -1.5px; }
.h2 { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }

:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--accent-2); color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }

/* ---------- Top status bar ---------- */
.topbar {
    background: linear-gradient(90deg, #0b0f1a, #14192a);
    border-bottom: 1px solid var(--border);
    font-size: 13px; padding: 8px 0;
}
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.topbar-status { display: flex; flex-wrap: wrap; gap: 18px; }
.topbar-status span { color: var(--text-muted); }
.topbar-status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot.online { background: var(--success); box-shadow: 0 0 8px var(--success); }
.dot.offline { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.dot.unknown { background: #6b7280; }
.st-online { color: var(--success); }
.st-offline { color: var(--danger); }
.st-unknown { color: var(--text-muted); }
.st-gold { color: var(--gold); }
.topbar-auth { display: flex; gap: 14px; align-items: center; }
.topbar-auth a { color: var(--text); font-weight: 500; }
.topbar-auth a:hover { color: var(--accent-2); }
.topbar-auth .hello { color: var(--text-muted); }
.topbar-auth .btn-sm { padding: 4px 12px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 12px; border: 0; cursor: pointer; font-family: inherit; font-weight: 600; }
.topbar-auth .btn-sm:hover { background: var(--accent-2); color: #000; }
.inline-form { display: inline; margin: 0; }

/* ---------- Header / Navbar ---------- */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(7,10,18,0.85);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: 1px; color: #fff; }
.brand:hover { color: #fff; }
.brand-logo { width: auto; height: 50px; filter: drop-shadow(0 3px 10px rgba(var(--accent-rgb),0.45)); transition: transform .25s; }
.brand:hover .brand-logo { transform: rotate(-3deg) scale(1.05); }
.brand span b { color: var(--accent-2); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a {
    display: block; padding: 8px 14px; color: var(--text); font-weight: 500; font-size: 15px;
    border-radius: 8px; transition: background .2s, color .2s;
}
.nav-links > li > a:hover, .nav-links > li.active > a { background: var(--surface-2); color: #fff; }
.nav-links > li.active > a { box-shadow: inset 0 -2px 0 var(--accent-2); }
.nav-links .nav-discord { color: #a5b4fc; }
.nav-links .dropdown {
    display: none; position: absolute; top: 100%; left: 0; min-width: 210px; list-style: none; margin: 0;
    background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 6px; box-shadow: var(--shadow);
}
.nav-links li:hover .dropdown, .nav-links li:focus-within .dropdown { display: block; }
.nav-links .dropdown a { display: block; padding: 8px 12px; color: var(--text); border-radius: 6px; font-size: 14px; }
.nav-links .dropdown a:hover { background: var(--surface-2); color: #fff; }

.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }

.mobile-menu {
    visibility: hidden; position: fixed; inset: 0; z-index: 1100;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s, visibility .25s;
}
.mobile-menu.open { visibility: visible; opacity: 1; }
.mobile-menu .panel {
    position: absolute; top: 0; left: 0; width: 300px; max-width: 85%; height: 100%;
    background: var(--bg-2); padding: 20px; overflow-y: auto;
    transform: translateX(-100%); transition: transform .3s ease;
}
.mobile-menu.open .panel { transform: translateX(0); }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu a { display: flex; gap: 10px; align-items: center; padding: 12px 8px; color: var(--text); border-bottom: 1px solid var(--border); font-weight: 500; }
.mobile-menu a i { width: 18px; color: var(--accent-2); }
.mobile-menu a:hover { color: var(--accent-2); }
.mobile-menu .close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; height: 88vh; min-height: 520px; max-height: 860px; overflow: hidden; background: #000; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
    background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(7,10,18,0.94) 0%, rgba(7,10,18,0.6) 50%, rgba(7,10,18,0.35) 100%),
                linear-gradient(0deg, var(--bg) 0%, transparent 25%);
}
.hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 15% 50%, rgba(var(--accent-rgb),0.30), transparent 55%),
               radial-gradient(circle at 85% 80%, rgba(var(--accent-2-rgb),0.12), transparent 55%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-text { max-width: 640px; }
.hero-kicker {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: rgba(var(--accent-rgb),0.2); border: 1px solid rgba(var(--accent-rgb),0.55);
    color: var(--accent-2); font-size: 13px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 18px;
}
.hero-text h1 { font-size: clamp(36px, 6vw, 76px); font-weight: 900; line-height: 1.02; margin: 0 0 18px; letter-spacing: -1.5px; }
.grad { background: linear-gradient(90deg, #19d15f, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text p { font-size: clamp(16px, 2vw, 20px); color: #c4cad6; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo {
    position: absolute; z-index: 2; right: 6%; top: 50%; transform: translateY(-50%);
    width: min(420px, 32vw); height: auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,.7));
    animation: flutuar 6s ease-in-out infinite; pointer-events: none;
}
@keyframes flutuar { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 12px)); } }

.hero-nav { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: all .3s; padding: 0; }
.hero-dot.active { background: var(--accent-2); width: 36px; border-radius: 6px; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: 1px solid var(--border);
    color: #fff; font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.hero-arrow:hover { background: var(--accent); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
    border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid transparent; font-family: inherit;
    cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, #00b847, var(--accent)); color: #fff; box-shadow: 0 6px 22px rgba(var(--accent-rgb),0.4); }
.btn-primary:hover { color: #fff; box-shadow: 0 8px 28px rgba(var(--accent-rgb),0.55); }
.btn-ghost { background: var(--surface); color: #fff; border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold), #ffb300); color: #1a1200; box-shadow: 0 6px 22px rgba(var(--accent-2-rgb),0.25); }
.btn-gold:hover { color: #1a1200; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }
.btn.is-disabled { opacity: .6; cursor: default; transform: none; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); }
.section-title { font-size: clamp(26px, 4vw, 44px); font-weight: 800; margin: 0 0 8px; letter-spacing: -0.5px; }
.section-sub { color: var(--text-muted); margin: 0 0 32px; max-width: 760px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.section-head .section-sub { margin-bottom: 0; }
.cta { background: radial-gradient(ellipse at top, rgba(var(--accent-rgb),0.22), transparent 60%), linear-gradient(135deg, rgba(var(--accent-2-rgb),0.08), rgba(31,79,209,0.12)); }

/* ---------- Cards ---------- */
.card {
    background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; transition: transform .25s, border-color .25s, box-shadow .25s; color: var(--text);
}
a.card:hover, .grid > .card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb),0.55); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.section-alt .card { background: var(--bg-3); }
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.card p { color: var(--text-muted); margin: 0; font-size: 14px; }
.card-title { font-size: 19px; font-weight: 800; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.card-title i { color: var(--accent-2); }

.grid { display: grid; gap: 22px; }
.grid-1 { grid-template-columns: 1fr; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2-1 { grid-template-columns: 2fr 1fr; }

/* ---------- Status cards ---------- */
.status-card { text-align: center; }
.status-card .val { font-size: 38px; font-weight: 900; background: linear-gradient(90deg, #19d15f, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.25; }
.status-card .val.val-off { background: none; color: var(--danger); -webkit-text-fill-color: var(--danger); }
.status-card .val-sub { font-size: 20px; opacity: .8; }
.status-card .lbl { color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ---------- Auto-rotating news banner ---------- */
.news-banner { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); min-height: 340px; }
.news-banner-slides { position: relative; width: 100%; height: 340px; }
.news-slide { position: absolute; inset: 0; display: flex; align-items: stretch; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.news-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.news-slide-img { flex: 1 1 55%; background-size: cover; background-position: center; position: relative; }
.news-slide-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--bg-2) 100%); }
.news-slide-body { flex: 1 1 45%; padding: 30px 30px 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--bg-2); }
.tag { color: var(--accent-2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: inline-block; }
.news-slide-body h3 { font-size: 24px; font-weight: 800; margin: 0 0 12px; line-height: 1.2; }
.news-slide-body p { color: var(--text-muted); margin: 0 0 18px; font-size: 14px; }
.news-banner-dots { position: absolute; bottom: 16px; right: 30px; z-index: 3; display: flex; gap: 8px; }
.news-banner-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: all .3s; padding: 0; }
.news-banner-dots button.active { background: var(--accent-2); width: 28px; border-radius: 5px; }

/* ---------- Gallery slider ---------- */
.gallery-slider { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery-track { display: flex; gap: 16px; transition: transform .5s ease; }
.gallery-item { flex: 0 0 calc(33.333% - 11px); border-radius: var(--radius-sm); overflow: hidden; position: relative; cursor: pointer; margin: 0; }
.gallery-item img { width: 100%; height: 230px; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
    position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85));
    display: flex; align-items: flex-end; padding: 14px; color: #fff; font-weight: 700; font-size: 14px; opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-nav { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.gallery-nav button { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: #fff; cursor: pointer; font-size: 14px; transition: background .2s; }
.gallery-nav button:hover { background: var(--accent); }

/* ---------- Features ---------- */
.feature { text-align: center; }
.feature .icon {
    width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb),0.25), rgba(var(--accent-2-rgb),0.12));
    border: 1px solid rgba(var(--accent-rgb),0.4);
    display: grid; place-items: center; font-size: 26px; color: var(--accent-2);
}
.feature h3 { font-size: 18px; margin: 0 0 8px; }

/* ---------- Download ---------- */
.download-card { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.download-card .icon { width: 60px; height: 60px; border-radius: 14px; background: rgba(var(--accent-rgb),0.15); display: grid; place-items: center; font-size: 28px; color: var(--accent-2); flex-shrink: 0; }
.download-card .info { flex: 1; min-width: 200px; }
.download-card .info h3, .download-card .info h2 { margin: 0 0 2px; }
.download-card .info .meta { color: var(--text-muted); font-size: 13px; }
.download-card .btn { margin-left: auto; }
.steps { margin: 0; padding-left: 20px; color: var(--text-muted); }
.steps li { margin-bottom: 8px; }
.steps strong { color: var(--text); }

/* ---------- Ranking ---------- */
.ranking-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs-center { justify-content: center; }
.tab-btn {
    padding: 10px 18px; border-radius: 10px; background: var(--surface); color: var(--text); font-family: inherit;
    border: 1px solid var(--border); cursor: pointer; font-weight: 600; font-size: 14px; transition: all .2s; display: inline-block;
}
.tab-btn.active { background: linear-gradient(135deg, #00b847, var(--accent)); color: #fff; border-color: transparent; }
.tab-btn:hover:not(.active) { background: var(--surface-2); color: #fff; }
.ranking-panel { display: none; }
.ranking-panel.active { display: block; animation: fadeIn .4s ease; }

.ranking-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.char-filter { display: flex; align-items: center; gap: 10px; margin: 0; }
.char-filter label { color: var(--text-muted); font-size: 13px; font-weight: 600; }
.char-filter select { width: auto; min-width: 190px; padding: 9px 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); font-size: 13px; font-weight: 600; }
.chip:hover { background: var(--surface-2); color: #fff; }
.chip.active { background: rgba(var(--accent-2-rgb),0.15); border-color: var(--accent-2); color: var(--accent-2); }
.search-box { position: relative; min-width: 240px; }
.search-box i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-box input { padding-left: 36px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-2); }
.section-alt .table-wrap { background: var(--bg-3); }
.table-plain { border: 0; background: transparent; border-radius: 0; }
table.ranking { width: 100%; border-collapse: collapse; font-size: 14px; }
table.ranking th, table.ranking td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.ranking th { background: var(--bg-3); color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; position: sticky; top: 0; }
table.ranking tbody tr { transition: background .15s; }
table.ranking tbody tr:hover { background: var(--surface); }
table.ranking tbody tr:last-child td { border-bottom: 0; }
table.ranking tr.me { background: rgba(var(--accent-2-rgb),0.08); box-shadow: inset 3px 0 0 var(--accent-2); }
table.ranking .num { text-align: right; }
table.ranking .pos { font-weight: 800; width: 60px; }
table.ranking .pos.gold { color: var(--gold); }
table.ranking .pos.silver { color: #c0c0c0; }
table.ranking .pos.bronze { color: #cd7f32; }
table.ranking .pos.gold::before { content: '\f521'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-right: 6px; }
table.ranking .player { display: flex; align-items: center; gap: 10px; }
.avatar {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 60%), var(--av, var(--accent));
    display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6);
    border: 2px solid rgba(255,255,255,.15);
}
.avatar-guild { border-radius: 10px; background: linear-gradient(135deg, var(--accent), #00702b); }
table.ranking .guild-tag { color: var(--accent-2); font-size: 12px; font-weight: 600; }
table.ranking .score { font-weight: 700; color: var(--gold); }
.empty { padding: 40px 20px; text-align: center; color: var(--text-muted); margin: 0; }

/* ---------- Forms / login ---------- */
.auth-section { background: radial-gradient(ellipse at top, rgba(var(--accent-rgb),0.18), transparent 55%), url('../img/fundo-brasas.webp') center/cover; }
.login-box { max-width: 460px; margin: 0 auto; background: rgba(15,19,32,.94); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.login-head { text-align: center; margin-bottom: 18px; }
.login-head img { width: 160px; margin: 0 auto 8px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)); }
.login-box .sub { color: var(--text-muted); margin: 0; font-size: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.form-control {
    width: 100%; padding: 12px 14px; background: var(--bg-3); border: 1px solid var(--border); font-family: inherit;
    border-radius: 10px; color: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.25); }
.form-control.is-invalid { border-color: var(--danger); }
select.form-control { appearance: auto; }
.hint { display: block; color: var(--text-muted); font-size: 12px; margin-top: 5px; }
.input-pass { position: relative; }
.input-pass .form-control { padding-right: 44px; }
.toggle-pass { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--text-muted); cursor: pointer; padding: 8px; }
.toggle-pass:hover { color: #fff; }
.form-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 13px; gap: 10px; }
.checkbox { display: flex; align-items: flex-start; gap: 8px; color: var(--text-muted); font-size: 13px; }
.checkbox input { margin-top: 3px; accent-color: var(--accent); }
.form-msg { font-size: 13px; color: var(--danger); min-height: 0; margin-bottom: 10px; }
.form-msg:empty { display: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.login-switch { text-align: center; margin-top: 18px; color: var(--text-muted); font-size: 14px; }
.login-switch a { color: var(--accent-2); font-weight: 600; }

/* ---------- Alerts ---------- */
.flash-area { padding-top: 18px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; border: 1px solid; }
.alert-ok { background: rgba(61,220,151,0.1); border-color: rgba(61,220,151,0.4); color: #b8f5d9; }
.alert-erro { background: rgba(255,90,95,0.1); border-color: rgba(255,90,95,0.45); color: #ffc9cb; }
.alert-info { background: rgba(78,168,255,0.1); border-color: rgba(78,168,255,0.4); color: #cfe6ff; }

/* ---------- Conta ---------- */
.info-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.info-list dt { color: var(--text-muted); }
.info-list dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }
.shop-soon { text-align: center; }
.icon-big { font-size: 54px; color: var(--accent-2); margin-bottom: 10px; filter: drop-shadow(0 0 18px rgba(var(--accent-2-rgb),.35)); }
.shop-soon .card-title { justify-content: center; }

/* ---------- Server info ---------- */
.char-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.char-chip { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: color-mix(in srgb, var(--av) 25%, transparent); border: 1px solid color-mix(in srgb, var(--av) 60%, transparent); }
.rules { color: var(--text-muted); padding-left: 20px; margin: 0; }
.rules li { margin-bottom: 8px; }

/* ---------- Noticias ---------- */
.news-card { overflow: hidden; display: block; }
.news-card .thumb { height: 180px; background: var(--bg-3); border-radius: 10px; margin-bottom: 14px; background-size: cover; background-position: center; }
.news-card .date { color: var(--accent-2); font-size: 12px; margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.news-card h2, .news-card h3 { font-size: 17px; color: #fff; }
.back-link { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 16px; font-weight: 600; }
.article { padding: 0; overflow: hidden; }
.article-img { height: 320px; background-size: cover; background-position: center; }
.article-body { padding: 30px; }
.article-body p, .prose p { color: #c4cad6; font-size: 16px; }
.prose h2 { margin-top: 22px; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Loja ---------- */
.saldo-box { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 18px; }
.saldo-box strong { font-size: 22px; color: var(--gold); }
.grid-loja { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.produto { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.produto-img { background: radial-gradient(circle, rgba(var(--accent-rgb),.18), transparent 70%), var(--bg-3); border-radius: 12px; padding: 14px; display: grid; place-items: center; }
.produto-img img { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); transition: transform .25s; }
.produto:hover .produto-img img { transform: scale(1.08) rotate(-3deg); }
.produto h2, .produto h3 { margin: 4px 0 0; }
.produto-entrega { color: var(--accent-2); font-size: 13px; font-weight: 600; }
.produto-desc { font-size: 13px !important; flex: 1; }
.produto-rodape { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); }
.produto-rodape form { margin: 0; }
.preco { font-weight: 800; font-size: 18px; color: var(--gold); }
.preco small { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.lista-simples { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.lista-simples li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.lista-simples li:last-child { border-bottom: 0; }

/* ---------- Admin ---------- */
.link-admin { color: var(--accent-2) !important; }
.thumb-item { width: 44px; height: 44px; object-fit: contain; background: var(--bg-3); border-radius: 8px; padding: 2px; }
td.acoes { display: flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.btn-perigo:hover { background: rgba(255,90,95,.2); border-color: var(--danger); }
.busca-itens { display: flex; gap: 10px; }
.grid-itens { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.item-card { display: flex; gap: 12px; align-items: center; padding: 12px; }
.item-card img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; background: var(--bg-3); border-radius: 10px; }
.item-card strong { color: #fff; }
.desc-curta { margin-top: 2px; line-height: 1.35; }
.previa-item { width: 128px; height: 128px; object-fit: contain; margin: 0 auto; background: var(--bg-3); border-radius: 14px; padding: 8px; }
textarea.form-control { resize: vertical; font-family: inherit; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 60px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--text); font-size: 14px; }
.footer a:hover { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--text-muted); font-size: 13px; }
.footer-bottom a { font-size: 13px; color: var(--text-muted); }

/* ---------- Utilities ---------- */
.badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.badge-online { background: rgba(61,220,151,0.15); color: var(--success); }
.badge-gold { background: rgba(var(--accent-2-rgb),0.15); color: var(--accent-2); }
.muted { color: var(--text-muted); }
.small { font-size: 13px; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }

/* ---------- Animations ---------- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }
.fade-in { animation: fadeIn .5s ease both; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .nav-links > li > a { padding: 8px 10px; font-size: 14px; }
    .hero-logo { display: none; }
}
@media (max-width: 992px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2-1 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .download-card .btn { margin-left: 0; width: 100%; justify-content: center; }
    .gallery-item { flex: 0 0 calc(50% - 8px); }
    .news-slide { flex-direction: column; }
    .news-slide-img { flex: 0 0 180px; }
    .news-slide-img::after { background: linear-gradient(180deg, transparent 50%, var(--bg-2) 100%); }
    .hero-arrow { display: none; }
}
@media (max-width: 600px) {
    .section { padding: 56px 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar .container { flex-direction: column; align-items: flex-start; }
    .topbar-status { gap: 10px 14px; }
    .brand { font-size: 18px; }
    .brand-logo { height: 42px; }
    .hero-slider { height: 74vh; min-height: 480px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    table.ranking th, table.ranking td { padding: 10px 10px; }
    .hide-sm { display: none; }
    .gallery-item { flex: 0 0 85%; }
    .gallery-item img { height: 190px; }
    .news-banner-slides { height: 440px; }
    .news-slide-body { padding: 20px 20px 40px; }
    .news-slide-body h3 { font-size: 20px; }
    .login-box { padding: 26px 20px; }
    .search-box, .char-filter, .char-filter select { width: 100%; }
    .info-list dd { text-align: left; }
    .article-img { height: 200px; }
}

/* ---------- Doação via PIX ---------- */
.badge-alerta { background: rgba(var(--accent-2-rgb),0.15); color: var(--accent-2); }
.badge-erro { background: rgba(255,90,95,0.15); color: var(--danger); }
.grid-doacao { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pacote-doacao { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pacote-doacao .icon-big { margin-bottom: 0; }
.pacote-cash { font-size: 30px; font-weight: 900; color: var(--gold); line-height: 1; }
.pacote-cash small { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.pacote-valor { font-size: 22px; font-weight: 800; }
.pacote-doacao form, .pacote-doacao .btn { width: 100%; }
.pacote-doacao form .btn { width: 100%; justify-content: center; }
.pix-resumo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.pix-resumo > div { display: flex; flex-direction: column; gap: 4px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; }
.pix-resumo strong { font-size: 18px; }
.pix-qr { display: grid; place-items: center; background: #fff; border-radius: var(--radius-sm); padding: 14px; width: max-content; margin: 0 auto 16px; }
.pix-copia { display: flex; flex-direction: column; gap: 8px; }
.pix-copia textarea { font-family: ui-monospace, Consolas, monospace; font-size: 12px; word-break: break-all; resize: none; }
.pix-acoes { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pix-admin-pacotes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 640px) { .pix-resumo { grid-template-columns: 1fr; } }