/* ============================================================================
   ELARIS2 - tema "Frost & Storm"
   Paleta vine din logo: otel argintiu-gheata (E) + albastru electric (2) pe negru-navy.
   ============================================================================ */

:root {
  --bg-0: #0a1327;
  --bg-1: #0e1a35;
  --bg-2: #132245;
  --bg-3: #192d57;

  --ice-1: #eaf6ff;
  --ice-2: #bfe3ff;
  --ice-3: #7cc4ff;
  --ice-4: #3aa0ff;
  --ice-5: #1478e6;
  --ice-6: #0b4fa8;

  --silver-1: #f5f8fc;
  --silver-2: #d3dde8;
  --silver-3: #a3b3c6;
  --silver-4: #6f8095;
  --silver-5: #45536a;

  --line: rgba(140, 200, 255, .24);
  --line-strong: rgba(140, 200, 255, .5);
  --glass: rgba(16, 30, 60, .72);
  --glass-2: rgba(20, 38, 74, .8);

  --glow-sm: 0 0 14px rgba(58, 160, 255, .35);
  --glow: 0 0 28px rgba(58, 160, 255, .45);
  --glow-lg: 0 0 60px rgba(58, 160, 255, .35);
  --shadow: 0 14px 40px rgba(0, 0, 0, .5);

  --font-display: 'Cinzel', 'Georgia', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --container: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--silver-1);
  background: var(--bg-0);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: inline-block; }
a { color: var(--ice-3); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ice-1); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0; color: var(--silver-1); }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85em; background: rgba(124, 196, 255, .1); padding: 2px 6px; border-radius: 4px; color: var(--ice-2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
::selection { background: rgba(58, 160, 255, .45); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--ice-4), var(--ice-6)); border-radius: 6px; border: 2px solid var(--bg-1); }

/* Text metalic (argint-gheata) */
.e2-metal {
  background: linear-gradient(180deg, #ffffff 0%, #e4f0fb 30%, #9fbfdf 50%, #f0f7ff 62%, #b4cbe3 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 10px rgba(80, 170, 255, .35)) drop-shadow(0 2px 2px rgba(0, 0, 0, .6));
}

/* Iconite (SVG inline, stroke) */
.e2-ico { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.e2-ico-xs { width: 14px; height: 14px; }

/* ============================================================================
   Fundal: gradient + aurora + ceata + grain (fix), particule pe canvas, fulger
   ============================================================================ */
.e2-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(1300px 700px at 50% -12%, rgba(40, 120, 230, .5) 0%, rgba(20, 70, 160, .22) 40%, transparent 70%),
    radial-gradient(900px 500px at 85% 110%, rgba(30, 90, 190, .32), transparent 65%),
    linear-gradient(180deg, #12224a 0%, #0d1a38 45%, #0a1327 100%);
}
.e2-aurora { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; filter: blur(70px); opacity: .6; mix-blend-mode: screen; will-change: transform; }
.e2-aurora.a1 { left: -12vw; top: -20vw; background: radial-gradient(circle, rgba(50, 140, 250, .4), rgba(50, 140, 250, 0) 65%); animation: auroraA 38s ease-in-out infinite alternate; }
.e2-aurora.a2 { right: -15vw; top: 10vh; background: radial-gradient(circle, rgba(150, 215, 255, .26), rgba(150, 215, 255, 0) 65%); animation: auroraB 46s ease-in-out infinite alternate; }
@keyframes auroraA { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(12vw, 8vh, 0) scale(1.15); } 100% { transform: translate3d(4vw, 18vh, 0) scale(.95); } }
@keyframes auroraB { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-10vw, -6vh, 0) scale(1.1); } 100% { transform: translate3d(-18vw, 10vh, 0) scale(1.2); } }
.e2-mist { position: absolute; left: -20%; right: -20%; height: 45vh; filter: blur(40px); opacity: .5; mix-blend-mode: screen; }
.e2-mist.m1 { top: 20vh; background: radial-gradient(60% 60% at 30% 50%, rgba(90, 160, 240, .16), transparent 70%), radial-gradient(50% 60% at 75% 40%, rgba(160, 220, 255, .10), transparent 70%); animation: mist 60s ease-in-out infinite alternate; }
.e2-mist.m2 { bottom: -10vh; background: radial-gradient(60% 60% at 60% 60%, rgba(40, 110, 220, .16), transparent 70%); animation: mist 80s ease-in-out infinite alternate-reverse; }
@keyframes mist { from { transform: translate3d(-4%, 0, 0); } to { transform: translate3d(4%, -3%, 0); } }
.e2-grain { position: absolute; inset: 0; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px; }

.e2-header, .e2-hero, .e2-pagehero, .e2-main, .e2-footer, .e2-cookie { position: relative; z-index: 3; }

/* ============================================================================
   Header / navigatie
   ============================================================================ */
.e2-header { position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: linear-gradient(180deg, rgba(12, 22, 46, .94), rgba(12, 22, 46, .6));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: background .3s, box-shadow .3s; }
.e2-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 196, 255, .55) 30%, rgba(234, 246, 255, .9) 50%, rgba(124, 196, 255, .55) 70%, transparent); opacity: .7; }
.e2-header.is-scrolled { background: rgba(12, 22, 46, .96); box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.e2-nav { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.e2-brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.e2-brand-emblem { width: 46px; height: 46px; filter: drop-shadow(0 0 10px rgba(58, 160, 255, .55)); transition: transform .3s, filter .3s; }
.e2-brand:hover .e2-brand-emblem { transform: scale(1.06) rotate(-3deg); filter: drop-shadow(0 0 16px rgba(120, 200, 255, .9)); }
.e2-brand-text { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: 3px; color: var(--silver-1);
  text-shadow: 0 0 14px rgba(124, 196, 255, .35); }
.e2-brand-text span { color: var(--ice-3); text-shadow: 0 0 14px rgba(58, 160, 255, .9); }

.e2-menu { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.e2-menu > a, .e2-dd-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--silver-3);
  background: transparent; border: 1px solid transparent; cursor: pointer; transition: all .25s; position: relative; }
.e2-menu > a:hover, .e2-dd-toggle:hover, .e2-dd.is-active .e2-dd-toggle { color: var(--ice-1); text-shadow: 0 0 12px rgba(124, 196, 255, .8); }
.e2-menu > a.is-active { color: var(--ice-1); }
.e2-menu > a.is-active::after, .e2-dd.is-active > .e2-dd-toggle::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice-3), transparent); box-shadow: 0 0 8px var(--ice-4); }
.e2-menu-mobile-extra { display: none; }

