/* ════════════════════════════════════════════════════════════════════════════
   „Ce este nou pe JocuriOnline?" — secţiunea de pe page.php?slug=jocuri + fereastra cu întrebări.
   04-10-2026 · varianta A (Premium News Card), aprobată în previzualizare.
   Culorile vin DOAR din tema paginii (--bg-*, --border-color, --text-*, --primary-rgb); auriul e cel al
   butoanelor „Intră în lobby". Dark şi Light. Logica: assets/js/feedback-noutati.js; trimiterea: api/feedback.php.
   ════════════════════════════════════════════════════════════════════════════ */
:root { --jfb-gold: #e8c96a; --jfb-gold-ink: #1a1405; --jfb-gold-soft: rgba(232,201,106,.14); --jfb-violet: 139,92,246; }
:root[data-theme="light"] { --jfb-gold: #9a7316; --jfb-gold-ink: #fff; --jfb-gold-soft: rgba(154,115,22,.12); }
.jfb { margin: 64px 0 0; position: relative; }
.jfb * { box-sizing: border-box; }
.jfb-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--jfb-gold);
  background: var(--jfb-gold-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jfb-gold) 35%, transparent); }
.jfb-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--jfb-gold); position: relative; }
.jfb-badge i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--jfb-gold); opacity: 0; animation: jfb-ping 2.4s ease-out infinite; }
@keyframes jfb-ping { 0% { transform: scale(.4); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.jfb-h { margin: 14px 0 8px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; color: var(--text-primary); }
.jfb-h span { font-size: .9em; margin-right: 4px; }
.jfb-p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.6; max-width: 46ch; }
.jfb-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 800; letter-spacing: .01em; color: var(--jfb-gold-ink);
  background: linear-gradient(180deg, color-mix(in srgb, var(--jfb-gold) 100%, #fff 18%), var(--jfb-gold));
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,0,.18) inset, 0 10px 24px -10px color-mix(in srgb, var(--jfb-gold) 70%, transparent);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, filter .2s; }
.jfb-cta svg { width: 18px; height: 18px; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.jfb-cta:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,0,.18) inset, 0 16px 30px -12px color-mix(in srgb, var(--jfb-gold) 80%, transparent); }
.jfb-cta:hover svg { transform: translateX(4px); }
.jfb-cta:active { transform: translateY(1px); }
.jfb-cta:focus-visible,
.jfb button:focus-visible,
.jfbm button:focus-visible,
.jfbm textarea:focus-visible { outline: 2px solid var(--jfb-gold); outline-offset: 3px; }
.jfb-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 13px; }
.jfb-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; font-size: 21px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--bg-tertiary) 80%, #fff 6%), var(--bg-tertiary));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 0 1px var(--border-color), 0 6px 14px -8px rgba(0,0,0,.7); }
:root[data-theme="light"] .jfb-ico { background: linear-gradient(160deg, #fff, var(--bg-tertiary)); box-shadow: inset 0 0 0 1px var(--border-color), 0 6px 14px -10px rgba(60,45,20,.35); }
.jfb-anim .jfb-in { opacity: 0; transform: translateY(16px); }   /* doar dacă JS rulează (pune .jfb-anim); fără JS secțiunea e vizibilă */
.jfb-anim .jfb-in.jfb-on { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 60ms); }
.jfb-card { position: relative; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(var(--primary-rgb), .07), var(--bg-secondary) 42%, rgba(var(--jfb-violet), .05));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 1px 0 rgba(255,255,255,.05), 0 24px 50px -30px rgba(0,0,0,.9); }
:root[data-theme="light"] .jfb-card { background: linear-gradient(160deg, rgba(var(--primary-rgb), .06), var(--bg-secondary) 45%, rgba(var(--primary-rgb), .03));
  box-shadow: inset 0 0 0 1px var(--border-color), inset 0 1px 0 #fff, 0 22px 44px -30px rgba(60,45,20,.35); }
.jfb-A .jfb-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; align-items: center; padding: 40px; }
.jfb-A .jfb-card::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--jfb-gold) 12%, transparent), transparent 65%); }
.jfb-A .jfb-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.jfb-A .jfb-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.jfb-A .jfb-f { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px;
  background: color-mix(in srgb, var(--bg-tertiary) 70%, transparent); box-shadow: inset 0 0 0 1px var(--border-color);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s; }
