:root {
  --bg: #07080d; --text: #eef0f6; --muted: #8b91a8; --gold: #f5c542; --gold-2: #d99a1e;
  --panel: rgba(18, 21, 34, 0.7); --border: rgba(255,255,255,0.08);
  --font: "Inter", system-ui, sans-serif; --display: "Cinzel", "Inter", serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* fundal animat */
.bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.bg-nebula { position: fixed; inset: -20%; z-index: 0; pointer-events: none; filter: blur(60px); opacity: 0.55;
  background:
    radial-gradient(40% 35% at 20% 30%, rgba(60,120,255,0.35), transparent 70%),
    radial-gradient(35% 30% at 80% 25%, rgba(245,197,66,0.22), transparent 70%),
    radial-gradient(45% 40% at 55% 85%, rgba(224,67,63,0.22), transparent 70%);
  animation: nebula 28s ease-in-out infinite alternate; }
@keyframes nebula { 0% { transform: translate(0,0) rotate(0deg) scale(1); } 50% { transform: translate(3%,-2%) rotate(3deg) scale(1.06); } 100% { transform: translate(-3%,2%) rotate(-2deg) scale(1.02); } }
.bg-vignette { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.65) 100%); }
@media (prefers-reduced-motion: reduce) { .bg-nebula { animation: none; } }

/* hero */
.hero { position: relative; z-index: 31; text-align: center; padding: max(48px, env(safe-area-inset-top) + 40px) 20px 24px; }
.hero-logo { position: relative; width: 180px; height: 180px; margin: 0 auto 8px; animation: float 6s ease-in-out infinite; }
.hero-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 30px rgba(90,170,255,0.55)) drop-shadow(0 10px 20px rgba(0,0,0,0.6)); position: relative; z-index: 1; }
.hero-logo-ring { position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(245,197,66,0.25);
  box-shadow: 0 0 40px rgba(245,197,66,0.15), inset 0 0 40px rgba(90,170,255,0.12); animation: spin 40s linear infinite; }