.e2-dd { position: relative; }
.e2-dd-menu { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 200px; padding: 6px;
  background: linear-gradient(180deg, #17294f, #0f1d3c); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow), var(--glow-sm);
  opacity: 0; visibility: hidden; transition: all .2s; z-index: 60; }
.e2-dd:hover .e2-dd-menu, .e2-dd:focus-within .e2-dd-menu, .e2-dd.is-open .e2-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.e2-dd-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; color: var(--silver-2); font-size: 13.5px; }
.e2-dd-menu a:hover { background: rgba(58, 160, 255, .14); color: var(--ice-1); }

.e2-nav-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.e2-lang { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 20, 44, .6); }
.e2-lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--silver-4); transition: all .2s; }
.e2-lang-btn img { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; opacity: .8; }
.e2-lang-btn:hover { color: var(--silver-1); }
.e2-lang-btn.is-active { background: linear-gradient(180deg, rgba(58, 160, 255, .35), rgba(20, 120, 230, .25)); color: var(--ice-1); box-shadow: inset 0 0 0 1px var(--line-strong), var(--glow-sm); }
.e2-lang-btn.is-active img { opacity: 1; }
.e2-nav-account span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.e2-burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.e2-burger span { display: block; width: 22px; height: 2px; background: var(--ice-2); border-radius: 2px; transition: transform .3s, opacity .3s; box-shadow: 0 0 6px rgba(124, 196, 255, .6); }
.e2-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.e2-burger.is-open span:nth-child(2) { opacity: 0; }
.e2-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================================
   Butoane
   ============================================================================ */
.e2-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; line-height: 1.2; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s, box-shadow .25s, background .25s, color .25s, border-color .25s; overflow: hidden; white-space: nowrap; text-decoration: none; }
.e2-btn:disabled, .e2-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.e2-btn .e2-ico { width: 17px; height: 17px; }
.e2-btn-sm { padding: 8px 14px; font-size: 11.5px; letter-spacing: 1.2px; }
.e2-btn-lg { padding: 15px 30px; font-size: 14px; }
.e2-btn-block { width: 100%; }

.e2-btn-primary { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  background: linear-gradient(180deg, #74c8ff 0%, #2f92f2 45%, #0f62c8 100%); border-color: rgba(190, 227, 255, .8);
  box-shadow: 0 0 0 1px rgba(20, 120, 230, .3), 0 8px 24px rgba(20, 120, 230, .35), inset 0 1px 0 rgba(255, 255, 255, .45); }
.e2-btn-primary::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shine 4s ease-in-out infinite; }
@keyframes shine { 0% { left: -75%; } 45%, 100% { left: 140%; } }
.e2-btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 0 0 1px rgba(124, 196, 255, .5), 0 12px 34px rgba(58, 160, 255, .55), var(--glow), inset 0 1px 0 rgba(255, 255, 255, .5); }

