/* ============================================================
   SkopjeCloudGaminG — Sistemi i dizajnit
   1. Reset
   2. Tokenat
   3. Tipografia
   4. Utilitete layout-i
   5. Komponentët
   6. Header & navigim
   7. Seksionet e faqes
   8. Footer
   9. Animacionet
   10. Responsive
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Kompenson header-in sticky kur kalohet te një ankorë */
  scroll-padding-top: 96px;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Asnjë element nuk lejohet të krijojë scroll horizontal */
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--primary); color: var(--on-primary); }

/* ---------- 2. Tokenat ---------- */
:root {
  color-scheme: dark;

  /* Tipografia — tri role, të gjitha me mbulim latin + cirilik.
     Saira për tituj: e ngushtë dhe këndore, pa qenë font "gamer".
     IBM Plex Sans për tekst: e projektuar për marka inxhinierike.
     IBM Plex Mono për të dhëna, etiketa dhe IP/porta. */
  --font-display: "Saira", "IBM Plex Sans", -apple-system, BlinkMacSystemFont,
                  "Segoe UI", Arial, sans-serif;
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo,
               Consolas, "Liberation Mono", monospace;

  /* Sfondet — e zeza e një rack-u serverësh: e ftohtë, jo blu.
     Shtresat ndahen me dritë, jo me ngjyrë. */
  --bg:            #0a0b0d;
  --bg-elevated:   #0e1013;
  --surface:       #14171b;
  --surface-2:     #1b1f24;
  --surface-3:     #262b31;
  --overlay:       rgba(8, 9, 11, 0.84);

  /* Kufijtë — dukshëm më të pranishëm se më parë, sepse tani ata e ndërtojnë formën */
  --border:        rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-accent: rgba(255,158,44,0.42);

  /* Teksti */
  --text:       #edeef0;
  --text-muted: #969ca4;
  --text-dim:   #676d75;

  /* Marka — qelibari i kabllove fibër optike që duken në fotot e nyjeve.
     Është ngjyrë e ndritshme, prandaj teksti mbi të është i errët (--on-primary). */
  --primary:       #ff9e2c;
  --primary-hover: #ffb356;
  --primary-dim:   #d97e14;
  --on-primary:    #1a0f00;

  /* Theksi i dytë: turkezi i patch-panel-it. Qelibari mban veprimet
     tregtare (konfiguro, blej), turkezi gjendjet teknike (online, aktiv,
     lidhje). Të dyja dalin nga kabllot në fotot e nyjeve. */
  --accent:        #38d9c4;
  --accent-hover:  #5ce6d3;
  --violet:        #38d9c4;
  --violet-hover:  #5ce6d3;
  --cyan:          #38d9c4;
  --magenta:       #ff9e2c;

  /* Statuset */
  --success:  #2fd98a;
  --warning:  #fbbf24;
  --danger:   #ff4d6d;
  --info:     #38bdf8;

  --success-bg: rgba(47, 217, 138, 0.12);
  --warning-bg: rgba(251, 191, 36, 0.12);
  --danger-bg:  rgba(255, 77, 109, 0.12);
  --info-bg:    rgba(56, 189, 248, 0.12);

  --focus: var(--cyan);

  /* Gradientët — të shkurtër dhe brenda një familjeje ngjyrash.
     Gradientët e gjatë me tri ngjyra ishin ajo që e bënte faqen të dukej e lirë. */
  --grad-brand: linear-gradient(135deg, #ffb356 0%, #ff9e2c 55%, #ec8410 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(255,158,44,0.14) 0%, rgba(56,217,196,0.06) 100%);
  --grad-surface: linear-gradient(160deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.012) 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #ffffff 45%, #ff9e2c 100%);

  /* Rrezet — të ngushta. Qoshet e buta ishin arsyeja kryesore
     që kutitë dukeshin si shabllon i gatshëm. */
  --r-xs: 3px;
  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-full: 999px;

  /* Hijet — të thella dhe neutrale, pa shkëlqim me ngjyrë */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-md: 0 10px 30px -12px rgba(0,0,0,0.75);
  --shadow-lg: 0 30px 70px -28px rgba(0,0,0,0.9);
  --shadow-glow: 0 0 0 1px rgba(255,158,44,0.28);

  /* Hapësirat */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Struktura */
  --container: 1200px;
  --container-wide: 1400px;
  --header-h: 72px;

  /* Lëvizja */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 140ms;
  --t-base: 240ms;
  --t-slow: 420ms;

  --z-header: 100;
  --z-dropdown: 200;
  --z-drawer: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* ---------- 3. Tipografia ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: #fff;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-muted); line-height: 1.75; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.78rem; }
.mono { font-family: var(--font-mono); font-size: 0.9em; letter-spacing: -0.01em; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.section-head { max-width: 680px; margin-bottom: var(--sp-12); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: var(--sp-4); }

/* ---------- 4. Utilitete layout-i ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container-wide { max-width: var(--container-wide); }

.section { padding-block: clamp(56px, 9vw, 112px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }

.stack > * + * { margin-top: var(--sp-4); }
.stack-sm > * + * { margin-top: var(--sp-2); }
.stack-lg > * + * { margin-top: var(--sp-8); }

.row { display: flex; align-items: center; gap: var(--sp-3); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.row-wrap { flex-wrap: wrap; }
.row-top { align-items: flex-start; }
.col { display: flex; flex-direction: column; gap: var(--sp-3); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.center { text-align: center; }
.ml-auto { margin-left: auto; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.full { width: 100%; }
.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-link {
  position: absolute; top: -100px; left: var(--sp-4);
  z-index: 999; padding: var(--sp-3) var(--sp-5);
  background: var(--primary); color: var(--on-primary);
  border-radius: var(--r-sm); font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

.divider { height: 1px; background: var(--border); border: 0; margin-block: var(--sp-6); }

/* ---------- 5. Komponentët ---------- */

/* Ikonat */
.scg-icon { flex: none; vertical-align: middle; }

/* --- Butonat --- */
.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--text);
  --btn-border: var(--border-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: 0 var(--sp-5);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease),
              background-color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              opacity var(--t-fast) linear;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-disabled { opacity: 0.5; pointer-events: none; }

/* Butoni kryesor: sipërfaqe e plotë lime me tekst të errët.
   Pa gradient lëvizës dhe pa glow — forma dhe kontrasti e mbajnë vetë. */
.btn-primary {
  --btn-fg: var(--on-primary);
  --btn-border: transparent;
  background: var(--primary);
  font-weight: 640;
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 24px -14px rgba(255,158,44,0.8);
}
.btn-primary .scg-icon { color: currentColor; }

.btn-ghost { --btn-bg: transparent; --btn-border: var(--border-strong); }
.btn-ghost:hover { --btn-bg: rgba(255,255,255,0.045); --btn-border: var(--border-accent); }

.btn-subtle { --btn-bg: rgba(255,255,255,0.04); --btn-border: transparent; }
.btn-subtle:hover { --btn-bg: rgba(255,255,255,0.08); }

.btn-danger { --btn-bg: var(--danger-bg); --btn-fg: var(--danger); --btn-border: rgba(255,77,109,0.3); }
.btn-danger:hover { --btn-bg: rgba(255,77,109,0.2); }

.btn-success { --btn-bg: var(--success-bg); --btn-fg: var(--success); --btn-border: rgba(47,217,138,0.3); }
.btn-success:hover { --btn-bg: rgba(47,217,138,0.2); }

.btn-lg { min-height: 52px; padding: 0 var(--sp-8); font-size: 1rem; border-radius: var(--r-md); }
.btn-sm { min-height: 36px; padding: 0 var(--sp-4); font-size: 0.85rem; }
.btn-icon { padding: 0; width: 40px; min-height: 40px; }
.btn-block { display: flex; width: 100%; }

/* Gjendja e ngarkimit — teksti fshihet, shfaqet spinner-i */
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: scg-spin 640ms linear infinite;
}

/* --- Kartat --- */
.card {
  position: relative;
  padding: var(--sp-6);
  background: var(--surface);
  background-image: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.card-hover:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(56,217,196,0.18);
}
.card-flush { padding: 0; overflow: hidden; }
.card-glass {
  background: rgba(15, 18, 32, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding-bottom: var(--sp-4); margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.card-head h3, .card-head h2 { font-size: 1.05rem; }

/* --- Badge & pill --- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  font-size: 0.74rem; font-weight: 650; letter-spacing: 0.02em;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}
.badge-success { background: var(--success-bg); border-color: rgba(47,217,138,0.28); color: var(--success); }
.badge-warning { background: var(--warning-bg); border-color: rgba(251,191,36,0.28); color: var(--warning); }
.badge-danger  { background: var(--danger-bg);  border-color: rgba(255,77,109,0.28); color: var(--danger); }
.badge-info    { background: var(--info-bg);    border-color: rgba(56,189,248,0.28); color: var(--info); }
.badge-brand   { background: rgba(56,217,196,0.14); border-color: var(--border-accent); color: #ffd0a0; }
.badge-demo    { background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.3); color: #fcd34d; }

/* Pika e statusit me pulsim */
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-dim); flex: none;
}
.dot-online { background: var(--success); box-shadow: 0 0 0 0 rgba(47,217,138,0.55); animation: scg-pulse 2.2s ease-out infinite; }
.dot-degraded { background: var(--warning); }
.dot-offline { background: var(--danger); }
.dot-maintenance { background: var(--info); }

/* --- Formularët --- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field + .field { margin-top: var(--sp-4); }

.label {
  font-size: 0.855rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.label .req { color: var(--danger); }
.label .opt { font-weight: 400; color: var(--text-dim); font-size: 0.8rem; }

.input, .select, .textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px var(--sp-4);
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-dim); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255,255,255,0.2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,158,44,0.18);
  background: var(--surface);
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

.select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ba1bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.select option { background: var(--surface); color: var(--text); }

.input.has-error, .select.has-error, .textarea.has-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255,77,109,0.14);
}

.field-error {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--danger);
}
.field-hint { font-size: 0.8rem; color: var(--text-dim); }

.input-group { position: relative; display: flex; }
.input-group .input { padding-right: 46px; }
.input-affix {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 34px; height: 34px;
  color: var(--text-dim);
  border-radius: var(--r-xs);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.input-affix:hover { color: var(--text); background: rgba(255,255,255,0.06); }

/* Checkbox / radio të personalizuar */
.check {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  cursor: pointer; font-size: 0.9rem; line-height: 1.5;
  color: var(--text-muted);
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  flex: none; display: grid; place-items: center;
  width: 20px; height: 20px; margin-top: 1px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.check .box svg { opacity: 0; transform: scale(0.6); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); color: var(--on-primary); }
.check input:checked + .box { background: var(--primary); border-color: var(--primary); }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--focus); outline-offset: 2px; }
.check a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* Treguesi i fuqisë së fjalëkalimit */
.strength { display: flex; flex-direction: column; gap: 6px; }
.strength-bars { display: flex; gap: 4px; }
.strength-bar {
  height: 4px; flex: 1;
  background: rgba(255,255,255,0.09);
  border-radius: var(--r-full);
  transition: background-color var(--t-base) var(--ease);
}
.strength[data-score="1"] .strength-bar:nth-child(-n+1) { background: var(--danger); }
.strength[data-score="2"] .strength-bar:nth-child(-n+2) { background: var(--warning); }
.strength[data-score="3"] .strength-bar:nth-child(-n+3) { background: #a3e635; }
.strength[data-score="4"] .strength-bar { background: var(--success); }
.strength-label { font-size: 0.78rem; color: var(--text-dim); }

/* Kartat e zgjedhshme (radio si kartë) */
.option-card {
  position: relative;
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-base) var(--ease),
              background-color var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease);
}
.option-card:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }
.option-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.option-card:has(input:checked) {
  border-color: var(--primary);
  background: rgba(255,158,44,0.09);
  box-shadow: 0 0 0 1px rgba(255,158,44,0.4);
}
.option-card:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.option-card .oc-title { font-weight: 600; color: var(--text); }
.option-card .oc-desc { font-size: 0.83rem; color: var(--text-dim); }
.option-card .oc-price { margin-left: auto; font-weight: 650; color: var(--text); white-space: nowrap; }

