/* ============================================================
   HOME PREMIUM — ana sayfa
   Sadece templateName == 'shop' iken yüklenir (master.njk).
   ============================================================ */

:root {
  --hx-accent: #00d4ff;
  --hx-accent-2: #8b9dff;
  --hx-text: #f4f7fb;
  --hx-muted: rgba(200, 212, 232, 0.66);
  --hx-faint: rgba(200, 212, 232, 0.4);
  --hx-line: rgba(255, 255, 255, 0.08);
  --hx-line-strong: rgba(255, 255, 255, 0.16);
  --hx-surface: rgba(255, 255, 255, 0.035);
  --hx-panel: rgba(10, 17, 36, 0.92);
  --hx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[x-cloak] { display: none !important; }

/* ---------- İnce scroll progress bar ---------- */
.hp-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--hx-accent), var(--hx-accent-2));
  z-index: 2000;
  pointer-events: none;
}

/* ============================================================
   HERO — temel
   ============================================================ */
.hero.hx::before,
.hero.hx::after { display: none !important; }

.hero.hx {
  position: relative;
  z-index: 2;                 /* arama sonuçları alttaki bölümlerin üstünde kalsın */
  overflow: visible;          /* sonuç paneli kesilmesin */
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--hp-header-h, 64px)) !important;
  min-height: calc(100svh - var(--hp-header-h, 64px)) !important;
  background: var(--ng-navy-900, #050b18) !important;
}

.hero.hx .hx-inner {
  position: relative;
  z-index: 1;
  display: block;
  gap: 0 !important;
  padding: clamp(2rem, 6vh, 4.5rem) 1.25rem !important;
}

/* Giriş animasyonu */
.hx-in {
  /* "backwards": bitince transform'u bırakır, böylece kart eğimi çalışır */
  animation: hx-rise 0.9s var(--hx-ease) backwards;
  animation-delay: var(--d, 0s);
}
@keyframes hx-rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   HERO — arka plan
   ============================================================ */
.hx-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hx-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}
.hx-aurora span:nth-child(1) {
  width: 520px; height: 520px; top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.35), transparent 65%);
  animation: hx-drift-1 16s ease-in-out infinite alternate;
}
.hx-aurora span:nth-child(2) {
  width: 560px; height: 560px; top: -120px; right: -160px;
  background: radial-gradient(circle, rgba(139, 157, 255, 0.32), transparent 65%);
  animation: hx-drift-2 20s ease-in-out infinite alternate;
}
.hx-aurora span:nth-child(3) {
  width: 420px; height: 420px; bottom: -200px; left: 35%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.16), transparent 65%);
  animation: hx-drift-3 24s ease-in-out infinite alternate;
}
@keyframes hx-drift-1 { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes hx-drift-2 { to { transform: translate(-120px, 120px) scale(0.9); } }
@keyframes hx-drift-3 { to { transform: translate(-100px, -60px) scale(1.2); } }

.hx-grid {
  position: absolute;
  inset: 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: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
  animation: hx-grid 30s linear infinite;
}
@keyframes hx-grid { to { background-position: 64px 64px, 64px 64px; } }

/* Hafif yıldız tozu */
.hx-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 14%, rgba(0,212,255,.6), transparent 60%),
    radial-gradient(1px 1px at 63% 78%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 30%, rgba(139,157,255,.6), transparent 60%),
    radial-gradient(1px 1px at 88% 62%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 6% 84%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 54% 46%, rgba(255,255,255,.25), transparent 60%);
  animation: hx-twinkle 6s ease-in-out infinite alternate;
}
@keyframes hx-twinkle { from { opacity: 0.45; } to { opacity: 1; } }

/* Mouse ışığı */
.hx-spot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: radial-gradient(520px circle at var(--x, 50%) var(--y, 40%), rgba(0, 212, 255, 0.08), transparent 60%);
}
.hero.hx:hover .hx-spot { opacity: 1; }

/* Alt kenarda yumuşak geçiş */
.hx-bg::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--ng-navy-800, #080f1f));
}

/* ============================================================
   HERO — yerleşim
   ============================================================ */
.hx-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hx-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

/* Rozet */
.hx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.38rem 0.9rem;
  margin-bottom: clamp(1rem, 2.6vh, 1.5rem);
  border: 1px solid var(--hx-line);
  border-radius: 999px;
  background: var(--hx-surface);
  color: var(--hx-muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}
.hx-badge-dot {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34d399;
}
.hx-badge-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34d399;
  animation: hx-ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes hx-ping { 70%, 100% { transform: scale(2.8); opacity: 0; } }