.e2-btn-silver { color: #0a1a33; background: linear-gradient(180deg, #ffffff 0%, #dbe6f2 45%, #aebfd2 100%); border-color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35), inset 0 1px 0 #fff; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.e2-btn-silver:hover { transform: translateY(-2px); color: #0a1a33; box-shadow: 0 12px 34px rgba(0, 0, 0, .45), 0 0 26px rgba(200, 230, 255, .45), inset 0 1px 0 #fff; }

.e2-btn-ghost { color: var(--ice-2); background: rgba(18, 34, 68, .55); border-color: var(--line-strong); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.e2-btn-ghost:hover { color: var(--ice-1); background: rgba(58, 160, 255, .16); border-color: var(--ice-3); box-shadow: var(--glow-sm); transform: translateY(-1px); }
.e2-btn-danger { color: #ffb4b4; border-color: rgba(255, 110, 110, .4); }
.e2-btn-danger:hover { color: #fff; background: rgba(255, 90, 90, .18); border-color: rgba(255, 130, 130, .8); box-shadow: 0 0 14px rgba(255, 90, 90, .35); }

/* ============================================================================
   Hero (prima pagina)
   ============================================================================ */
.e2-hero { position: relative; padding: 10px 0 26px; text-align: center; overflow: hidden; }
.e2-hero-inner { position: relative; z-index: 2; }
/* canvas-ul cu efecte sta peste tot hero-ul (reflexia in apa, fulgere, arcuri, sclipiri) - assets/js/elaris.js */
.e2-fx { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.e2-hero-art { position: relative; width: min(880px, 94vw); margin: 0 auto; }
/* literele: imaginea e taiata exact la linia apei; marginile sunt estompate in fisier, deci se pierd in fundal */
.e2-wm { position: relative; z-index: 1; animation: heroFloat 7s ease-in-out 1.4s infinite; }
.e2-wm-glow { position: absolute; left: 6%; right: 6%; top: 12%; bottom: -34%; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 62%, rgba(60, 160, 255, .30) 0%, rgba(40, 110, 220, .12) 45%, transparent 70%);
  filter: blur(26px); animation: wmGlow 6s ease-in-out infinite; }
@keyframes wmGlow { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: .9; transform: scale(1.05); } }
.e2-wm-glowflash { position: absolute; left: -4%; right: -4%; top: -10%; bottom: -40%; border-radius: 50%; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at 50% 55%, rgba(200, 235, 255, .5) 0%, rgba(90, 175, 255, .25) 40%, transparent 70%); filter: blur(30px); }
.e2-hero-img { display: block; position: relative; width: 100%; height: auto; animation: heroIn 1.4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px) scale(.97); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
/* straturi mascate cu forma literelor: lumina care trece prin gheata + flash-ul de fulger */
.e2-wm-fx { position: absolute; inset: 0; pointer-events: none; opacity: 0; animation: fxIn 1.2s ease-out 1.1s forwards;
  -webkit-mask-image: url(../img/hero-letters.webp); mask-image: url(../img/hero-letters.webp);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
@keyframes fxIn { to { opacity: 1; } }
.e2-wm-energy { mix-blend-mode: screen;
  background: linear-gradient(112deg, transparent 0%, transparent 38%, rgba(140, 215, 255, .32) 45%, rgba(235, 248, 255, .85) 50%, rgba(140, 215, 255, .32) 55%, transparent 62%, transparent 100%);
  background-size: 260% 100%; background-repeat: no-repeat; background-position: 120% 0; }
.js .e2-wm-energy { animation: fxIn 1.2s ease-out 1.1s forwards, wmSweep 9s ease-in-out 2.4s infinite; }
@keyframes wmSweep { 0% { background-position: 120% 0; } 32% { background-position: -20% 0; } 100% { background-position: -20% 0; } }
.e2-wm-flash { mix-blend-mode: screen; background: linear-gradient(180deg, #fff, #cfe9ff); opacity: 0; animation: none; }
.is-flash .e2-wm-flash { animation: wmFlash .6s ease-out; }
.is-flash .e2-wm-glowflash { animation: wmFlash .7s ease-out; opacity: 0; }
@keyframes wmFlash { 0% { opacity: 0; } 8% { opacity: .62; } 20% { opacity: .18; } 32% { opacity: .45; } 50% { opacity: .1; } 100% { opacity: 0; } }
/* apa: banda pe toata latimea, la linia de jos a literelor; reflexia animata o deseneaza canvas-ul, fara JS ramane <noscript> */
.e2-water { position: relative; left: 50%; width: 100vw; transform: translateX(-50%); height: calc(min(880px, 94vw) * .16); pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, rgba(58, 150, 255, .17) 0%, rgba(30, 90, 190, .10) 35%, rgba(14, 28, 58, 0) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.e2-water::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; opacity: .9;
  background: linear-gradient(90deg, transparent 0%, rgba(124, 196, 255, .5) 28%, rgba(234, 246, 255, .95) 50%, rgba(124, 196, 255, .5) 72%, transparent 100%);
  box-shadow: 0 0 18px rgba(90, 175, 255, .8), 0 0 44px rgba(58, 160, 255, .5); animation: waterLine 5s ease-in-out infinite; }
@keyframes waterLine { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.e2-reflect-static { position: absolute; left: 50%; top: 0; width: min(880px, 94vw); height: auto; transform: translateX(-50%) scaleY(-1); opacity: .6; filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, .9), transparent 62%); mask-image: linear-gradient(0deg, rgba(0, 0, 0, .9), transparent 62%); }
.e2-hero-tag { font-family: var(--font-display); font-weight: 600; font-size: clamp(14px, 1.9vw, 19px); letter-spacing: 6px; text-transform: uppercase; color: var(--silver-2);
  text-shadow: 0 0 20px rgba(124, 196, 255, .4); margin: 14px 0 20px; }
.e2-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
/* linia de stare (jucatori online / 24h) - inlocuieste bara de statistici */
.e2-status { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 22px auto 0; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(14, 28, 58, .6); font-size: 13.5px; color: var(--silver-3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.e2-status b { color: var(--ice-1); font-weight: 700; font-variant-numeric: tabular-nums; }
.e2-status-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: dotPulse 2.2s ease-out infinite; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.e2-status-sep { width: 1px; height: 14px; background: var(--line-strong); }
/* statistici in sidebar (randuri) */
.e2-statrows { list-style: none; margin: 0; padding: 6px 8px; }
.e2-statrows li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; font-size: 13.5px; color: var(--silver-3); }
.e2-statrows li + li { border-top: 1px solid rgba(140, 200, 255, .1); }
.e2-statrows .e2-ico { color: var(--ice-3); }
.e2-statrows span { flex: 1; }
.e2-statrows b { font-family: var(--font-display); font-size: 15px; color: var(--ice-1); font-variant-numeric: tabular-nums; }

/* Hero mic (subpagini) */
.e2-pagehero { padding: 46px 0 26px; text-align: center; position: relative; }
.e2-pagehero::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 100%); height: 100%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 80% at 50% 0%, rgba(58, 160, 255, .18), transparent 70%); }
.e2-pagehero-emblem img { width: 64px; height: 64px; filter: drop-shadow(0 0 16px rgba(58, 160, 255, .6)); animation: heroFloat 6s ease-in-out infinite; }
.e2-title { font-size: clamp(26px, 4vw, 40px); letter-spacing: 4px; text-transform: uppercase; margin-top: 10px; }
.e2-pagehero-sub { color: var(--silver-3); margin: 8px 0 0; font-size: 15px; }

/* ============================================================================
   Statistici (doar in admin dashboard)
   ============================================================================ */
.e2-stat { position: relative; text-align: center; padding: 18px 12px 14px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 42, 80, .8), rgba(14, 26, 53, .9)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06); overflow: hidden; }
.e2-stat::before { content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, var(--ice-3), transparent); box-shadow: 0 0 10px var(--ice-4); }
.e2-stat-ico { width: 22px; height: 22px; color: var(--ice-3); margin-bottom: 6px; filter: drop-shadow(0 0 6px rgba(58, 160, 255, .7)); }
.e2-stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: 1px; line-height: 1.1; }
.e2-stat span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver-4); }