/* --- Tabelat --- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.table { min-width: 640px; font-size: 0.9rem; }
.table th, .table td { padding: 13px var(--sp-4); text-align: left; vertical-align: middle; }
.table thead th {
  font-size: 0.74rem; font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table tbody tr { border-bottom: 1px solid var(--border); transition: background-color var(--t-fast) linear; }
.table tbody tr:last-child { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255,255,255,0.022); }
.table td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Pamja si kartë për tabelat në telefon */
@media (max-width: 720px) {
  .table-cards { border: 0; background: none; overflow: visible; }
  .table-cards .table { min-width: 0; display: block; }
  .table-cards thead { display: none; }
  .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
  .table-cards tbody tr {
    margin-bottom: var(--sp-3); padding: var(--sp-4);
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-md);
  }
  .table-cards td {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--sp-4); padding: 7px 0; text-align: right;
  }
  .table-cards td::before {
    content: attr(data-label);
    font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em;
    text-transform: uppercase; color: var(--text-dim);
    text-align: left; flex: none;
  }
  .table-cards td:empty { display: none; }
}

/* --- Gjendjet (loading / empty / error) --- */
.state {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-3); padding: var(--sp-12) var(--sp-5); text-align: center;
}
.state-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.state h3 { font-size: 1.05rem; }
.state p { color: var(--text-muted); max-width: 420px; }
.state-error .state-icon { background: var(--danger-bg); border-color: rgba(255,77,109,0.28); color: var(--danger); }

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.045) 25%,
    rgba(255,255,255,0.085) 50%,
    rgba(255,255,255,0.045) 75%);
  background-size: 200% 100%;
  border-radius: var(--r-sm);
  animation: scg-shimmer 1.4s ease-in-out infinite;
}
.skeleton-line { height: 12px; margin-bottom: 10px; }
.skeleton-line:last-child { width: 60%; margin-bottom: 0; }
.skeleton-block { height: 160px; }