.hero-logo-ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); transform: translateX(-50%); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-title { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 7vw, 64px); margin: 8px 0 6px; letter-spacing: 0.02em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6); }
.hero-title span { color: var(--gold); background: linear-gradient(180deg, #ffe08a, #f5c542 50%, #c8891a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: #b9bfd3; font-size: clamp(15px, 2vw, 18px); max-width: 560px; margin: 0 auto 22px; line-height: 1.5; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 16px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 10px 30px rgba(88,101,242,0.45); }
.btn-discord:hover { background: #6a75f5; box-shadow: 0 14px 36px rgba(88,101,242,0.6); }
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-guides { background: linear-gradient(135deg, #ffe08a, #f5c542 50%, #d99a1e); color: #1a1300; box-shadow: 0 10px 30px rgba(245,197,66,0.35); }
.btn-guides:hover { box-shadow: 0 14px 36px rgba(245,197,66,0.5); filter: brightness(1.05); }

/* jocuri */
.games { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1100px; margin: 24px auto 0; padding: 0 20px; }
@media (min-width: 700px) { .games { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; } }
@media (min-width: 1080px) { .games { grid-template-columns: 1fr 1fr 1fr; max-width: 1340px; gap: 22px; } }

#gameReminder .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(255,140,40,0.18), transparent 60%), linear-gradient(180deg, #1a1210, #0e0b0a); }
.game { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--panel);
  border: 1px solid var(--border); backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s, border-color 0.35s; }
.game:hover { transform: translateY(-8px); border-color: rgba(245,197,66,0.45); box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,197,66,0.25), 0 0 60px rgba(245,197,66,0.12); }
.game::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.9s ease; }
.game:hover::after { transform: translateX(100%); }
.game-art { position: relative; height: 260px; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, rgba(245,197,66,0.18), transparent 60%), linear-gradient(180deg, #131727, #0c0f19); }
#gameRegele .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(74,222,128,0.16), transparent 60%), linear-gradient(180deg, #0f1a1a, #0b0f14); }
.art-fan { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 0; }
.art-fan img { width: 120px; height: auto; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,0.6); position: absolute; bottom: -20px; transform-origin: 50% 120%;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.art-fan img:nth-child(1) { transform: rotate(-22deg) translateX(-90px); }
.art-fan img:nth-child(2) { transform: rotate(0deg) translateY(-12px); z-index: 2; }
.art-fan img:nth-child(3) { transform: rotate(22deg) translateX(90px); }
.art-fan img.art-back { transform: rotate(-40deg) translateX(-170px) translateY(30px); opacity: 0.6; filter: brightness(0.7); }
.art-fan img.art-back2 { transform: rotate(40deg) translateX(170px) translateY(30px); opacity: 0.6; filter: brightness(0.7); }
.game:hover .art-fan img:nth-child(1) { transform: rotate(-28deg) translateX(-110px) translateY(-6px); }
.game:hover .art-fan img:nth-child(2) { transform: rotate(0deg) translateY(-26px) scale(1.05); }
.game:hover .art-fan img:nth-child(3) { transform: rotate(28deg) translateX(110px) translateY(-6px); }
.art-custom { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: 3; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.game:hover .art-custom { transform: scale(1.05); }
.game-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; z-index: 4; background: linear-gradient(to top, rgba(12,15,25,0.95), rgba(12,15,25,0)); pointer-events: none; }
.game-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.game-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); font-weight: 700; }
.game h2 { font-family: var(--display); font-size: 26px; margin: 0; font-weight: 800; }
.game p { margin: 0; color: #b9bfd3; line-height: 1.55; font-size: 14.5px; }
.game-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.game-stats span { font-size: 12px; color: var(--muted); padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); }
.game-stats b { color: var(--text); }
.game-go { margin-top: 10px; font-weight: 700; color: var(--gold); display: flex; align-items: center; gap: 6px; }
.game-go span { transition: transform 0.2s; }
.game:hover .game-go span { transform: translateX(6px); }

/* despre */
.about { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1100px; margin: 28px auto 0; padding: 0 20px; }
@media (min-width: 860px) { .about { grid-template-columns: 1fr 1fr; gap: 28px; } }
.about-card { padding: 20px 22px; border-radius: 18px; background: rgba(18,21,34,0.5); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.about-card h3 { margin: 0 0 8px; font-family: var(--display); font-size: 18px; }
.about-card p { margin: 0; color: #b9bfd3; line-height: 1.6; font-size: 14.5px; }

/* footer */
.footer { position: relative; z-index: 1; text-align: center; padding: 40px 20px calc(30px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 13px; }
.footer-brand { margin-bottom: 8px; font-weight: 600; }
.disclaimer { font-size: 11.5px; line-height: 1.6; max-width: 780px; margin: 0 auto; color: rgba(139,145,168,0.75); }

/* limba */
.lang-switch { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 16px; z-index: 5; display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(18,21,34,0.75); border: 1px solid var(--border); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.lang-switch button { padding: 7px 12px; border-radius: 999px; border: none; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.15s; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--gold); color: #1a1300; }
.game-stats i, .game-go i { font-style: normal; }

#gameLogo .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(245,197,66,0.2), transparent 60%), linear-gradient(180deg, #151a2a, #0c0f19); }
.art-pixels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 34px); gap: 6px; place-content: center; transform: rotate(-8deg); }
.art-pixels i { width: 34px; height: 34px; border-radius: 6px; background: var(--c); box-shadow: 0 6px 16px rgba(0,0,0,0.5), inset 0 2px 0 rgba(255,255,255,0.35); transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.game:hover .art-pixels i:nth-child(odd) { transform: translateY(-6px); }
.game:hover .art-pixels i:nth-child(even) { transform: translateY(6px); }

/* card evenimente: chip-uri cu ore */
.art-clock { position: absolute; inset: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: center; justify-content: center; padding: 30px; transform: rotate(-6deg); }
.art-clock span { font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--c) 30%, #0b0d14); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 8px 18px rgba(0,0,0,0.5); transition: transform 0.4s cubic-bezier(.2,.8,.2,1); font-variant-numeric: tabular-nums; }
.game:hover .art-clock span:nth-child(odd) { transform: translateY(-5px); }
.game:hover .art-clock span:nth-child(even) { transform: translateY(5px); }
.art-clock span { display: inline-flex; align-items: center; gap: 8px; }
.art-clock img { width: 28px; height: 28px; border-radius: 6px; }

/* anunt sus: Program zilnic */
.announce { position: relative; z-index: 4; pointer-events: none; display: flex; justify-content: center; padding: max(58px, env(safe-area-inset-top) + 50px) 16px 0; animation: annIn 0.5s cubic-bezier(.2,.9,.3,1.1) both; }
.announce.out { animation: annOut 0.25s ease both; }
@keyframes annIn { from { opacity: 0; transform: translateY(-14px); } }
@keyframes annOut { to { opacity: 0; transform: translateY(-10px); } }
.announce-card { pointer-events: auto; display: grid; grid-template-columns: 46px 1fr auto auto; gap: 12px; align-items: center; width: 100%; max-width: 860px; padding: 10px 12px 10px 12px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(245,197,66,0.16), rgba(109,124,255,0.14)), rgba(12,14,22,0.85); border: 1px solid rgba(245,197,66,0.45);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(245,197,66,0.15); backdrop-filter: blur(12px); }
.announce-ico { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 16px rgba(245,197,66,0.4); }
.announce-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.announce-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.announce-text b { font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.announce-text span:not(.announce-new) { font-size: 13px; color: var(--muted); }
.announce-new { font-size: 10px; font-weight: 900; letter-spacing: 0.14em; padding: 2px 7px; border-radius: 6px; background: var(--gold); color: #1a1300; animation: annPulse 1.8s infinite; }
@keyframes annPulse { 50% { box-shadow: 0 0 0 6px rgba(245,197,66,0); } 0% { box-shadow: 0 0 0 0 rgba(245,197,66,0.6); } }
.btn-ann { padding: 10px 16px; font-size: 14px; white-space: nowrap; background: linear-gradient(135deg, #f5c542, #d99a1e); color: #1a1300; box-shadow: 0 8px 24px rgba(245,197,66,0.35); border-radius: 12px; }
.btn-ann:hover { filter: brightness(1.06); }
.announce-x { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--panel-border); background: rgba(255,255,255,0.05); color: var(--muted); font: inherit; cursor: pointer; }
.announce-x:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.announce ~ .hero { padding-top: 28px; }
@media (max-width: 640px) {
  .announce { padding-top: max(60px, env(safe-area-inset-top) + 52px); }
  .announce-card { grid-template-columns: 40px 1fr auto; }
  .announce-ico { width: 40px; height: 40px; }
  .btn-ann { grid-column: 1 / -1; justify-content: center; }
  .announce-x { grid-row: 1; grid-column: 3; }
}

/* credit */
.site-by { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }
.site-by span, .site-by a { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.06em;
  background: linear-gradient(90deg, #f5c542, #ffe38a 45%, #d99a1e); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 8px rgba(245,197,66,0.35)); }

.footer-links { margin-top: 10px; font-size: 12.5px; }
.footer-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--gold); }

/* nota stocare locala */
.cookie { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; margin: 0 auto; max-width: 720px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: 14px;
  background: rgba(12,14,22,0.92); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 14px 40px rgba(0,0,0,0.55); backdrop-filter: blur(12px); font-size: 13px; color: #d9dcea; animation: annIn 0.4s ease both; }
.cookie.out { animation: annOut 0.25s ease both; }
.cookie span { flex: 1 1 320px; line-height: 1.45; }
.cookie a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie button { padding: 9px 14px; border-radius: 10px; border: none; background: var(--gold); color: #1a1300; font: inherit; font-weight: 700; cursor: pointer; }

.cookie[hidden], .announce[hidden] { display: none !important; }

/* ===== widget Discord ===== */
.dwidget { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 250px; z-index: 4; display: flex; flex-direction: column; max-height: min(480px, calc(100vh - 32px)); background: rgba(12,14,22,0.85); border: 1px solid rgba(88,101,242,0.45); border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,0.5), 0 0 30px rgba(88,101,242,0.15); backdrop-filter: blur(12px); overflow: hidden; }
.dwidget[hidden] { display: none !important; }
@media (max-width: 1100px) { .dwidget { display: none !important; } }
.dw-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #5865f2; color: #fff; }
.dw-title { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.dw-title b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-title > span { font-size: 12px; opacity: 0.9; display: flex; align-items: center; gap: 5px; } .dw-title em { font-style: normal; }
.dw-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ba55c; box-shadow: 0 0 8px #3ba55c; display: inline-block; }
.dw-list { padding: 8px 8px; display: grid; gap: 2px; overflow-y: auto; max-height: 360px; }

.dw-m { display: grid; grid-template-columns: 30px 1fr; grid-template-areas: "av nm" "av gm"; column-gap: 9px; align-items: center; padding: 5px 6px; border-radius: 9px; position: relative; }
.dw-m:hover { background: rgba(255,255,255,0.05); }
.dw-m img { grid-area: av; width: 30px; height: 30px; border-radius: 50%; background: #23272a; }
.dw-m .st { position: absolute; left: 26px; top: 25px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #0c0e16; background: #747f8d; }
.dw-m .st.online { background: #3ba55c; } .dw-m .st.idle { background: #faa61a; } .dw-m .st.dnd { background: #ed4245; }
.dw-m .nm { grid-area: nm; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-m .gm { grid-area: gm; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-m:not(:has(.gm)) { grid-template-areas: "av nm"; }
.dw-more { font-size: 12px; color: var(--muted); padding: 6px 8px; }
.dw-join { display: block; margin: 6px 10px 10px; padding: 10px; text-align: center; border-radius: 10px; background: #3ba55c; color: #fff; font-weight: 700; font-size: 14px; }
.dw-join:hover { filter: brightness(1.08); }

.dw-sep { display: inline-block; width: 1px; height: 12px; background: rgba(255,255,255,0.45); margin: 0 6px; }
.dw-title > span.no-total .dw-sep, .dw-title > span.no-total #dwTotal, .dw-title > span.no-total em:last-child { display: none; }
.dw-list { max-height: 300px; }
/* anuntul sa nu intre sub widget pe ecrane medii */
@media (min-width: 1101px) { .cookie { right: 290px; } }

/* ===== scurtaturi sub butonul de Discord ===== */
.shorts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; margin: 20px auto 0; max-width: 1000px; }
.chatbar-wrap::before { content: ""; position: absolute; top: 0; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(245,197,66,0.55) 30%, rgba(245,197,66,0.55) calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), rgba(245,197,66,0.55) calc(50% + 16px), rgba(245,197,66,0.55) 70%, transparent 100%); }
.chatbar-wrap::after { content: "✦"; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--gold); line-height: 18px; text-shadow: 0 0 8px rgba(245,197,66,0.6); }
.shorts a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-decoration: none; border: 1px solid transparent; transition: all 0.15s; }
.shorts a i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.shorts a:hover { color: var(--text); background: rgba(255,255,255,0.06); border-color: var(--panel-border); }
.shorts a + a::before { content: ""; width: 1px; height: 12px; background: rgba(255,255,255,0.12); margin-right: 2px; }
@media (max-width: 640px) { .shorts { gap: 4px 2px; } .shorts a { padding: 5px 9px; font-size: 12px; } .shorts a + a::before { display: none; } }
#gameEsarfa .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(224,67,63,0.22), transparent 60%), linear-gradient(180deg, #1c1012, #0e0a0c); }
#gameEsarfa .art-custom { object-position: 50% 8%; }
#gameElemente .art-custom { object-position: 50% 38%; }

.site-by a { text-decoration: none; }
.site-by a:hover { filter: brightness(1.2); text-decoration: underline; text-decoration-color: rgba(245,197,66,0.6); }

/* LIVE pe cardul de evenimente */
.live-badge { position: absolute; top: 12px; left: 12px; z-index: 6; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 6px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: 0.14em; color: #fff; background: rgba(224,32,48,0.92); box-shadow: 0 4px 14px rgba(224,32,48,0.45); }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: live-dot 1.4s ease-in-out infinite; }
@keyframes live-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }

/* butonul Ghiduri: contur auriu care pulseaza fin */
.btn-guides { position: relative; }
.btn-guides::after { content: ""; position: absolute; inset: -3px; border-radius: 17px; border: 2px solid rgba(255,224,138,0.9); pointer-events: none; animation: guides-pulse 2.6s ease-in-out infinite; }
@keyframes guides-pulse { 0%, 100% { opacity: 0.15; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.03); } }
 }
@media (prefers-reduced-motion: reduce) { .btn-guides::after, .live-badge i { animation: none; } }

/* eticheta NEW pe butonul Ghiduri */
.new-pill { position: absolute; top: -10px; right: -10px; z-index: 2; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; color: #fff; background: #e0202f; box-shadow: 0 4px 12px rgba(224,32,48,0.55); transform: rotate(8deg); opacity: 1; }

/* ===== pop-up ghid recomandat (stanga jos) ===== */
.gpop { position: fixed; left: 16px; bottom: 16px; z-index: 30; width: 250px; animation: gpopIn 0.5s cubic-bezier(.2,.9,.3,1.1) 0.8s both; }
.gpop[hidden] { display: none !important; }
.gpop.out { animation: gpopOut 0.25s ease both; }
@keyframes gpopIn { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes gpopOut { to { opacity: 0; transform: translateY(16px) scale(0.97); } }
.gpop-card { display: block; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--text); background: rgba(14,16,26,0.96); border: 1px solid color-mix(in srgb, var(--c, #f5c542) 55%, rgba(255,255,255,0.08)); box-shadow: 0 18px 50px rgba(0,0,0,0.55), 0 0 30px color-mix(in srgb, var(--c, #f5c542) 22%, transparent); backdrop-filter: blur(10px); transition: transform 0.2s, box-shadow 0.2s; }
.gpop-card:hover { transform: translateY(-3px); box-shadow: 0 22px 60px rgba(0,0,0,0.6), 0 0 40px color-mix(in srgb, var(--c, #f5c542) 35%, transparent); }
.gpop-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.gpop-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gpop-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(14,16,26,0.96), transparent); }
.gpop-new { position: absolute; top: 10px; left: 10px; z-index: 1; font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: 0.14em; padding: 3px 8px; border-radius: 6px; background: var(--gold); color: #1a1300; animation: annPulse 1.8s infinite; }
.gpop-body { display: grid; gap: 4px; padding: 10px 14px 14px; }
.gpop-body small { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c, var(--gold)); }
.gpop-body b { font-family: var(--display); font-size: 18px; line-height: 1.2; }
.gpop-body span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.gpop-body em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--gold); margin-top: 4px; }
.gpop-x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(0,0,0,0.55); color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.gpop-x:hover { background: rgba(0,0,0,0.8); }
@media (max-width: 900px) { .gpop { display: none !important; } }

/* card Sistem Element */
#gameSistEl .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(165,123,255,0.2), transparent 60%), linear-gradient(180deg, #121526, #0b0d14); }
.art-el { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; padding-bottom: 30px; }
.art-el img { width: 58px; height: 58px; filter: drop-shadow(0 0 14px var(--c)); animation: elb 3.2s ease-in-out infinite; }
.art-el img:nth-child(2) { animation-delay: .3s } .art-el img:nth-child(3) { animation-delay: .6s } .art-el img:nth-child(4) { animation-delay: .9s } .art-el img:nth-child(5) { animation-delay: 1.2s } .art-el img:nth-child(6) { animation-delay: 1.5s }
@keyframes elb { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@media (max-width: 520px) { .art-el { gap: 8px; } .art-el img { width: 44px; height: 44px; } }

/* card Alchimie */
#gamePietre .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(127,214,232,0.22), transparent 60%), linear-gradient(180deg, #101a22, #0b0d14); }
.art-shards { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding-bottom: 26px; }
.art-shards .sh-t { font-family: var(--display); font-size: 26px; letter-spacing: .22em; text-transform: uppercase; color: #f5c542; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.art-shards .sh-row { display: flex; gap: 34px; }
.art-shards img { width: 74px; height: 74px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.6)) drop-shadow(0 0 16px var(--c)); animation: elb 3.2s ease-in-out infinite; }
.art-shards img:nth-child(2) { animation-delay: .4s }
@media (max-width: 520px) { .art-shards img { width: 58px; height: 58px; } .art-shards .sh-t { font-size: 21px; } }
#gameAlchimie .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(176,107,255,0.22), transparent 60%), linear-gradient(180deg, #171129, #0b0d14); }
.art-gems { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding-bottom: 30px; }
.art-gems i { width: 40px; height: 40px; background: var(--c); clip-path: polygon(50% 0, 100% 35%, 80% 100%, 20% 100%, 0 35%); filter: drop-shadow(0 0 14px var(--c)); animation: elb 3.2s ease-in-out infinite; }
.art-gems i:nth-child(2) { animation-delay: .25s } .art-gems i:nth-child(3) { animation-delay: .5s } .art-gems i:nth-child(4) { animation-delay: .75s } .art-gems i:nth-child(5) { animation-delay: 1s } .art-gems i:nth-child(6) { animation-delay: 1.25s } .art-gems i:nth-child(7) { animation-delay: 1.5s }
@media (max-width: 520px) { .art-gems { gap: 8px; } .art-gems i { width: 30px; height: 30px; } }

.art-gems img { width: 44px; height: 44px; border-radius: 10px; background: none; clip-path: none; filter: drop-shadow(0 0 12px var(--c)); animation: elb 3.2s ease-in-out infinite; }
.art-gems img:nth-child(2) { animation-delay: .25s } .art-gems img:nth-child(3) { animation-delay: .5s } .art-gems img:nth-child(4) { animation-delay: .75s } .art-gems img:nth-child(5) { animation-delay: 1s } .art-gems img:nth-child(6) { animation-delay: 1.25s } .art-gems img:nth-child(7) { animation-delay: 1.5s }
@media (max-width: 520px) { .art-gems img { width: 34px; height: 34px; } }

/* card Templul Zodiac */
.art-zod { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding-bottom: 26px; }
.art-zod .zo-row { display: flex; align-items: center; gap: 30px; }
.art-zod .zo-row img { width: 68px; height: 68px; image-rendering: pixelated; filter: drop-shadow(0 8px 18px rgba(0,0,0,.6)) drop-shadow(0 0 16px var(--c)); animation: elb 3.2s ease-in-out infinite; }
.art-zod .zo-row img:nth-child(2) { animation-delay: .4s }
.art-zod .zo-row img:nth-child(3) { animation-delay: .8s }
.art-zod .zo-t { font-family: var(--display); font-size: 24px; letter-spacing: .14em; text-transform: uppercase; color: #f5c542; text-shadow: 0 0 18px rgba(245,197,66,.45); }

@media (max-width: 520px) { .art-zod .zo-row img { width: 52px; height: 52px; } .art-zod .zo-t { font-size: 19px; } }

/* card Yut Nori */
.art-yut { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding-bottom: 26px; }
.art-yut img { width: 170px; height: auto; filter: drop-shadow(0 10px 22px rgba(0,0,0,.65)); animation: elb 3.2s ease-in-out infinite; }
.art-yut .yu-t { font-family: var(--display); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #ff8c1a; text-shadow: 0 0 18px rgba(255,140,26,.45); }
@media (max-width: 520px) { .art-yut img { width: 132px; } .art-yut .yu-t { font-size: 12px; } }

/* card Insula Comorilor */
.art-ins { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 30px; z-index: 5; }
.art-ins .in-t { font-family: var(--display); font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: #f5c542; text-shadow: 0 2px 18px rgba(0,0,0,.85); }
@media (max-width: 520px) { .art-ins .in-t { font-size: 16px; } }

/* card Sistemul de animăluțe */
.art-pets { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding-bottom: 26px; }
.art-pets .pt-row { display: flex; align-items: flex-end; gap: 16px; }
.art-pets .pt-row img { height: 76px; width: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.7)); animation: elb 3.4s ease-in-out infinite; }
.art-pets .pt-row img:nth-child(2) { animation-delay: .3s } .art-pets .pt-row img:nth-child(3) { animation-delay: .6s } .art-pets .pt-row img:nth-child(4) { animation-delay: .9s }
.art-pets .pt-t { font-family: var(--display); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #5fdc8a; text-shadow: 0 0 18px rgba(95,220,138,.4); }
@media (max-width: 520px) { .art-pets .pt-row img { height: 58px; } .art-pets .pt-t { font-size: 12px; } }

/* art card Gaya */
.art-gaya { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding-bottom: 26px; }
.art-gaya .ga-row { display: flex; align-items: center; gap: 22px; }
.art-gaya .ga-row img { width: 62px; height: auto; image-rendering: pixelated; filter: drop-shadow(0 8px 18px rgba(0,0,0,.6)) drop-shadow(0 0 16px rgba(63,216,200,.55)); animation: elb 3.2s ease-in-out infinite; }
.art-gaya .ga-row img.ga-c { width: 76px; animation-delay: .5s; }
.art-gaya .ga-row b { font-size: 24px; color: #3fd8c8; opacity: .7; }
.art-gaya .ga-t { font-family: var(--display); font-size: 22px; letter-spacing: .12em; text-transform: uppercase; color: #3fd8c8; text-shadow: 0 0 18px rgba(63,216,200,.45); }
@media (max-width: 520px) { .art-gaya .ga-row img { width: 48px; } .art-gaya .ga-row img.ga-c { width: 58px; } .art-gaya .ga-t { font-size: 18px; } }

/* art card Tracker spawn boși */
#gameSpawn .art-custom { z-index: 1; object-position: 50% 50%; }
.art-spawn { position: absolute; inset: 0; z-index: 5; }
.art-spawn .sp-pin { position: absolute; width: 26px; height: 26px; border-radius: 50%; display: block;
  box-shadow: 0 6px 16px rgba(0,0,0,.6); animation: sppulse 2.6s ease-in-out infinite; }
.art-spawn .sp-pin::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; opacity: .92; }
.art-spawn .sp-pin.g  { left: 26%; top: 24%; background: rgba(74,222,128,.35); border: 2px solid #4ade80; }
.art-spawn .sp-pin.r  { left: 62%; top: 34%; background: rgba(255,92,122,.35); border: 2px solid #ff5c7a; animation-delay: .5s; }
.art-spawn .sp-pin.y  { left: 34%; top: 58%; background: rgba(245,197,66,.35); border: 2px solid #f5c542; animation-delay: 1s; }
.art-spawn .sp-pin.g2 { left: 68%; top: 66%; background: rgba(74,222,128,.35); border: 2px solid #4ade80; animation-delay: 1.5s; }
@keyframes sppulse { 0%,100% { transform: scale(1); opacity: .95 } 50% { transform: scale(1.18); opacity: 1 } }
.art-spawn .sp-t { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center;
  font-family: var(--display); font-size: 17px; letter-spacing: .1em; text-transform: uppercase;
  color: #ff8c5c; text-shadow: 0 2px 10px rgba(0,0,0,.95), 0 0 18px rgba(255,106,61,.55); }
@media (max-width: 520px) { .art-spawn .sp-t { font-size: 14px; } .art-spawn .sp-pin { width: 20px; height: 20px; } }

/* art card Boși */
.art-bosi { position: absolute; inset: 0; z-index: 2; background:
  radial-gradient(ellipse at 50% 120%, rgba(176,107,255,.22), transparent 62%), linear-gradient(180deg, #17122a, #0b0d14); }
.art-bosi .bo-pin { position: absolute; z-index: 3; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,106,61,.3); border: 2px solid #ff6a3d; box-shadow: 0 6px 16px rgba(0,0,0,.6);
  animation: bopulse 2.8s ease-in-out infinite; }
.art-bosi .bo-pin::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; opacity: .9; }
.art-bosi .bo-map { position: absolute; left: -6%; width: 112%; top: 50%; transform: translateY(-50%); }
.art-bosi .bo-map img { display: block; width: 100%; height: auto; opacity: .78; filter: saturate(.85) contrast(1.05); }
.art-bosi .bo-map::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(11,13,20,.55) 100%); }
.art-bosi .bo-pin { margin: -15px 0 0 -15px; }
.art-bosi .bo-pin:nth-of-type(2) { animation-delay: .5s; }
.art-bosi .bo-pin:nth-of-type(3) { animation-delay: 1s; }
.art-bosi .bo-pin:nth-of-type(4) { animation-delay: 1.5s; }
.art-bosi .bo-pin:nth-of-type(5) { animation-delay: 2s; }
.game:hover .art-bosi .bo-map img { opacity: .9; }
.art-bosi .bo-map img { transition: opacity .35s; }
@keyframes bopulse { 0%,100% { transform: scale(1); opacity: .95 } 50% { transform: scale(1.2); opacity: 1 } }
.art-bosi .bo-t { position: absolute; z-index: 5; left: 50%; bottom: 18px; transform: translateX(-50%);
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  background: rgba(12,15,25,.72); border: 1px solid rgba(197,140,255,.45); backdrop-filter: blur(6px);
  font-family: var(--display); font-size: 17px; letter-spacing: .1em; text-transform: uppercase;
  color: #e3ccff; text-shadow: 0 2px 8px rgba(0,0,0,.9); }
@media (max-width: 520px) { .art-bosi .bo-t { font-size: 14px; } }

/* cardul simulatorului de plusare */
#gamePlusare .game-art { background: radial-gradient(ellipse at 50% 115%, rgba(95,220,138,.18), transparent 62%), linear-gradient(180deg, #101a18, #0b0f14); }
.art-plus { position: absolute; inset: 0; display: grid; place-items: center; }
.art-plus .pl-it { position: absolute; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 12px 30px rgba(0,0,0,.6);
  transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.art-plus .pl-it img { width: 52px; height: 52px; object-fit: contain; image-rendering: pixelated; }
.art-plus .pl-it.a { transform: translate(-92px, 6px) rotate(-10deg); }
.art-plus .pl-it.b { transform: translateY(-10px); z-index: 2; }
.art-plus .pl-it.c { transform: translate(92px, 6px) rotate(10deg); }
.game:hover .art-plus .pl-it.a { transform: translate(-100px, 0) rotate(-14deg); }
.game:hover .art-plus .pl-it.b { transform: translateY(-18px); }
.game:hover .art-plus .pl-it.c { transform: translate(100px, 0) rotate(14deg); }
.art-plus .pl-plus { position: absolute; z-index: 5; bottom: 30px; font-family: var(--display); font-size: 40px; font-weight: 800;
  color: #5fdc8a; text-shadow: 0 2px 12px rgba(0,0,0,.9), 0 0 26px rgba(95,220,138,.55); }
@media (max-width: 520px) { .art-plus .pl-it { width: 62px; height: 62px; }
  .art-plus .pl-it img { width: 44px; height: 44px; }
  .art-plus .pl-it.a { transform: translate(-74px, 6px) rotate(-10deg); }
  .art-plus .pl-it.c { transform: translate(74px, 6px) rotate(10deg); }
  .art-plus .pl-plus { font-size: 32px; } }

/* ===== bara de chat de pe prima pagina ===== */
.chatbar-wrap { position: relative; width: min(760px, 92vw); margin: 26px auto 4px; padding-top: 20px;
  scroll-margin-top: 78px; }
.chatbar { position: relative; overflow: hidden; width: 100%; display: grid;
  grid-template-columns: 34px 1fr 34px; align-items: center; gap: 10px;
  padding: 10px 16px; cursor: pointer; border-radius: 13px; border: 1px solid rgba(255,214,110,.6);
  background: linear-gradient(100deg, #b8862c 0%, #f7dd93 22%, #f0c75c 48%, #e0a93c 72%, #c08f2e 100%);
  color: #221701; font-family: var(--display); font-size: 15.5px; font-weight: 800; letter-spacing: .05em;
  box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 22px rgba(245,197,66,.16), inset 0 1px 0 rgba(255,255,255,.55);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, filter .2s; }
.chatbar::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.55) 48%, transparent 64%);
  transform: translateX(-120%); transition: transform .8s ease; }
.chatbar:hover::before { transform: translateX(120%); }
.chatbar:hover { filter: brightness(1.04); box-shadow: 0 12px 32px rgba(0,0,0,.45), 0 0 34px rgba(245,197,66,.3), inset 0 1px 0 rgba(255,255,255,.6); }
.chatbar:active { transform: translateY(1px); }
.cb-side { display: grid; place-items: center; opacity: .72; }
.cb-txt { text-align: center; text-transform: uppercase; text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.cb-ar svg { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.chatbar[aria-expanded="true"] .cb-ar svg { transform: rotate(180deg); }
.chatbar[aria-expanded="true"] { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }
.cb-live { position: absolute; right: 11px; top: 9px; width: 8px; height: 8px; border-radius: 50%;
  background: #1f7a3f; box-shadow: 0 0 0 0 rgba(31,122,63,.6); animation: cbLive 2s ease-out infinite; }
@keyframes cbLive { 0% { box-shadow: 0 0 0 0 rgba(31,122,63,.55) } 70%,100% { box-shadow: 0 0 0 9px rgba(31,122,63,0) } }

/* panoul care se desface: marginile pleaca in sus si in jos, chatul apare la mijloc */
.chatpanel { position: relative; overflow: hidden; height: 0; opacity: 0;
  border-radius: 0 0 18px 18px; background: #0c0f19;
  transition: height .5s cubic-bezier(.22,.9,.26,1), opacity .25s ease; }
.chatpanel[hidden] { display: none; }
.chatpanel.open { opacity: 1; }
.chatpanel iframe { display: block; width: 100%; height: 100%; border: 0;
  transform: scaleY(.9); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1) .12s, opacity .4s ease .12s; }
.chatpanel.open iframe { transform: scaleY(1); opacity: 1; }
.cp-rim { position: absolute; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, #f5c542, transparent); opacity: 0;
  transition: transform .5s cubic-bezier(.22,.9,.26,1), opacity .4s; }
.cp-top { top: 0; } .cp-bot { bottom: 0; }
.chatpanel.open .cp-rim { opacity: .85; }
.chatpanel .cp-top { transform: translateY(140px); }
.chatpanel .cp-bot { transform: translateY(-140px); }
.chatpanel.open .cp-top, .chatpanel.open .cp-bot { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .chatpanel, .chatpanel iframe, .cp-rim { transition: none; }
  .chatpanel iframe { transform: none; opacity: 1; }
}

/* ===== butonul Discord: apasi si vezi cine e online ===== */
.dwbtn { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 5;
  width: 54px; height: 54px; display: grid; place-items: center; cursor: pointer;
  border-radius: 17px; border: 1px solid rgba(88,101,242,.5); background: #5865f2; color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 0 26px rgba(88,101,242,.3);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), filter .2s; }
.dwbtn[hidden] { display: none !important; }
.dwbtn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.dwbtn.on { transform: scale(.92); opacity: .75; }
.dwbtn-n { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px; background: #3ba55c; color: #fff;
  font: 800 11px/1 Inter, sans-serif; border: 2px solid #0b0d14; }

/* panoul se deschide de langa buton */
.dwidget { transform-origin: 100% 100%; animation: dwIn .3s cubic-bezier(.2,.9,.3,1); }
@keyframes dwIn { from { opacity: 0; transform: translateY(14px) scale(.92) } to { opacity: 1; transform: none } }
.dw-head { position: relative; }
.dw-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px;
  display: grid; place-items: center; cursor: pointer; border: 0; border-radius: 8px;
  background: rgba(0,0,0,.18); color: #fff; font-size: 13px; line-height: 1; }
.dw-x:hover { background: rgba(0,0,0,.32); }
@media (prefers-reduced-motion: reduce) { .dwidget { animation: none; } }
/* bara fixa de sus de pe prima pagina: butonul de cont sa incapa frumos */
.m2menu-fixed .m2acc-me { margin-left: 0; }
.chatbar-wrap { scroll-margin-top: 78px; }
/* bula se strange / se desface cu un mic efect */
.dwbtn { animation: dwPop .28s cubic-bezier(.2,.9,.3,1); }
@keyframes dwPop { from { opacity: 0; transform: scale(.5) translateY(10px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .dwbtn { animation: none; } }

/* cardul „Obiecte" de pe prima pagină */
.art-ob { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, 58px); gap: 12px;
  place-content: center; transform: rotate(-7deg); }
.art-ob .ob-it { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(245,197,66,.28); box-shadow: 0 10px 22px rgba(0,0,0,.45); }
.art-ob .ob-it img { width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.art-ob .ob-q { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%) rotate(7deg);
  padding: 5px 14px 5px 30px; border-radius: 999px; font: 700 13px/1 Inter, sans-serif; color: #0f1017;
  background: linear-gradient(#f0cf7a, #c9a23f); }
.art-ob .ob-q::before { content: ""; position: absolute; left: 12px; top: 50%; width: 9px; height: 9px;
  margin-top: -6px; border: 2px solid #0f1017; border-radius: 50%; }
#gameObiecte .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(240,166,255,.18), transparent 60%), linear-gradient(180deg, #171226, #0d0b14); }

/* cardul „Monștri" de pe prima pagină */
.art-mb { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, 62px); gap: 12px;
  place-content: center; transform: rotate(-6deg); }
.art-mb .mb-b { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,128,149,.35); box-shadow: 0 10px 22px rgba(0,0,0,.45); }
.art-mb .mb-b img { width: 62px; height: 62px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0,0,0,.55)); }
.art-mb .mb-t { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%) rotate(6deg);
  padding: 5px 14px; border-radius: 999px; font: 700 12.5px/1 Inter, sans-serif; color: #1a0d11;
  background: linear-gradient(#ffb3c0, #e4647c); }
#gameMonstri .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(255,92,122,.2), transparent 60%), linear-gradient(180deg, #221320, #0f0b10); }

/* cardul „Cufere" de pe prima pagină */
.art-cf { position: absolute; inset: 0; }
.art-cf .cf-box { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: 86px; height: 86px; display: grid; place-items: center; border-radius: 22px;
  background: linear-gradient(180deg, rgba(245,197,66,.2), rgba(255,255,255,.03));
  border: 1px solid rgba(245,197,66,.45); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.art-cf .cf-box img { width: 56px; height: 56px; object-fit: contain; image-rendering: pixelated; }
.art-cf .cf-dot { position: absolute; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 8px 18px rgba(0,0,0,.45); }
.art-cf .cf-dot img { width: 26px; height: 26px; object-fit: contain; image-rendering: pixelated; }
.art-cf .d1 { left: 16%; top: 20%; transform: rotate(-12deg); }
.art-cf .d2 { right: 15%; top: 16%; transform: rotate(10deg); }
.art-cf .d3 { right: 18%; bottom: 26%; transform: rotate(-7deg); }
.art-cf .cf-t { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) rotate(-4deg);
  padding: 5px 14px; border-radius: 999px; font: 700 12.5px/1 Inter, sans-serif; color: #15110a;
  background: linear-gradient(#f3d98c, #cfa544); }
#gameCufere .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(245,197,66,.2), transparent 60%), linear-gradient(180deg, #1d1810, #0e0c09); }

/* cardul „Simulator de cufere" de pe prima pagină */
.art-sim { position: absolute; inset: 0; }
.art-sim .sim-cuf { position: absolute; left: 50%; top: 26%; transform: translate(-50%, -50%) rotate(-5deg);
  width: 72px; height: 72px; display: grid; place-items: center; border-radius: 18px;
  background: linear-gradient(180deg, rgba(245,197,66,.22), rgba(255,255,255,.03));
  border: 1px solid rgba(245,197,66,.5); box-shadow: 0 12px 26px rgba(0,0,0,.5); }
.art-sim .sim-cuf img { width: 48px; height: 48px; object-fit: contain; image-rendering: pixelated; }
.art-sim .sim-grid { position: absolute; left: 50%; top: 58%; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(3, 38px); gap: 4px; padding: 5px; border-radius: 10px;
  background: linear-gradient(180deg, #0b0c11, #08090d); border: 1px solid rgba(245,197,66,.3);
  box-shadow: inset 0 0 22px rgba(0,0,0,.8); }
.art-sim .sim-grid i { position: relative; width: 38px; height: 38px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.07); }
.art-sim .sim-grid i:nth-child(-n+3) { border-color: rgba(245,197,66,.3); }
.art-sim .sim-grid img { position: absolute; inset: 15%; width: 70%; height: 70%; object-fit: contain; image-rendering: pixelated; }
.art-sim .sim-grid b { position: absolute; right: 2px; bottom: 1px; padding: 0 2px; border-radius: 3px;
  font: 800 8.5px/1.5 Inter, sans-serif; color: #fff; background: rgba(0,0,0,.75); }
.art-sim .sim-badge { position: absolute; right: 18%; top: 16%; transform: rotate(9deg);
  padding: 4px 11px; border-radius: 999px; font: 800 13px/1 Inter, sans-serif; color: #15110a;
  background: linear-gradient(#f3d98c, #cfa544); box-shadow: 0 6px 14px rgba(0,0,0,.45); }
#gameSim .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(245,197,66,.17), transparent 60%), linear-gradient(180deg, #1b1712, #0d0c0a); }

/* cardul „Misiunile biologului" de pe prima pagină */
.art-bio { position: absolute; inset: 0; }
.art-bio .bio-p { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-3deg);
  width: 116px; height: 145px; overflow: hidden; border-radius: 16px;
  border: 1px solid rgba(245,197,66,.45); box-shadow: 0 14px 30px rgba(0,0,0,.6); }
.art-bio .bio-p img { width: 100%; height: 100%; object-fit: cover; }
.art-bio .bio-cd { position: absolute; right: 16%; top: 15%; transform: rotate(8deg);
  padding: 5px 13px; border-radius: 999px; font: 800 13px/1 Inter, sans-serif; color: #15110a;
  background: linear-gradient(#f3d98c, #cfa544); box-shadow: 0 6px 14px rgba(0,0,0,.45); }
.art-bio .bio-dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5; }
.art-bio .bio-dots i { width: 14px; height: 14px; border-radius: 4px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.art-bio .bio-dots i.on { background: linear-gradient(180deg, #f3d98c, #cfa544);
  border-color: rgba(245,197,66,.6); box-shadow: 0 0 10px rgba(245,197,66,.45); }
#gameBiolog .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(245,197,66,.17), transparent 60%), linear-gradient(180deg, #1c1511, #0d0b09); }

/* cardul „Misiunile de călărie" de pe prima pagină */
.art-ca { position: absolute; inset: 0; }
.art-ca .ca-cal { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: 220px; display: grid; place-items: center; }
.art-ca .ca-cal img { width: 100%; height: auto; filter: drop-shadow(0 12px 26px rgba(0,0,0,.65)); }
.art-ca .ca-it { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5; }
.art-ca .ca-it i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(245,197,66,.3); box-shadow: 0 8px 18px rgba(0,0,0,.45); }
.art-ca .ca-it img { width: 22px; height: 22px; object-fit: contain; image-rendering: pixelated; }
.art-ca .ca-badge { position: absolute; right: 14%; top: 15%; transform: rotate(8deg);
  padding: 4px 12px; border-radius: 999px; font: 800 12.5px/1 Inter, sans-serif; color: #15110a;
  background: linear-gradient(#f3d98c, #cfa544); box-shadow: 0 6px 14px rgba(0,0,0,.45); }
#gameCalarie .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(245,197,66,.16), transparent 60%), linear-gradient(180deg, #1a1611, #0c0b09); }

/* cardul „Hărți Metin2" de pe prima pagină */
.art-hp { position: absolute; inset: 0; }
.art-hp .hp-grid { position: absolute; left: 12%; right: 12%; top: 14%; bottom: 20%;
  border: 1px solid rgba(242,230,201,.16); border-radius: 8px;
  background-image: linear-gradient(rgba(242,230,201,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(242,230,201,.09) 1px, transparent 1px);
  background-size: 25% 33.33%; }
.art-hp .hp-pt { position: absolute; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%); }
.art-hp .hp-pt.n { background: #6fc2ff; box-shadow: 0 0 8px rgba(111,194,255,.65); }
.art-hp .hp-pt.m { background: #c08bff; box-shadow: 0 0 8px rgba(192,139,255,.65); }
.art-hp .hp-pt.s { width: 13px; height: 13px; background: #ff8095; box-shadow: 0 0 12px rgba(255,128,149,.7); }
.art-hp .hp-pt.v { background: #7bd389; border-radius: 3px; box-shadow: 0 0 8px rgba(123,211,137,.6); }
.art-hp .hp-pt.g { background: #f5c542; border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 10px rgba(245,197,66,.7); }
.art-hp .hp-t { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%) rotate(-3deg);
  padding: 5px 14px; border-radius: 999px; font: 700 12.5px/1 Inter, sans-serif; color: #0b1016;
  background: linear-gradient(#a9dcff, #4da3ff); }
#gameHarti .game-art { background: radial-gradient(ellipse at 50% 120%, rgba(77,163,255,.2), transparent 60%), linear-gradient(180deg, #0e1420, #080a10); }

/* cardul „Controlul Zonelor" de pe prima pagină */
.art-cz { position: absolute; inset: 0; }
.art-cz .cz-hex { position: absolute; left: 50%; top: 50%; width: 26px; height: 29px;
  margin: -14px 0 0 -13px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: currentColor; opacity: .9; }
.art-cz .c0 { color: #6fc2ff; transform: translate(0, -64px); }
.art-cz .c1 { color: #7bd389; transform: translate(50px, -40px); }
.art-cz .c2 { color: #c08bff; transform: translate(62px, 18px); }
.art-cz .c3 { color: #f5c542; transform: translate(22px, 58px); }
.art-cz .c4 { color: #ff8095; transform: translate(-38px, 54px); }
.art-cz .c5 { color: #7fd6ff; transform: translate(-64px, 2px); }
.art-cz .c6 { color: #ff6a3d; transform: translate(-42px, -48px); }
.art-cz .cz-mid { position: absolute; left: 50%; top: 50%; width: 46px; height: 52px;
  margin: -26px 0 0 -23px; display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(#f3d98c, #cfa544); color: #15110a;
  font: 800 22px/1 Cinzel, serif; }
.art-cz .cz-t { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%) rotate(-3deg);
  padding: 5px 14px; border-radius: 999px; font: 700 12.5px/1 Inter, sans-serif; color: #0b1016;
  background: linear-gradient(#a9dcff, #4da3ff); }
#gameZone .game-art { background: radial-gradient(ellipse at 50% 50%, rgba(245,197,66,.14), transparent 65%), linear-gradient(180deg, #14110c, #0a0b10); }

/* ===== cautarea de pe prima pagina (a luat locul barei de chat) ===== */
.gsearch-wrap { position: relative; z-index: 30; width: min(760px, 92vw); margin: 26px auto 4px; padding-top: 20px; }
.gsearch-wrap::before { content: ""; position: absolute; top: 0; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(245,197,66,0.55) 30%, rgba(245,197,66,0.55) calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), rgba(245,197,66,0.55) calc(50% + 16px), rgba(245,197,66,0.55) 70%, transparent 100%); }
.gsearch-wrap::after { content: "✦"; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--gold); line-height: 18px; text-shadow: 0 0 8px rgba(245,197,66,0.6); }

.gsearch { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px;
  height: 56px; border-radius: 15px; background: rgba(8,10,16,.72);
  border: 1px solid rgba(245,197,66,.34); box-shadow: 0 10px 28px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
  transition: border-color .16s, box-shadow .16s; }
.gsearch:focus-within { border-color: rgba(245,197,66,.7); box-shadow: 0 12px 32px rgba(0,0,0,.5), 0 0 30px rgba(245,197,66,.22), inset 0 1px 0 rgba(255,255,255,.07); }
.gq-lupa { flex: none; color: var(--gold); opacity: .85; }
.gsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: 0;
  color: var(--text); font: 500 15px/1 Inter, sans-serif; }
.gsearch input::placeholder { color: #6b7488; }
.gsearch input::-webkit-search-cancel-button { display: none; }
.gq-kbd { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px;
  font: 700 12px/1 Inter, sans-serif; color: #8d95a8;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.gsearch:focus-within .gq-kbd { display: none; }
.gq-x { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; cursor: pointer;
  border-radius: 8px; color: #8d95a8; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.gq-x:hover { color: #f5c542; border-color: rgba(245,197,66,.45); }

.gqpanel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  max-height: min(66vh, 520px); overflow-y: auto; overscroll-behavior: contain; text-align: left;
  padding: 7px; border-radius: 15px; background: #090b11;
  border: 1px solid rgba(245,197,66,.26); box-shadow: 0 24px 60px rgba(0,0,0,.72); }
.gqpanel[hidden] { display: none; }
.gq-g + .gq-g { margin-top: 5px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.06); }
.gq-g > u { display: block; padding: 6px 10px 5px; text-decoration: none;
  font: 800 9.5px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #6b7488; }
.gq-r { display: flex; align-items: center; gap: 11px; padding: 7px 10px; border-radius: 10px; text-decoration: none; }
.gq-r img, .gq-noic { flex: none; width: 32px; height: 32px; border-radius: 8px; object-fit: contain;
  image-rendering: pixelated; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.gq-noic { display: grid; place-items: center; }
.gq-noic::after { content: "◆"; font-size: 10px; color: rgba(245,197,66,.55); }
.gq-r > span { min-width: 0; }
.gq-r b { display: block; font: 600 13.5px/1.3 Inter, sans-serif; color: #e8ecf6;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gq-r i { display: block; margin-top: 1px; font: 500 11.5px/1.3 Inter, sans-serif; font-style: normal; color: #8d95a8;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gq-r:hover, .gq-r.on { background: rgba(245,197,66,.1); }
.gq-r.on b, .gq-r:hover b { color: #f5c542; }
.gq-tot { display: block; padding: 6px 10px 7px; text-decoration: none;
  font: 700 11.5px/1 Inter, sans-serif; color: #8d95a8; border-radius: 10px; }
.gq-tot:hover, .gq-tot.on { color: #f5c542; background: rgba(245,197,66,.1); }
.gq-gol { margin: 0; padding: 16px 12px; text-align: center; font: 500 13px/1.5 Inter, sans-serif; color: #8d95a8; }

@media (max-width: 640px) {
  .gsearch { height: 50px; padding-left: 13px; }
  .gsearch input { font-size: 14px; }
  .gq-kbd { display: none; }
  .gqpanel { max-height: 62vh; }
}

/* ===== 4 carduri pe rând + meniul mare ===== */
@media (min-width: 1240px) {
  .games { grid-template-columns: repeat(4, 1fr); max-width: 1500px; gap: 20px; }
  .games .game-art { height: 200px; }
  .games .game-body { padding: 18px 18px 20px; }
  .games .game h2 { font-size: 21px; }
  .games .game p { font-size: 13.5px; }
}
.btn-meniu { cursor: pointer; border: 0; font: inherit; }
.meniu-nr { background: rgba(26,19,0,.85) !important; color: #ffe08a !important; }
body.mt-blocat { overflow: hidden; }
.mt { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px; background: rgba(5,6,10,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .22s ease; }
.mt[hidden] { display: none !important; }
.mt.on { opacity: 1; }
.mt-box { width: min(1180px, 100%); max-height: 92vh; display: flex; flex-direction: column; border-radius: 26px; background: linear-gradient(180deg, rgba(22,26,42,.98), rgba(11,13,21,.98)); border: 1px solid rgba(245,197,66,.3); box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 80px rgba(245,197,66,.08); transform: translateY(24px) scale(.97); transition: transform .3s cubic-bezier(.2,.9,.3,1.1); overflow: hidden; }
.mt.on .mt-box { transform: none; }
.mt-cap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 22px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mt-cap > div { flex: 1; min-width: 200px; }
.mt-cap small { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mt-cap h2 { margin: 2px 0 0; font: 800 26px/1.15 Cinzel, serif; color: #f2e6c9; }
.mt-cauta { display: flex; align-items: center; gap: 8px; flex: 0 1 320px; padding: 0 14px; height: 44px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.35); color: var(--muted); }
.mt-cauta:focus-within { border-color: rgba(245,197,66,.6); }
.mt-cauta input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 14px; outline: none; }
.mt-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); color: var(--text); font-size: 15px; cursor: pointer; }
.mt-x:hover { border-color: var(--gold); color: var(--gold); }
.mt-corp { overflow-y: auto; padding: 8px 22px 24px; scrollbar-width: thin; }
.mt-gr h3 { margin: 18px 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mt-gr > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.mt-i { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; text-decoration: none; color: var(--text); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); transition: border-color .15s, background .15s, transform .15s; animation: mt-in .35s var(--d, 0ms) both cubic-bezier(.2,.9,.3,1); }
.mt-i:hover, .mt-i:focus-visible { border-color: rgba(245,197,66,.5); background: rgba(245,197,66,.07); transform: translateY(-2px); outline: none; }
.mt-i img { flex: none; width: 92px; height: 52px; border-radius: 9px; object-fit: cover; object-position: 75% 50%; background: #0c0f19; box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.mt-i span { min-width: 0; display: grid; gap: 2px; }
.mt-i b { font-size: 14px; line-height: 1.25; }
.mt-i small { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes mt-in { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 640px) {
  .mt { padding: 0; }
  .mt-box { max-height: 100vh; height: 100%; border-radius: 0; }
  .mt-cap h2 { font-size: 21px; }
  .mt-cauta { flex: 1 1 100%; order: 3; }
  .mt-gr > div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .mt-i { animation: none; } .mt-box { transition: none; } }