/* ============================================================================
   Layout principal
   ============================================================================ */
.e2-main { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; padding-top: 6px; padding-bottom: 60px; }
.e2-main-full { grid-template-columns: minmax(0, 1fr); }
.e2-content { min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.e2-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.e2-block { display: flex; flex-direction: column; gap: 16px; }

.e2-section-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.e2-section-title { font-size: 20px; letter-spacing: 3px; text-transform: uppercase; }
.e2-section-line { flex: 1; height: 1px; min-width: 40px; background: linear-gradient(90deg, var(--line-strong), transparent); position: relative; }
.e2-section-line::before { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--ice-3); box-shadow: 0 0 10px var(--ice-4); }
.e2-section-sub { flex-basis: 100%; margin: -6px 0 0; color: var(--silver-3); font-size: 14px; }

/* ============================================================================
   Panouri
   ============================================================================ */
.e2-panel { position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 44, 84, .78), rgba(15, 28, 56, .88));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow: hidden; }
.e2-panel::before { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(124, 196, 255, .6), transparent); pointer-events: none; }
.e2-panel-head { display: flex; align-items: center; gap: 10px; padding: 13px 18px; font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--ice-2);
  border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(70, 165, 255, .18), rgba(70, 165, 255, .03)); position: relative; overflow: hidden; }
.e2-panel-head .e2-ico { color: var(--ice-3); filter: drop-shadow(0 0 5px rgba(58, 160, 255, .8)); }
.e2-panel-head::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(180, 225, 255, .12), transparent); animation: headSweep 7s ease-in-out infinite; pointer-events: none; }
@keyframes headSweep { 0% { left: -60%; } 50%, 100% { left: 140%; } }
.e2-panel-more { margin-left: auto; font-family: var(--font-body); font-size: 11px; letter-spacing: .5px; text-transform: none; color: var(--silver-4); }
.e2-panel-more:hover { color: var(--ice-2); }
.e2-panel-body { padding: 18px; }
.e2-empty { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 34px 18px; color: var(--silver-4); font-size: 14px; text-align: center; }
.e2-empty-inline { padding: 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); margin-top: 6px; }
.e2-note { font-size: 13px; color: var(--silver-4); line-height: 1.6; }

/* Alerte */
.e2-alert { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: 14px; line-height: 1.5; animation: alertIn .35s ease-out both; }
.e2-alert .e2-ico { width: 20px; height: 20px; }
.e2-alert span { flex: 1; }
.e2-alert-close { background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; opacity: .6; padding: 0 4px; }
.e2-alert-close:hover { opacity: 1; }
.e2-alert-error, .e2-alert-warning { color: #ffd3c9; border-color: rgba(255, 140, 110, .45); background: rgba(120, 40, 30, .35); }
.e2-alert-success { color: #d6ffe6; border-color: rgba(90, 220, 150, .45); background: rgba(20, 90, 60, .35); }
.e2-alert-info { color: var(--ice-2); border-color: var(--line-strong); background: rgba(20, 60, 120, .35); }
.e2-alert.is-hiding { animation: alertOut .3s ease-in forwards; }
@keyframes alertIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes alertOut { to { opacity: 0; transform: translateY(-10px); } }

/* ============================================================================
   Formulare
   ============================================================================ */
.e2-form { display: flex; flex-direction: column; gap: 14px; }
.e2-form-inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.e2-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.e2-field-grow { flex: 1; }
.e2-field > span, .e2-form-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver-3); }
.e2-form-title { font-family: var(--font-display); font-size: 13px; color: var(--ice-2); margin: 6px 0 -4px; }
.e2-field small { font-size: 12px; color: var(--silver-4); }
.e2-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.e2-field-error { color: #ffb4b4; font-size: 12px; margin-top: -6px; }
.e2-input, .e2-form textarea, .e2-form select { width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); color: var(--silver-1); font: inherit; font-size: 14px;
  background: linear-gradient(180deg, rgba(8, 18, 40, .9), rgba(12, 24, 50, .9)); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45); transition: border-color .2s, box-shadow .2s; }
.e2-input::placeholder { color: var(--silver-5); }
.e2-input:focus, .e2-form textarea:focus { outline: none; border-color: var(--ice-3); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), 0 0 0 3px rgba(58, 160, 255, .18), var(--glow-sm); }
.e2-input.is-invalid { border-color: rgba(255, 120, 120, .8); box-shadow: 0 0 0 3px rgba(255, 90, 90, .15); }
.e2-input-code { font-family: var(--font-display); font-size: 22px; letter-spacing: 8px; text-align: center; }
.e2-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--silver-3); line-height: 1.5; cursor: pointer; }
.e2-check input { appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; border: 1px solid var(--line-strong); border-radius: 5px; background: rgba(8, 18, 40, .9); position: relative; cursor: pointer; transition: all .2s; }
.e2-check input:checked { background: linear-gradient(180deg, var(--ice-4), var(--ice-6)); border-color: var(--ice-3); box-shadow: var(--glow-sm); }
.e2-check input:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.e2-check a { text-decoration: underline; text-underline-offset: 2px; }
.e2-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.e2-inline-form { margin: 0; display: inline-block; }
.e2-form-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; }
.g-recaptcha { transform: scale(.92); transform-origin: 0 0; }