/* Başlık */
.hx-title {
  margin: 0 0 clamp(0.8rem, 2vh, 1.1rem);
  color: var(--hx-text);
  font-size: clamp(2rem, min(4.4vw, 6.6vh), 3.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.hx-title-top { display: block; }
.hx-title-line {
  display: block;
  margin-top: 0.1em;
}
.hx-title-for {
  color: var(--hx-muted);
  font-weight: 700;
}

/* Dönen kelime */
.hx-rotator {
  position: relative;
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hx-word {
  grid-area: 1 / 1;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(100%);
  filter: blur(6px);
  transition: transform 0.7s var(--hx-ease), opacity 0.7s var(--hx-ease), filter 0.7s var(--hx-ease);
}
.hx-word.is-active { opacity: 1; transform: none; filter: none; }
.hx-word.is-leaving { opacity: 0; transform: translateY(-100%); filter: blur(6px); }

.hx-subtitle {
  max-width: 500px;
  margin: 0 0 clamp(1.2rem, 3vh, 1.75rem);
  color: var(--hx-muted);
  font-size: clamp(0.92rem, 2vh, 1.04rem);
  line-height: 1.65;
}

/* ============================================================
   HERO — canlı arama
   ============================================================ */
.hx-search {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 540px;
  margin-bottom: clamp(1rem, 2.6vh, 1.4rem);
}

.hx-search-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 0.75rem 0 1.1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--hx-panel), var(--hx-panel)) padding-box,
    conic-gradient(from var(--hx-angle, 0deg),
      rgba(255,255,255,0.10), rgba(0,212,255,0.75), rgba(139,157,255,0.75),
      rgba(255,255,255,0.10) 45%, rgba(255,255,255,0.10)) border-box;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  animation: hx-spin 7s linear infinite;
  transition: box-shadow 0.3s ease, transform 0.3s var(--hx-ease);
}
@property --hx-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes hx-spin { to { --hx-angle: 360deg; } }

.hx-search-field:focus-within,
.hx-search.is-open .hx-search-field {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.hx-search-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--hx-accent);
}

.hx-search-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 0.8rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
}
.hx-search-field input::placeholder { color: var(--hx-faint); }
.hx-search-field input::-webkit-search-cancel-button { display: none; }

.hx-search-clear {
  width: 28px; height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--hx-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.hx-search-clear:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.hx-kbd,
.hx-results-foot kbd {
  padding: 0.18rem 0.45rem;
  border: 1px solid var(--hx-line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--hx-faint);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Sonuç paneli */
.hx-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 0.5rem;
  border: 1px solid var(--hx-line-strong);
  border-radius: 14px;
  background: rgba(9, 15, 32, 0.97);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform-origin: top center;
}
.hx-t-enter, .hx-t-leave { transition: opacity 0.18s ease, transform 0.22s var(--hx-ease); }
.hx-t-from { opacity: 0; transform: translateY(-6px) scale(0.98); }
.hx-t-to   { opacity: 1; transform: none; }

.hx-results-head {
  padding: 0.4rem 0.6rem 0.5rem;
  color: var(--hx-faint);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hx-result {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  color: var(--hx-text);
  text-decoration: none;
  transition: background 0.15s ease;
}
.hx-result.is-active,
.hx-result:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.hx-result-img {
  flex-shrink: 0;
  width: 52px; height: 36px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
}
.hx-result-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-result-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}
.hx-result-name {
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hx-result-meta {
  display: flex;
  gap: 0.6rem;
  font-size: 0.74rem;
}
.hx-result-price { color: var(--hx-accent); font-weight: 600; }
.hx-result-stock { color: var(--hx-faint); }
.hx-result-stock.is-out { color: #f87171; }
.hx-result-arrow {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--hx-faint);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.2s var(--hx-ease);
}
.hx-result.is-active .hx-result-arrow,
.hx-result:hover .hx-result-arrow { opacity: 1; transform: none; color: #fff; }

.hx-results-empty {
  padding: 1rem 0.6rem;
  color: var(--hx-muted);
  font-size: 0.85rem;
}
.hx-results-empty a { color: var(--hx-accent); margin-left: 0.35rem; }

.hx-results-foot {
  display: flex;
  gap: 1rem;
  margin-top: 0.35rem;
  padding: 0.55rem 0.6rem 0.2rem;
  border-top: 1px solid var(--hx-line);
  color: var(--hx-faint);
  font-size: 0.7rem;
}
.hx-results-foot kbd { margin-right: 0.2rem; padding: 0.05rem 0.35rem; }

/* ============================================================
   HERO — butonlar & güven satırı
   ============================================================ */
.hx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: clamp(1.2rem, 3.2vh, 1.8rem);
}

.hx-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 48px;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--hx-ease), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.hx-btn svg {
  width: 17px; height: 17px;
  flex-shrink: 0;
  transition: transform 0.25s var(--hx-ease);
}
.hx-btn:focus-visible { outline: 2px solid var(--hx-accent); outline-offset: 3px; }

.hx-btn--primary {
  background: #fff;
  color: #06101f;
  box-shadow: 0 10px 34px rgba(0, 212, 255, 0.22);
}
/* Parlama süpürmesi (periyodik) */
.hx-btn--primary::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: hx-sweep 4.5s ease-in-out 1.5s infinite;
}
@keyframes hx-sweep {
  0%, 60% { left: -60%; }
  100%    { left: 130%; }
}
.hx-btn--primary:hover {
  color: #06101f;
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0, 212, 255, 0.35);
}
.hx-btn--primary:hover svg { transform: translateX(3px); }