/* --- Toast --- */
.toast-region {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: var(--sp-3);
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4);
  background: rgba(15, 18, 32, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--text-dim);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: scg-toast-in var(--t-base) var(--ease-out) both;
}
.toast.is-leaving { animation: scg-toast-out 220ms var(--ease) both; }
.toast-success { border-left-color: var(--success); }
.toast-error   { border-left-color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }
.toast-info    { border-left-color: var(--info); }
.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon   { color: var(--danger); }
.toast-warning .toast-icon { color: var(--warning); }
.toast-info .toast-icon    { color: var(--info); }
.toast-body { flex: 1; min-width: 0; }
.toast-title { font-weight: 650; font-size: 0.92rem; }
.toast-msg { font-size: 0.86rem; color: var(--text-muted); overflow-wrap: break-word; }
.toast-close { color: var(--text-dim); padding: 2px; border-radius: var(--r-xs); }
.toast-close:hover { color: var(--text); }

/* --- Modal --- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: grid; place-items: center;
  padding: var(--sp-5);
  background: var(--overlay);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: scg-fade-in 180ms var(--ease) both;
}
.modal {
  width: min(520px, 100%);
  max-height: min(86vh, 720px);
  overflow-y: auto;
  padding: var(--sp-6);
  background: var(--surface);
  background-image: var(--grad-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: scg-modal-in var(--t-base) var(--ease-out) both;
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.modal-title { font-size: 1.15rem; }
.modal-body { color: var(--text-muted); }
.modal-foot { display: flex; gap: var(--sp-3); justify-content: flex-end; margin-top: var(--sp-6); flex-wrap: wrap; }
.modal-danger .modal-title { color: var(--danger); }
body.modal-open { overflow: hidden; }

/* --- Tabs --- */
.tabs {
  display: flex; gap: 2px;
  padding: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 9px var(--sp-4);
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--r-xs);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.tab:hover { color: var(--text); background: rgba(255,255,255,0.045); }
.tab.is-active { color: #fff; background: var(--surface-3); box-shadow: var(--shadow-sm); }

/* --- Accordion / FAQ --- */
.accordion { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.acc-item + .acc-item { border-top: 1px solid var(--border); }
.acc-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  width: 100%; padding: var(--sp-5);
  text-align: left; font-weight: 600; font-size: 1rem; color: var(--text);
  transition: background-color var(--t-fast) linear, color var(--t-fast) linear;
}
.acc-trigger:hover { background: rgba(255,255,255,0.025); }
.acc-trigger[aria-expanded="true"] { color: #fff; }
.acc-trigger .scg-icon { color: var(--text-dim); transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease); flex: none; }
.acc-trigger[aria-expanded="true"] .scg-icon { transform: rotate(180deg); color: var(--primary); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease);
}
.acc-panel[data-open="true"] { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-content { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); line-height: 1.75; }

