/* ============================================================
   SkopjeCloudGaminG — shtresa vizuale premium
   Ngarkohet pas app.css. Shton teksturë, thellësi, kufij me
   gradient dhe lëvizje të menduar mbi sistemin bazë.
   ============================================================ */

:root {
  --glow-primary: 0 20px 60px -24px rgba(255,158,44,.75);
  --glow-violet: 0 24px 70px -28px rgba(56,217,196,.8);
  --sheen: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .10) 45%, transparent 60%);
}

/* ---------- Teksturë grimcash mbi gjithë faqen ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .30;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Sfond aurora ---------- */
.aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora span {
  position: absolute;
  display: block;
  width: 62vw;
  height: 62vw;
  max-width: 880px;
  max-height: 880px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}

.aurora .a1 {
  top: -30%;
  left: -12%;
  background: radial-gradient(circle, rgba(255,158,44,.6), transparent 65%);
  animation: scg-aurora-a 26s ease-in-out infinite;
}

.aurora .a2 {
  top: -18%;
  right: -14%;
  background: radial-gradient(circle, rgba(56,217,196,.55), transparent 65%);
  animation: scg-aurora-b 32s ease-in-out infinite;
}

.aurora .a3 {
  bottom: -34%;
  left: 34%;
  background: radial-gradient(circle, rgba(56,217,196,.34), transparent 68%);
  animation: scg-aurora-a 38s ease-in-out infinite reverse;
}

@keyframes scg-aurora-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(8%, 6%, 0) scale(1.12); }
}

@keyframes scg-aurora-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-9%, 8%, 0) scale(1.15); }
}

/* ---------- Kartë me kufi gradienti ---------- */
.card-ring { position: relative; isolation: isolate; }

.card-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(56,217,196,.55), rgba(255,158,44,.18) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .8;
  transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
}

.card-ring:hover::before { opacity: 1; }

/* ---------- Spotlight që ndjek kursorin ---------- */
.spotlight { position: relative; overflow: hidden; }

.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(56,217,196,.16), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
}

.spotlight:hover::after { opacity: 1; }

/* ---------- Tilt 3D ---------- */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 320ms var(--ease);
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-4);
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: var(--sp-10);
  width: max-content;
  animation: scg-marquee 40s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}

.marquee-item:hover { color: var(--text); }

@keyframes scg-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(6, 1fr);
}

.bento > * { grid-column: span 2; }
.bento .bento-wide { grid-column: span 3; }
.bento .bento-full { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento > * { grid-column: span 2; }
  .bento .bento-wide { grid-column: span 4; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento > *,
  .bento .bento-wide,
  .bento .bento-full { grid-column: 1 / -1; }
}

.bento-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  overflow: hidden;
  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);
}

.bento-cell:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.bento-cell h3 { font-size: 1.02rem; }
.bento-cell p { font-size: .89rem; color: var(--text-muted); line-height: 1.65; }

.bento-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: #b9c8ff;
}

.bento-figure {
  margin-top: auto;
  padding-top: var(--sp-4);
  font-size: 1.9rem;
  font-weight: 730;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1;
}

/* ---------- Titull seksioni ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px;
  margin-bottom: var(--sp-4);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b9c8ff;
  background: rgba(56,217,196,.10);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-full);
}

.kicker .scg-icon { color: var(--cyan); }

h2.display {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  letter-spacing: -.032em;
  line-height: 1.08;
}

/* ---------- Butona ---------- */
.btn-primary { overflow: hidden; }

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--sheen);
  transform: translateX(-130%);
  transition: transform 750ms var(--ease);
  pointer-events: none;
}

.btn-primary:hover::after { transform: translateX(130%); }

.btn-ghost {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- Kartela e lojës ---------- */
.game-card { box-shadow: var(--shadow-md); }
.game-card .game-media { aspect-ratio: 16 / 10; }
.game-card:hover { box-shadow: var(--shadow-lg), var(--glow-violet); }

.game-media-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--sheen);
  transform: translateX(-130%);
  transition: transform 950ms var(--ease);
  pointer-events: none;
}

.game-card:hover .game-media-shine { transform: translateX(130%); }

