/* ================================================================
   TEMPLUXO — SITE.CSS  (design system v3 · „Marketplace curat”)
   Un singur fișier pentru tot site-ul public.
   ================================================================ */

/* ── 1. Tokens ── */
:root {
  --bg: #0a0c11;
  --bg-2: #0e1118;
  --surface: #131720;
  --surface-2: #181d28;
  --surface-3: #1e2431;
  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.12);
  --line-3: rgba(255,255,255,.2);
  --text: #e9ecf2;
  --muted: #9aa2b5;
  --muted-2: #6b7489;
  --accent: #38bdf8;
  --accent-hover: #6dd0fa;
  --accent-ink: #04131c;
  --accent-soft: rgba(56,189,248,.12);
  --price: #4ade80;
  --warn: #fbbf24;
  --danger: #f87171;
  --gold: #d69e2e;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1240px;
  --header-h: 68px;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}

/* ── 2. Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
[hidden] { display: none !important; }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.muted { color: var(--muted); }

/* ── 3. Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--radius-sm); font: 600 14px/1 var(--font);
  border: 1px solid transparent; background: none; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--line-3); background: var(--surface); }
.btn--quiet { color: var(--muted); padding: 0 12px; }
.btn--quiet:hover { color: var(--text); background: var(--surface); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ── 4. Header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,12,17,.86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo img { height: 28px; width: auto; }
.header-search {
  flex: 1; max-width: 380px; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; height: 40px;
  transition: border-color .2s;
}
.header-search:focus-within { border-color: var(--accent); }
.header-search svg { color: var(--muted-2); width: 16px; height: 16px; flex: none; }
.header-search input { all: unset; flex: 1; min-width: 0; font-size: 14px; color: var(--text); }
.header-search input::placeholder { color: var(--muted-2); }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav > a:not(.btn), .nav-drop > button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; background: none; border: 0; transition: color .2s, background .2s; }
.main-nav > a:not(.btn):hover, .nav-drop > button:hover, .main-nav > a[aria-current="page"] { color: var(--text); background: var(--surface); }
.main-nav .btn { margin-left: 8px; height: 38px; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-drop.is-open > button svg { transform: rotate(180deg); }
.nav-drop__panel {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-4px);
  width: 520px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-drop.is-open .nav-drop__panel, .nav-drop:focus-within .nav-drop__panel { opacity: 1; visibility: visible; transform: translateX(-50%); }
@media (hover: hover) { .nav-drop:hover .nav-drop__panel { opacity: 1; visibility: visible; transform: translateX(-50%); } }
.nav-drop__panel a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius-sm); transition: background .15s; }
.nav-drop__panel a:hover { background: var(--surface-2); }
.nav-drop__panel b { display: block; font-size: 14px; font-weight: 600; }
.nav-drop__panel small { display: block; color: var(--muted-2); font-size: 12px; }
.nav-drop__all { grid-column: 1 / -1; justify-content: center; color: var(--accent); font-weight: 600; font-size: 13px; border-top: 1px solid var(--line); border-radius: 0 !important; margin-top: 4px; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: none; align-items: center; justify-content: center; }
.burger svg { width: 18px; height: 18px; }

/* game mark (monogram) */
.gmark { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); font: 700 11px/1 var(--display); color: var(--accent); letter-spacing: 0; }

/* ── 5. Breadcrumb ── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 0; font-size: 13px; color: var(--muted-2); list-style: none; margin: 0; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-3); }
.crumbs [aria-current] { color: var(--text); }

/* ── 6. Sections & headings ── */
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--flush-top { padding-top: 0; }
.section--band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); }
.sec-head p { color: var(--muted); margin-top: 10px; max-width: 580px; }
.sec-head .eyebrow + h2 { margin-top: 12px; }