/* --- Progres --- */
.progress {
  height: 6px; width: 100%;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-full);
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--grad-brand);
  border-radius: var(--r-full);
  transition: width var(--t-slow) var(--ease);
}
.progress-bar.warn { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.progress-bar.danger { background: linear-gradient(90deg, #ff4d6d, #e11d48); }

/* --- Meter (statistika kompakte) --- */
.meter { display: flex; flex-direction: column; gap: 7px; }
.meter-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); }
.meter-label { font-size: 0.82rem; color: var(--text-muted); }
.meter-value { font-size: 0.88rem; font-weight: 650; font-variant-numeric: tabular-nums; }

/* --- Breadcrumbs --- */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-2); font-size: 0.84rem; color: var(--text-dim); }
.crumbs a:hover { color: var(--text); }
.crumbs .sep { color: var(--text-dim); opacity: 0.6; }

/* --- Paginim --- */
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-8); }
.page-link {
  display: grid; place-items: center;
  min-width: 40px; height: 40px; padding: 0 var(--sp-3);
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: all var(--t-fast) var(--ease);
}
.page-link:hover { color: var(--text); border-color: var(--border-strong); }
.page-link.is-active { color: var(--on-primary); background: var(--primary); border-color: var(--primary); }
.page-link.is-disabled { opacity: 0.4; pointer-events: none; }