.game-accent-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--game-accent, #ff9e2c), transparent);
}

.game-badge-row {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  right: var(--sp-4);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}

.game-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: .72rem;
  font-weight: 650;
  color: #fff;
  background: rgba(6, 7, 13, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-full);
}

/* ---------- Strisha e besimit ---------- */
.trust-strip {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  padding: var(--sp-5);
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.trust-cell { display: flex; align-items: center; gap: var(--sp-3); }
.trust-cell .scg-icon { color: var(--cyan); flex: none; }
.trust-cell b { display: block; font-size: .95rem; color: #fff; font-weight: 650; }
.trust-cell span { font-size: .8rem; color: var(--text-dim); }

/* ---------- Hero ---------- */

.hero-orbit {
  position: absolute;
  inset: -14% -10%;
  border-radius: 50%;
  border: 1px solid rgba(56,217,196,.16);
  pointer-events: none;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(56,217,196,.14);
}

/* Rreshtat "të gjallë" të panelit në hero */
.live-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: .86rem;
}

.live-row:last-child { border-bottom: 0; }

.live-bar {
  position: relative;
  width: 84px;
  height: 5px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.live-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--grad-brand);
  animation: scg-live 4.6s ease-in-out infinite;
}

.live-bar.b i { animation-delay: -1.5s; }
.live-bar.c i { animation-delay: -3s; }

@keyframes scg-live {
  0%, 100% { width: 34%; }
  35%      { width: 74%; }
  70%      { width: 48%; }
}

/* ---------- Ndarës seksionesh ---------- */
.section-edge { position: relative; }

.section-edge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,217,196,.45), transparent);
}

/* ---------- Zbulim me shkallëzim ---------- */
.stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 40ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 100ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 220ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 280ms; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 340ms; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 400ms; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 460ms; }
.stagger.is-visible > *:nth-child(9) { transition-delay: 520ms; }
.stagger.is-visible > *:nth-child(10) { transition-delay: 580ms; }

/* ---------- Respekto lëvizjen e reduktuar ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain { display: none; }

  .aurora span,
  .marquee-track,
  .live-bar i { animation: none !important; }

  .stagger > * { opacity: 1; transform: none; }
  .tilt { transform: none !important; }

  .btn-primary::after,
  .game-media-shine { display: none; }
}

/* ============================================================
   FOTOGRAFIA
   Trajtim i njësuar për imazhet reale: errësim, ngjyrosje sipas
   markës dhe shkrirje me sfondin, që teksti të mbetet i lexueshëm
   pa marrë parasysh se sa e ndritshme është fotoja.
   ============================================================ */

/* ---------- Fotoja e hero-s ---------- */
.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  opacity: 0.38;
  filter: saturate(0.7) contrast(1.1);
  transform: scale(1.06);
  animation: scg-hero-drift 34s ease-in-out infinite alternate;
  will-change: transform;
}
/* Shkrirja me sfondin — pa këtë, fotoja pret në mënyrë të vrazhdë */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 65% at 50% 0%, rgba(255,158,44,0.22), transparent 62%),
    linear-gradient(to bottom,
      rgba(6,7,13,0.62) 0%,
      rgba(6,7,13,0.80) 48%,
      var(--bg) 100%);
}
@keyframes scg-hero-drift {
  from { transform: scale(1.06) translate3d(0, 1%, 0); }
  to   { transform: scale(1.13) translate3d(0, -2%, 0); }
}

/* ---------- Fotoja në kartelat e lojërave ---------- */
/* Kartelat janë më të larta tani që kanë foto reale */
/* Përmasa e kartelës përcaktohet te blloku v4 më poshtë. */
.game-media img {
  filter: saturate(0.88) contrast(1.05) brightness(0.92);
  transition:
    transform var(--t-slow) var(--ease),
    filter var(--t-slow) var(--ease);
}
.game-card:hover .game-media img {
  transform: scale(1.08);
  filter: saturate(1.06) contrast(1.06) brightness(1);
}
/* Vello me ngjyrën e lojës — lidh foton me identitetin e saj */
.game-media-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--game-accent, #ff9e2c) 30%, transparent) 0%,
    transparent 55%);
  mix-blend-mode: soft-light;
  opacity: 0.9;
  transition: opacity var(--t-base) var(--ease);
}
.game-card:hover .game-media-tint { opacity: 0.45; }