/* ── 7. Hero (home) ── */
.hero { padding: 64px 0 48px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; font-weight: 700; margin: 18px 0 20px; }
.hero h1 span { color: var(--muted); }
.hero__lead { color: var(--muted); font-size: 17px; max-width: 500px; margin-bottom: 30px; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { display: flex; gap: 32px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.facts b { display: block; font: 600 24px/1.1 var(--display); }
.facts span { color: var(--muted-2); font-size: 13px; }

.spot { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 10px; }
.spot__media { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); }
.spot__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.spot__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease); }
.spot__slide.is-on { opacity: 1; position: relative; }
.spot__label { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(10,12,17,.8); backdrop-filter: blur(8px); border: 1px solid var(--line-2); padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.spot__body { display: flex; align-items: center; gap: 16px; padding: 16px 8px 8px; }
.spot__info { flex: 1; min-width: 0; }
.spot__game { color: var(--muted-2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.spot__title { font: 600 18px/1.3 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot__price { font: 700 22px/1 var(--display); color: var(--price); }
.spot__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; }
.thumb { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; padding: 0; background: var(--bg-2); opacity: .5; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumb:hover { opacity: .85; }
.thumb.is-on { opacity: 1; border-color: var(--accent); }

/* ── 8. Game tiles ── */
.games { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
/* Logo real: umple tot pătratul, fără ramă și fără padding */
.gmark.gmark--logo { padding: 0; background: none; border-color: transparent; overflow: hidden; }
.gmark--logo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.game-tile {
  display: flex; flex-direction: column; gap: 12px; padding: 14px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s, transform .2s;
}
.game-tile:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); }
.game-tile b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.game-tile small { color: var(--muted-2); font-size: 12px; }

/* ── 9. Product cards ── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s var(--ease); }
.pcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pcard[hidden] { display: none; }
.pcard__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__badge { position: absolute; top: 12px; left: 12px; background: rgba(10,12,17,.82); backdrop-filter: blur(8px); border: 1px solid var(--line-2); padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.pcard__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex: 1; }
.pcard__game { color: var(--muted-2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pcard__title { font: 600 18px/1.3 var(--display); }
.pcard__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pcard__sub { color: var(--muted); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-xs); padding: 3px 8px; }
.pcard__foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.pcard__foot .btn { position: relative; z-index: 2; }
.price { font: 700 22px/1 var(--display); color: var(--price); margin-right: auto; }
.price small { display: block; font: 500 11px/1.5 var(--font); color: var(--muted-2); }

/* ── 10. Catalog toolbar ── */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 500; transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-on { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.chip span { font-size: 11px; opacity: .7; }
.field-inline { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); height: 38px; padding: 0 12px; }
.field-inline input { all: unset; width: 180px; font-size: 13px; }
.field-inline svg { width: 15px; height: 15px; color: var(--muted-2); }
.select { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-sm); height: 38px; padding: 0 12px; font: 500 13px var(--font); }
.result-count { color: var(--muted-2); font-size: 13px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.empty strong { display: block; color: var(--text); font: 600 20px var(--display); margin-bottom: 6px; }
.empty .btn { margin-top: 18px; }

/* ── 11. Page head (inner pages) ── */
.page-head { padding: 28px 0 40px; }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; margin: 14px 0 14px; max-width: 820px; }
.page-head p { color: var(--muted); font-size: 17px; max-width: 680px; }

/* ── 12. Product page ── */
.product { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 40px; align-items: start; padding: 24px 0 24px; }
.gallery__main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 16 / 10; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery__actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 10px; }
.gallery__main img { transition: opacity .2s; }
.buybox { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.buybox__game { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
.buybox h1 { font-size: clamp(24px, 2.4vw, 30px); margin: 14px 0 8px; }
.buybox__sub { color: var(--muted); font-size: 14px; }
.buybox__price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.buybox__price b { font: 700 36px/1 var(--display); color: var(--price); }
.buybox__price span { color: var(--muted-2); font-size: 13px; }
.buybox__cta { display: grid; gap: 10px; }
.perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; font-size: 14px; color: var(--muted); }
.perks li b { color: var(--text); font-weight: 500; }
.perks svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 1px; }
.buybox__note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted-2); }
.buybox__note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.tabs-nav { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: rgba(10,12,17,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-top: 32px; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tabs-nav a { flex: none; padding: 14px 14px; color: var(--muted); font-size: 14px; font-weight: 500; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.tabs-nav a:hover, .tabs-nav a.is-on { color: var(--text); border-color: var(--accent); }
.pblock { padding: 48px 0; border-bottom: 1px solid var(--line); }
.pblock:last-child { border-bottom: 0; }
.pblock h2 { font-size: 24px; margin-bottom: 18px; }
.prose { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 760px; }
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--text); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feature { display: flex; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; }
.feature::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2338bdf8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.spec { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.spec span { display: block; color: var(--muted-2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.spec b { font-weight: 500; font-size: 14px; }
.timeline { display: grid; gap: 12px; max-width: 760px; }
.update { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.update header { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.update .ver { font: 600 13px var(--display); color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 6px; }
.update time { color: var(--muted-2); font-size: 13px; }
.update p { color: var(--muted); font-size: 14px; }

/* ── 13. Split (Metin2 / custom) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; margin: 14px 0 16px; }
.split > div > p { color: var(--muted); margin-bottom: 24px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks li { display: flex; gap: 10px; font-size: 14px; }
.checks li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2338bdf8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mock__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); }
.mock__hero { padding: 26px 22px; background: radial-gradient(120% 140% at 80% 0%, rgba(214,158,46,.18), transparent 60%), var(--bg-2); border-bottom: 1px solid var(--line); }
.mock__hero b { display: block; font: 700 22px var(--display); }
.mock__hero span { color: var(--muted); font-size: 13px; }
.mock__btns { display: flex; gap: 8px; margin-top: 14px; }
.mock__btns i { height: 28px; width: 110px; border-radius: 7px; background: var(--gold); opacity: .9; }
.mock__btns i + i { background: var(--surface-2); border: 1px solid var(--line-2); }
.rank { width: 100%; border-collapse: collapse; font-size: 13px; }
.rank th { text-align: left; color: var(--muted-2); font-weight: 500; padding: 10px 18px; font-size: 12px; }
.rank td { padding: 10px 18px; border-top: 1px solid var(--line); }
.rank td:first-child { color: var(--muted-2); width: 40px; }
.rank td:last-child, .rank th:last-child { text-align: right; }
.rank td:last-child { color: var(--gold); font-weight: 600; }

/* ── 14. Value props / steps ── */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.value svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 18px; }
.value h3 { font-size: 17px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font: 600 13px var(--display); color: var(--accent); margin-bottom: 18px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* ── 15. Projects ── */
.proj { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: border-color .2s, transform .25s var(--ease); display: flex; flex-direction: column; }
.proj:hover { border-color: var(--line-2); transform: translateY(-3px); }
.proj__media { aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.proj__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proj__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.proj__body h3 { font-size: 17px; }
.proj__body p { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.proj__title::after { content: ''; position: absolute; inset: 0; }
.proj__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.proj__link { color: var(--accent); font-weight: 600; }
.proj__ext { position: relative; z-index: 2; color: var(--muted); }
.proj__ext:hover { color: var(--text); }

/* ── 15b. Game pages ── */
.game-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding: 28px 0 48px; }
.game-hero h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 700; margin: 16px 0 16px; }
.game-hero .lead { color: var(--muted); font-size: 17px; margin-bottom: 26px; max-width: 640px; }
.game-hero__mark .gmark { width: 56px; height: 56px; border-radius: 14px; font-size: 16px; }
.game-hero__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.game-hero__panel h2 { font-size: 15px; font-family: var(--font); font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); }
.stat-row { display: flex; gap: 28px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.stat-row b { display: block; font: 600 22px/1.1 var(--display); }
.stat-row span { color: var(--muted-2); font-size: 13px; }
.order-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 36px; border: 1px dashed var(--line-3); border-radius: var(--radius-lg); background: var(--surface); }
.order-panel h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 12px 0 10px; }
.order-panel p { color: var(--muted); }
.games-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.game-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, transform .25s var(--ease); }
.game-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.game-card .gmark { width: 44px; height: 44px; border-radius: 12px; }
.game-card h2 { font-size: 20px; }
.game-card h2 a::after { content: ''; position: absolute; inset: 0; }
.game-card p { color: var(--muted); font-size: 14px; }
.game-card small { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 13px; }
.other-games { display: flex; flex-wrap: wrap; gap: 10px; }
.other-games a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; transition: border-color .2s; }
.other-games a:hover { border-color: var(--line-2); }
.other-games .gmark { width: 28px; height: 28px; border-radius: 50%; font-size: 10px; }

/* Subtitlul din H1 (cuvântul cheie al paginii) */
.h1-kw { display: block; margin-top: 8px; font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }

/* ── 15b2. Limbă ── */
.lang-switch { display: inline-flex; align-items: center; justify-content: center; height: 30px; min-width: 38px; padding: 0 8px; margin-left: 6px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.lang-switch:hover { color: var(--text); border-color: var(--line-3); }

/* ── 15b3. Ghiduri ── */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, transform .25s var(--ease); }
.guide-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.guide-card__meta { color: var(--muted-2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.guide-card h3 { font-size: 18px; line-height: 1.3; }
.guide-card h3 a::after { content: ''; position: absolute; inset: 0; }
.guide-card p { color: var(--muted); font-size: 14px; }
.guide-card__more { margin-top: auto; color: var(--accent); font-size: 13px; font-weight: 600; }
.article { max-width: 760px; margin: 0 auto; padding: 24px 0 40px; }
.article__head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin: 14px 0 14px; }
.article__lead { color: var(--muted); font-size: 18px; line-height: 1.6; }
.article__meta { color: var(--muted-2); font-size: 13px; margin-top: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article__meta a { color: var(--accent); }
.toc { margin: 28px 0 8px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--text); }
.article__body { margin-top: 28px; }
.article__body h2 { font-size: 24px; color: var(--text); margin: 40px 0 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.article__body h3 { font-size: 19px; color: var(--text); margin: 28px 0 10px; }
.article__body ul { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.article__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article__body code { font-size: 14px; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.article__body p + p { margin-top: 14px; }

/* ── 15c. Service (custom) ── */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.service svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 16px; }
.service h3 { font-size: 18px; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 14px; }
.service ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }

/* ── 15d. Project page ── */
.case { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 40px; align-items: start; padding: 24px 0 40px; }
.case__shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 16/10; }
.case__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case__meta { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 18px; }
.case__meta h1 { font-size: clamp(26px, 3vw, 34px); margin-top: 10px; }
.case__meta dl { margin: 0; display: grid; gap: 12px; }
.case__meta dt { color: var(--muted-2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.case__meta dd { margin: 2px 0 0; font-size: 14px; }

/* ── 16. Reviews ── */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-size: 14px; line-height: 1.65; }
.stars { color: var(--warn); letter-spacing: 2px; font-size: 13px; }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); font: 600 12px var(--display); }
.who b { display: block; font-size: 14px; }
.who span { color: var(--muted-2); font-size: 12px; }
.who a { color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }

/* ── 17. FAQ ── */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.faq--single { grid-template-columns: 1fr; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 0 18px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── 18. CTA band ── */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: radial-gradient(80% 160% at 100% 0%, rgba(56,189,248,.14), transparent 60%), var(--surface); flex-wrap: wrap; }
.cta h2 { font-size: clamp(24px, 2.8vw, 32px); }
.cta p { color: var(--muted); margin-top: 8px; max-width: 560px; }

/* ── 19. Forms ── */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-msg { font-size: 14px; min-height: 20px; }
.form-msg.is-ok { color: var(--price); }
.form-msg.is-err { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 28px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.contact-card:hover { border-color: var(--line-2); }
.contact-card svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.contact-card b { display: block; font-size: 14px; }
.contact-card span { color: var(--muted); font-size: 13px; }

/* ── 20. Legal / prose pages ── */
.legal { max-width: 780px; padding-bottom: 40px; }
.legal h2 { font-size: 20px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.legal ul { padding-left: 20px; }
.legal p + p { margin-top: 12px; }
.legal .updated { color: var(--muted-2); font-size: 13px; }

/* ── 21. Modal (dialog) ── */
.dialog { width: min(100% - 32px, 560px); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.dialog::backdrop { background: rgba(5,6,10,.72); backdrop-filter: blur(4px); }
.dialog[open] { animation: dlg .22s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.dialog__in { padding: 28px; }
.dialog__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: none; display: grid; place-items: center; color: var(--muted); }
.dialog__close:hover { color: var(--text); border-color: var(--line-2); }
.dialog h2 { font-size: 22px; padding-right: 40px; }
.dialog__lead { color: var(--muted); font-size: 14px; margin: 8px 0 20px; }
.pay { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); transition: border-color .2s; }
.pay + .pay { margin-top: 10px; }
.pay:hover { border-color: var(--accent); }
.pay__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); font: 700 14px var(--display); color: var(--accent); flex: none; }
.pay b { display: block; }
.pay small { display: block; color: var(--muted); font-size: 13px; }
.pay em { display: block; font-style: normal; color: var(--warn); font-size: 12px; font-weight: 600; margin-top: 3px; }
.pay__arrow { margin-left: auto; color: var(--muted-2); }
.dialog__steps { margin: 20px 0 0; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.dialog__steps ol { margin: 6px 0 0; padding-left: 18px; }

/* ── 22. Footer ── */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 56px 0 28px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { height: 26px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted-2); font-size: 14px; max-width: 320px; }
.footer-col h3 { font: 600 13px var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }

/* ── 23. 404 ── */
.notfound { text-align: center; padding: 120px 0 80px; }
.notfound b { display: block; font: 700 clamp(80px, 14vw, 160px)/1 var(--display); color: var(--surface-3); letter-spacing: -.04em; }
.notfound h1 { font-size: 30px; margin: 10px 0 12px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }
.notfound .cta-row { justify-content: center; }

/* ── 24. Responsive ── */
@media (max-width: 1140px) {
  .games { grid-template-columns: repeat(4, 1fr); }
  .grid--4, .reviews { grid-template-columns: repeat(2, 1fr); }
  .values, .steps { grid-template-columns: repeat(2, 1fr); }
  .header-search { max-width: 260px; }
}
@media (max-width: 980px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .product, .case, .game-hero, .order-panel { grid-template-columns: 1fr; gap: 28px; }
  .buybox, .case__meta { position: static; }
  .games-index, .services, .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .order-panel { padding: 24px; }
  .lang-switch { margin: 6px 0 0; width: 100%; height: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .header-search, .main-nav { display: none; }
  .burger { display: inline-flex; }
  .site-header.is-open .main-nav {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-header.is-open .main-nav .btn { margin: 10px 0 0; }
  .nav-drop__panel { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: none; padding: 0 0 6px 8px; display: none; grid-template-columns: 1fr; }
  .nav-drop.is-open .nav-drop__panel { display: grid; transform: none; }
  .nav-drop:focus-within .nav-drop__panel { transform: none; }
  .main-nav > a:not(.btn), .nav-drop > button { width: 100%; height: 44px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 56px 0; }
  .hero { padding: 36px 0 32px; }
  .grid, .grid--4, .reviews, .values, .steps, .features, .specs, .form__row, .footer-grid, .games-index, .services, .guides-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 20px; flex-wrap: wrap; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: 1fr; }
  .cta { padding: 28px 22px; }
  .spot__body { flex-wrap: wrap; }
  .facts { gap: 22px; }
  .toolbar { align-items: stretch; }
  .field-inline { flex: 1; }
  .field-inline input { width: 100%; }
  .buybox { padding: 20px; }
  .dialog__in { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Sakurai product on the homepage */
.metin-product-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.metin-product-price strong { color: var(--text); font: 700 32px var(--display); }
.metin-product-price span { font-size: 14px; }
.metin-product-preview { display: block; min-width: 0; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; }
.metin-product-preview:hover { border-color: var(--accent); }
.metin-product-preview:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.metin-product-preview > img { display: block; width: 100%; height: auto; }
.metin-product-preview__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 16px 20px; border-top: 1px solid var(--line); }
.metin-product-preview__caption > span { color: var(--muted); font-size: 14px; }