/* --- Alert inline --- */
.alert {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.03);
  font-size: 0.9rem;
  line-height: 1.6;
}
.alert-success { background: var(--success-bg); border-color: rgba(47,217,138,0.25); color: #a7f3d0; }
.alert-warning { background: var(--warning-bg); border-color: rgba(251,191,36,0.25); color: #fde68a; }
.alert-danger  { background: var(--danger-bg);  border-color: rgba(255,77,109,0.25); color: #fecdd3; }
.alert-info    { background: var(--info-bg);    border-color: rgba(56,189,248,0.25); color: #bae6fd; }
.alert .scg-icon { flex: none; margin-top: 2px; }

/* --- Kod / IP me kopjim --- */
.copy-field {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 6px 6px 6px var(--sp-3);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-family: var(--font-mono); font-size: 0.86rem;
  max-width: 100%;
}
.copy-field span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn {
  display: grid; place-items: center;
  width: 30px; height: 30px; flex: none;
  color: var(--text-dim); border-radius: var(--r-xs);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.copy-btn:hover { color: var(--text); background: rgba(255,255,255,0.07); }
.copy-btn.is-copied { color: var(--success); }

/* ---------- 6. Header & navigim ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              backdrop-filter var(--t-base) var(--ease);
}
.header.is-stuck {
  background: rgba(10, 11, 13, 0.80);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: var(--sp-5);
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--grad-brand);
  box-shadow: 0 4px 16px -6px rgba(0,0,0,0.6);
  color: var(--on-primary);
}
.logo-text {
  font-size: 1.02rem; font-weight: 700; letter-spacing: -0.02em; color: #fff;
  white-space: nowrap;
}
.logo-text .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: var(--sp-2); }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px var(--sp-3);
  font-size: 0.9rem; font-weight: 550;
  color: var(--text-muted);
  border-radius: var(--r-xs);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.045); }
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: var(--sp-3); right: var(--sp-3); bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--grad-brand);
}

.nav-actions { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  z-index: var(--z-dropdown);
  min-width: 260px;
  padding: var(--sp-2);
  background: rgba(15, 18, 32, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              visibility var(--t-fast) linear;
}
.dropdown-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu.align-right { left: auto; right: 0; }
.dropdown-wide { min-width: 340px; }

.dropdown-item {
  display: flex; align-items: center; gap: var(--sp-3);
  width: 100%; padding: 10px var(--sp-3);
  font-size: 0.89rem; color: var(--text-muted);
  border-radius: var(--r-xs);
  text-align: left;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.dropdown-item:hover { color: var(--text); background: rgba(255,255,255,0.055); }
.dropdown-item.is-active { color: #fff; background: rgba(255,158,44,0.12); }
.dropdown-item .di-icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  border-radius: 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
}
.dropdown-item .di-title { font-weight: 600; color: var(--text); font-size: 0.9rem; }
.dropdown-item .di-desc { font-size: 0.78rem; color: var(--text-dim); line-height: 1.4; }
.dropdown-sep { height: 1px; background: var(--border); margin: var(--sp-2) 0; }
.dropdown-head {
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.7rem; font-weight: 650; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim);
}

/* Burger */
.burger {
  display: none;
  width: 42px; height: 42px;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.03);
}
.burger:hover { background: rgba(255,255,255,0.07); }

/* Drawer për telefon */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  visibility: hidden;
}
.drawer.is-open { visibility: visible; }
.drawer-scrim {
  position: absolute; inset: 0;
  background: var(--overlay);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  display: flex; flex-direction: column;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--bg-elevated);
  z-index: 1;
}
.drawer-body { padding: var(--sp-4) var(--sp-5) var(--sp-8); flex: 1; }
.drawer-link {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 13px var(--sp-3);
  font-size: 1rem; font-weight: 550;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.drawer-link:hover, .drawer-link.is-active { color: #fff; background: rgba(255,255,255,0.055); }
.drawer-section {
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

/* Zgjedhësi i gjuhës */
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px;
  font-size: 0.84rem; font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.lang-btn:hover { color: var(--text); border-color: var(--border-strong); }

/* Avatar */
.avatar {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--on-primary);
  background: var(--grad-brand);
  border-radius: 50%;
}
.avatar-lg { width: 52px; height: 52px; font-size: 1rem; }

/* ---------- 7. Seksionet e faqes ---------- */

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(56px, 10vw, 120px) clamp(48px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
}
/* Rrjeti diskret në sfond */
.hero-grid {
  position: absolute; inset: -20% -10% 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 75%);
}
/* Njolla gradienti që lëvizin ngadalë */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}
.hero-glow-1 {
  top: -180px; left: 8%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,158,44,0.55) 0%, transparent 68%);
  animation: scg-float-a 18s ease-in-out infinite;
}
.hero-glow-2 {
  top: -80px; right: 4%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(56,217,196,0.5) 0%, transparent 68%);
  animation: scg-float-b 22s ease-in-out infinite;
}
.hero-glow-3 {
  bottom: -220px; left: 42%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(56,217,196,0.34) 0%, transparent 70%);
  animation: scg-float-a 26s ease-in-out infinite reverse;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-content { max-width: 640px; }
.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 .accent { display: block; }
.hero-sub { margin-bottom: var(--sp-8); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-8); }

.hero-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 6px 14px 6px 8px;
  margin-bottom: var(--sp-5);
  font-size: 0.79rem; font-weight: 600;
  color: #c9d5ff;
  background: rgba(56,217,196,0.1);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-full);
}