.hx-btn--ghost {
  background: var(--hx-surface);
  border-color: var(--hx-line-strong);
  color: var(--hx-text);
}
.hx-btn--ghost:hover {
  color: #fff;
  background: rgba(88, 101, 242, 0.16);
  border-color: rgba(88, 101, 242, 0.55);
  transform: translateY(-2px);
}

.hx-trust {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hx-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.1rem;
  color: var(--hx-faint);
  font-size: 0.84rem;
}
.hx-trust li:first-child { padding-left: 0; }
.hx-trust li + li { border-left: 1px solid var(--hx-line); }
.hx-trust li strong {
  color: var(--hx-text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hx-stars-mini {
  color: #f5c451;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   HERO — sağ kolon: oyun kartları
   ============================================================ */
.hx-side {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hx-side-label {
  color: var(--hx-faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Kartların arkasında dönen ışık halkası */
.hx-ring {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 115%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.22), transparent 30%, rgba(139, 157, 255, 0.2), transparent 65%);
  -webkit-mask-image: radial-gradient(circle, transparent 55%, #000 56%, #000 57%, transparent 72%);
          mask-image: radial-gradient(circle, transparent 55%, #000 56%, #000 57%, transparent 72%);
  filter: blur(2px);
  animation: hx-ring 18s linear infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes hx-ring { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hx-games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.hx-game {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-height: clamp(120px, 19vh, 160px);
  padding: 1.1rem;
  border: 1px solid var(--hx-line);
  border-radius: 18px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(var(--g), 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(10px);
  color: var(--hx-text);
  text-decoration: none;
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.4s var(--hx-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Sürekli hafif süzülme — her kart farklı zamanda */
.hx-games .hx-game:nth-child(odd)  { margin-top: 0; }
.hx-games .hx-game:nth-child(even) { margin-top: 1.5rem; margin-bottom: -1.5rem; }

.hx-game::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--g), 0.22), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.hx-game:hover {
  color: #fff;
  border-color: rgba(var(--g), 0.5);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(var(--g), 0.18);
}
.hx-game:hover::before { opacity: 1; }

.hx-game-logo {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: auto;
  border-radius: 13px;
  background: rgba(var(--g), 0.14);
  border: 1px solid rgba(var(--g), 0.3);
  box-shadow: 0 0 24px rgba(var(--g), 0.18);
  animation: hx-bob 5s ease-in-out infinite;
  animation-delay: var(--bob, 0s);
}
.hx-game-logo img { width: 24px; height: 24px; object-fit: contain; }
@keyframes hx-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.hx-game-name {
  margin-top: 0.8rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hx-game-cta {
  color: var(--hx-faint);
  font-size: 0.76rem;
  font-weight: 500;
  transition: color 0.25s ease;
}
.hx-game-cta i {
  display: inline-block;
  font-style: normal;
  transition: transform 0.25s var(--hx-ease);
}
.hx-game:hover .hx-game-cta { color: rgb(var(--g)); }
.hx-game:hover .hx-game-cta i { transform: translateX(4px); }

/* ============================================================
   BÖLÜMLER
   ============================================================ */
.hp-js .hp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--hx-ease), transform 0.8s var(--hx-ease);
  transition-delay: var(--hp-delay, 0s);
}
.hp-js .hp-reveal.hp-in {
  opacity: 1;
  transform: none;
}

.hp-tilt { position: relative; }
.hp-glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(360px circle at var(--hp-mx, 50%) var(--hp-my, 50%), rgba(255, 255, 255, 0.07), transparent 60%);
}
.hp-tilt:hover .hp-glare { opacity: 1; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
  .hx-layout { grid-template-columns: 1fr; gap: 2.25rem; }
  .hx-main { align-items: center; text-align: center; }
  .hx-subtitle { margin-left: auto; margin-right: auto; }
  .hx-actions, .hx-trust { justify-content: center; }
  .hx-trust li:first-child { padding-left: 1.1rem; }
  .hx-side { max-width: 540px; width: 100%; margin: 0 auto; }
  .hx-side-label { text-align: center; }
  .hx-games { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
  .hx-games .hx-game:nth-child(even) { margin: 0; }
  .hx-game { min-height: 0; align-items: center; padding: 0.9rem 0.5rem; text-align: center; }
  .hx-game-logo { margin: 0 auto; width: 42px; height: 42px; }
  .hx-game-name { margin-top: 0.5rem; font-size: 0.85rem; }
  .hx-game-cta, .hx-ring { display: none; }
}

@media (max-width: 576px) {
  .hx-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-actions { width: 100%; }
  .hx-btn { flex: 1 1 auto; }
  .hx-kbd, .hx-results-foot { display: none; }
  .hx-trust li { padding: 0.25rem 0.7rem !important; font-size: 0.78rem; }
  .hx-trust li + li { border-left: 0; }
}

@media (max-height: 680px) and (min-width: 992px) {
  .hx-badge { display: none; }
  .hx-game { min-height: 108px; padding: 0.9rem; }
}

@media (hover: none) {
  .hp-glare, .hx-spot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-in, .hx-aurora span, .hx-grid, .hx-stars, .hx-ring, .hx-game-logo,
  .hx-search-field, .hx-btn--primary::after, .hx-badge-dot::after {
    animation: none !important;
  }
  .hx-word { transition: none; }
  .hp-js .hp-reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   KATEGORİLER (components/categories.njk)
   ============================================================ */

/* Başlık */
.cx-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.cx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  color: var(--hx-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cx-eyebrow-line {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hx-accent));
}

.cx-title {
  margin: 0 0 0.5rem;
  color: var(--hx-text);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.cx-title::before { display: none !important; } /* eski dikey çubuğu kapat */

.cx-subtitle {
  max-width: 480px;
  margin: 0;
  color: var(--hx-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cx-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  height: 42px;
  padding: 0 1.1rem;
  border: 1px solid var(--hx-line-strong);
  border-radius: 11px;
  background: var(--hx-surface);
  color: var(--hx-text);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--hx-ease);
}
.cx-all svg { width: 16px; height: 16px; transition: transform 0.25s var(--hx-ease); }
.cx-all:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.cx-all:hover svg { transform: translateX(3px); }

/* Grid: 6 kolon. 5 kart = üstte 2 büyük, altta 3 — boşluksuz düzen */
.cx-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.1rem;
}
.cx-grid > .cx-card { grid-column: span 2; }
.cx-grid[data-count="1"] > .cx-card { grid-column: 2 / span 4; }
.cx-grid[data-count="2"] > .cx-card,
.cx-grid[data-count="4"] > .cx-card { grid-column: span 3; }
.cx-grid[data-count="5"] > .cx-card:nth-child(-n+2) { grid-column: span 3; }
.cx-grid[data-count="7"] > .cx-card:nth-child(-n+4) { grid-column: span 3; }

/* Scroll reveal: kartın eğimi "transform"u kullandığı için giriş animasyonu "translate" ile */
.hp-js .cx-card.hp-reveal {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  translate: 0 28px;
  transition:
    opacity 0.8s var(--hx-ease) var(--hp-delay, 0s),
    translate 0.8s var(--hx-ease) var(--hp-delay, 0s),
    transform 0.45s var(--hx-ease),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}
.hp-js .cx-card.hp-reveal.hp-in {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  translate: none;
}

/* Kart */
.cx-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  border: 1px solid var(--hx-line);
  background: rgba(10, 17, 36, 0.8);
  color: #fff;
  text-decoration: none;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.45s var(--hx-ease), border-color 0.35s ease, box-shadow 0.45s ease;
  will-change: transform;
}

/* Hover'da kenarda dönen renkli ışık */
.cx-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 4;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--hx-angle, 0deg), transparent 0 60%, rgba(var(--g), 0.95) 75%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: hx-spin 3.5s linear infinite;
  pointer-events: none;
}

.cx-card:hover {
  color: #fff;
  border-color: rgba(var(--g), 0.35);
  box-shadow:
    0 30px 60px -10px rgba(0, 0, 0, 0.6),
    0 0 50px -10px rgba(var(--g), 0.45);
}
.cx-card:hover::before { opacity: 1; }

/* Görsel */
.cx-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cx-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.9s var(--hx-ease), filter 0.6s ease;
  filter: saturate(0.92) brightness(0.92);
}
.cx-card:hover .cx-media img {
  transform: scale(1.07);
  filter: saturate(1.1) brightness(1.02);
}

.cx-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(var(--g), 0.3), transparent 60%), #0a1124;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Alt gölge — yazı okunsun */
.cx-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(4, 8, 20, 0.92) 0%, rgba(4, 8, 20, 0.35) 32%, transparent 55%);
  pointer-events: none;
}

/* İmleci takip eden ışık */
.cx-glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.12), rgba(var(--g), 0.08) 35%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}
.cx-card:hover .cx-glare { opacity: 1; }