/* ---------- Brez me foto në gjerësi të plotë ---------- */
.photo-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-xl, 22px);
}
.photo-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.65) contrast(1.12);
  z-index: -2;
}
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 90% at 15% 50%, rgba(255,158,44,0.28), transparent 65%),
    linear-gradient(115deg, rgba(6,7,13,0.90) 25%, rgba(6,7,13,0.62) 100%);
}

/* ---------- Foto brenda një qelize bento ---------- */
.bento-photo {
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.bento-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.7) contrast(1.08);
  transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease);
}
.bento-photo:hover > img { transform: scale(1.05); opacity: 0.55; }
.bento-photo > * { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .hero-photo img { animation: none; transform: scale(1.06); }
  .game-card:hover .game-media img,
  .bento-photo:hover > img { transform: none; }
}

/* Banneri i faqes së lojës merr nuancën e vet sipas ngjyrës së lojës */
.hero-photo-game img { object-position: 50% 45%; opacity: 0.32; }
.hero-photo-game::after {
  background:
    radial-gradient(ellipse 80% 70% at 30% 10%,
      color-mix(in srgb, var(--game-accent, #ff9e2c) 34%, transparent), transparent 62%),
    linear-gradient(to bottom, rgba(6,7,13,0.66) 0%, rgba(6,7,13,0.84) 50%, var(--bg) 100%);
}

/* ---------- Kokat e faqeve dytësore ---------- */
/* Një shtresë fotografike e lehtë që i jep thellësi çdo faqeje pa
   pasur nevojë të preket secili view veç e veç. */
.page-head {
  overflow: hidden;
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/img/site/network.jpg");
  background-size: cover;
  background-position: 50% 45%;
  opacity: 0.18;
  filter: saturate(0.5) contrast(1.12);
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom,
    rgba(6,7,13,0.30) 0%,
    rgba(6,7,13,0.72) 60%,
    var(--bg-elevated) 100%);
}

/* ============================================================
   SISTEMI VIZUAL v3
   Largim nga pamja "shabllon": pa unaza gradienti, pa xham të
   turbullt, pa shkëlqim me ngjyrë. Forma ndërtohet me kufij të
   saktë, hapësirë dhe një theks të vetëm.
   Ky bllok vjen pas app.css, prandaj e mbizotëron atë.
   ============================================================ */

/* ---------- Kutitë ---------- */

/* Unaza me gradient hiqet dhe zëvendësohet nga një vijë drite që
   rrëshqet nëpër skajin e sipërm kur kalon miu. */
.card-ring {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}
.card-ring::before {
  inset: 0 0 auto 0;
  height: 1px;
  padding: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, var(--primary), transparent) no-repeat;
  background-size: 45% 100%;
  background-position: -70% 0;
  -webkit-mask: none;
  mask: none;
  -webkit-mask-composite: initial;
  mask-composite: initial;
  opacity: 0;
  transition: opacity 220ms var(--ease), background-position 900ms var(--ease-out);
}
.card-ring:hover::before {
  opacity: 0.85;
  background-position: 170% 0;
}

/* Sipërfaqe të sheshta. Gradienti i brendshëm i bënte kutitë
   të dukeshin plastike. */
.bento-cell,
.game-card {
  background-image: none;
  background-color: var(--surface);
  border-radius: var(--r-lg);
}
.bento-cell:hover,
.game-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Ikona e qelizës: katror i prerë, jo rreth me shkëlqim */
.bento-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-xs);
  background: rgba(255,158,44,0.10);
  border: 1px solid rgba(255,158,44,0.22);
  color: var(--primary);
  box-shadow: none;
}