/* ============================================================================
   Sidebar: cont + top
   ============================================================================ */
.e2-welcome { font-size: 14px; margin-bottom: 12px; }
.e2-welcome strong { color: var(--ice-1); }
.e2-account-nav { display: flex; flex-direction: column; gap: 8px; }
.e2-account-nav .e2-btn { justify-content: flex-start; }
.e2-top { list-style: none; margin: 0; padding: 6px 8px; }
.e2-top li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13.5px; transition: background .2s; }
.e2-top li:hover { background: rgba(58, 160, 255, .1); }
.e2-top li + li { border-top: 1px solid rgba(124, 196, 255, .08); }
.e2-top-name { flex: 1; color: var(--silver-1); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.e2-rank { width: 26px; height: 26px; flex: 0 0 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: 11.5px; color: var(--silver-2);
  background: rgba(124, 196, 255, .1); border: 1px solid var(--line); }
.e2-rank-1 { color: #2a1b00; background: linear-gradient(180deg, #ffe9a0, #d9a629); border-color: #ffe9a0; box-shadow: 0 0 14px rgba(255, 210, 90, .55); }
.e2-rank-2 { color: #1a2230; background: linear-gradient(180deg, #ffffff, #b8c6d6); border-color: #fff; box-shadow: 0 0 14px rgba(220, 235, 255, .5); }
.e2-rank-3 { color: #2b1408; background: linear-gradient(180deg, #f2b585, #b8672c); border-color: #f2b585; box-shadow: 0 0 14px rgba(240, 160, 100, .45); }
.e2-lvl { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--ice-2); border: 1px solid var(--line-strong); background: rgba(58, 160, 255, .12); white-space: nowrap; }


/* ============================================================================
   Stiri / continut bogat
   ============================================================================ */
.e2-news { display: flex; flex-direction: column; gap: 16px; }
.e2-news-item { padding: 22px 24px; }
.e2-news-item-first { border-color: var(--line-strong); }
.e2-news-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.e2-news-head h3 { font-size: 18px; letter-spacing: .5px; color: var(--silver-1); }
.e2-news-head time { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 12px; color: var(--silver-4); white-space: nowrap; margin-top: 3px; }
.e2-richtext { font-size: 14.5px; line-height: 1.75; color: var(--silver-2); overflow-wrap: anywhere; }
.e2-richtext > :first-child { margin-top: 0; }
.e2-richtext > :last-child { margin-bottom: 0; }
.e2-richtext h1, .e2-richtext h2, .e2-richtext h3, .e2-richtext h4 { color: var(--ice-1); margin: 22px 0 10px; letter-spacing: 1px; }
.e2-richtext h1 { font-size: 24px; } .e2-richtext h2 { font-size: 20px; } .e2-richtext h3 { font-size: 17px; } .e2-richtext h4 { font-size: 15px; }
.e2-richtext p { margin: 10px 0; }
.e2-richtext ul, .e2-richtext ol { margin: 10px 0; padding-left: 24px; }
.e2-richtext li { margin: 4px 0; }
.e2-richtext strong { color: var(--silver-1); }
.e2-richtext hr { border: 0; border-top: 1px solid var(--line-strong); margin: 18px 0; }
.e2-richtext blockquote { margin: 14px 0; padding: 10px 16px; border-left: 3px solid var(--ice-4); background: rgba(58, 160, 255, .08); border-radius: 0 8px 8px 0; }
.e2-richtext table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.e2-richtext td, .e2-richtext th { border: 1px solid var(--line); padding: 8px 10px; }
.e2-richtext img { border-radius: 8px; }
.e2-richtext iframe { max-width: 100%; border-radius: 8px; }
.e2-page-content { padding: 26px 30px; }
.e2-page-foot { display: flex; align-items: center; gap: 6px; padding: 10px 30px; border-top: 1px solid var(--line); font-size: 12px; color: var(--silver-4); }

/* ============================================================================
   Features + pasi
   ============================================================================ */
.e2-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.e2-feature { position: relative; padding: 22px 20px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 22, 46, .7), rgba(5, 11, 24, .85)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .3s, border-color .3s, box-shadow .3s; overflow: hidden; }
.e2-feature::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 20% 0%, rgba(58, 160, 255, .18), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.e2-feature:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow), var(--glow-sm); }
.e2-feature:hover::after { opacity: 1; }
.e2-feature-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px; color: var(--ice-2);
  background: linear-gradient(180deg, rgba(58, 160, 255, .3), rgba(20, 120, 230, .12)); border: 1px solid var(--line-strong); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), var(--glow-sm); }
.e2-feature-ico .e2-ico { width: 22px; height: 22px; }
.e2-feature h3 { font-size: 14.5px; letter-spacing: 1px; color: var(--silver-1); margin-bottom: 8px; }
.e2-feature p { font-size: 13.5px; color: var(--silver-3); margin: 0; line-height: 1.6; }

.e2-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: step; }
.e2-step { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 22, 46, .6), rgba(5, 11, 24, .8)); }
.e2-step-num { font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1; flex: 0 0 auto; }
.e2-step h3 { font-size: 14px; letter-spacing: 1px; margin-bottom: 6px; color: var(--silver-1); }
.e2-step p { font-size: 13.5px; color: var(--silver-3); margin: 0; }
.e2-steps-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================================
   Download
   ============================================================================ */
