:root {
  --bg: #07090c;
  --bg2: #0d1117;
  --card: #111820;
  --card2: #16202a;
  --line: #1f2a36;
  --text: #e6edf3;
  --muted: #8b98a8;
  --acc: #e11d2e;
  --acc2: #ff4655;
  --good: #22c55e;
  --good2: #4ade80;
  --ct: #5aa7ff;
  --t: #f5b73b;
  --red: #ef4444;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; color: var(--text); font: 15px/1.5 Inter, system-ui, sans-serif;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255,70,85,.10), transparent 60%),
    radial-gradient(900px 400px at -10% 10%, rgba(255,70,85,.05), transparent 60%),
    var(--bg);
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--acc2); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
main.wrap { flex: 1; padding-top: 28px; padding-bottom: 48px; }
.muted { color: var(--muted); }
h1, h2, h3, .display { font-family: Rajdhani, Inter, sans-serif; letter-spacing: .02em; margin: 0; }
h1 { font-size: 40px; line-height: 1.05; }
h2 { font-size: 24px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 36px 0 14px; }
.section-title h2::before { content: ""; display: inline-block; width: 4px; height: 18px; background: var(--acc); border-radius: 2px; margin-right: 10px; vertical-align: -2px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: rgba(7,9,12,.78); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .08em; }
.brand b { color: var(--acc); }
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--card); }
.nav a.on { color: var(--text); background: var(--card2); box-shadow: inset 0 -2px 0 var(--acc); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700;
  background: linear-gradient(135deg, var(--acc2), #b3121f); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(255,70,85,.6); transition: transform .15s, box-shadow .15s; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(255,70,85,.75); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-ghost { background: var(--card2); color: var(--text); box-shadow: none; border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--acc); }

/* cards */
.card { background: linear-gradient(180deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: var(--radius); }
.pad { padding: 20px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* hero */
.hero { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); min-height: 300px;
  display: grid; grid-template-columns: 1.4fr 1fr; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; filter: saturate(1.1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,12,.97) 20%, rgba(7,9,12,.55) 70%, rgba(7,9,12,.85)); }
.hero > div { position: relative; z-index: 1; padding: 36px; }
.hero .tag { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--acc2);
  background: rgba(255,70,85,.1); border: 1px solid rgba(255,70,85,.3); padding: 4px 10px; border-radius: 99px; margin-bottom: 14px; }
.hero p { color: var(--muted); max-width: 520px; margin: 12px 0 22px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.addr { font-family: ui-monospace, Menlo, monospace; font-size: 14px; }
.live { align-self: center; justify-self: end; width: 100%; max-width: 340px; }
.live .card { background: rgba(13,17,23,.85); backdrop-filter: blur(6px); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); display: inline-block; }
.dot.on { background: var(--good); box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--acc), var(--acc2)); border-radius: 99px; }