/* Numri dekorativ i qelizës — element editorial, jo zbukurim */
.bento-figure {
  color: rgba(255, 255, 255, 0.07);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

/* ---------- Kartela e lojës ---------- */
.game-accent-bar {
  height: 2px;
  background: var(--game-accent, var(--primary));
  opacity: 0.9;
}
.game-chip {
  border-radius: var(--r-xs);
  background: rgba(8, 9, 11, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.spec {
  border-radius: var(--r-xs);
  border: 1px solid var(--border);
  background: transparent;
}
.game-price .amount { color: var(--primary); }

/* ---------- Etiketat e vogla ---------- */
.kicker {
  border-radius: var(--r-xs);
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ---------- Njollat e sfondit ---------- */
/* Ishin shumë të forta dhe e bënin faqen të dukej artificiale. */
.aurora span { opacity: 0.30; filter: blur(90px); }
.hero-glow { opacity: 0.26; }

/* ---------- Lëvizja ---------- */

/* Zbulim me prerje në vend të zbehjes — më i prerë, më pak "web 2015". */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  clip-path: inset(0 0 34% 0);
  transition:
    opacity 520ms var(--ease-out),
    transform 520ms var(--ease-out),
    clip-path 620ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

.stagger > * {
  clip-path: inset(0 0 26% 0);
  transition:
    opacity 460ms var(--ease-out),
    transform 460ms var(--ease-out),
    clip-path 560ms var(--ease-out);
}
.stagger.is-visible > * { clip-path: inset(0 0 0 0); }

/* Prekja e kartelave bëhet më e përmbajtur */
.tilt { transition: transform 380ms var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger > * { clip-path: none !important; }
  .card-ring::before { transition: none; }
}

/* ---------- Tipografia ---------- */
/* Titujt marrin Saira-n; teksti mbetet IBM Plex Sans. Ndarja e roleve
   është ajo që i jep faqes zë, jo madhësia e shkronjave. */
h1, h2, h3,
.display,
.hero-title,
.logo-text,
.stat-value,
.plan-price .amount,
.game-price .amount {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1, .display, .hero-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Etiketat, njësitë dhe numrat teknikë shkojnë në mono — kjo e bën
   faqen të lexohet si panel infrastrukture, jo si broshurë. */
.kicker,
.spec,
.game-chip,
.badge,
.crumbs,
.tiny.dim,
.loc-ping,
.stat-label {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.game-price .amount,
.plan-price .amount,
.stat-value {
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   SISTEMI VIZUAL v4
   Lëvizje e drejtuar nga scroll-i (pa JavaScript), tipografi më e
   guximshme dhe ndarje editoriale të seksioneve.
   ============================================================ */

/* ---------- Kalimi mes faqeve ---------- */
/* Shfletuesit që e mbështesin bëjnë kalim të butë mes faqeve;
   të tjerët thjesht e injorojnë këtë rregull. */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: scg-vt-out 180ms var(--ease) both; }
::view-transition-new(root) { animation: scg-vt-in 260ms var(--ease-out) both; }
@keyframes scg-vt-out { to { opacity: 0; } }
@keyframes scg-vt-in  { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Tipografia: shkallë më e prerë ---------- */
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.03; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem);     line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem);  line-height: 1.25; letter-spacing: -0.015em; }

.hero-title { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.0; letter-spacing: -0.045em; }

p, .lead { text-wrap: pretty; }
.lead { max-width: 62ch; }

/* ---------- Koka e seksioneve ---------- */
/* E majtë dhe me vijë ndarëse që shtrihet nëpër gjerësi. Titujt e
   qendruar me tekst me gradient janë shenja e parë e një shablloni. */
.section-head,
.section-head.center {
  max-width: none;
  margin-inline: 0;
  text-align: left;
  position: relative;
  padding-bottom: var(--sp-6);
  margin-bottom: var(--sp-10);
}
.section-head > * { max-width: 64ch; }
.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong) 0%, transparent 72%);
}
/* Titulli i seksionit e humb gradientin: e bardha e plotë është më e fortë */
.section-head h2.text-gradient {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
}

/* ---------- Kartela e lojës ---------- */
.game-media { aspect-ratio: 3 / 2; }

.game-price .amount {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.game-price .from,
.game-price .per {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Butoni i konfigurimit mbushet vetëm kur kartela është aktive —
   kështu rrjeti nuk mbushet me gjashtë butona qelibar. */
.game-card .game-actions .btn-primary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border-accent);
}
.game-card:hover .game-actions .btn-primary,
.game-card:focus-within .game-actions .btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border-color: transparent;
}

