/* ELDERCS.RO – PLAYERS ONLINE (date din online-players.php) */
.ec-online { width: 95%; max-width: 1300px; margin: 10px auto 28px; }
.ec-online .on-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }
.ec-online .on-head::before, .ec-online .on-head::after { content: ''; height: 1px; flex: 1; max-width: 240px; background: linear-gradient(90deg, transparent, rgba(61, 220, 132, .6)); }
.ec-online .on-head::after { background: linear-gradient(90deg, rgba(61, 220, 132, .6), transparent); }
.ec-online .on-title { font-family: 'Orbitron', sans-serif; font-weight: 900; letter-spacing: 5px; font-size: clamp(1rem, 3vw, 1.6rem); text-transform: uppercase; white-space: nowrap; color: #fff; }
.ec-online .on-title .g { color: #3ddc84; }

.ec-online .on-box { position: relative; border: 1px solid rgba(61, 220, 132, .3); border-radius: 8px; background: rgba(10, 10, 12, .6); backdrop-filter: blur(8px); padding: 16px 18px 12px; }
/* LIVE: borde care "bate" + linie de scanare */
.ec-online .on-pulse { position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; border: 1px solid rgba(61, 220, 132, .75); animation: on-beat 2.4s ease-out infinite; }
@keyframes on-beat { 0% { opacity: .9; box-shadow: 0 0 0 0 rgba(61, 220, 132, .45), inset 0 0 18px rgba(61, 220, 132, .12); } 70% { opacity: 0; box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { opacity: 0; } }

.ec-online .on-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ec-online .on-scan { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.ec-online .on-scan::before { content: ''; position: absolute; top: 0; bottom: 0; width: 28%; left: -30%; background: linear-gradient(90deg, transparent, rgba(61, 220, 132, .9), #b9ffd6, rgba(61, 220, 132, .9), transparent); box-shadow: 0 0 12px rgba(61, 220, 132, .9); animation: on-scan 3.2s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes on-scan { to { left: 102%; } }
.ec-online .on-left, .ec-online .on-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ec-online .on-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: 2px; color: #8affb9; background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .4); }
.ec-online .on-live i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; animation: on-ping 1.5s infinite; }
@keyframes on-ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); } 80%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }
.ec-online .on-count { font-family: 'Orbitron', sans-serif; font-weight: 900; color: #3ddc84; font-size: 1.15rem; text-shadow: 0 0 12px rgba(61, 220, 132, .5); }
.ec-online .on-count small { color: rgba(255, 255, 255, .55); font-size: .75rem; letter-spacing: 1px; }
.ec-online .on-staff-count { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: 1px; color: #c4b5fd; background: rgba(168, 85, 247, .1); border: 1px solid rgba(168, 85, 247, .35); }
.ec-online .on-staff-count.none { color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); }
.ec-online .on-map { font-size: .85rem; font-weight: 700; letter-spacing: 1px; color: rgba(255, 255, 255, .6); }
.ec-online .on-map b { color: #fff; }

.ec-online .on-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 12px; }
.ec-online .on-player { position: relative; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; color: #fff; cursor: pointer;
    background: linear-gradient(180deg, rgba(22, 22, 26, .96), rgba(12, 12, 15, .96)); border: 1px solid rgba(229, 141, 39, .22);
    opacity: 0; transform: translateY(10px); animation: on-in .45s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 40ms);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease; }
@keyframes on-in { to { opacity: 1; transform: none; } }
.ec-online .on-player:hover { transform: translateY(-3px); filter: brightness(1.12); border-color: rgba(229, 141, 39, .65); box-shadow: 0 12px 26px -12px rgba(229, 141, 39, .8); }
.ec-online .on-player.is-staff { border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.ec-online .on-player.top1 { border-color: rgba(255, 210, 74, .55); }
.ec-online .on-crown { position: absolute; top: -9px; left: 26px; font-size: .9rem; color: #ffd24a; filter: drop-shadow(0 0 6px rgba(255, 210, 74, .8)); }
.ec-online .on-av-wrap { position: relative; flex: 0 0 46px; }
.ec-online .on-av { display: block; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(229, 141, 39, .6); background: #1a1a1d; }
.ec-online .on-player.is-staff .on-av { border-color: var(--c); }
.ec-online .on-player.top1 .on-av { border-color: #ffd24a; box-shadow: 0 0 12px rgba(255, 210, 74, .5); }
.ec-online .on-dot { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #3ddc84; border: 2px solid #121214; animation: on-ping 1.8s infinite; }
.ec-online .on-info { min-width: 0; flex: 1; }
.ec-online .on-name { display: block; font-weight: 700; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-online .on-tags { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin: 2px 0 3px; }
.ec-online .on-tag { display: inline-block; padding: 1px 7px; border-radius: 20px; font-size: .62rem; font-weight: 800; letter-spacing: .6px; line-height: 1.5; color: #fff; white-space: nowrap; }
.ec-online .on-tag.staff { background: var(--c); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 60%, transparent); }
.ec-online .on-tag.new { color: #0a0a0c; background: #3ddc84; animation: on-blink 1.2s steps(2, start) infinite; }
@keyframes on-blink { to { opacity: .55; } }
.ec-online .on-tag.vip { animation: on-shine 3s linear infinite; background-size: 200% 100%; }
.ec-online .on-tag.vip i { font-size: .55rem; margin-right: 2px; }
@keyframes on-shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.ec-online .on-tag.vip-free    { color: #0a0a0c; background-image: linear-gradient(110deg, #ffd24a, #e58d27, #ffd24a); }
.ec-online .on-tag.vip-pro     { background-image: linear-gradient(110deg, #0891b2, #38bdf8, #0891b2); }
.ec-online .on-tag.vip-premium { color: #0a0a0c; background-image: linear-gradient(110deg, #e58d27, #ffb454, #e58d27); }
.ec-online .on-tag.vip-extreme { background-image: linear-gradient(110deg, #be123c, #ff3d6e, #a855f7, #be123c); background-size: 250% 100%; box-shadow: 0 0 10px rgba(255, 61, 110, .45); }
.ec-online .on-rating { display: inline-flex; align-items: center; padding: 0 9px; height: 17px; transform: skewX(-14deg); border-radius: 3px; background: linear-gradient(90deg, var(--tb), transparent 140%); border-left: 3px solid var(--t); box-shadow: inset 0 0 0 1px var(--tb); }
.ec-online .on-rating b { transform: skewX(14deg); font-family: 'Orbitron', sans-serif; font-style: italic; font-weight: 900; font-size: .7rem; letter-spacing: .5px; color: var(--t); }
.ec-online .on-pos { display: inline-flex; align-items: center; gap: 4px; height: 17px; padding: 0 7px; border-radius: 20px; font-size: .66rem; font-weight: 800; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.ec-online .on-pos i { font-size: .58rem; opacity: .6; }
.ec-online .on-pos.gold   { color: #ffd24a; background: rgba(255, 210, 74, .12); border-color: rgba(255, 210, 74, .45); }
.ec-online .on-pos.silver { color: #d9dee6; background: rgba(217, 222, 230, .1); border-color: rgba(217, 222, 230, .4); }
.ec-online .on-pos.bronze { color: #e0965a; background: rgba(224, 150, 90, .12); border-color: rgba(224, 150, 90, .45); }
.ec-online .on-meta { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.ec-online .on-meta b { color: #ffb454; }
.ec-online .on-meta .sep { opacity: .35; }
.ec-online .on-steam { position: relative; z-index: 2; padding: 4px; color: rgba(255, 255, 255, .35); font-size: 1.1rem; transition: color .2s; }
.ec-online .on-player:hover .on-steam { color: #66c0f4; }
.ec-online .on-empty { grid-column: 1 / -1; padding: 22px 10px; text-align: center; color: rgba(255, 255, 255, .6); font-size: 1.05rem; }
.ec-online .on-empty i { display: block; font-size: 2rem; margin-bottom: 10px; color: rgba(61, 220, 132, .5); }
.ec-online .on-foot { margin-top: 10px; font-size: .78rem; color: rgba(255, 255, 255, .35); text-align: right; }
@media (max-width: 860px) { .ec-online { width: 92%; } .ec-online .on-box { padding: 12px; } }
@media (max-width: 560px) { .ec-online .on-grid { grid-template-columns: 1fr; } .ec-online .on-bar { justify-content: center; } }