/* stat tiles */
.stat { padding: 18px 20px; }
.stat .v { font-family: Rajdhani, sans-serif; font-size: 34px; font-weight: 700; line-height: 1; }
.stat .l { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th a { color: var(--muted); } th a.on { color: var(--acc2); }
td { padding: 12px 14px; border-bottom: 1px solid rgba(31,42,54,.6); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.02); }
td.num, th.num { text-align: right; }
.rank { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 18px; color: var(--muted); width: 40px; }
.rank.r1 { color: #facc15; } .rank.r2 { color: #cbd5e1; } .rank.r3 { color: #d97706; }
.pl { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.avatar { --h: 140; width: 34px; height: 34px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; flex: none;
  background: linear-gradient(135deg, hsl(var(--h) 60% 45%), hsl(calc(var(--h) + 40) 60% 30%)); color: #fff; }
.avatar.lg { width: 84px; height: 84px; font-size: 30px; border-radius: 20px; }
.rt { font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.rt.good { color: var(--good2); background: rgba(34,197,94,.12); }
.rt.mid { color: var(--text); background: rgba(255,255,255,.06); }
.rt.bad { color: #f87171; background: rgba(239,68,68,.12); }
.pos { color: var(--good2); } .neg { color: #f87171; }

/* match cards */
.match { display: block; position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.match:hover { transform: translateY(-2px); border-color: rgba(255,70,85,.5); color: inherit; }
.match .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.match::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,12,.3), rgba(7,9,12,.95)); }
.match .in { position: relative; z-index: 1; padding: 18px; }
.match .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 18px; }
.score .tn { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score .tn:last-child { text-align: right; }
.score .sc { font-family: Rajdhani, sans-serif; font-size: 30px; font-weight: 700; }
.win { color: var(--good2); } .lose { color: var(--muted); }
.pill { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--card2); border: 1px solid var(--line); color: var(--muted); }
.pill.green { color: var(--good2); border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.08); }
.pill.red { color: #f87171; border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.08); }

/* match page */
.mhead { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); }
.mhead .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .4; }
.mhead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,12,.4), rgba(7,9,12,.95)); }
.mhead .in { position: relative; z-index: 1; padding: 40px 24px 28px; text-align: center; }
.big-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin: 18px auto 10px; max-width: 760px; }
.big-score .tn { font-family: Rajdhani, sans-serif; font-size: 28px; font-weight: 700; }
.big-score .tn:first-child { text-align: right; } .big-score .tn:last-child { text-align: left; }
.big-score .sc { font-family: Rajdhani, sans-serif; font-size: 64px; font-weight: 700; line-height: 1; }
.team-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.team-h h3 { font-size: 20px; }