.trust-row {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}
.trust-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.83rem; color: var(--text-muted);
}
.trust-item .scg-icon { color: var(--success); }

/* Vizualizimi i node-it në hero */
.hero-visual { position: relative; }
.node-card {
  position: relative;
  padding: var(--sp-5);
  background: rgba(15,18,32,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), 0 0 60px -30px rgba(56,217,196,0.7);
  animation: scg-float-y 7s ease-in-out infinite;
}
.node-head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.node-icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--grad-brand-soft);
  border: 1px solid var(--border-accent);
  color: #ffd0a0;
}
.node-metrics { display: grid; gap: var(--sp-4); }
.node-list { display: grid; gap: 10px; margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.node-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); font-size: 0.85rem; }
.node-row .label { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); }

/* Kartat e lojërave */
.game-card {
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,158,44,0.22);
}
.game-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.game-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.game-card:hover .game-media img { transform: scale(1.06); }
/* Fallback kur mungon imazhi: gradient sipas ngjyrës së lojës */
.game-media-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse at 30% 20%, var(--game-accent, #ff9e2c) 0%, transparent 62%),
    linear-gradient(150deg, #0f1220 0%, #161a2b 100%);
  opacity: 0.9;
}
.game-media-fallback .scg-icon { color: rgba(255,255,255,0.5); }
/* Shkallëzim që emri të mbetet gjithmonë i lexueshëm mbi imazh */
.game-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,12,21,0.96) 4%, rgba(10,12,21,0.15) 55%, transparent 100%);
}
.game-media-label {
  position: absolute; left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-3);
  z-index: 1;
  display: flex; align-items: center; gap: var(--sp-2);
}
.game-media-label .name { font-size: 1.05rem; font-weight: 680; color: #fff; letter-spacing: -0.02em; }
.game-body { display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-5); flex: 1; }
.game-desc { font-size: 0.89rem; color: var(--text-muted); line-height: 1.6; }
.game-specs { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.spec {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px;
  font-size: 0.76rem; font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
}
.spec .scg-icon { color: var(--text-dim); }
.game-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-3); margin-top: auto; padding-top: var(--sp-2); }
.game-price .from { display: block; font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.game-price .amount { font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.game-price .per { font-size: 0.8rem; color: var(--text-dim); font-weight: 500; }
.game-actions { display: flex; gap: var(--sp-2); }

/* Kartat e veçorive */
.feature {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--grad-brand-soft);
  border: 1px solid var(--border-accent);
  color: #a9bcff;
}
.feature h3 { font-size: 1rem; }
.feature p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.62; }