.jfb-A .jfb-f:hover { transform: translateY(-2px); background: var(--bg-tertiary); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jfb-gold) 30%, var(--border-color)), 0 10px 20px -14px rgba(0,0,0,.8); }
.jfb-A .jfb-f b { display: block; font-size: 14px; color: var(--text-primary); }
.jfb-A .jfb-f small { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.jfb-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border: 0; border-radius: 14px; cursor: pointer; text-align: left;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--text-primary);
  background: color-mix(in srgb, var(--bg-tertiary) 75%, transparent); box-shadow: inset 0 0 0 1px var(--border-color);
  transition: transform .15s, box-shadow .2s, background .2s; }
.jfb-opt .e { font-size: 18px; }
.jfb-opt:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jfb-gold) 30%, var(--border-color)); }
.jfb-opt[aria-pressed="true"] { background: var(--jfb-gold-soft); box-shadow: inset 0 0 0 1.5px var(--jfb-gold); }
.jfb-opt[aria-pressed="true"]::after { content: "✓"; margin-left: auto; color: var(--jfb-gold); font-weight: 900; }
.jfb-games { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; box-shadow: inset 0 1px 0 var(--border-color); }
.jfb-games-l { font-size: 13px; font-weight: 700; color: var(--text-secondary); }
.jfb-games-r { display: flex; flex-wrap: wrap; }
.jfb-gav { width: 34px; height: 34px; margin-left: -6px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #000;
  box-shadow: 0 0 0 2px var(--bg-secondary), inset 0 0 0 1.5px color-mix(in srgb, var(--jfb-gold) 70%, transparent);
  transition: transform .2s cubic-bezier(.2,.8,.2,1); position: relative; }
.jfb-gav:first-child { margin-left: 0; }
.jfb-gav img { width: 100%; height: 100%; object-fit: cover; }
.jfb-gav:hover { transform: translateY(-3px); z-index: 1; }
.jfb-oimg { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 1px color-mix(in srgb, var(--jfb-gold) 60%, transparent); }
.jfbm-opts:has(.jfb-oimg) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 575px) {
.jfbm-opts:has(.jfb-oimg) { grid-template-columns: 1fr 1fr; }
.jfb-gav { width: 30px; height: 30px; }
.jfb-games { justify-content: center; }
}
.jfb-A .jfb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.jfb-A .jfb-f { padding: 16px 18px; gap: 16px; }
.jfb-A .jfb-f .jfb-ico { width: 52px; height: 52px; font-size: 26px; border-radius: 16px; }
.jfb-A .jfb-f b { font-size: 16px; }
.jfb-A .jfb-f small { font-size: 13px; }
@media (max-width: 575px) {
.jfb-A .jfb-list { grid-template-columns: 1fr; }
.jfb-A .jfb-f small { display: block; }
.jfb-A .jfb-f .jfb-ico { width: 44px; height: 44px; font-size: 22px; }
}
.jfb-scala { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.jfb-scala .jfb-opt { flex-direction: column; justify-content: center; gap: 6px; padding: 14px 6px 12px; text-align: center; font-size: 13px; }
.jfb-scala .jfb-opt .e { font-size: 30px; line-height: 1; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.jfb-scala .jfb-opt:hover .e,
.jfb-scala .jfb-opt[aria-pressed="true"] .e { transform: scale(1.15); }
.jfb-scala .jfb-opt[aria-pressed="true"]::after { display: none; }
.jfbm-doua { grid-template-columns: 1fr 1fr !important; }
.jfbm-sub { margin-top: 16px; padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--bg-tertiary) 60%, transparent); box-shadow: inset 0 0 0 1px var(--border-color); animation: jfb-step .25s ease; }
.jfbm-sub[hidden] { display: none; }
.jfbm-sub-t { margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--text-primary); }
.jfbm-sub textarea { min-height: 72px; }
@media (max-width: 575px) {
.jfb-scala .jfb-opt { padding: 12px 4px 10px; font-size: 12px; }
.jfb-scala .jfb-opt .e { font-size: 26px; }
}
@media (max-width: 359px) {
.jfb-scala { grid-template-columns: 1fr 1fr !important; }
}
.jfbm { position: fixed; inset: 0; z-index: 2147483000; display: none; align-items: center; justify-content: center; padding: 16px; }
.jfbm.on { display: flex; }
.jfbm-bg { position: absolute; inset: 0; background: rgba(0,0,0,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: jfb-fade .25s ease; }
:root[data-theme="light"] .jfbm-bg { background: rgba(30,25,15,.35); }
.jfbm-box:focus { outline: none; }
.jfbm-box { position: relative; width: min(560px, 100%); max-height: min(720px, calc(100dvh - 32px)); display: flex; flex-direction: column;
  border-radius: 26px; overflow: hidden; color: var(--text-primary); background: var(--bg-secondary);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.06), 0 40px 80px -30px rgba(0,0,0,.95);
  animation: jfb-pop .35s cubic-bezier(.2,.9,.25,1.05); }