/* Alt bilgi çubuğu */
.cx-bar {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(8, 14, 30, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transform: translateY(4px);
  transition: transform 0.45s var(--hx-ease), background 0.35s ease, border-color 0.35s ease;
}
.cx-card:hover .cx-bar {
  transform: none;
  background: rgba(8, 14, 30, 0.72);
  border-color: rgba(var(--g), 0.3);
}

.cx-bar-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.cx-name {
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cx-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--hx-muted);
  font-size: 0.72rem;
}
.cx-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--g));
  box-shadow: 0 0 8px rgb(var(--g));
}

.cx-go {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.3s ease, transform 0.35s var(--hx-ease), color 0.3s ease, box-shadow 0.3s ease;
}
.cx-go svg { width: 17px; height: 17px; }
.cx-card:hover .cx-go {
  background: rgb(var(--g));
  color: #05101f;
  transform: rotate(-45deg);
  box-shadow: 0 0 22px rgba(var(--g), 0.6);
}

/* Responsive */
@media (max-width: 991.98px) {
  .cx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-grid > .cx-card,
  .cx-grid[data-count] > .cx-card { grid-column: auto !important; }
  /* tek sayıda kart varsa sonuncusu tam genişlik */
  .cx-grid > .cx-card:last-child:nth-child(odd) { grid-column: 1 / -1 !important; aspect-ratio: 21 / 9; }
}