.e2-download { padding: 26px 28px; }
.e2-download-hero { display: flex; align-items: center; gap: 24px; margin-bottom: 22px; }
.e2-download-emblem { width: 120px; height: 120px; flex: 0 0 auto; filter: drop-shadow(0 0 22px rgba(58, 160, 255, .7)); animation: heroFloat 6s ease-in-out infinite; }
.e2-download-hero h2 { font-size: 26px; letter-spacing: 2px; text-transform: uppercase; }
.e2-download-hero p { margin: 6px 0 12px; color: var(--silver-3); }
.e2-download-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.e2-download-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; color: var(--ice-2); border: 1px solid var(--line); background: rgba(58, 160, 255, .08); }
.e2-mirrors { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.e2-mirror { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px; border-radius: var(--radius); border: 1px solid var(--line-strong); text-align: center; color: var(--silver-2);
  background: linear-gradient(180deg, rgba(58, 160, 255, .12), rgba(5, 11, 24, .6)); transition: all .25s; }
.e2-mirror .e2-ico { width: 30px; height: 30px; color: var(--ice-3); margin-bottom: 6px; filter: drop-shadow(0 0 8px rgba(58, 160, 255, .8)); }
.e2-mirror-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver-4); }
.e2-mirror strong { font-family: var(--font-display); font-size: 17px; color: var(--silver-1); }
.e2-mirror em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ice-2); }
.e2-mirror:hover { transform: translateY(-4px); box-shadow: var(--shadow), var(--glow); border-color: var(--ice-3); color: var(--silver-1); }
.e2-mirror-main { background: linear-gradient(180deg, rgba(58, 160, 255, .28), rgba(20, 120, 230, .1)); }
.e2-req { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.e2-req-card .e2-panel-body { font-size: 14px; color: var(--silver-2); }

/* ============================================================================
   Tabele, clasament
   ============================================================================ */
.e2-tabs { display: flex; gap: 8px; }
.e2-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(16, 30, 60, .6);
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver-3); transition: all .25s; }
.e2-tabs a:hover { color: var(--ice-1); border-color: var(--line-strong); }
.e2-tabs a.is-active { color: var(--ice-1); background: linear-gradient(180deg, rgba(58, 160, 255, .35), rgba(20, 120, 230, .18)); border-color: var(--ice-3); box-shadow: var(--glow-sm); }
.e2-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.e2-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.e2-table th { padding: 12px 14px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver-4);
  border-bottom: 1px solid var(--line-strong); background: rgba(58, 160, 255, .06); white-space: nowrap; }
.e2-table td { padding: 11px 14px; border-bottom: 1px solid rgba(124, 196, 255, .08); color: var(--silver-2); vertical-align: middle; }
.e2-table tbody tr { transition: background .2s; }
.e2-table tbody tr:hover { background: rgba(58, 160, 255, .09); }
.e2-table tbody tr:last-child td { border-bottom: 0; }
.e2-table .e2-col-rank { width: 60px; }
.e2-table .e2-col-name { font-weight: 600; color: var(--silver-1); }
.e2-table .e2-col-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.e2-table tr.is-top-1 td.e2-col-name { color: #ffe9a0; text-shadow: 0 0 10px rgba(255, 210, 90, .4); }
.e2-table tr.is-top td { background: linear-gradient(90deg, rgba(58, 160, 255, .06), transparent 60%); }
.e2-empire { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 4px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line); background: rgba(16, 30, 60, .6); white-space: nowrap; }
.e2-empire img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.e2-empire-1 { color: #ffb0b0; } .e2-empire-2 { color: #ffe6a0; } .e2-empire-3 { color: #9ad4ff; }
.e2-job { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: rgba(0, 0, 0, .3); }
.e2-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 16px; border-top: 1px solid var(--line); }
.e2-page-btn { min-width: 34px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); color: var(--silver-3); font-size: 13px; font-weight: 600; transition: all .2s; }
.e2-page-btn:hover { color: var(--ice-1); border-color: var(--line-strong); background: rgba(58, 160, 255, .12); }
.e2-page-btn.is-current { color: var(--ice-1); background: linear-gradient(180deg, rgba(58, 160, 255, .4), rgba(20, 120, 230, .2)); border-color: var(--ice-3); box-shadow: var(--glow-sm); }
.e2-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .5px; border: 1px solid; }
.e2-tag-ok { color: #b9ffd6; border-color: rgba(90, 220, 150, .5); background: rgba(20, 90, 60, .35); }
.e2-tag-danger { color: #ffc2c2; border-color: rgba(255, 120, 120, .5); background: rgba(120, 40, 30, .35); }
.e2-tag-warn { color: #ffe1a8; border-color: rgba(255, 200, 100, .5); background: rgba(120, 80, 20, .35); font-family: var(--font-body); letter-spacing: 0; text-transform: none; vertical-align: middle; }

/* ============================================================================
   Autentificare
   ============================================================================ */
.e2-auth { display: flex; justify-content: center; padding: 6px 0 20px; }
.e2-auth-card { width: 100%; max-width: 480px; padding: 34px 36px 28px; text-align: center; border-color: var(--line-strong); box-shadow: var(--shadow), var(--glow-lg); }
.e2-auth-emblem { width: 72px; height: 72px; margin-bottom: 8px; filter: drop-shadow(0 0 18px rgba(58, 160, 255, .7)); }
.e2-auth-card h2 { font-size: 24px; letter-spacing: 2px; text-transform: uppercase; }
.e2-auth-sub { color: var(--silver-3); font-size: 14px; margin: 6px 0 22px; }
.e2-auth-card .e2-form { text-align: left; }
.e2-auth-card .e2-alert { text-align: left; margin-bottom: 16px; }
.e2-auth-links { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; font-size: 13px; color: var(--silver-4); }

/* ============================================================================
   Panoul contului
   ============================================================================ */
.e2-acct { display: flex; align-items: center; gap: 22px; padding: 22px 24px; flex-wrap: wrap; }
.e2-acct-id { display: flex; align-items: center; gap: 14px; flex: 1 1 240px; }
.e2-acct-avatar { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; color: var(--ice-2);
  background: linear-gradient(180deg, rgba(58, 160, 255, .35), rgba(20, 120, 230, .12)); border: 1px solid var(--line-strong); box-shadow: var(--glow-sm); }
.e2-acct-avatar .e2-ico { width: 26px; height: 26px; }
.e2-acct-id h2 { font-size: 22px; letter-spacing: 1px; }
.e2-acct-id p { margin: 2px 0 0; color: var(--silver-4); font-size: 13px; }
.e2-acct-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.e2-acct-stats > div { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 110px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(58, 160, 255, .07); }
.e2-acct-stats .e2-ico { color: var(--ice-3); }
.e2-acct-stats b { font-family: var(--font-display); font-size: 18px; color: var(--silver-1); }
.e2-acct-stats span { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--silver-4); }
.e2-accordion { display: flex; flex-direction: column; gap: 12px; }
.e2-acc summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--ice-2); }
.e2-acc summary::-webkit-details-marker { display: none; }
.e2-acc summary .e2-ico:first-child { color: var(--ice-3); }
.e2-acc summary span { flex: 1; }
.e2-acc-chev { transition: transform .25s; }
.e2-acc[open] .e2-acc-chev { transform: rotate(180deg); }
.e2-acc[open] summary { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(58, 160, 255, .12), transparent); }
.e2-verify { border-color: var(--line-strong); box-shadow: var(--shadow), var(--glow-sm); }