:root[data-theme="light"] .jfbm-box { box-shadow: inset 0 0 0 1px var(--border-color), 0 40px 80px -30px rgba(60,45,20,.45); }
@keyframes jfb-fade { from { opacity: 0; } }
@keyframes jfb-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.jfbm-top { padding: 22px 24px 0; }
.jfbm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jfbm-x { width: 36px; height: 36px; border: 0; border-radius: 12px; cursor: pointer; font-size: 18px; color: var(--text-secondary); background: var(--bg-tertiary); box-shadow: inset 0 0 0 1px var(--border-color); }
.jfbm-x:hover { color: var(--text-primary); }
.jfbm-bar { height: 4px; margin: 18px 0 0; border-radius: 4px; background: var(--bg-tertiary); overflow: hidden; }
.jfbm-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--jfb-gold); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.jfbm-body { padding: 22px 24px 8px; overflow-y: auto; }
.jfbm-step { display: none; animation: jfb-step .3s ease; }
.jfbm-step.on { display: block; }
@keyframes jfb-step { from { opacity: 0; transform: translateX(10px); } }
.jfbm-n { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--jfb-gold); }
.jfbm-q { margin: 6px 0 4px; font-size: 20px; font-weight: 900; letter-spacing: -.01em; line-height: 1.25; }
.jfbm-hint { margin: 0 0 16px; font-size: 13px; color: var(--text-muted); }
.jfbm-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.jfbm textarea { width: 100%; min-height: 96px; margin-top: 12px; padding: 12px 14px; border: 0; border-radius: 14px; resize: vertical;
  font: inherit; font-size: 14px; color: var(--text-primary); background: var(--bg-tertiary); box-shadow: inset 0 0 0 1px var(--border-color); }
.jfbm textarea::placeholder { color: var(--text-muted); }
.jfbm-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 24px 22px; }
.jfbm-sec { padding: 12px 18px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; color: var(--text-secondary); background: transparent; }
.jfbm-sec:hover { color: var(--text-primary); }
.jfbm-sec[hidden] { visibility: hidden; display: inline-block; }
.jfbm .jfb-cta { padding: 12px 22px; font-size: 14px; }
.jfbm-done { text-align: center; padding: 18px 0 8px; }
.jfbm-done .big { width: 72px; height: 72px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 24px; font-size: 34px; background: var(--jfb-gold-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jfb-gold) 40%, transparent); }
@media (max-width: 991px) {
.jfb-A .jfb-card { grid-template-columns: 1fr; gap: 26px; padding: 32px; }
}
@media (max-width: 575px) {
.jfb { margin-top: 40px; }
.jfb-A .jfb-card { padding: 24px 18px; border-radius: 22px; }
.jfb-A .jfb-list,
.jfbm-opts { grid-template-columns: 1fr 1fr; gap: 8px; }
.jfb-A .jfb-f { padding: 10px; gap: 10px; }
.jfb-A .jfb-f small { display: none; }
.jfb-A .jfb-ico { width: 36px; height: 36px; font-size: 18px; border-radius: 11px; }
.jfb-opt { padding: 10px 11px; font-size: 13px; gap: 8px; }
.jfb-cta { width: 100%; justify-content: center; }
.jfb-A .jfb-row { flex-direction: column; align-items: stretch; gap: 10px; }
.jfb-A .jfb-row .jfb-meta { justify-content: center; }
.jfbm { padding: 0; align-items: flex-end; }
.jfbm-box { width: 100%; max-height: calc(100dvh - 24px); border-radius: 24px 24px 0 0; animation-name: jfb-sheet; }
@keyframes jfb-sheet { from { transform: translateY(40px); opacity: 0; } }
.jfbm-q { font-size: 18px; }
.jfbm .jfb-cta { width: auto; }
}
@media (max-width: 359px) {
.jfb-A .jfb-list,
.jfbm-opts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
.jfb *,
.jfbm * { animation: none !important; transition: none !important; }
.jfb-anim .jfb-in { opacity: 1; transform: none; }
}

/* — stări de producţie — */
.jfb-pwa { margin-bottom: 40px; }
.jfb-gata { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  color: var(--jfb-gold); background: var(--jfb-gold-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jfb-gold) 35%, transparent); }
.jfbm-err { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: #fca5a5; background: rgba(239,68,68,.1); box-shadow: inset 0 0 0 1px rgba(239,68,68,.25); }
:root[data-theme="light"] .jfbm-err { color: #b91c1c; }
.jfbm-err[hidden] { display: none; }
.jfbm-capcana { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.jfb-cta[disabled] { opacity: .6; cursor: progress; transform: none; }
