@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #0a0b12;
    --bg-2: rgba(22, 24, 36, .78);
    --bg-3: rgba(32, 34, 50, .82);
    --line: rgba(120, 110, 170, .22);
    --line-2: rgba(255, 255, 255, .07);
    --text: #e9eaf2;
    --muted: #9a9db5;
    --pink: #d4587f;
    --violet: #7b6cf0;
    --cyan: #5aa9e6;
    --lime: #3ccf8e;
    --gold: #d9b35a;
    --red: #e05263;
    --grad: linear-gradient(135deg, #b45a8a 0%, #6f63d8 55%, #4f8fcc 100%);
    --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.55 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
    overflow-x: hidden;
}

/* ---------- animated background ---------- */
.fx-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background:
    radial-gradient(1200px 700px at 12% -10%, rgba(111,99,216,.14), transparent 60%),
    radial-gradient(900px 600px at 95% 5%, rgba(180,90,138,.10), transparent 60%),
    radial-gradient(900px 700px at 60% 110%, rgba(79,143,204,.10), transparent 60%),
    #0a0b12; }
.fx-bg::after {
    content: ''; position: absolute; inset: -50%;
    background-image: linear-gradient(rgba(124,92,255,.07) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(124,92,255,.07) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(600px) rotateX(58deg) translateY(-8%);
    animation: grid-move 14s linear infinite;
    opacity: .5;
}
.fx-bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: blob 18s ease-in-out infinite; }
.fx-bg span:nth-child(1) { width: 380px; height: 380px; background: var(--pink); top: -90px; left: -60px; }
.fx-bg span:nth-child(2) { width: 420px; height: 420px; background: var(--violet); bottom: -140px; right: 8%; animation-delay: -6s; }
.fx-bg span:nth-child(3) { width: 300px; height: 300px; background: var(--cyan); top: 35%; right: -80px; animation-delay: -11s; }

@keyframes grid-move { to { background-position: 0 48px, 48px 0; } }
@keyframes blob { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.12); } 66% { transform: translate(-30px,25px) scale(.92); } }