/* ============================================================================
   Shop
   ============================================================================ */
.e2-shop-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; flex-wrap: wrap; }
.e2-shop-head h2 { font-size: 24px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.e2-shop-head p { margin: 0; color: var(--silver-3); font-size: 14px; max-width: 620px; }
.e2-balance { display: flex; flex-direction: column; align-items: flex-end; padding: 12px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: rgba(58, 160, 255, .1); }
.e2-balance span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver-4); }
.e2-balance strong { font-family: var(--font-display); font-size: 26px; }
.e2-balance small { font-size: 14px; }
.e2-waiver { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(16, 30, 60, .5); }
.e2-shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.e2-pack { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 18px 22px; overflow: visible; transition: transform .25s, box-shadow .25s, border-color .25s; }
.e2-pack:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow), var(--glow-sm); }
.e2-pack-best { border-color: var(--ice-3); box-shadow: var(--shadow), var(--glow); background: linear-gradient(180deg, rgba(58, 160, 255, .22), rgba(5, 11, 24, .9)); }
.e2-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
  color: var(--ice-1); background: var(--bg-3); border: 1px solid var(--line-strong); }
.e2-badge-best { color: #0a1a33; background: linear-gradient(180deg, #fff, #bfe3ff); border-color: #fff; box-shadow: 0 0 14px rgba(200, 235, 255, .6); }
.e2-pack-ico { width: 34px; height: 34px; color: var(--ice-3); margin-bottom: 10px; filter: drop-shadow(0 0 10px rgba(58, 160, 255, .9)); }
.e2-pack-coins { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; }
.e2-pack-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--silver-4); margin: 6px 0 12px; }
.e2-pack-price { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ice-2); margin-bottom: 16px; }
.e2-pack-form { width: 100%; margin: 0; }

/* ============================================================================
   Admin
   ============================================================================ */
.e2-adminnav { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(14, 26, 53, .7); }
.e2-adminnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600; color: var(--silver-3); transition: all .2s; }
.e2-adminnav a:hover { color: var(--ice-1); background: rgba(58, 160, 255, .12); }
.e2-adminnav a.is-active { color: var(--ice-1); background: linear-gradient(180deg, rgba(58, 160, 255, .35), rgba(20, 120, 230, .18)); box-shadow: inset 0 0 0 1px var(--line-strong); }
.e2-admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.e2-stat-admin { overflow: hidden; }
.e2-admin-list { display: flex; flex-direction: column; gap: 12px; }
.e2-admin-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; flex-wrap: wrap; }
.e2-admin-item-main { flex: 1 1 300px; min-width: 0; }
.e2-admin-item h3 { font-size: 15px; color: var(--silver-1); margin-bottom: 4px; }
.e2-admin-item p { margin: 0; font-size: 13px; color: var(--silver-3); overflow-wrap: anywhere; }
.e2-admin-item time { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; color: var(--silver-4); }
.e2-admin-item form { margin: 0; }
.e2-todo { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.e2-two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.e2-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 14px; }
.e2-dl dt { color: var(--silver-4); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding-top: 3px; }
.e2-dl dd { margin: 0; color: var(--silver-1); font-weight: 500; }
/* CKEditor pe fundal intunecat */
.ck.ck-editor__main > .ck-editor__editable { background: rgba(4, 10, 22, .9) !important; color: var(--silver-1) !important; border-color: var(--line-strong) !important; min-height: 220px; border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important; }
.ck.ck-toolbar { background: var(--bg-2) !important; border-color: var(--line-strong) !important; border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important; }
.ck.ck-toolbar .ck-button, .ck.ck-toolbar .ck-dropdown__button { color: var(--silver-2) !important; }
.ck.ck-toolbar .ck-button:hover, .ck.ck-toolbar .ck-button.ck-on { background: rgba(58, 160, 255, .2) !important; }
.ck.ck-toolbar .ck-icon { color: var(--silver-2) !important; }
.ck.ck-editor__editable.ck-focused { box-shadow: 0 0 0 3px rgba(58, 160, 255, .18) !important; }

/* ============================================================================
   Footer + cookie
   ============================================================================ */