@media (max-width: 576px) {
  .cx-head { flex-direction: column; align-items: flex-start; }
  .cx-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .cx-grid > .cx-card:last-child:nth-child(odd) { aspect-ratio: 16 / 9; }
  .cx-meta { display: none; }
}

@media (hover: none) {
  .cx-glare { display: none; }
  .cx-bar { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cx-card, .cx-media img, .cx-bar, .cx-go { transition: none; }
  .cx-card::before { animation: none; }
}

/* ============================================================
   ORTAK: bölüm başlığı sağ taraf kontrolleri
   ============================================================ */
.cx-head .cx-head-text { min-width: 0; }

/* ============================================================
   ÜRÜNLER (components/products.njk)
   ============================================================ */
.px-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.px .px-arrow {
  display: grid !important;
  place-items: center;
  width: 42px !important;
  height: 42px !important;
  border: 1px solid var(--hx-line-strong) !important;
  border-radius: 11px !important;
  background: var(--hx-surface) !important;
  color: var(--hx-text) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s var(--hx-ease), opacity 0.3s ease !important;
}
.px .px-arrow svg { width: 18px; height: 18px; }
.px .px-arrow:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px);
}

/* Slider: kenarları yumuşakça kaybolsun */
.px .ng-products-slider {
  gap: 1rem !important;
  padding: 0.75rem 0.25rem 1.25rem !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.px .ng-products-slide { flex: 0 0 272px !important; }

/* Ürün kartı */
.px .card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--hx-line) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)) !important;
  backdrop-filter: blur(10px);
  box-shadow: none !important;
  transform: none;
  transition: transform 0.4s var(--hx-ease), border-color 0.3s ease, box-shadow 0.4s ease !important;
}
.px .card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(0, 212, 255, 0.35) !important;
  box-shadow: 0 26px 50px -12px rgba(0, 0, 0, 0.6), 0 0 40px -12px rgba(0, 212, 255, 0.35) !important;
}