/* profile */
.profile { display: flex; gap: 20px; align-items: center; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.tabs a { padding: 8px 14px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.tabs a.on { color: var(--text); border-color: var(--acc); }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty b { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }

.foot { border-top: 1px solid var(--line); background: var(--bg2); }
.foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 16px; font-size: 14px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .live { justify-self: stretch; max-width: none; padding-top: 0 !important; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  h1 { font-size: 30px; }
  .hero > div { padding: 22px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .topbar-in { gap: 12px; }
  .brand span { display: none; }
  .connect { display: none; }
  .big-score .tn { font-size: 18px; } .big-score .sc { font-size: 40px; }
  .profile { flex-direction: column; text-align: center; }
}

/* ---------- v2: niveluri, podium, profil, animatii ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head p { margin: 8px 0 0; max-width: 640px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
img.avatar { object-fit: cover; background: var(--card2); }
.avatar.xl { width: 104px; height: 104px; border-radius: 24px; font-size: 36px; }
.lvl { flex: none; display: inline-block; vertical-align: middle; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.elo-cell { display: inline-flex; align-items: center; gap: 8px; }
.mapthumb { width: 44px; height: 28px; object-fit: cover; border-radius: 6px; }

.podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 16px; align-items: end; margin-bottom: 18px; }
.podium-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 16px 20px; text-align: center; position: relative; overflow: hidden; }
.podium-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; }
.podium-card.p1 { padding-top: 38px; border-color: rgba(250,204,21,.45); background: linear-gradient(180deg, rgba(250,204,21,.10), var(--bg2) 70%); }
.podium-card.p1::before { background: #facc15; }
.podium-card.p2::before { background: #cbd5e1; }
.podium-card.p3::before { background: #d97706; }
.podium-card:hover { color: inherit; border-color: var(--acc); }
.podium-place { font-size: 28px; line-height: 1; }
.podium-name { font-size: 18px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-elo { display: inline-flex; align-items: center; gap: 8px; font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 20px; }

.levels { margin-top: 16px; }
.levels-row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin-top: 12px; }
.levels-row > div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; }

.profile-card { padding: 28px; position: relative; overflow: hidden; }
.profile-card::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--lc) 22%, transparent), transparent 65%); pointer-events: none; }
.profile-card h1 { font-size: 44px; }
.elo-box { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 16px; }
.form { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.fm { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.fm.w { background: rgba(34,197,94,.18); color: var(--good2); }
.fm.l { background: rgba(239,68,68,.16); color: #f87171; }
.chart { width: 100%; height: 200px; display: block; }
.chart .gl { stroke: var(--line); stroke-dasharray: 4 6; }
.chart .gt { fill: var(--muted); font-size: 11px; font-family: Inter, sans-serif; }

.rules h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rule-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--line); font-size: 18px; }
.rules ul { margin: 0; padding-left: 18px; color: #c9d4df; }
.rules li { margin: 8px 0; }
.rules li::marker { color: var(--acc); }
code, .cmd { font-family: ui-monospace, Menlo, monospace; background: rgba(255,70,85,.1); color: var(--acc2); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.cmd { font-size: 15px; font-weight: 600; }

/* intrare animata */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
  .grid > .reveal:nth-child(2) { animation-delay: .05s; } .grid > .reveal:nth-child(3) { animation-delay: .1s; }
  .grid > .reveal:nth-child(4) { animation-delay: .15s; } .grid > .reveal:nth-child(5) { animation-delay: .2s; }
  .grid > .reveal:nth-child(n+6) { animation-delay: .25s; }
  .match, .card.stat { transition: transform .18s, border-color .18s, box-shadow .18s; }
  .card.stat:hover { transform: translateY(-2px); border-color: rgba(255,70,85,.35); }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .podium { grid-template-columns: 1fr; }
  .podium-card.p1 { order: -1; }
  .levels-row { grid-template-columns: repeat(5, 1fr); }
  .profile { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .profile-card h1 { font-size: 30px; }
  .elo-box { width: 100%; }
  .elo-box .bar { width: 100% !important; }
}

/* ---------- v3: corecturi ---------- */
.hero > .hero-bg { position: absolute; padding: 0; }
.hero > .hero-bg + div { grid-column: 1; }
.home-cols { grid-template-columns: 1.5fr 1fr; align-items: start; }
@media (max-width: 900px) { .home-cols { grid-template-columns: 1fr; } }

/* ---------- v4: comunitate ---------- */
.btn-steam { background: linear-gradient(135deg, #2a475e, #1b2838); color: #fff; box-shadow: 0 8px 24px -10px rgba(42,71,94,.9); white-space: nowrap; }
.btn-steam:hover { color: #fff; }
.usermenu { position: relative; }
.usermenu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 8px 4px 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu summary .avatar { width: 30px; height: 30px; }
.um-name { font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-drop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; display: flex; flex-direction: column; z-index: 20; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); }
.um-drop a, .um-drop button { padding: 10px 12px; border-radius: 8px; text-align: left; font: inherit; color: var(--text); background: none; border: 0; cursor: pointer; width: 100%; }
.um-drop a:hover, .um-drop button:hover { background: var(--card2); color: var(--acc2); }
.flash { margin-bottom: 18px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(34,197,94,.35); background: rgba(34,197,94,.08); color: var(--good2); font-weight: 600; }
.flash.err { border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.08); color: #f87171; }

.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; padding: 32px 16px 20px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-grid b { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.foot-grid a:not(.brand) { color: #c9d4df; } .foot-grid a:not(.brand):hover { color: var(--acc2); }
.foot-bottom { border-top: 1px solid var(--line); padding: 14px 16px; font-size: 13px; }

/* anunturi */
.news-card { display: grid; grid-template-columns: 6px 1fr; overflow: hidden; }
.news-card::before { content: ""; background: var(--acc); }
.news-card.cat-eveniment::before { background: #facc15; } .news-card.cat-update::before { background: var(--ct); } .news-card.cat-turneu::before { background: #f97316; }
.news-card .in { padding: 22px 24px; }
.news-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.news-card h2 a:hover { color: var(--acc2); }
.prose { color: #d3dde7; line-height: 1.7; }
.prose p { margin: 0 0 12px; } .prose a { color: var(--acc2); text-decoration: underline; }
.cat { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; }

/* staff */
.staff-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 28px 18px; position: relative; overflow: hidden; }
.staff-card .avatar { width: 96px; height: 96px; border-radius: 24px; font-size: 32px; }
.role { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 99px; }
.role-owner { color: #facc15; background: rgba(250,204,21,.12); border: 1px solid rgba(250,204,21,.35); }
.role-admin { color: #f87171; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); }
.role-moderator { color: var(--ct); background: rgba(90,167,255,.1); border: 1px solid rgba(90,167,255,.3); }

/* formulare */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; }
.form textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(255,70,85,.45); border-color: var(--acc); }
.form .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-danger { background: rgba(239,68,68,.12); color: #f87171; border: 1px solid rgba(239,68,68,.35); box-shadow: none; }
.btn-danger:hover { color: #fff; background: #dc2626; }
.inline { display: inline; }
.status-open { color: #facc15; } .status-accepted { color: var(--good2); } .status-rejected { color: #f87171; }
.appeal { padding: 20px 22px; }
.appeal .reply { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--acc); background: rgba(255,70,85,.06); border-radius: 0 10px 10px 0; }

@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .um-name { display: none; }
  .btn-steam { padding: 8px 10px; }
}

.news-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.news-line span:first-child { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-line span:last-child { white-space: nowrap; font-size: 13px; }
.discord-cta { display: flex; flex-direction: column; gap: 10px; background: linear-gradient(135deg, rgba(88,101,242,.18), var(--bg2)); border-color: rgba(88,101,242,.35); }
.discord-cta:hover { color: inherit; border-color: #5865f2; }

/* ---------- v5: Redline ---------- */
.redline-word { color: var(--acc2); background: linear-gradient(90deg, #ff4655, #e11d2e 60%, #ff7a45); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; background: linear-gradient(90deg, transparent, #ff4655 30%, #e11d2e 70%, transparent); }
.topbar { border-bottom-color: rgba(255,70,85,.18); }

.foot-grid .brand b { font-size: inherit; text-transform: none; letter-spacing: inherit; color: var(--acc); margin: 0; }

/* ---------- v7: public clasic ---------- */
.c-ct { color: #5aa7ff; } .c-t { color: #f5b73b; }
.score .side-ct, .score .side-t { font-family: Rajdhani, sans-serif; font-size: 20px; letter-spacing: .08em; }
.score .side-ct { color: #5aa7ff; } .score .side-t { color: #f5b73b; }
.mvp-line { margin-top: 12px; font-size: 13px; color: #c9d4df; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.week-card { display: flex; flex-direction: column; gap: 12px; background: linear-gradient(135deg, rgba(255,70,85,.14), var(--bg2)); border-color: rgba(255,70,85,.3); }
.week-card:hover { color: inherit; border-color: var(--acc); }
.rk { flex: none; display: inline-block; vertical-align: middle; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
.ranks-legend { margin-top: 16px; }
.ranks-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px 8px; margin-top: 14px; }
.ranks-row > div { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; text-align: center; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 150px; }
.bcol { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.bcol i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: var(--line); }
.bcol i.on { background: linear-gradient(180deg, #ff4655, #b3121f); }
.bcol span { font-size: 11px; color: var(--muted); }
.wrow { display: grid; grid-template-columns: 120px 1fr 44px; gap: 12px; align-items: center; padding: 7px 0; }
.wrow .bar { margin: 0; } .wrow b { text-align: right; }
.popular { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
@media (max-width: 900px) { .ranks-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .ranks-row { grid-template-columns: repeat(3, 1fr); } .wrow { grid-template-columns: 90px 1fr 36px; } }

@media (max-width: 640px) { .foot-grid .brand span { display: inline; } }

/* ---------- v8: live ---------- */
.live-wrap[hidden] { display: none; }
.live-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.live-score { font-family: Rajdhani, sans-serif; font-size: 28px; font-weight: 700; }
.live-team.ct { border-top: 3px solid #5aa7ff; } .live-team.t { border-top: 3px solid #f5b73b; }
.live-team td { padding: 8px 12px; } .live-team th { padding: 10px 12px; }
.live-team tr.dead td { opacity: .5; }
.avatar.bot { width: 22px; height: 22px; font-size: 8px; border-radius: 6px; background: #1f2a36; color: #8b98a8; }
.live-team .avatar { width: 26px; height: 26px; font-size: 11px; }

/* ---------- v9: realizari ---------- */
.ach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ach { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); opacity: .62; filter: grayscale(.8); transition: opacity .2s, filter .2s; }
.ach:hover { opacity: .9; filter: none; }
.ach.done { opacity: 1; filter: none; border-color: rgba(250,204,21,.35); background: linear-gradient(135deg, rgba(250,204,21,.09), var(--bg2)); }
.ach-ico { font-size: 26px; line-height: 1; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--card2); flex: none; }
.ach.done .ach-ico { background: rgba(250,204,21,.14); box-shadow: 0 0 0 1px rgba(250,204,21,.35) inset; }
.ach-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ach-txt b { font-size: 14px; } .ach-txt .muted { font-size: 12px; }
.ach-txt .bar { height: 5px; margin-top: 6px; }
.ach-num { font-size: 11px; color: var(--muted); }
@media (max-width: 900px) { .ach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ach-grid { grid-template-columns: 1fr; } }

/* ---------- v11: misiuni, evenimente, VIP, clanuri ---------- */
.pill.gold { color: #facc15; border-color: rgba(250,204,21,.35); background: rgba(250,204,21,.08); }
.event-banner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 16px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(250,204,21,.16), rgba(255,70,85,.10)); border: 1px solid rgba(250,204,21,.35); }
.event-x { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 38px; color: #facc15; line-height: 1; }
.missions { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.mission { display: flex; gap: 14px; padding: 18px; }
.mission.done { border-color: rgba(34,197,94,.4); background: linear-gradient(135deg, rgba(34,197,94,.08), var(--bg2)); }
.m-ico { font-size: 28px; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--card2); flex: none; }
.m-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.m-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.m-num { font-size: 12px; color: var(--muted); }
.daily-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.daily { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.daily b { font-family: Rajdhani, sans-serif; font-size: 18px; color: var(--text); }
.daily.on { border-color: rgba(255,70,85,.5); background: rgba(255,70,85,.1); } .daily.on b { color: var(--acc2); }
.vip-badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 2px 6px; border-radius: 5px;
  color: #1a1300; background: linear-gradient(135deg, #fde68a, #f59e0b); vertical-align: middle; }
.clan-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 5px; color: #cbd5e1; background: #1f2a36; vertical-align: middle; }
@media (max-width: 640px) { .daily-row { grid-template-columns: repeat(4, 1fr); } .missions { grid-template-columns: 1fr; } }

.clan-emblem { width: 104px; height: 104px; border-radius: 24px; display: grid; place-items: center; flex: none; font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 30px; letter-spacing: .06em; color: #fff; background: linear-gradient(135deg, #ff4655, #7f1d1d); box-shadow: 0 10px 30px -10px rgba(255,70,85,.6); }

.vip-card { background: linear-gradient(135deg, rgba(250,204,21,.08), var(--bg2)); border-color: rgba(250,204,21,.3); }
.vip-perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.vip-perks span { padding: 10px 12px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); font-size: 14px; }
.vip-list { display: flex; flex-wrap: wrap; gap: 14px; }
a.event-banner:hover { color: inherit; border-color: #facc15; }
@media (max-width: 640px) { .vip-perks { grid-template-columns: 1fr; } }