.e2-footer { margin-top: 20px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(12, 22, 46, .4), rgba(8, 15, 32, .95)); }
.e2-footer::before { content: ""; display: block; height: 1px; background: linear-gradient(90deg, transparent, rgba(124, 196, 255, .6) 50%, transparent); }
.e2-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-top: 40px; padding-bottom: 26px; }
.e2-footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.e2-footer-brand img { width: 56px; height: 56px; filter: drop-shadow(0 0 12px rgba(58, 160, 255, .5)); }
.e2-footer-brand p { margin: 8px 0 0; font-size: 13.5px; color: var(--silver-4); max-width: 360px; line-height: 1.6; }
.e2-footer-col { display: flex; flex-direction: column; gap: 8px; }
.e2-footer-col h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ice-2); margin-bottom: 6px; }
.e2-footer-col a { font-size: 13.5px; color: var(--silver-3); }
.e2-footer-col a:hover { color: var(--ice-1); padding-left: 4px; }
.e2-footer-legal { text-align: center; padding-bottom: 28px; border-top: 1px solid rgba(124, 196, 255, .1); padding-top: 18px; }
.e2-footer-company { font-size: 12px; color: var(--silver-4); margin-bottom: 8px; }
.e2-footer-company a { color: var(--silver-3); }
.e2-footer-anpc img { opacity: .85; transition: opacity .2s; }
.e2-footer-anpc img:hover { opacity: 1; }
.e2-footer-anpc p { font-size: 11.5px; color: var(--silver-4); margin: 6px 0 0; }
.e2-footer-anpc a { color: var(--silver-3); }
.e2-footer-copy { margin: 14px 0 0; font-size: 12px; color: var(--silver-5); }
.e2-footer-disclaimer { display: block; margin-top: 4px; font-size: 11px; }

.e2-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 0 auto; max-width: 980px; padding: 16px 20px;
  border-radius: var(--radius); border: 1px solid var(--line-strong); background: rgba(14, 26, 53, .97); box-shadow: var(--shadow), var(--glow-sm); font-size: 13.5px; color: var(--silver-2); animation: alertIn .4s ease-out both; }
.e2-cookie[hidden] { display: none; }
.e2-cookie-text { flex: 1 1 320px; line-height: 1.5; }
.e2-cookie-text a { text-decoration: underline; }
.e2-cookie-actions { display: flex; gap: 8px; }

/* ============================================================================
   Reveal on scroll (doar cand JS-ul ruleaza: html.js; fara JS totul e vizibil)
   ============================================================================ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; } .reveal:nth-child(3) { transition-delay: .12s; } .reveal:nth-child(4) { transition-delay: .18s; } .reveal:nth-child(5) { transition-delay: .24s; }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 1080px) {
  .e2-main { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  .e2-menu > a, .e2-dd-toggle { padding: 10px 10px; font-size: 11.5px; letter-spacing: 1.2px; }
  .e2-nav-account span { display: none; }      /* intre 901 si 1080px meniul + butonul de login nu incapeau (scroll orizontal) */
  .e2-nav-account { padding: 8px 10px; }
  .e2-lang-btn { padding: 5px 8px; }
  .e2-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .e2-menu > a, .e2-dd-toggle { padding: 10px 6px; font-size: 11px; letter-spacing: 1px; }
  .e2-nav { gap: 10px; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .e2-burger { display: flex; margin-left: auto; order: 3; }
  .e2-nav-right { order: 2; margin-left: auto; }
  .e2-nav-account span { display: none; }
  .e2-nav-account { padding: 8px 10px; }
  .e2-menu { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 14px 16px;
    background: #0d1a38; border-bottom: 1px solid var(--line-strong); box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .e2-menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .e2-menu > a, .e2-dd-toggle { width: 100%; justify-content: flex-start; padding: 13px 12px; font-size: 13px; }
  .e2-menu > a.is-active::after, .e2-dd.is-active > .e2-dd-toggle::after { display: none; }
  .e2-menu > a.is-active { background: rgba(58, 160, 255, .12); }
  .e2-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .e2-menu-mobile-extra { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
  .e2-menu-mobile-extra a { display: block; padding: 12px; border-radius: var(--radius-sm); color: var(--silver-2); font-size: 14px; }
  .e2-menu-mobile-extra a:hover { background: rgba(58, 160, 255, .12); }
  .e2-main { grid-template-columns: 1fr; }
  .e2-side { position: static; }
  .e2-hero { padding: 10px 0 30px; }
  .e2-hero-tag { letter-spacing: 3px; margin-top: 10px; }
  .e2-footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .e2-download-hero { flex-direction: column; text-align: center; }
  .e2-download-meta { justify-content: center; }
  .e2-shop-head { flex-direction: column; align-items: flex-start; }
  .e2-balance { align-items: flex-start; }
}
@media (max-width: 700px) {
  /* pe mobil <picture> alege hero-letters-800 - masca foloseste acelasi fisier (nu se descarca de 2 ori) */
  .e2-wm-fx { -webkit-mask-image: url(../img/hero-letters-800.webp); mask-image: url(../img/hero-letters-800.webp); }
}
@media (max-width: 560px) {
  .container { padding: 0 14px; }
  .e2-lang-btn span { display: none; }
  .e2-lang-btn { padding: 6px 8px; }
  .e2-brand-text { font-size: 17px; letter-spacing: 2px; }
  .e2-hero-cta .e2-btn { width: 100%; }
  .e2-status { border-radius: 16px; }
  .e2-auth-card { padding: 26px 20px; }
  .e2-field-row { grid-template-columns: 1fr; }
  .e2-page-content { padding: 20px 18px; }
  .e2-news-item { padding: 18px; }
  .e2-news-head { flex-direction: column; gap: 6px; }
  .e2-table th, .e2-table td { padding: 10px 10px; }
  .e2-acct { justify-content: center; text-align: center; }
  .e2-acct-id { justify-content: center; }
  .e2-cookie { left: 8px; right: 8px; bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .e2-wm-fx, .e2-wm-glowflash { display: none; }
}