.px .card .card-img-top {
  position: relative;
  margin: 0.55rem 0.55rem 0;
  overflow: hidden;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.03) !important;
}
.px .card .card-img-top img {
  transition: transform 0.8s var(--hx-ease), filter 0.5s ease !important;
}
.px .card:hover .card-img-top img {
  transform: scale(1.06) !important;
  filter: brightness(1.05) saturate(1.08);
}

/* "View Details" katmanı */
.px .card .card-img-top .overlay {
  position: absolute;
  inset: 0 !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 0.85rem !important;
  background: linear-gradient(to top, rgba(4, 8, 20, 0.85), transparent 60%) !important;
  opacity: 0 !important;
  transition: opacity 0.35s ease !important;
}
.px .card:hover .card-img-top .overlay { opacity: 1 !important; }
.px .card .card-img-top .overlay .btn {
  height: 34px;
  padding: 0 1rem !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #06101f !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(8px);
  transition: transform 0.4s var(--hx-ease) !important;
}
.px .card:hover .card-img-top .overlay .btn { transform: none; }

/* Kart gövdesi: başlık üstte, fiyat + stok altta */
.px .card .card-body {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
  padding: 0.9rem 1rem 1rem !important;
}
.px .card .card-title {
  order: -1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
  min-height: 2.6em;
  color: var(--hx-text) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.px .card .info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: auto 0 0 !important;
}
.px .card .info p { margin: 0 !important; }
.px .card .info .price {
  color: #fff !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
}
.px .card .info .price s { margin-left: 0.25rem; font-size: 0.78rem; font-weight: 500; }
.px .card .info .text-primary {
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7 !important;
  font-size: 0.68rem !important;
  font-weight: 600;
  white-space: nowrap;
}
.px .card .info .text-primary svg { width: 11px; height: 11px; vertical-align: -1px; }
.px .card .ng-instant-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--hx-faint);
  font-size: 0.7rem;
  font-weight: 500;
}
.px .card .ng-instant-badge svg { color: var(--hx-accent); }

/* Noktalar */
.px .px-dots .ng-products-dot {
  width: 6px;
  height: 6px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
}
.px .px-dots .ng-products-dot--active {
  width: 22px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--hx-accent), var(--hx-accent-2));
  box-shadow: none;
}

/* ============================================================
   İSTATİSTİK BANDI (components/features.njk)
   ============================================================ */
.sx { padding: 1.5rem 0 3rem; }

.sx-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--hx-line);
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 50% -40%, rgba(0, 212, 255, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
}

/* Panelin üstünde gezen ışık */
.sx-beam {
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hx-accent), var(--hx-accent-2), transparent);
  animation: sx-beam 7s ease-in-out infinite;
}
@keyframes sx-beam {
  0%   { left: -30%; }
  55%, 100% { left: 100%; }
}

.sx-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.75rem 1rem;
  text-align: center;
  transition: background 0.3s ease;
}
.sx-item + .sx-item::before {
  content: '';
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--hx-line-strong), transparent);
}
.sx-item:hover { background: rgba(255, 255, 255, 0.025); }

.sx-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.07);
  color: var(--hx-accent);
  font-size: 0.95rem;
  transition: transform 0.45s var(--hx-ease), box-shadow 0.35s ease, background 0.35s ease;
}
.sx-item:hover .sx-icon {
  transform: translateY(-4px) rotate(-8deg) scale(1.08);
  background: rgba(0, 212, 255, 0.14);
  box-shadow: 0 10px 26px rgba(0, 212, 255, 0.25);
}

.sx-value {
  background: linear-gradient(180deg, #ffffff 30%, rgba(200, 212, 232, 0.7));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.sx-value small { font-size: 0.55em; font-weight: 700; margin-left: 0.1em; }

.sx-label {
  color: var(--hx-faint);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ============================================================
   KARŞILAŞTIRMA (components/comparison.njk)
   ============================================================ */
.kx-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.1rem;
  align-items: stretch;
}

.kx-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--hx-line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

/* Bizim kart: dönen renkli kenar */
.kx-card--us {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(10, 18, 38, 0.97), rgba(8, 14, 30, 0.97)) padding-box,
    conic-gradient(from var(--hx-angle, 0deg), rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.85), rgba(139, 157, 255, 0.85), rgba(0, 212, 255, 0.15) 40%, rgba(0, 212, 255, 0.15)) border-box;
  box-shadow: 0 30px 70px -20px rgba(0, 212, 255, 0.25);
  animation: hx-spin 8s linear infinite;
}
.kx-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.16), transparent 65%);
  pointer-events: none;
}