/* ---------- Header-i që ngushtohet ---------- */
.header.is-stuck .header-inner { height: 60px; }
.header-inner { transition: height var(--t-base) var(--ease); }

/* ---------- Fokusi ---------- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* ============================================================
   Lëvizja e drejtuar nga scroll-i
   Kur shfletuesi e mbështet, zbulimet dhe paralaksi kalojnë te
   motori i shfletuesit — pa JavaScript, pa mbetje kuadrosh.
   ============================================================ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    .reveal,
    .stagger > * {
      opacity: 1;
      transform: none;
      clip-path: none;
      transition: none;
      animation: scg-enter linear both;
      animation-timeline: view();
      animation-range: entry 2% cover 26%;
    }

    /* Vonesa brenda një grupi mbeten, por tani ndjekin scroll-in */
    .stagger > *:nth-child(2) { animation-range: entry 4% cover 30%; }
    .stagger > *:nth-child(3) { animation-range: entry 6% cover 34%; }
    .stagger > *:nth-child(4) { animation-range: entry 8% cover 38%; }
    .stagger > *:nth-child(5) { animation-range: entry 10% cover 42%; }
    .stagger > *:nth-child(6) { animation-range: entry 12% cover 46%; }

    /* Paralaks i vërtetë në hero: fotoja lëviz me scroll-in,
       jo me një kohëmatës që rrotullohet pafund. */
    .hero-photo img {
      animation: scg-parallax linear both;
      animation-timeline: scroll(root);
      animation-range: 0 110vh;
    }

    /* Vija e progresit të leximit në krye të faqes */
    .header::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -1px;
      height: 2px;
      width: 100%;
      transform-origin: 0 50%;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      animation: scg-progress linear both;
      animation-timeline: scroll(root);
    }
  }
}

@keyframes scg-enter {
  from { opacity: 0; transform: translateY(18px); clip-path: inset(0 0 30% 0); }
  to   { opacity: 1; transform: none;             clip-path: inset(0 0 0 0); }
}
@keyframes scg-parallax {
  from { transform: scale(1.14) translate3d(0, -3%, 0); }
  to   { transform: scale(1.14) translate3d(0, 7%, 0); }
}
@keyframes scg-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ============================================================
   KOMPONENTËT v4
   ============================================================ */

/* ---------- Fushat e formularëve ---------- */
/* Fusha e sheshtë me një vijë theksi poshtë kur fokusohet — më e
   qartë se korniza që ndizet e gjitha. */
.input, .select, .textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition:
    border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-strong); }
.input:focus, .select:focus, .textarea:focus {
  background: var(--surface-2);
  border-color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
  outline: none;
}
.label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Planet ---------- */
.plan-card { border-radius: var(--r-lg); }
.plan-price .amount {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: -0.03em;
}
/* Plani i veçuar shënohet me vijë qelibar në krye, jo me kornizë të tërë */
.plan-card.is-featured {
  border-color: var(--border-strong);
  box-shadow: inset 0 2px 0 var(--primary), var(--shadow-md);
}

/* ---------- Lokacionet ---------- */
.location-card { border-radius: var(--r-lg); }
.loc-flag {
  border-radius: var(--r-xs);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.meter-value,
.ping-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.progress { border-radius: 2px; height: 4px; }
.progress-bar { border-radius: 2px; }

/* ---------- Tabelat ---------- */
.table thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.table td { font-variant-numeric: tabular-nums; }

/* ---------- Etiketat e statusit ---------- */
.badge {
  border-radius: var(--r-xs);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); }
.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Hapat ---------- */
/* Këtu numërimi ka kuptim: janë vërtet hapa me radhë. */
.step { position: relative; padding-top: var(--sp-5); }
.step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--border);
}
.step .n {
  font-family: var(--font-mono);
  font-weight: 500;
}

