@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');
:root{--bg:#090e15;--panel:#15202c;--border:#344b60;--text:#edf2f4;--muted:#9caebb;--gold:#e9b45b;--red:#f06c6b;--green:#7bdbc0}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;color:var(--text);font:14px Inter,Arial,sans-serif;background:linear-gradient(110deg,#080d14ee,#0c1724ed),radial-gradient(ellipse at 80% 0%,#607b7a,transparent 60%),#0b1018}
body:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.17;background:repeating-linear-gradient(120deg,transparent 0 90px,#a4b2bd 91px,#a4b2bd 92px)}
a{color:var(--gold);text-decoration:none}a:hover{color:#ffda97}.topbar{position:sticky;top:0;z-index:9;background:#0a111cf7;border-bottom:3px solid var(--gold);box-shadow:0 12px 40px #0009}.top-inner{max-width:1450px;min-height:86px;margin:auto;padding:16px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:14px;font:700 30px Rajdhani,Arial;color:white;letter-spacing:1.5px}.brand-icon{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;background:linear-gradient(130deg,#ffdc93,#bd7f29);color:#111a23;transform:skew(-8deg);border:1px solid #ffe0a5;box-shadow:0 0 25px #e9b45b55}.brand small{display:block;font:700 10px Inter,Arial;color:#a9b7c4;letter-spacing:2px;margin-top:3px}.accent{color:var(--gold)}nav{display:flex;flex-wrap:wrap;gap:8px}nav a{padding:12px 15px;border:1px solid #334456;background:#162333;color:#e5edf5;font:700 14px Rajdhani;letter-spacing:1px;text-transform:uppercase}nav a:hover{background:#273e50;border-color:var(--gold)}.container{max-width:1450px;margin:auto;padding:36px 28px}.page-heading{padding:28px 30px;background:linear-gradient(110deg,#1e3043,#101a26);border:1px solid #42576a;border-left:5px solid var(--gold);margin-bottom:26px;box-shadow:0 20px 50px #0006}.eyebrow{font:700 12px Rajdhani;letter-spacing:3px;color:var(--gold)}.page-heading h1{margin:8px 0;font:700 clamp(32px,4vw,54px) Rajdhani;letter-spacing:1.5px;text-transform:uppercase}.subtitle{color:var(--muted)}h2{font:700 25px Rajdhani;letter-spacing:1px;text-transform:uppercase;color:#f4c778}.card,.scroll,.stat{background:linear-gradient(140deg,#1b2b3b,#111c29);border:1px solid var(--border);box-shadow:0 15px 35px #0005}.card{padding:24px;margin:20px 0;border-top:3px solid var(--gold)}.scroll{overflow-x:auto;margin:18px 0}table{width:100%;min-width:950px;border-collapse:collapse}th{background:#263b4d;color:#f3c77e;font:700 14px Rajdhani;letter-spacing:1px;text-transform:uppercase}td,th{padding:15px 13px;border-bottom:1px solid #33495b;text-align:left}td{font-size:13px}tbody tr:nth-child(even){background:#ffffff04}tbody tr:hover{background:#e9b45b10}input,select,button,.gamer-btn{font:700 14px Rajdhani;letter-spacing:.4px;padding:12px 15px;border-radius:2px;max-width:100%}input,select{background:#0b1723;color:#edf2f4;border:1px solid #4a6175;outline:0;margin:5px}input:focus,select:focus{border-color:var(--gold)}button,.gamer-btn{display:inline-block;cursor:pointer;background:linear-gradient(110deg,#ffd48b,#d49a3d);border:0;color:#101a23;text-transform:uppercase;margin:5px}button:hover,.gamer-btn:hover{filter:brightness(1.1);color:#101a23}.gamer-btn.secondary,.inline-action button{background:#345066;color:white}.gamer-btn.danger,.danger-button{background:#a93f49;color:white}form{max-width:100%}.card form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.card form input{flex:2 1 220px}.card form select{flex:1 1 180px}td form{display:inline-block;background:transparent;border:0;padding:0;margin:0}.status{display:inline-block;padding:6px 10px;border:1px solid #647587;font:700 12px Rajdhani;letter-spacing:1px;text-transform:uppercase}.status.active{color:#ffa3a3;background:#94383d44;border-color:#bd545a}.status.expired{color:#f3d291;background:#a0783344;border-color:#ab8a49}.status.removed{color:#9de7c6;background:#2d715344;border-color:#4e9879}.statline{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin:22px 0}.stat{padding:22px;border-left:4px solid var(--gold)}.stat strong{display:block;color:var(--gold);font:700 40px Rajdhani}.player-link{color:#f2c574;font-weight:700}.profile{border-left:5px solid var(--gold)}.pagination{display:flex;flex-wrap:wrap;gap:7px;margin:25px 0}.pagination a,.pagination span{padding:10px 14px;background:#21374a;border:1px solid #466074;color:#e8eff5}.pagination .selected{background:var(--gold);color:#101a23}.footer{text-align:center;margin-top:60px;padding:28px;border-top:1px solid #43566b;color:#a8b5c2;font:700 12px Rajdhani;letter-spacing:2px}.footer span{color:var(--gold)}.chart-bars{height:230px;display:flex;gap:9px;align-items:flex-end;overflow:auto}.chart-col{flex:1;min-width:36px;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;color:var(--gold)}.chart-track{height:175px;width:100%;display:flex;align-items:flex-end;background:#0c1722}.chart-fill{width:100%;background:linear-gradient(#f4d08a,#aa7935)}.rank-item{padding:15px 0;border-bottom:1px solid #36495a}.rank-heading{display:flex;justify-content:space-between;gap:12px}.rank-track{height:12px;background:#101e2b}.rank-fill{height:100%;background:linear-gradient(90deg,#738e9c,#f0b955)}
@media(max-width:760px){.top-inner{flex-direction:column;align-items:flex-start;padding:16px}.container{padding:18px 12px}.page-heading{padding:20px 16px}.card{padding:15px}.card form{display:block}.card form input,.card form select,.card form button{width:100%;margin:6px 0}nav a{padding:8px 10px}}

/* Personalizacao HeadGames: coloque os arquivos em assets/ */
body.hg-with-background{background:#0b1018 url('assets/fundo.jpg') center center / cover fixed no-repeat}
body.hg-with-background::before{display:none}
.brand-logo{display:block;max-width:220px;max-height:72px;width:auto;height:auto;object-fit:contain}
@media(max-width:760px){.brand-logo{max-width:150px;max-height:55px}}

/* Logo substitui o texto original da marca, sem cortar ou desfocar */
.brand.hg-brand-image{display:inline-flex;align-items:center;max-width:100%;line-height:1}
.brand.hg-brand-image .brand-logo{display:block;width:auto;height:auto;max-width:min(340px,70vw);max-height:80px;object-fit:contain;filter:none;opacity:1}
@media(max-width:760px){.brand.hg-brand-image .brand-logo{max-width:min(280px,90vw);max-height:68px}}