.kx-card--them { opacity: 0.85; }

.kx-card-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hx-line);
}
.kx-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--hx-text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.kx-brand img { border-radius: 8px; }
.kx-brand--muted { color: var(--hx-muted); }
.kx-pill {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hx-accent), var(--hx-accent-2));
  color: #05101f;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.kx-list {
  position: relative;
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kx-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.5rem;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.kx-card--us .kx-row:hover { background: rgba(255, 255, 255, 0.035); }

.kx-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
}
.kx-mark svg { width: 14px; height: 14px; }
.kx-mark--yes {
  background: rgba(52, 211, 153, 0.14);
  color: #34d399;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.15);
}
.kx-mark--no {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}

.kx-text { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
.kx-label { color: var(--hx-faint); font-size: 0.72rem; font-weight: 500; }
.kx-value { color: var(--hx-text); font-size: 0.92rem; font-weight: 600; }
.kx-card--them .kx-value { color: var(--hx-muted); font-weight: 500; }

/* Satırlar sırayla belirsin (kart görünür olunca) */
.hp-js .kx-card .kx-row {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s var(--hx-ease), transform 0.5s var(--hx-ease), background 0.2s ease;
  transition-delay: calc(0.25s + var(--i, 0) * 0.07s), calc(0.25s + var(--i, 0) * 0.07s), 0s;
}
.hp-js .kx-card.hp-in .kx-row { opacity: 1; transform: none; }

/* ============================================================
   YORUMLAR (components/feedbacks.njk)
   ============================================================ */
.rx-score {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--hx-line-strong);
  border-radius: 16px;
  background: var(--hx-surface);
}
.rx-score-num {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.rx-score-side { display: flex; flex-direction: column; gap: 0.15rem; }
.rx-stars {
  color: #f5c451;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(245, 196, 81, 0.35);
}
.rx-score-sub { color: var(--hx-faint); font-size: 0.74rem; }

/* Kayan şerit */
.rx-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rx-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0 1rem;
}
.rx-run .rx-track { animation: rx-scroll var(--rx-dur, 60s) linear infinite; }
.rx-run:hover .rx-track { animation-play-state: paused; }
@keyframes rx-scroll {
  to { transform: translateX(calc(-50% - 0.5rem)); }
}
.rx-static { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }

.rx-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 0 0 340px;
  padding: 1.25rem;
  border: 1px solid var(--hx-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: border-color 0.3s ease, transform 0.4s var(--hx-ease), box-shadow 0.4s ease;
}
.rx-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 196, 81, 0.3);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.6);
}

.rx-card-top { display: flex; align-items: center; justify-content: space-between; }
.rx-card-stars { color: #f5c451; font-size: 0.9rem; letter-spacing: 0.08em; }
.rx-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #6ee7b7;
  font-size: 0.7rem;
  font-weight: 600;
}

.rx-msg {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: rgba(225, 232, 245, 0.85);
  font-size: 0.88rem;
  line-height: 1.6;
}

.rx-reply {
  padding: 0.6rem 0.8rem;
  border-left: 2px solid var(--hx-accent);
  border-radius: 0 10px 10px 0;
  background: rgba(0, 212, 255, 0.05);
}
.rx-reply-by { color: var(--hx-accent); font-size: 0.7rem; font-weight: 600; }
.rx-reply p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.15rem 0 0;
  color: var(--hx-muted);
  font-size: 0.8rem;
}

.rx-card-foot {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hx-line);
}
.rx-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(139, 157, 255, 0.2));
  color: #fff;
  font-size: 0.75rem;
}
.rx-meta { display: flex; flex-direction: column; min-width: 0; }
.rx-product {
  overflow: hidden;
  color: var(--hx-text);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rx-date { color: var(--hx-faint); font-size: 0.7rem; }

.rx-foot {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

/* ============================================================
   SSS (components/faq.njk)
   ============================================================ */
.fx-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.fx-side {
  position: sticky;
  top: calc(var(--hp-header-h, 64px) + 1.5rem);
}
.fx-side .cx-subtitle { margin-bottom: 1.5rem; }

.fx-help {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 1.15rem;
  border: 1px solid var(--hx-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}
.fx-help-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #a5b4fc;
  animation: hx-bob 5s ease-in-out infinite;
}
.fx-help-title { margin: 0; color: var(--hx-text); font-size: 0.95rem; font-weight: 700; }
.fx-help-text { margin: 0.1rem 0 0; color: var(--hx-muted); font-size: 0.8rem; }
.fx-help-btn {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 42px;
  border-radius: 11px;
  background: #5865f2;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--hx-ease), box-shadow 0.25s ease, background 0.25s ease;
}
.fx-help-btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--hx-ease); }
.fx-help-btn:hover {
  color: #fff;
  background: #6873ff;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.4);
}
.fx-help-btn:hover svg { transform: translateX(3px); }