/* ---------- Akordeoni ---------- */
.acc-trigger {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Kartela e nyjes në hero ---------- */
.node-card { border-radius: var(--r-lg); }
.stat-value { font-family: var(--font-mono); font-weight: 500; }

/* ============================================================
   RREGULLIME PAS SHIKIMIT NË FAQEN LIVE
   ============================================================ */

/* ---------- Navigimi: linqet nuk duhet të thyhen në dy rreshta ---------- */
.nav { gap: 0; min-width: 0; }
.nav-link {
  white-space: nowrap;
  padding: 8px 11px;
  font-size: 0.86rem;
}
@media (max-width: 1200px) {
  .nav-link { padding: 8px 8px; font-size: 0.82rem; }
  .header-inner { gap: var(--sp-3); }
}

/* ---------- Titulli i hero-s ----------
   Gradienti mbi tekst që thyhet në disa rreshta përsëritet për çdo
   rresht dhe duket i prishur. Rreshti kryesor bëhet i bardhë i plotë,
   rreshti i dytë më i vogël dhe qelibar — kështu lexohet hierarkia. */
.hero-title { font-size: clamp(2.3rem, 4.4vw, 3.8rem); }
.hero-title .text-gradient,
.hero-title .text-accent {
  display: block;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hero-title .text-gradient { color: var(--text); }
.hero-title .text-accent {
  margin-top: 0.3em;
  font-size: 0.52em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.hero-content { max-width: 700px; }

/* ---------- Shiritat e ngarkesës ----------
   Pa gjerësi bazë, elementi i pozicionuar absolut ka gjerësi zero dhe
   shiriti duket bosh kur animacioni nuk ekzekutohet (p.sh. te
   prefers-reduced-motion). */
.live-bar i { width: 55%; }
.live-bar.b i { width: 42%; }
.live-bar.c i { width: 63%; }

/* ---------- Fundi i kartelës së lojës ----------
   Çmimi dhe butonat në një rresht mbeteshin pa vend në kartela të
   ngushta dhe butoni "Konfiguro" pritej në gjysmë. */
.game-foot {
  flex-direction: column;
  align-items: stretch;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
.game-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.game-price .from {
  display: inline;
  font-size: 0.68rem;
}
.game-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}
.game-actions .btn {
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

/* Chip-at e specifikave: më kompakte, që të mos zënë dy rreshta */
.game-specs { gap: 6px; }
.spec { padding: 3px 8px; font-size: 0.7rem; }

/* ---------- Rrjetet: numri i kolonave duhet të jetë ai që thotë emri ----------
   Me `auto-fit` dhe minmax(300px), në ekrane të gjera dilnin 4 kolona te
   `.grid-3`. Gjashtë lojërat ndaheshin 4+2 dhe kartelat mbeteshin aq të
   ngushta sa butonat priteshin. Tani kufizohen në maksimumin e emrit. */
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Fëmijët e rrjetit duhet të lejohen të tkurren, përndryshe përmbajtja
   e gjatë e zgjeron kolonën dhe del jashtë kartelës. */
.grid > * { min-width: 0; }

/* ---------- Butonat e kartelës ---------- */
.game-actions { min-width: 0; }
.game-actions .btn {
  min-width: 0;
  padding-inline: var(--sp-3);
  font-size: 0.84rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-actions .btn .scg-icon { flex: none; }

/* Specifikat në një rresht të vetëm; ato që s'nxënë fshihen në vend që
   të shtyjnë kartelën të bëhet më e lartë se motrat e saj. */
.game-specs {
  flex-wrap: nowrap;
  overflow: hidden;
}
.spec { flex: none; }

/* Përshkrimi zë gjithmonë të njëjtën lartësi, që fundet e kartelave
   të rreshtohen mes tyre. */
.game-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

@media (max-width: 560px) {
  .game-specs { flex-wrap: wrap; }
  .game-desc { -webkit-line-clamp: 3; min-height: 0; }
}

/* Veprimi kryesor i kartelës mbetet i mbushur. Konfigurimi është
   arsyeja pse ekziston faqja — nuk duhet të fshihet pas hover-it. */
.game-card .game-actions .btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border-color: transparent;
}
.game-card:hover .game-actions .btn-primary { background: var(--primary-hover); }