/* Hapat */
.steps { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { position: relative; padding: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.step-num {
  display: grid; place-items: center;
  width: 36px; height: 36px; margin-bottom: var(--sp-4);
  font-size: 0.9rem; font-weight: 700; color: var(--on-primary);
  background: var(--grad-brand);
  border-radius: var(--r-sm);
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* Lokacionet */
.location-card {
  display: flex; flex-direction: column; gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.location-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.loc-head { display: flex; align-items: center; gap: var(--sp-3); }
.loc-flag {
  display: grid; place-items: center;
  width: 40px; height: 28px; flex: none;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text);
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
}
.loc-city { font-weight: 650; color: #fff; }
.loc-country { font-size: 0.8rem; color: var(--text-dim); }
.loc-meta { display: grid; gap: var(--sp-3); }
.ping-value { font-family: var(--font-mono); font-weight: 650; font-variant-numeric: tabular-nums; }
.ping-good { color: var(--success); }
.ping-ok { color: var(--warning); }
.ping-bad { color: var(--danger); }

/* Planet / çmimet */
.plan-card {
  position: relative;
  display: flex; flex-direction: column; gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--surface);
  background-image: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.plan-card.is-featured {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}
.plan-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 3px 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  color: var(--on-primary);
  background: var(--grad-brand);
  border-radius: var(--r-full);
  white-space: nowrap;
}
.plan-name { font-size: 1.1rem; font-weight: 680; color: #fff; }
.plan-tagline { font-size: 0.85rem; color: var(--text-dim); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-size: 2.4rem; font-weight: 730; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.plan-price .cycle { font-size: 0.88rem; color: var(--text-dim); }
.plan-billed { font-size: 0.79rem; color: var(--text-dim); }
.plan-specs { display: grid; gap: 10px; padding-block: var(--sp-4); border-block: 1px solid var(--border); }
.plan-spec { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); font-size: 0.87rem; }
.plan-spec .k { color: var(--text-muted); display: inline-flex; align-items: center; gap: 7px; }
.plan-spec .v { font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; }
.plan-features { display: grid; gap: 9px; }
.plan-feature { display: flex; align-items: flex-start; gap: 9px; font-size: 0.86rem; color: var(--text-muted); }
.plan-feature .scg-icon { color: var(--success); flex: none; margin-top: 2px; }

/* Ndërruesi i ciklit të faturimit */
.cycle-switch {
  display: inline-flex; gap: 3px;
  padding: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  flex-wrap: wrap;
  justify-content: center;
}
.cycle-opt {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px var(--sp-4);
  font-size: 0.86rem; font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--r-xs);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.cycle-opt:hover { color: var(--text); }
.cycle-opt.is-active { color: #fff; background: var(--surface-3); box-shadow: var(--shadow-sm); }
.cycle-opt .save {
  padding: 1px 7px; font-size: 0.7rem; font-weight: 700;
  color: var(--success); background: var(--success-bg);
  border-radius: var(--r-full);
}

/* Dëshmitë */
.testimonial { display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.testimonial-body { font-size: 0.93rem; line-height: 1.72; color: var(--text-muted); }
.testimonial-foot { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.stars { display: inline-flex; gap: 2px; color: var(--warning); }
.stars .scg-icon { fill: currentColor; }

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(56,217,196,0.24) 0%, transparent 65%),
    var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-xl);
}
.cta-band h2 { margin-bottom: var(--sp-4); }
.cta-band p { max-width: 560px; margin-inline: auto; margin-bottom: var(--sp-8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* Faqja e brendshme — kokë */
.page-head {
  position: relative;
  padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 140% at 20% 0%, rgba(255,158,44,0.16) 0%, transparent 60%),
    var(--bg-elevated);
}
.page-head h1 { margin-bottom: var(--sp-3); }

/* Numëruesit e animuar */
.counter { font-variant-numeric: tabular-nums; }

/* Rrjeti i statistikave */
.stat-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat {
  display: flex; flex-direction: column; gap: 6px;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.stat-label { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--text-dim); }
.stat-value { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; line-height: 1.1; }
.stat-delta { font-size: 0.79rem; }
.stat-delta.up { color: var(--success); }
.stat-delta.down { color: var(--danger); }

/* ---------- 8. Footer ---------- */
.footer {
  margin-top: var(--sp-16);
  padding-block: var(--sp-12) var(--sp-6);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.footer-grid {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: var(--sp-10);
}
.footer-brand { max-width: 320px; }
.footer-about { margin-top: var(--sp-4); font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.footer h4 {
  margin-bottom: var(--sp-4);
  font-size: 0.76rem; font-weight: 650; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim);
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 0.89rem; color: var(--text-muted); transition: color var(--t-fast) var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  font-size: 0.84rem; color: var(--text-dim);
}
.social-row { display: flex; gap: var(--sp-2); }
.social-link {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: all var(--t-fast) var(--ease);
}
.social-link:hover { color: #fff; border-color: var(--border-accent); background: rgba(255,158,44,0.10); }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  font-size: 0.8rem; font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--text-muted);
}

/* Cookie banner */
.cookie-bar {
  position: fixed; left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4);
  z-index: var(--z-toast);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4);
  max-width: 720px; margin-inline: auto;
  padding: var(--sp-4) var(--sp-5);
  background: rgba(15,18,32,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: scg-slide-up var(--t-slow) var(--ease-out) both;
}
.cookie-bar p { font-size: 0.86rem; color: var(--text-muted); flex: 1 1 280px; }
.cookie-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* ---------- 9. Animacionet ---------- */
@keyframes scg-spin { to { transform: rotate(360deg); } }

@keyframes scg-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47,217,138,0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(47,217,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,217,138,0); }
}

@keyframes scg-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes scg-fade-in { from { opacity: 0; } to { opacity: 1; } }

@keyframes scg-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes scg-toast-in {
  from { opacity: 0; transform: translateX(24px) scale(0.98); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes scg-toast-out {
  to { opacity: 0; transform: translateX(24px) scale(0.98); }
}

@keyframes scg-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scg-float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes scg-float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, 30px) scale(1.06); }
  66%      { transform: translate(-24px, 16px) scale(0.96); }
}

@keyframes scg-float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-44px, 34px) scale(1.08); }
}

/* Zbulimi kur seksioni hyn në viewport */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 70ms; }
.reveal-delay-2 { transition-delay: 140ms; }
.reveal-delay-3 { transition-delay: 210ms; }
.reveal-delay-4 { transition-delay: 280ms; }

/* Respekto preferencën e sistemit për lëvizje të reduktuar */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-glow { animation: none; }
  .node-card { animation: none; }
}