a { color: var(--text); text-decoration: none; transition: color .15s, filter .15s; }
a:hover { color: #fff; filter: drop-shadow(0 0 6px rgba(124,92,255,.8)); }
code { font-family: 'JetBrains Mono', Consolas, monospace; background: rgba(124,92,255,.14); color: #cbb8ff; padding: 1px 6px; border-radius: 6px; font-size: 12px; }
.muted { color: var(--muted); font-size: 13px; }
h1 { font-size: 20px; margin: 0; }
h2 { font-size: 13px; margin: 0 0 14px; letter-spacing: 1.6px; text-transform: uppercase; color: #b9b3ff; }
h2::after { content: ''; display: block; width: 44px; height: 2px; margin-top: 6px; background: var(--grad); border-radius: 2px; }

.neon {
    font-family: 'Orbitron', sans-serif; font-size: 17px; letter-spacing: 1.5px;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 10px rgba(255,45,149,.55));
    animation: flicker 4.5s infinite;
}
@keyframes flicker { 0%,92%,100% { opacity: 1; } 93% { opacity: .45; } 95% { opacity: 1; } 96% { opacity: .6; } }

.page-title { font-family: 'Orbitron', sans-serif; letter-spacing: 1.2px; text-transform: uppercase; font-size: 17px;
    background: linear-gradient(90deg,#fff,#b9a4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- layout ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 240px; flex: 0 0 240px; padding: 20px 14px; display: flex; flex-direction: column;
    background: rgba(10, 11, 24, .72); backdrop-filter: blur(16px);
    border-right: 1px solid var(--line); position: relative;
}
.sidebar::after { content: ''; position: absolute; top: 0; right: -1px; width: 2px; height: 100%; background: var(--grad); opacity: .55; }
.brand { display: flex; align-items: center; gap: 11px; margin-bottom: 24px; }
.brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(124,92,255,.85)); animation: pulse-logo 3.5s ease-in-out infinite; }
@keyframes pulse-logo { 0%,100% { filter: drop-shadow(0 0 8px rgba(124,92,255,.6)); } 50% { filter: drop-shadow(0 0 18px rgba(255,45,149,.9)); } }
.brand strong { display: block; }
.brand span { font-size: 10px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }

nav { display: flex; flex-direction: column; gap: 4px; }
.nav-link {
    padding: 10px 13px; border-radius: 11px; color: var(--muted); font-weight: 500;
    display: flex; align-items: center; gap: 11px; position: relative; overflow: hidden;
    border: 1px solid transparent; transition: .2s;
}
.nav-link::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--grad); transform: scaleY(0); transition: transform .2s; }
.nav-link:hover { background: rgba(124,92,255,.12); color: #fff; border-color: var(--line); filter: none; }
.nav-link:hover::before { transform: scaleY(1); }
.nav-link.active { background: linear-gradient(90deg, rgba(255,45,149,.22), rgba(124,92,255,.14) 60%, transparent); color: #fff; border-color: rgba(255,45,149,.45); box-shadow: 0 0 18px rgba(124,92,255,.28) inset; }
.nav-link.active::before { transform: scaleY(1); }
.ico { width: 8px; height: 8px; border-radius: 3px; background: var(--grad); box-shadow: 0 0 8px rgba(124,92,255,.9); }

.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.sidebar-foot .btn-block { text-align: center; }
.srv { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); }
.srv .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.srv.up .dot { background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar {
    min-height: 66px; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px;
    background: rgba(10,11,24,.6); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 20;
}
.topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.who { font-weight: 600; }
.who small { color: var(--muted); margin-left: 6px; font-weight: 400; }
.content { padding: 24px; flex: 1; animation: fade-up .45s ease both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.foot { padding: 16px 24px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line-2);
    display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.foot .powered { letter-spacing: .6px; text-transform: uppercase; font-size: 11px;
    background: linear-gradient(90deg, #00e5ff, #ff2d95, #b36bff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: powered-glow 4s ease-in-out infinite; }
@keyframes powered-glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* ---------- media (vehicule / case) ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.media-card {
    display: flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: var(--radius);
    background: var(--bg-2); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s;
}
.media-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(124,92,255,.22); }
.media-card img { width: 100%; height: 108px; object-fit: cover; border-radius: 10px; background: #0c0e1c; }
.media-ph {
    height: 108px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display, inherit); letter-spacing: 2px; font-size: 20px; color: #fff;
    background: linear-gradient(135deg, rgba(255,45,149,.35), rgba(0,229,255,.25));
}
.media-card code { font-size: 11px; }

/* ---------- regulament ---------- */
.rules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.rules li { line-height: 1.55; }
.tile-faction .tile-value { color: #fff; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.card {
    position: relative; padding: 16px 18px; border-radius: var(--radius); overflow: hidden;
    background: var(--bg-2); backdrop-filter: blur(14px); border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 4px; transition: transform .22s, box-shadow .22s;
}
.card::before { content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--grad); }
.card::after {
    content: ''; position: absolute; top: -60%; left: -60%; width: 40%; height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    transform: rotate(18deg); animation: shine 6s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(124,92,255,.28); }
.card-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); }
.card-value { font-family: 'Orbitron', sans-serif; font-size: 24px; font-weight: 800; text-shadow: 0 0 18px rgba(124,92,255,.55); }
.card-sub { font-size: 12px; color: var(--muted); }
.card-up, .card-glow-green { border-color: rgba(41,255,156,.45); box-shadow: 0 0 22px rgba(41,255,156,.12); }
.card-down, .card-glow-red { border-color: rgba(255,59,92,.5); box-shadow: 0 0 22px rgba(255,59,92,.14); }
.card-glow-gold { border-color: rgba(255,197,66,.5); box-shadow: 0 0 22px rgba(255,197,66,.12); }
.card-glow-blue { border-color: rgba(0,229,255,.45); box-shadow: 0 0 22px rgba(0,229,255,.12); }

/* ---------- panels ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; }
.panel {
    background: var(--bg-2); backdrop-filter: blur(14px); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 18px; margin-bottom: 16px; overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.span-2 { grid-column: 1 / -1; }

/* ---------- tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: #a9a3e0; font-weight: 700; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; padding: 9px 11px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 11px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table-hover tbody tr { transition: background .18s, box-shadow .18s; }
.table-hover tbody tr:hover { background: linear-gradient(90deg, rgba(255,45,149,.10), rgba(124,92,255,.07)); box-shadow: inset 3px 0 0 var(--pink); }
.details { max-width: 420px; word-break: break-word; font-size: 12px; color: var(--muted); }

/* ---------- badges ---------- */
.badge { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; background: rgba(124,92,255,.14); color: #c3b4ff; border: 1px solid var(--line); }
.badge-red { background: rgba(255,59,92,.16); color: #ff8ba0; border-color: rgba(255,59,92,.5); box-shadow: 0 0 12px rgba(255,59,92,.25); }
.badge-green { background: rgba(41,255,156,.14); color: #7dffc6; border-color: rgba(41,255,156,.45); box-shadow: 0 0 12px rgba(41,255,156,.2); }
.badge-blue { background: rgba(0,229,255,.14); color: #86efff; border-color: rgba(0,229,255,.45); box-shadow: 0 0 12px rgba(0,229,255,.2); }
.badge-gold { background: rgba(255,197,66,.14); color: #ffd98a; border-color: rgba(255,197,66,.45); box-shadow: 0 0 12px rgba(255,197,66,.2); }

/* ---------- forms ---------- */
input, select, textarea {
    background: rgba(10,12,26,.85); border: 1px solid var(--line); color: var(--text);
    border-radius: 11px; padding: 10px 12px; font: inherit; width: 100%; transition: border-color .18s, box-shadow .18s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,45,149,.16), 0 0 18px rgba(255,45,149,.25); }
label { display: block; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
label input, label select { margin-top: 6px; text-transform: none; letter-spacing: 0; }
.form .row { display: flex; gap: 12px; flex-wrap: wrap; }
.form .row > label { flex: 1 1 150px; }
label.check { display: flex; align-items: center; gap: 9px; color: var(--text); text-transform: none; }
label.check input { width: auto; margin: 0; accent-color: var(--pink); }
.inline { display: inline-flex; gap: 7px; align-items: center; }
.inline input { width: 130px; }

.btn {
    display: inline-block; cursor: pointer; font: inherit; font-weight: 600; text-align: center;
    padding: 10px 16px; border-radius: 11px; color: var(--text);
    background: rgba(124,92,255,.12); border: 1px solid var(--line);
    position: relative; overflow: hidden; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); background: rgba(124,92,255,.22); box-shadow: 0 6px 20px rgba(124,92,255,.35); filter: none; text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); border: none; color: #0a0b16; box-shadow: 0 6px 22px rgba(255,45,149,.35); }
.btn-primary:hover { box-shadow: 0 8px 30px rgba(255,45,149,.55); background: var(--grad); }
.btn-red { background: rgba(255,59,92,.16); border-color: rgba(255,59,92,.5); color: #ff96a8; }
.btn-red:hover { background: rgba(255,59,92,.28); box-shadow: 0 6px 20px rgba(255,59,92,.4); }
.btn-green { background: rgba(41,255,156,.14); border-color: rgba(41,255,156,.45); color: #85ffc9; }
.btn-green:hover { background: rgba(41,255,156,.24); box-shadow: 0 6px 20px rgba(41,255,156,.35); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 6px 11px; font-size: 12px; border-radius: 9px; }
.btn-block { display: block; width: 100%; }
.ripple { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: rgba(255,255,255,.55); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(18); opacity: 0; } }

.toolbar { display: flex; gap: 11px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar input[type=search] { max-width: 380px; }
.toolbar select { width: auto; }

/* ---------- tabs ---------- */
.tabs { display: flex; flex-direction: row; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 9px 16px; border-radius: 11px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; transition: .2s; }
.tabs a:hover { color: #fff; border-color: rgba(255,45,149,.45); filter: none; }
.tabs a.active { background: var(--grad); color: #0a0b16; border-color: transparent; box-shadow: 0 6px 20px rgba(255,45,149,.35); }

/* ---------- player ---------- */
.player-head {
    display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding: 18px;
    background: var(--bg-2); backdrop-filter: blur(14px); border: 1px solid var(--line);
    border-radius: var(--radius); margin-bottom: 16px; position: relative; overflow: hidden;
}
.player-head::before { content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--grad); }
.player-head h2 { font-family: 'Orbitron', sans-serif; font-size: 20px; text-transform: none; letter-spacing: .5px; color: var(--text); margin-bottom: 6px; }
.player-head h2::after { display: none; }
.player-money { display: flex; gap: 24px; }
.player-money div { display: flex; flex-direction: column; }
.player-money strong { font-family: 'Orbitron', sans-serif; font-size: 19px; color: #7dffc6; text-shadow: 0 0 14px rgba(41,255,156,.5); }

/* ---------- alerts ---------- */
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 13px; border: 1px solid; backdrop-filter: blur(10px); animation: fade-up .3s ease both; }
.alert-ok { background: rgba(41,255,156,.10); border-color: rgba(41,255,156,.45); color: #8dffcd; box-shadow: 0 0 22px rgba(41,255,156,.18); }
.alert-err { background: rgba(255,59,92,.10); border-color: rgba(255,59,92,.45); color: #ff97a9; box-shadow: 0 0 22px rgba(255,59,92,.18); }

/* ---------- pager & misc ---------- */
.pager { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.pager a { padding: 7px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; }
.pager a.active { background: var(--grad); color: #0a0b16; border-color: transparent; }

.ids { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.code { background: rgba(8,9,20,.9); border: 1px solid var(--line); border-radius: 12px; padding: 13px; overflow-x: auto; font-size: 12px; max-height: 320px; color: #a5f3ff; }
details summary { cursor: pointer; padding: 8px 0; color: var(--muted); }

.bar-row { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; font-size: 12px; }
.bar-label { width: 92px; color: var(--muted); }
.bar { flex: 1; height: 10px; background: rgba(255,255,255,.06); border-radius: 7px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--grad); box-shadow: 0 0 14px rgba(255,45,149,.6); animation: grow 1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { width: 0 !important; } }
.bar-value { width: 48px; text-align: right; font-weight: 600; }

/* ---------- login ---------- */
.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh;
    background: radial-gradient(1000px 600px at 50% -10%, rgba(124,92,255,.35), transparent 60%),
                radial-gradient(800px 500px at 20% 110%, rgba(255,45,149,.25), transparent 60%), #05060d; }
.login-card {
    position: relative; width: 100%; max-width: 380px; padding: 34px; text-align: center;
    background: rgba(16,17,34,.78); backdrop-filter: blur(18px);
    border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 70px rgba(0,0,0,.6);
    animation: fade-up .5s ease both;
}
.login-card::before { content: ''; pointer-events: none; position: absolute; inset: -1px; border-radius: 21px; padding: 1px; background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .65; }
.install-card { max-width: 480px; text-align: left; }
.login-logo { width: 96px; margin: 0 auto 10px; display: block; filter: drop-shadow(0 0 18px rgba(255,45,149,.7)); animation: pulse-logo 3.5s ease-in-out infinite; }
.login-card h1 { font-family: 'Orbitron', sans-serif; font-size: 19px; letter-spacing: 1.5px; margin-bottom: 6px;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-card label { text-align: left; }
.login-card .btn { margin-top: 10px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--pink), var(--violet)); border-radius: 8px; }

@media (max-width: 860px) {
    .layout { flex-direction: column; }
    .sidebar { width: 100%; flex: none; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
    .sidebar::after { display: none; }
    .sidebar nav { flex-direction: row; flex-wrap: wrap; }
    .sidebar-foot { margin: 0 0 0 auto; flex-direction: row; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- site public ---------- */
body.site .sidebar { position: sticky; top: 0; height: 100vh; }
body.site .topbar { flex-wrap: wrap; gap: 10px; height: auto; padding: 12px 24px; }
body.site .brand { color: inherit; }
body.site .brand:hover { filter: none; }
.site-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 22px;
    padding: 14px 30px; background: rgba(10,11,22,.72); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); }
.site-brand { display: flex; align-items: center; gap: 12px; font-family: 'Orbitron', sans-serif; font-size: 18px; letter-spacing: 2px; }
.site-brand img { width: 40px; filter: drop-shadow(0 0 14px rgba(255,45,149,.7)); }
.site-brand .neon { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-nav { display: flex; flex-direction: row; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav a { padding: 9px 15px; border-radius: 11px; color: var(--muted); font-size: 13px; font-weight: 600; transition: .2s; }
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.05); filter: none; }
.site-nav a.active { background: var(--grad); color: #0a0b16; box-shadow: 0 6px 20px rgba(255,45,149,.35); }
.site-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.srv { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.srv .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.srv.up .dot { background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.site-main { max-width: 1180px; margin: 0 auto; padding: 30px 24px 60px; }
.site-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    max-width: 1180px; margin: 0 auto; padding: 20px 24px 40px; color: var(--muted); font-size: 12px; }

.chat { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.chat-msg { max-width: 82%; padding: 12px 15px; border-radius: 16px; border: 1px solid var(--line);
    background: rgba(16,17,34,.6); animation: fade-up .35s ease both; }
.chat-msg p { margin: 5px 0 0; font-size: 14px; }
.chat-author { font-size: 12px; font-weight: 700; color: #b9b3ff; }
.chat-time { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.chat-staff { align-self: flex-end; border-color: rgba(255,45,149,.45); box-shadow: 0 0 22px rgba(255,45,149,.14); }
.chat-staff .chat-author { color: #ff8ec4; }

.form-stack { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row > label { flex: 1 1 150px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filters .btn.active { background: var(--grad); color: #0a0b16; border-color: transparent; }
.row-active { background: rgba(255,45,149,.1); }

.hero { position: relative; text-align: center; padding: 54px 20px 42px; margin-bottom: 26px;
    border: 1px solid var(--line); border-radius: 24px; background: rgba(16,17,34,.55); backdrop-filter: blur(16px);
    overflow: hidden; animation: fade-up .5s ease both; }
.hero::before { content: ''; position: absolute; inset: -2px; background: var(--grad); opacity: .12; filter: blur(40px); }
.hero-logo { position: relative; width: 120px; margin: 0 auto 14px; display: block;
    filter: drop-shadow(0 0 26px rgba(255,45,149,.75)); animation: pulse-logo 3.5s ease-in-out infinite; }
.hero-title { position: relative; font-family: 'Orbitron', sans-serif; font-size: 44px; letter-spacing: 5px;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { position: relative; color: var(--muted); margin: 8px 0 20px; }
.hero-actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-status { position: relative; display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
    padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0,0,0,.3); font-size: 13px; font-weight: 600; }
.hero-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.hero-status.up .dot { background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 1.8s ease-in-out infinite; }
.hero-status code { background: rgba(255,255,255,.06); padding: 3px 9px; border-radius: 7px; }

.hero.hero-compact { display: flex; align-items: center; gap: 22px; text-align: left; padding: 20px 24px; flex-wrap: wrap; }
.hero-compact .hero-logo { width: 64px; margin: 0; }
.hero-compact .hero-title { font-size: 26px; letter-spacing: 3px; }
.hero-compact .hero-sub { margin: 4px 0 0; font-size: 13px; }
.hero-compact .hero-status { margin: 0 0 0 auto; }
.hero-text { position: relative; }

.panel-center { max-width: 460px; margin: 40px auto; text-align: center; }
.panel-center .btn { margin-top: 12px; }
.small { font-size: 12px; }
.login-back {
    position: relative; z-index: 2; display: block; margin-top: 14px; padding: 13px 18px;
    font-size: 14px; font-weight: 700; letter-spacing: .4px; text-align: center; color: #fff;
    border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.06);
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.login-back:hover { background: rgba(255,255,255,.12); border-color: var(--pink);
    transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,45,149,.25); }

@media (max-width: 860px) {
    .site-head { flex-wrap: wrap; padding: 12px 16px; }
    .site-actions { margin-left: 0; }
    .hero-title { font-size: 30px; letter-spacing: 3px; }
    .layout { flex-direction: column; }
    .sidebar { width: auto; flex: none; }
    body.site .sidebar { position: static; height: auto; }
    .hero-compact .hero-status { margin-left: 0; }
}

/* ---------- podium / tiles / steps ---------- */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; margin-bottom: 26px; }
.podium-item { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 22px 16px;
    border: 1px solid var(--line); border-radius: 18px; background: rgba(16,17,34,.6); backdrop-filter: blur(14px);
    text-align: center; animation: fade-up .55s ease both; }
.podium-item strong { font-size: 15px; }
.podium-rank { font-family: 'Orbitron', sans-serif; font-size: 24px; letter-spacing: 2px; }
.podium-value { font-weight: 700; font-size: 15px; }
.podium-1 { padding: 34px 16px; border-color: rgba(255,197,66,.6); box-shadow: 0 0 34px rgba(255,197,66,.22); }
.podium-1 .podium-rank, .podium-1 .podium-value { color: #ffd98a; text-shadow: 0 0 16px rgba(255,197,66,.6); }
.podium-2 { border-color: rgba(0,229,255,.45); box-shadow: 0 0 24px rgba(0,229,255,.16); }
.podium-2 .podium-rank { color: #8ef0ff; }
.podium-3 { border-color: rgba(255,45,149,.45); box-shadow: 0 0 24px rgba(255,45,149,.16); }
.podium-3 .podium-rank { color: #ff8ec4; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 26px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 20px;
    border: 1px solid var(--line); border-radius: 18px; background: rgba(16,17,34,.6); backdrop-filter: blur(14px);
    overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s; animation: fade-up .5s ease both; }
.tile::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); opacity: .85; }
.tile:hover { transform: translateY(-4px); border-color: rgba(255,45,149,.5); box-shadow: 0 16px 42px rgba(255,45,149,.2); filter: none; }
.tile-value { font-family: 'Orbitron', sans-serif; font-size: 22px; background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile .muted { font-size: 12px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 26px; }
.step { position: relative; padding: 20px 20px 20px 62px; border: 1px solid var(--line); border-radius: 18px;
    background: rgba(16,17,34,.5); backdrop-filter: blur(14px); animation: fade-up .5s ease both; }
.step > span { position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; display: grid; place-items: center;
    border-radius: 50%; background: var(--grad); color: #0a0b16; font-weight: 800; box-shadow: 0 0 18px rgba(255,45,149,.5); }
.step p { margin-top: 4px; font-size: 12px; }
.bar-value-wide { width: 130px; }

@media (max-width: 860px) {
    .podium { grid-template-columns: 1fr; }
    .podium-1 { padding: 22px 16px; }
}

/* ===== Home v12: hero unic ===== */
.hero-x { position: relative; text-align: center; padding: 18px 24px 18px; margin-bottom: 22px; border-radius: 26px; overflow: hidden;
    border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(124,92,255,.28), rgba(16,17,34,.75) 60%); backdrop-filter: blur(16px); }
.hero-x-orbit span { position: absolute; left: 50%; top: 42%; border-radius: 50%; border: 1px solid rgba(0,229,255,.18); pointer-events: none;
    transform: translate(-50%, -50%); animation: orbit-spin 28s linear infinite; }
.hero-x-orbit span:nth-child(1) { width: 260px; height: 260px; border-style: dashed; }
.hero-x-orbit span:nth-child(2) { width: 400px; height: 400px; border-color: rgba(255,45,149,.14); animation-direction: reverse; animation-duration: 44s; }
@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-x-logo { position: relative; width: 64px; filter: drop-shadow(0 0 28px rgba(255,45,149,.55)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-x-title { position: relative; font-family: 'Orbitron', sans-serif; font-size: 30px; letter-spacing: 4px; margin: 4px 0 2px; text-transform: none; }
.hero-x-title::after { display: none; }
.hero-x-title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-x-sub { position: relative; color: var(--muted); letter-spacing: 1px; font-size: 11px; text-transform: uppercase; }
.hero-x-status { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 10px; padding: 6px 16px; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(10,11,24,.7); font-size: 14px; }
.hero-x-status strong { font-family: 'Orbitron', sans-serif; font-size: 16px; color: var(--lime); }
.hero-x-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.hero-x-status.up .dot { background: var(--lime); box-shadow: 0 0 14px var(--lime); animation: blink 1.8s ease-in-out infinite; }
.hero-x-actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 9px 20px; font-size: 13px; border-radius: 12px; }
.hero-x-ip { position: relative; display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--muted); font-size: 12px; }

.live-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 22px; }
.live-strip a { display: flex; flex-direction: column; align-items: center; padding: 14px 10px; border-radius: 16px; border: 1px solid var(--line-2);
    background: rgba(16,17,34,.55); transition: transform .2s, border-color .2s, box-shadow .2s; }
.live-strip a:hover { transform: translateY(-3px); border-color: rgba(0,229,255,.5); box-shadow: 0 12px 30px rgba(0,229,255,.15); }
.live-strip b { font-family: 'Orbitron', sans-serif; font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.live-strip span { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.home-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
@media (max-width: 900px) { .home-split { grid-template-columns: 1fr; } .hero-x-title { font-size: 24px; } }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; }
.spot-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.spot-list li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
    background: rgba(255,255,255,.03); border: 1px solid var(--line-2); }
.spot-list li div { display: flex; flex-direction: column; gap: 2px; }
.spot-rank { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-family: 'Orbitron', sans-serif; font-size: 18px; color: #0a0b16; background: var(--grad); }
.spot-2 .spot-rank { background: linear-gradient(135deg, #cfd6ff, #8b90b5); }
.spot-3 .spot-rank { background: linear-gradient(135deg, #ffb27a, #b06a3b); }
.spot-value { font-family: 'Orbitron', sans-serif; font-size: 15px; color: var(--gold); }

.access-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.access-list li { padding: 10px 12px 10px 38px; border-radius: 12px; position: relative; font-size: 13px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); }
.access-list li::before { position: absolute; left: 12px; top: 9px; font-size: 14px; }
.access-list li.ok::before { content: '\2713'; color: var(--lime); }
.access-list li.lock { color: var(--muted); }
.access-list li.lock::before { content: '\1F512'; }
.mini-money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mini-money div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.mini-money strong { font-family: 'Orbitron', sans-serif; font-size: 15px; color: var(--lime); }
.mini-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mini-links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(16,17,34,.5); font-size: 13px; transition: border-color .2s, transform .2s; }
.mini-links a:hover { border-color: rgba(255,45,149,.5); transform: translateX(3px); }
.mini-links b { font-family: 'Orbitron', sans-serif; min-width: 28px; color: var(--cyan, #00e5ff); }

/* ===== Cont: tile-uri clickabile + pagini detalii ===== */
.tiles-account .tile { min-height: 150px; }
.tile-link { cursor: pointer; }
.tile-icon { font-size: 24px; }
.tile-big { font-family: 'Orbitron', sans-serif; font-size: 26px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile-go { margin-top: auto; font-size: 12px; color: #7dffc6; letter-spacing: .5px; }
.page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h2 { margin: 0; }
.media-grid-lg .media-card { padding-bottom: 14px; }
.media-card.is-active { border-color: rgba(0,229,255,.7); box-shadow: 0 0 0 1px rgba(0,229,255,.4), 0 12px 30px rgba(0,229,255,.2); }
.detail-panel { display: grid; grid-template-columns: 320px 1fr; gap: 22px; margin-bottom: 22px; animation: fade-up .4s ease both; }
.detail-panel-row { grid-template-columns: 1fr; }
@media (max-width: 800px) { .detail-panel { grid-template-columns: 1fr; } }
.detail-media img { width: 100%; border-radius: 16px; object-fit: cover; background: #0c0e1c; box-shadow: 0 14px 40px rgba(124,92,255,.3); }
.media-ph-big { height: 200px; font-size: 40px; border-radius: 16px; }
.detail-body h2 { margin-bottom: 12px; }
.detail-body h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin: 18px 0 10px; }
.stat-bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.stat-bars div { position: relative; height: 26px; border-radius: 8px; background: rgba(255,255,255,.05); overflow: hidden; display: flex; align-items: center; padding: 0 10px; font-size: 12px; }
.stat-bars i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--grad); opacity: .35; }
.stat-bars span, .stat-bars b { position: relative; }
.stat-bars b { margin-left: auto; font-family: 'Orbitron', sans-serif; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 11px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); background: rgba(16,17,34,.6); }
.text-red { color: var(--red); }
tr.row-link.is-active td { background: rgba(0,229,255,.08); }

/* ---- hero compact ---- */
.hero-c { display: flex; align-items: center; gap: 16px; padding: 12px 18px; margin-bottom: 18px; border-radius: 18px;
  background: linear-gradient(120deg, rgba(255,45,149,.14), rgba(0,229,255,.10)); border: 1px solid var(--line); position: relative; overflow: hidden; }
.hero-c::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 120px at 20% 50%, rgba(255,45,149,.18), transparent 70%); pointer-events: none; }
.hero-c-logo { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(255,45,149,.55)); position: relative; }
.hero-c-text { flex: 1; min-width: 0; position: relative; }
.hero-c-title { font-family: 'Orbitron', sans-serif; font-size: 18px; letter-spacing: 2px; margin: 0 0 4px; text-transform: none; }
.hero-c-title::after { display: none; }
.hero-c-title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-c-title small { font-family: inherit; font-size: 10px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; margin-left: 8px; font-weight: 400; }
.hero-c-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.hero-c-status strong { font-family: 'Orbitron', sans-serif; color: var(--lime); font-size: 13px; }
.hero-c-status code { padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.06); font-size: 11px; }
.hero-c-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.hero-c-status.up .dot { background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: blink 1.8s ease-in-out infinite; }
.hero-c-actions { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
@media (max-width: 760px) { .hero-c { flex-wrap: wrap; } .hero-c-actions { width: 100%; } }

/* ---- factiuni ---- */
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; margin-bottom: 18px; }
.fx { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(16,17,34,.9), rgba(10,11,22,.9)); overflow: hidden; transition: transform .15s, border-color .15s; }
.fx::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad); }
.fx-legal::before { background: linear-gradient(90deg, #00e5ff, #3b82f6); }
.fx-ilegal::before { background: linear-gradient(90deg, #ff2d95, #ef4444); }
.fx-gang::before { background: linear-gradient(90deg, #a3e635, #22c55e); }
.fx:hover { transform: translateY(-2px); border-color: rgba(0,229,255,.35); }
.fx-head { display: flex; align-items: center; gap: 12px; }
.fx-emblem { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: 'Orbitron', sans-serif; font-size: 14px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); color: #fff; flex-shrink: 0; }
.fx-title { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.fx-title a { font-family: 'Orbitron', sans-serif; font-size: 15px; color: #fff; text-decoration: none; letter-spacing: 1px; }
.fx-title .muted { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.fx-desc { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.fx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fx-stats div { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); }
.fx-stats b { font-family: 'Orbitron', sans-serif; font-size: 14px; color: #fff; }
.fx-stats b small { font-size: 10px; color: var(--muted); }
.fx-stats span { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.fx-people, .fx-members { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
.fx-members a.chip { color: var(--text); text-decoration: none; }
.fx-members a.chip:hover { border-color: var(--cyan); }
.chip-gold { border-color: rgba(250,204,21,.5); color: #fde68a; }
.fx-empty { margin: 0; font-size: 12px; }
.fx-foot { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.sub-head { margin: 18px 0 8px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.small { font-size: 12px; }

/* ---- staff ---- */
.staff-block { margin-bottom: 22px; }
.staff-block-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.staff-block-head h2 { margin: 0; }
.staff-block-head .muted { font-size: 12px; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.staff-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 14px 16px; text-align: center; text-decoration: none; color: var(--text);
  border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(120px 80px at 50% 0%, rgba(255,255,255,.07), transparent), rgba(16,17,34,.75);
  transition: transform .15s, border-color .15s, box-shadow .15s; }
.staff-card:hover { transform: translateY(-3px); border-color: rgba(0,229,255,.4); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.staff-card strong { font-size: 15px; }
.staff-card .muted { font-size: 11px; }
.staff-ring { padding: 3px; border-radius: 50%; background: var(--grad); margin-bottom: 4px; }
.staff-owner .staff-ring { background: linear-gradient(135deg, #facc15, #f97316); }
.staff-admin .staff-ring { background: linear-gradient(135deg, #ef4444, #ff2d95); }
.staff-mod .staff-ring { background: linear-gradient(135deg, #00e5ff, #3b82f6); }
.staff-helper .staff-ring { background: linear-gradient(135deg, #a3e635, #22c55e); }
.staff-avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #0b0c18; font-family: 'Orbitron', sans-serif; font-size: 22px; color: #fff; }

/* Factiuni pe randuri */
.fxr { margin-bottom: 26px; }
.fxr-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.fxr-head h2 { margin: 0; font-size: 20px; letter-spacing: .5px; }
.fxr-no { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #0a0a14; background: var(--grad); box-shadow: 0 0 22px rgba(255, 0, 170, .35); }
.fxr-job .fxr-no { background: linear-gradient(135deg, #00e5ff, #3b82f6); box-shadow: 0 0 22px rgba(0, 229, 255, .35); }
.fxr-mafia .fxr-no { background: linear-gradient(135deg, #ff3d3d, #ff9f1c); box-shadow: 0 0 22px rgba(255, 61, 61, .35); }
.fxr-count { margin-left: auto; font-size: 12px; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.fxr-list { display: flex; flex-direction: column; gap: 8px; }
.fxl { display: grid; grid-template-columns: 52px minmax(180px, 1.6fr) minmax(120px, 1fr) repeat(4, minmax(80px, .7fr)) 140px 24px; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); color: inherit; text-decoration: none; position: relative; overflow: hidden; transition: transform .15s, border-color .15s, background .15s; }
.fxl::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.fxr-job .fxl::before { background: linear-gradient(180deg, #00e5ff, #3b82f6); }
.fxr-mafia .fxl::before { background: linear-gradient(180deg, #ff3d3d, #ff9f1c); }
.fxl:hover { transform: translateX(4px); border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); }
.fxl-emblem { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; letter-spacing: 1px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.fxr-principal .fxl-emblem { color: var(--pink); } .fxr-job .fxl-emblem { color: var(--cyan); } .fxr-mafia .fxl-emblem { color: #ff6b6b; }
.fxl-name { display: flex; flex-direction: column; min-width: 0; }
.fxl-name b { font-size: 16px; } .fxl-name small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fxl-lead, .fxl-stat { display: flex; flex-direction: column; min-width: 0; }
.fxl-lead small, .fxl-stat small { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.fxl-lead b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.fxl-stat b { font-size: 17px; font-variant-numeric: tabular-nums; } .fxl-stat b i { font-style: normal; color: var(--muted); font-size: 12px; }
.fxl-stat .bar { margin-top: 4px; height: 4px; }
.fxl-app { justify-self: end; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.fxl-app.on { background: rgba(0, 255, 140, .12); color: #4dffa6; border: 1px solid rgba(0, 255, 140, .3); }
.fxl-app.off { background: rgba(255, 61, 61, .12); color: #ff7b7b; border: 1px solid rgba(255, 61, 61, .3); }
.fxl-arrow { color: var(--muted); font-size: 18px; }
@media (max-width: 1100px) { .fxl { grid-template-columns: 48px 1fr 1fr 1fr; } .fxl-lead, .fxl-stat:nth-of-type(n+3), .fxl-arrow { display: none; } .fxl-app { grid-column: 4; } }

/* Regulament */
.rules-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: center; padding: 30px 34px; margin-bottom: 18px; border-radius: 22px; border: 1px solid var(--line); position: relative; overflow: hidden;
  background: radial-gradient(900px 300px at 0% 0%, rgba(255, 0, 170, .22), transparent 60%), radial-gradient(700px 300px at 100% 100%, rgba(0, 229, 255, .18), transparent 60%), rgba(255, 255, 255, .03); }
.rules-hero::after { content: '§'; position: absolute; right: 30px; top: -40px; font-size: 220px; font-weight: 900; opacity: .05; line-height: 1; }
.rules-kicker { display: inline-block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.rules-hero h2 { margin: 0 0 10px; font-size: 32px; } .rules-hero h2 span { color: var(--pink); }
.rules-hero p { color: var(--muted); max-width: 640px; line-height: 1.6; margin: 0 0 16px; }
.rules-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; }
.rules-hero-stats div { text-align: center; padding: 16px 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(10, 10, 22, .55); }
.rules-hero-stats b { display: block; font-size: 28px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rules-hero-stats span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.rules-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rules-nav a { flex: 0 0 auto; width: auto; margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: inherit; text-decoration: none; font-size: 13px; }
.rules-nav a span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #0a0a14; background: var(--grad); }
.rules-nav a:hover { border-color: var(--pink); }
.rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.rules-sec { position: relative; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); overflow: hidden; }
.rules-sec::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.rules-sec:nth-child(even)::before { background: linear-gradient(180deg, #00e5ff, #3b82f6); }
.rules-sec header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rules-sec header h2 { margin: 0; font-size: 18px; flex: 1; }
.rules-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.rules-num { font-size: 34px; font-weight: 900; opacity: .12; line-height: 1; }
.rules-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rules-list li { display: flex; gap: 12px; padding: 9px 0; line-height: 1.55; border-top: 1px dashed rgba(255, 255, 255, .07); }
.rules-list li:first-child { border-top: 0; }
.rules-idx { flex: 0 0 auto; min-width: 34px; height: 22px; padding: 0 6px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--cyan); background: rgba(0, 229, 255, .1); border: 1px solid rgba(0, 229, 255, .25); }
.rules-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 0, 170, .12), rgba(0, 229, 255, .08)); }
.rules-cta h2 { margin: 0 0 6px; font-size: 20px; } .rules-cta p { margin: 0; }
@media (max-width: 960px) { .rules-grid, .rules-hero { grid-template-columns: 1fr; } .rules-cta { flex-direction: column; align-items: flex-start; } }

/* Profil jucator */
.inline { display: inline; }
.pinfo { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; padding: 0 !important; overflow: hidden; }
.pinfo > div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pinfo > div span { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.pinfo > div b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pinfo > div:nth-child(5) b { color: #ffd166; } .pinfo > div:first-child b { color: var(--cyan); }

/* Bara text defilant + Top 10 */
.marquee { display: flex; align-items: center; margin-bottom: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(10, 10, 22, .6); overflow: hidden; height: 40px; }
.marquee-tag { flex: 0 0 auto; height: 100%; display: flex; align-items: center; padding: 0 16px; font-weight: 800; font-size: 12px; letter-spacing: 1.5px; color: #0a0a14; background: var(--grad); }
.marquee-track { flex: 1; display: flex; white-space: nowrap; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track span { flex: 0 0 auto; padding: 0 40px; font-size: 14px; line-height: 40px; letter-spacing: .3px; color: #e9ecff; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track span { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.top10 { display: flex; align-items: stretch; gap: 6px; margin-bottom: 18px; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); overflow-x: auto; }
.top10-head { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; border-radius: 10px; background: var(--grad); color: #0a0a14; text-decoration: none; }
.top10-head b { font-size: 14px; letter-spacing: 1px; } .top10-head span { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.top10-item { flex: 1 1 0; min-width: 96px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 6px 10px; border-radius: 10px; border: 1px solid transparent; color: inherit; text-decoration: none; transition: background .15s, border-color .15s; }
.top10-item:hover { background: rgba(255, 255, 255, .06); border-color: var(--line); }
.top10-item i { grid-row: 1 / 3; font-style: normal; font-weight: 800; font-size: 18px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--muted); }
.top10-item.p1 i { background: linear-gradient(135deg, #ffd166, #ff9f1c); color: #0a0a14; }
.top10-item.p2 i { background: linear-gradient(135deg, #dfe6f5, #9aa7c4); color: #0a0a14; }
.top10-item.p3 i { background: linear-gradient(135deg, #e0a06a, #b4652c); color: #0a0a14; }
.top10-item span { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top10-item small { color: var(--cyan); font-size: 11px; font-variant-numeric: tabular-nums; }
/* Case */
.house-rows { display: flex; flex-direction: column; gap: 8px; }
.hrow { display: grid; grid-template-columns: 64px 56px minmax(160px, 1.4fr) minmax(120px, 1fr) 130px 120px 24px; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); color: inherit; text-decoration: none; position: relative; overflow: hidden; transition: transform .15s, border-color .15s; }
.hrow::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #4dffa6, #00e5ff); }
.hrow.sold::before { background: linear-gradient(180deg, var(--pink), var(--violet)); }
.hrow:hover { transform: translateX(4px); border-color: rgba(255, 255, 255, .18); }
.hrow-img { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; background: rgba(255, 255, 255, .05); display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--muted); letter-spacing: 1px; }
.hrow-id { font-weight: 800; color: var(--cyan); font-variant-numeric: tabular-nums; }
.hrow-name { display: flex; flex-direction: column; min-width: 0; } .hrow-name b { font-size: 15px; } .hrow-name small { color: var(--muted); }
.hrow-owner { display: flex; flex-direction: column; min-width: 0; } .hrow-owner small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.hrow-owner b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.hrow-price { font-size: 17px; font-weight: 800; color: #ffd166; font-variant-numeric: tabular-nums; }
.hrow-status { justify-self: end; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.hrow-status.free { background: rgba(0, 255, 140, .12); color: #4dffa6; border: 1px solid rgba(0, 255, 140, .3); }
.hrow-status.sold { background: rgba(255, 0, 170, .12); color: #ff7bd0; border: 1px solid rgba(255, 0, 170, .3); }
.hrow-arrow { color: var(--muted); font-size: 18px; }
@media (max-width: 900px) { .hrow { grid-template-columns: 56px 1fr 110px; } .hrow-img, .hrow-owner, .hrow-arrow, .hrow-status { display: none; } }

/* ===== v16: lizibilitate, hero nou, despre server, bizuri, joburi ===== */
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.fxr-head h2 { letter-spacing: 1px; }
.fxr-count { font-size: 13px; color: var(--text); font-weight: 600; }
.fxl-name small, .hrow-name small, .hrow-owner small { color: var(--muted); font-size: 12px; }
.fxl-stat b { font-size: 18px; }
.rules-nav a i { font-style: normal; font-size: 15px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); }

.hero-x { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 26px; align-items: center; padding: 22px 26px; margin-bottom: 18px;
    border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(255,45,149,.12), rgba(20,22,38,.85) 40%, rgba(0,229,255,.10)); }
.hero-x::before { content: ''; position: absolute; inset: -40% -10% auto; height: 180%; background: radial-gradient(420px 220px at 15% 40%, rgba(255,45,149,.28), transparent 70%), radial-gradient(380px 200px at 85% 60%, rgba(0,229,255,.22), transparent 70%); pointer-events: none; }
.hero-x::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.hero-x > * { position: relative; z-index: 1; }
.hero-x-brand { display: flex; align-items: center; gap: 18px; }
.hero-x-brand img { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 0 22px rgba(255,45,149,.6)); }
.hero-x-brand h2 { font-family: 'Orbitron', sans-serif; font-size: 30px; letter-spacing: 3px; margin: 0; line-height: 1.05; }
.hero-x-brand h2::after { display: none; }
.hero-x-brand p { margin: 6px 0 0; color: var(--text); opacity: .85; font-size: 14px; }
.hero-x-live { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; background: rgba(10,11,22,.55); border: 1px solid var(--line-2); }
.hero-x-status { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.hero-x-status b { font-family: 'Orbitron', sans-serif; font-size: 22px; color: var(--lime); }
.hero-x-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.hero-x-status.up .dot { background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 1.8s ease-in-out infinite; }
.bar-lg { height: 8px; }
.hero-x-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; }
.hero-x-meta code { padding: 3px 9px; border-radius: 7px; background: rgba(255,255,255,.07); font-size: 12px; color: var(--cyan); }
.hero-x-actions { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.hero-x-actions .btn { justify-content: center; }
@media (max-width: 1100px) { .hero-x { grid-template-columns: 1fr 1fr; } .hero-x-actions { grid-column: 1 / -1; flex-direction: row; } }
@media (max-width: 720px) { .hero-x { grid-template-columns: 1fr; } .hero-x-actions { flex-direction: column; } }

.about { margin: 6px 0 22px; }
.about-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.about-head h2 { margin: 0; font-size: 22px; letter-spacing: 1px; }
.about-head h2::after { display: none; }
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.about-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg-2); color: inherit; transition: transform .2s, border-color .2s, box-shadow .2s; }
.about-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.about-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.5); box-shadow: 0 16px 40px rgba(124,92,255,.18); }
.about-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; font-size: 22px; background: rgba(255,255,255,.06); }
.ac-1 .about-ico { background: rgba(124,92,255,.22); } .ac-2 .about-ico { background: rgba(41,255,156,.16); } .ac-3 .about-ico { background: rgba(255,45,149,.18); } .ac-4 .about-ico { background: rgba(255,197,66,.16); }
.about-card h3 { margin: 4px 0 0; font-size: 17px; }
.about-card p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text); opacity: .85; flex: 1; }
.about-card .bar { height: 6px; margin-top: 4px; }
.ac-2 .bar span { background: linear-gradient(90deg, var(--lime), var(--cyan)); box-shadow: 0 0 12px rgba(41,255,156,.5); }
.ac-4 .bar span { background: linear-gradient(90deg, var(--gold), var(--pink)); box-shadow: 0 0 12px rgba(255,197,66,.5); }
.about-card small { font-size: 12px; color: var(--muted); font-weight: 600; }
@media (max-width: 1100px) { .about-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .about-grid { grid-template-columns: 1fr; } }

.hero-mini { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; margin-bottom: 18px; border-radius: 20px; border: 1px solid var(--line);
    background: linear-gradient(120deg, rgba(124,92,255,.16), rgba(20,22,38,.85) 45%, rgba(0,229,255,.10)); position: relative; overflow: hidden; }
.hero-mini::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 200px at 10% 50%, rgba(255,45,149,.2), transparent 70%); pointer-events: none; }
.hero-mini > * { position: relative; }
.hero-mini h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: 1px; }
.hero-mini h2::after { display: none; }
.hero-mini p { margin: 0; max-width: 640px; font-size: 14px; line-height: 1.55; color: var(--text); opacity: .85; }
.hero-mini-stats { display: flex; gap: 12px; }
.hero-mini-stats div { min-width: 96px; padding: 12px 14px; border-radius: 14px; text-align: center; background: rgba(10,11,22,.55); border: 1px solid var(--line-2); }
.hero-mini-stats b { display: block; font-family: 'Orbitron', sans-serif; font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-mini-stats span { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .hero-mini { flex-direction: column; align-items: flex-start; } }

.biz-grid, .job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.biz, .job { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg-2); transition: transform .2s, border-color .2s; }
.biz:hover, .job:hover { transform: translateY(-3px); border-color: rgba(0,229,255,.45); }
.biz-top, .job-head { display: flex; align-items: center; gap: 12px; }
.biz-top > div, .job-head > div { flex: 1; min-width: 0; }
.biz-top h3, .job-head h3 { margin: 0 0 3px; font-size: 16px; }
.biz-ico, .job-ico { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; font-size: 20px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.job-ico { font-family: 'Orbitron', sans-serif; font-weight: 800; color: #0a0a14; background: var(--grad); border: 0; }
.biz p, .job p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text); opacity: .88; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.biz-tags span { padding: 4px 10px; border-radius: 999px; font-size: 12px; background: rgba(0,229,255,.08); border: 1px solid rgba(0,229,255,.25); color: var(--cyan); }
.chip-state { color: var(--muted); }
.chip-link { color: var(--cyan); border-color: rgba(0,229,255,.35); }
.chip-link:hover { border-color: var(--cyan); }
.job-level { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-right: 6px; }
.job-level.lv1 { background: rgba(41,255,156,.14); color: var(--lime); }
.job-level.lv2 { background: rgba(255,197,66,.14); color: var(--gold); }
.job-level.lv3 { background: rgba(255,45,149,.14); color: var(--pink); }
.job-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 2px 0 0; padding: 12px; border-radius: 12px; background: rgba(10,11,22,.5); }
.job-facts dt { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.job-facts dd { margin: 2px 0 0; font-size: 13px; font-weight: 600; }
.job-facts .gold { color: var(--gold); }
.job-tips { margin: 0; padding: 0 0 0 4px; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.job-tips li { position: relative; padding-left: 20px; font-size: 13px; color: var(--text); opacity: .85; }
.job-tips li::before { content: '\2713'; position: absolute; left: 0; color: var(--lime); font-weight: 800; }


/* ---------- v18: paleta eleganta, logo animat, bizuri pe linii ---------- */
.fx-bg span { opacity: .35 !important; }
.fx-bg::after { opacity: .5; }
.neon { text-shadow: 0 0 18px rgba(123,108,240,.35); }
.fxl-app.on { background: rgba(60,207,142,.12); color: #6fe0ad; border-color: rgba(60,207,142,.3); }
.fxl-app.off { background: rgba(224,82,99,.12); color: #f08a97; border-color: rgba(224,82,99,.3); }
.biz-tags span { background: rgba(90,169,230,.1); border-color: rgba(90,169,230,.25); color: var(--cyan); }
.bzl { grid-template-columns: 52px minmax(200px, 1.8fr) minmax(90px, .8fr) minmax(90px, .7fr) minmax(110px, .9fr) minmax(140px, 1.2fr) 120px; }
.bzl-sells b { white-space: normal; font-size: 12.5px; line-height: 1.35; font-weight: 500; color: var(--muted); }
@media (max-width: 1000px) { .bzl { grid-template-columns: 44px 1fr 110px; } .bzl .fxl-lead, .bzl .fxl-stat { display: none; } }
.hero-x-brand img, .brand img { transition: transform .5s cubic-bezier(.34,1.56,.64,1), filter .4s; will-change: transform; animation: logo-float 5s ease-in-out infinite; }
.hero-x-brand img:hover, .brand img:hover { transform: rotate(-8deg) scale(1.12); filter: drop-shadow(0 0 18px rgba(123,108,240,.7)) drop-shadow(0 0 40px rgba(212,88,127,.35)); animation: logo-spin .9s ease-in-out; }
@keyframes logo-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes logo-spin { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(12deg) scale(1.18); } 100% { transform: rotate(-8deg) scale(1.12); } }
.site .rules-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.site .rules-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 13px; }
.site .rules-nav a:hover { border-color: var(--violet); }


/* ---------- v19: index modern (noutati, case de vanzare), feed noutati ---------- */
.home-duo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-bottom: 22px; }
@media (max-width: 1000px) { .home-duo { grid-template-columns: 1fr; } }
.home-duo .panel { position: relative; overflow: hidden; border-radius: 22px; }
.home-duo .panel::before { content: ''; position: absolute; inset: 0 auto auto 0; height: 3px; width: 100%; background: var(--grad); opacity: .7; }
.home-duo .panel-head h2 { display: flex; flex-direction: column; gap: 2px; font-size: 19px; }
.home-duo .panel-head .eyebrow { font-size: 10.5px; }
.hnews-list, .hsale-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hnews-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line-2); }
.hnews-list li div { display: flex; flex-direction: column; min-width: 0; } .hnews-list b { font-size: 14.5px; } .hnews-list small { color: var(--muted); font-size: 12.5px; }
.hnews-list time { font-size: 12px; white-space: nowrap; }
.hnews-kind, .news-kind { font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(123,108,240,.16); color: #b3a8ff; border: 1px solid rgba(123,108,240,.3); white-space: nowrap; }
.k-event .hnews-kind, .news-event .news-kind { background: rgba(217,179,90,.14); color: var(--gold); border-color: rgba(217,179,90,.3); }
.k-update .hnews-kind, .news-update .news-kind { background: rgba(60,207,142,.14); color: #6fe0ad; border-color: rgba(60,207,142,.3); }
.k-mentenanta .hnews-kind, .news-mentenanta .news-kind { background: rgba(224,82,99,.14); color: #f08a97; border-color: rgba(224,82,99,.3); }
.hsale-list a { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line-2); color: var(--text); transition: transform .2s, border-color .2s; }
.hsale-list a:hover { transform: translateX(4px); border-color: var(--violet); }
.hsale-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(90,169,230,.12); font-size: 18px; }
.hsale-list div { display: flex; flex-direction: column; min-width: 0; } .hsale-list b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hsale-list small { color: var(--muted); font-size: 12px; }
.hsale-list strong { font-family: 'Orbitron', sans-serif; font-size: 14px; color: var(--gold); white-space: nowrap; }
.news-feed { display: flex; flex-direction: column; gap: 12px; }
.news { padding: 18px 22px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line-2); border-left: 4px solid var(--violet); }
.news-event { border-left-color: var(--gold); } .news-update { border-left-color: var(--lime); } .news-mentenanta { border-left-color: var(--red); }
.news header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 12.5px; }
.news h3 { margin: 0 0 6px; font-size: 18px; } .news p { margin: 0; line-height: 1.6; }
.live-strip a:hover { border-color: rgba(123,108,240,.55); box-shadow: 0 12px 30px rgba(123,108,240,.15); }
.hero-x { border: 1px solid rgba(123,108,240,.28); box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); }
.about-card:hover { border-color: rgba(123,108,240,.5); }


/* ---------- v20: index nou (hx-*), detalii casa/biz (dx-*), vizual gradient (vz-*) ---------- */
.vz { background: var(--vz, linear-gradient(135deg, #7b6cf0, #d4587f)); color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.vz-1 { --vz: linear-gradient(135deg, #6f63d8 0%, #b45a8a 100%); }
.vz-2 { --vz: linear-gradient(135deg, #2f6fd1 0%, #5ad0e6 100%); }
.vz-3 { --vz: linear-gradient(135deg, #2e9d6d 0%, #8fd14f 100%); }
.vz-4 { --vz: linear-gradient(135deg, #c9772a 0%, #e8c15a 100%); }
.vz-5 { --vz: linear-gradient(135deg, #b8405a 0%, #ff8a65 100%); }
.vz-6 { --vz: linear-gradient(135deg, #3d4a8a 0%, #7f8ff2 100%); }

.hx { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: center; padding: 34px 38px; margin-bottom: 14px; border-radius: 28px; background: radial-gradient(900px 400px at 10% 0%, rgba(123,108,240,.22), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(212,88,127,.18), transparent 60%), var(--bg-2); border: 1px solid rgba(123,108,240,.28); box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); }
.hx-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); }
.hx-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: hx-float 12s ease-in-out infinite; }
.hx-bg i:nth-child(1) { width: 320px; height: 320px; left: -80px; top: -120px; background: #7b6cf0; }
.hx-bg i:nth-child(2) { width: 260px; height: 260px; right: 20%; bottom: -140px; background: #d4587f; animation-delay: -4s; }
.hx-bg i:nth-child(3) { width: 220px; height: 220px; right: -60px; top: -80px; background: #5aa9e6; animation-delay: -8s; }
@keyframes hx-float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, 20px) scale(1.08); } }
.hx > *:not(.hx-bg) { position: relative; z-index: 1; }
.hx-left { display: flex; align-items: center; gap: 28px; }
.hx-logo img { width: 128px; height: 128px; object-fit: contain; filter: drop-shadow(0 0 30px rgba(123,108,240,.6)); }
.hx-copy .eyebrow { display: inline-block; margin-bottom: 8px; }
.hx-copy h1 { margin: 0; font-family: 'Orbitron', sans-serif; font-size: 46px; letter-spacing: 3px; line-height: 1; }
.hx-copy h1 .neon { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-copy p { margin: 12px 0 0; max-width: 560px; color: var(--text); opacity: .85; font-size: 15px; line-height: 1.6; }
.hx-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.btn-lg { padding: 12px 22px; font-size: 15px; border-radius: 14px; }
.hx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hx-chips span { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--muted); }
.hx-live { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 18px; border-radius: 22px; background: rgba(10,11,18,.55); border: 1px solid var(--line); backdrop-filter: blur(10px); text-align: center; }
.hx-ring { position: relative; width: 132px; height: 132px; }
.hx-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hx-ring-bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 9; }
.hx-ring-val { fill: none; stroke: url(#hxg); stroke: var(--lime); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1s ease; filter: drop-shadow(0 0 8px rgba(60,207,142,.6)); }
.hx-live.down .hx-ring-val { stroke: var(--red); filter: none; }
.hx-ring-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hx-ring-txt b { font-family: 'Orbitron', sans-serif; font-size: 34px; line-height: 1; } .hx-ring-txt small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.hx-live-txt { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; text-align: left; }
.hx-live-txt b { font-size: 14px; letter-spacing: .5px; } .hx-live-txt small { grid-column: 2; color: var(--muted); font-size: 12px; }
.hx-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.hx-live.up .hx-dot { background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 1.6s infinite; }
.hx-ip { cursor: pointer; padding: 7px 14px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); font-size: 13.5px; transition: border-color .2s; }
.hx-ip:hover { border-color: var(--violet); } .hx-ip.copied::after { content: ' copiat'; color: var(--lime); font-size: 11px; }
@media (max-width: 980px) { .hx { grid-template-columns: 1fr; padding: 26px; } .hx-left { flex-direction: column; text-align: center; } .hx-actions, .hx-chips { justify-content: center; } .hx-copy h1 { font-size: 36px; } }

.hx-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 14px 0 18px; }
.hx-stats a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); transition: transform .2s, border-color .2s, box-shadow .2s; }
.hx-stats a:hover { transform: translateY(-3px); border-color: rgba(123,108,240,.55); box-shadow: 0 12px 30px rgba(123,108,240,.15); }
.hx-stats i { grid-row: 1 / 3; font-style: normal; font-size: 20px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(123,108,240,.14); }
.hx-stats b { font-family: 'Orbitron', sans-serif; font-size: 20px; line-height: 1.1; } .hx-stats span { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
@media (max-width: 1100px) { .hx-stats { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 600px) { .hx-stats { grid-template-columns: repeat(2, 1fr); } }

.hx-grid { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 16px; margin-bottom: 22px; }
@media (max-width: 1100px) { .hx-grid { grid-template-columns: 1fr 1fr; } .hx-top { grid-column: 1 / -1; } } @media (max-width: 760px) { .hx-grid { grid-template-columns: 1fr; } }
.hx-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line-2); }
.hx-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); opacity: .75; }
.hx-card > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
.hx-card > header h2 { margin: 2px 0 0; font-size: 19px; } .hx-card > header h2::after { display: none; } .hx-card > header .eyebrow { font-size: 10.5px; }
.hx-n { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line-2); border-left: 3px solid var(--violet); }
.hx-n.k-event { border-left-color: var(--gold); } .hx-n.k-update { border-left-color: var(--lime); } .hx-n.k-mentenanta { border-left-color: var(--red); }
.hx-n h3 { margin: 8px 0 4px; font-size: 15px; } .hx-n p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; } .hx-n time { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.hx-empty { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 14px; border: 1px dashed var(--line); color: var(--muted); }
.hx-empty span { font-size: 26px; } .hx-empty p { margin: 0; font-size: 13.5px; }
.hx-toplist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hx-toplist li { display: grid; grid-template-columns: 26px 1fr 60px; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 6px 8px; border-radius: 10px; }
.hx-toplist li:hover { background: rgba(255,255,255,.04); }
.hx-toplist i { grid-row: 1 / 3; font-style: normal; font-weight: 800; font-size: 12px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.06); }
.hx-toplist .p1 i { background: linear-gradient(135deg, #ffd166, #ff9f1c); color: #0a0a0a; } .hx-toplist .p2 i { background: linear-gradient(135deg, #dfe6f5, #9aa7c4); color: #0a0a0a; } .hx-toplist .p3 i { background: linear-gradient(135deg, #e0a06a, #b4652c); color: #0a0a0a; }
.hx-toplist a { font-weight: 600; font-size: 13.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-toplist small { grid-row: 1 / 3; text-align: right; color: var(--cyan); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.hx-toplist .bar { height: 4px; margin: 0; }

.hgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .hgrid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .hgrid, .hgrid-2 { grid-template-columns: 1fr 1fr; } }
.hcard { display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line-2); color: var(--text); transition: transform .2s, border-color .2s, box-shadow .2s; }
.hcard:hover { transform: translateY(-4px); border-color: rgba(123,108,240,.55); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.hcard-vis { position: relative; overflow: hidden; height: 74px; border-radius: 12px; display: grid; place-items: center; font-size: 30px; margin-bottom: 6px; }
.hcard-vis::after, .dx-shimmer { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); transform: translateX(-100%); animation: shimmer 3.2s ease-in-out infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.hcard b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hcard small { font-size: 11.5px; color: var(--muted); }
.hcard strong { font-family: 'Orbitron', sans-serif; font-size: 13px; color: var(--gold); margin-top: 4px; }
.hcard em { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; } .hcard em.free { color: var(--lime); } .hcard em.sold { color: var(--pink); }

.dx { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 26px; padding: 22px; margin-bottom: 22px; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line-2); animation: fade-up .4s ease both; }
@media (max-width: 900px) { .dx { grid-template-columns: 1fr; } }
.dx-media { position: relative; overflow: hidden; min-height: 280px; border-radius: 18px; display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.dx-media img { width: 100%; height: 100%; object-fit: cover; }
.dx-ico { font-size: 96px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.4)); animation: logo-float 5s ease-in-out infinite; }
.dx-tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(10,11,18,.7); border: 1px solid rgba(255,255,255,.15); font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); }
.dx-body h1 { margin: 6px 0 8px; font-size: 32px; letter-spacing: 1px; } .dx-lead { margin: 0 0 16px; color: var(--text); opacity: .85; line-height: 1.6; }
.dx-price { display: inline-flex; flex-direction: column; padding: 12px 18px; border-radius: 14px; background: rgba(217,179,90,.1); border: 1px solid rgba(217,179,90,.3); margin-bottom: 16px; }
.dx-price small { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); } .dx-price b { font-family: 'Orbitron', sans-serif; font-size: 26px; color: var(--gold); }
.dx-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.dx-facts div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 3px; }
.dx-facts small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); } .dx-facts b { font-size: 14px; }
.txt-green { color: var(--lime); } .txt-pink { color: var(--pink); }
.dx-steps { padding: 14px 18px; border-radius: 14px; background: rgba(123,108,240,.08); border: 1px solid rgba(123,108,240,.25); }
.dx-steps h3 { margin: 0 0 8px; font-size: 15px; } .dx-steps ol { margin: 0; padding-left: 20px; line-height: 1.7; font-size: 13.5px; }
.fxl-arrow { color: var(--muted); font-size: 18px; } a.fxl { color: inherit; } a.fxl:hover .fxl-arrow { color: var(--violet); }
.bzl { grid-template-columns: 52px minmax(200px, 1.8fr) minmax(90px, .8fr) minmax(90px, .7fr) minmax(110px, .9fr) minmax(140px, 1.2fr) 120px 24px; }
.hrow-img.vz { font-size: 20px; }