.fx-list { display: grid; gap: 0.6rem; }

.fx-item {
  overflow: hidden;
  border: 1px solid var(--hx-line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.fx-item:hover { border-color: var(--hx-line-strong); }
.fx-item:has(.collapse.show),
.fx-item:has(.collapsing) {
  border-color: rgba(0, 212, 255, 0.3);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow: 0 18px 40px -20px rgba(0, 212, 255, 0.35);
}

.fx-h { margin: 0; }

.fx-q {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1.05rem 1.15rem;
  border: 0;
  background: transparent;
  color: var(--hx-text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
}
.fx-q:focus-visible { outline: 2px solid var(--hx-accent); outline-offset: -2px; border-radius: 16px; }

.fx-num {
  flex-shrink: 0;
  color: var(--hx-faint);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}
.fx-q:not(.collapsed) .fx-num { color: var(--hx-accent); }
.fx-q-text { flex: 1; }

/* + / − ikonu */
.fx-icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, transform 0.45s var(--hx-ease);
}
.fx-icon::before,
.fx-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--hx-text);
  transition: transform 0.45s var(--hx-ease);
}
.fx-icon::after { transform: rotate(90deg); }
.fx-q:not(.collapsed) .fx-icon {
  background: var(--hx-accent);
  transform: rotate(180deg);
}
.fx-q:not(.collapsed) .fx-icon::before,
.fx-q:not(.collapsed) .fx-icon::after { background: #05101f; }
.fx-q:not(.collapsed) .fx-icon::after { transform: rotate(0deg); }

.fx-a {
  padding: 0 1.15rem 1.15rem 3.1rem;
  color: var(--hx-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================================
   Bölümler — responsive
   ============================================================ */
@media (max-width: 991.98px) {
  .sx-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-item:nth-child(5)::before { display: none; }
  .kx-grid { grid-template-columns: 1fr; }
  .fx-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .fx-side { position: static; }
}

@media (max-width: 576px) {
  .px-controls .px-arrow { display: none !important; }
  .px .ng-products-slide { flex: 0 0 230px !important; }
  .sx-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-item::before { display: none; }
  .sx-item { padding: 1.25rem 0.75rem; }
  .sx-item:last-child { grid-column: 1 / -1; }
  .rx-card { flex-basis: 280px; }
  .rx-score { width: 100%; }
  .fx-a { padding-left: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sx-beam, .kx-card--us, .fx-help-icon, .rx-run .rx-track { animation: none !important; }
  .hp-js .kx-card .kx-row { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   BÖLÜM RİTMİ — tüm bölümler arasında eşit, dengeli boşluk
   (eski .py-20 = 5rem üst + 5rem alt → bölümler arası 10rem boşluk)
   ============================================================ */
.components > section.component:not(.hero) {
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem) !important;
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Hero'dan sonraki ilk bölüm biraz daha yakın başlasın */
.components > section.hero + section.component,
.components > section.hero ~ script + section.component {
  padding-top: clamp(1rem, 2vw, 1.5rem) !important;
}

/* Son bölüm ile footer arası */
.components > section.component:last-of-type {
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}

/* Başlık ile içerik arası her bölümde aynı */
.cx-head { margin-bottom: clamp(1.1rem, 2.2vw, 1.6rem) !important; }
.cx-subtitle { font-size: 0.92rem !important; }

/* İstatistik bandı: kendi ekstra boşluğu yok, ritme uysun */
.sx { padding-left: 0; padding-right: 0; }

/* Yorum şeridi + alt buton arası */
.rx-marquee { padding-top: 0.25rem; padding-bottom: 0.5rem; }
.rx-foot { margin-top: 0.75rem; }

/* Ürün slider'ı: alt boşluk ve noktalar sıkılaştı */
.px .ng-products-slider { padding-bottom: 0.75rem !important; }
.px .px-dots { margin-top: 0.25rem !important; }

/* Footer üst boşluğu */
footer.footer.nfx { margin-top: 0 !important; }

/* FAQ sayfasında (tek bölüm) üstte nefes payı */
.components > section.fx:only-of-type { padding-top: clamp(2.5rem, 5vw, 4rem) !important; }