/* ---------- 10. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .nav-link { padding: 8px 10px; font-size: 0.86rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .nav-actions .desktop-only { display: none; }
  .burger { display: grid; }
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding-inline: var(--sp-4); }
  .section { padding-block: 52px; }
  .hero { padding-block: 40px 48px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-glow { filter: blur(60px); opacity: 0.38; }
  .trust-row { gap: var(--sp-2) var(--sp-4); }
  .card { padding: var(--sp-5); }
  .plan-card { padding: var(--sp-5); }
  .cta-band { padding: var(--sp-8) var(--sp-5); }
  .toast-region { left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4); width: auto; }
  .modal { padding: var(--sp-5); }
  .modal-foot { flex-direction: column-reverse; }
  .modal-foot .btn { width: 100%; }
  .cookie-bar { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }
  .game-foot { flex-direction: column; align-items: stretch; }
  .game-actions { width: 100%; }
  .game-actions .btn { flex: 1; }
}

@media (max-width: 380px) {
  :root { --sp-5: 16px; --sp-6: 20px; }
  .logo-text { font-size: 0.94rem; }
  .plan-price .amount { font-size: 2rem; }
}

/* Ekranet e mëdha */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
}

/* Shtypja e faturave */
@media print {
  .header, .footer, .toast-region, .cookie-bar, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .table-wrap { border-color: #ddd; box-shadow: none; background: #fff; }
}

/* ============================================================
   Layout-i minimal (autentikim, gabime)
   ============================================================ */
.auth-body { min-height: 100vh; }

.auth-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  isolation: isolate;
}

.auth-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
}

.auth-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: var(--sp-6) var(--sp-5) var(--sp-12);
}

.auth-card {
  width: min(460px, 100%);
  padding: clamp(24px, 4vw, 40px);
  background: rgba(15, 18, 32, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.auth-card-wide { width: min(560px, 100%); }

.auth-head { margin-bottom: var(--sp-6); }
.auth-head h1 { font-size: clamp(1.5rem, 3.4vw, 1.85rem); margin-bottom: var(--sp-2); }
.auth-head p { color: var(--text-muted); font-size: 0.92rem; }

.auth-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--border);
}
.auth-foot nav { gap: var(--sp-4); }
.auth-foot a:hover { color: var(--text-muted); }

.auth-alt {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.auth-alt a { color: var(--primary); font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-row { display: grid; gap: var(--sp-4); grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* Faqja e gabimit */
.error-page { text-align: center; max-width: 520px; }
.error-code {
  font-size: clamp(4.5rem, 16vw, 8rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--sp-4);
}
.error-page h1 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); margin-bottom: var(--sp-3); }
.error-page p { color: var(--text-muted); margin-bottom: var(--sp-8); }
.error-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* Rrjet me shtyllë anësore — bëhet një kolonë në tablet e poshtë */
.grid-sidebar {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
}
.grid-sidebar-wide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 900px) {
  .grid-sidebar, .grid-sidebar-wide { grid-template-columns: 1fr; }
}

/* Shtylla anësore që qëndron e ngjitur gjatë scroll-it në desktop */
.sticky-side { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 900px) { .sticky-side { position: static; } }

/* Tekst i gjatë (faqe ligjore, artikuj) */
.prose { line-height: 1.8; color: var(--text-muted); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 {
  margin-top: var(--sp-8);
  font-size: 1.15rem;
  color: #fff;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--sp-6); font-size: 1rem; color: var(--text); }
.prose ul { padding-left: var(--sp-5); list-style: disc; }
.prose ol { padding-left: var(--sp-5); list-style: decimal; }
.prose li + li { margin-top: var(--sp-2); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 650; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
}

/* Kartë opsioni e padisponueshme */
.option-card.is-disabled { opacity: .42; pointer-events: none; }

/* Rreshtat e shportës */
.cart-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: var(--sp-4);
  align-items: start;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.cart-item + .cart-item { margin-top: var(--sp-3); }
.cart-item-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  background: var(--grad-brand-soft);
  border: 1px solid var(--border-accent);
}
.cart-item-price { text-align: right; white-space: nowrap; }
@media (max-width: 640px) {
  .cart-item { grid-template-columns: 44px minmax(0, 1fr); }
  .cart-item-icon { width: 44px; height: 44px; }
  .cart-item-price { grid-column: 1 / -1; text-align: left; }
}

/* Hapat e checkout-it */
.steps-bar {
  display: flex; align-items: center; gap: var(--sp-2);
  flex-wrap: wrap; margin-bottom: var(--sp-8);
}
.step-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  font-size: 0.84rem; font-weight: 600;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
}
.step-pill.is-active { color: #fff; border-color: var(--border-accent); background: rgba(255,158,44,0.10); }
.step-pill.is-done { color: var(--success); border-color: rgba(47,217,138,.3); }
.step-pill .n {
  display: grid; place-items: center;
  width: 20px; height: 20px; font-size: .72rem;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.step-pill.is-active .n { background: var(--primary); color: var(--on-primary); }
