@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

html {
  overflow-y: scroll;
}

body {
  background:
    linear-gradient(rgba(6, 14, 24, 0.72), rgba(6, 14, 24, 0.72)),
    url("background.png") center center / cover no-repeat fixed;
  color: #eaf6ff;
  overflow-x: hidden;
}

.site-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main img.img-reveal-pending {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  filter: blur(6px);
  transition: opacity 0.42s ease, transform 0.48s ease, filter 0.48s ease;
}

main img.img-reveal-pending.img-reveal-loaded {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  main img.img-reveal-pending,
  main img.img-reveal-pending.img-reveal-loaded {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* Ince ust bilgi cubugu */
.top-strip {
  background: #080a0e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: rgba(236, 240, 247, 0.88);
}

.top-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 0;
}

.top-strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.top-strip-msg {
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(230, 235, 244, 0.88);
  letter-spacing: 0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-strip-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 22px);
  flex-shrink: 0;
}

.top-strip-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.top-strip-link:hover {
  opacity: 0.92;
}

.top-strip-link--hot {
  color: #ff5c9a;
}

.top-strip-link--cool {
  color: #5ecfff;
}

/* ——— Ust bildirimler (zil): admin duyurulari ——— */
.navbar-user-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
  min-width: 0;
  flex-wrap: nowrap;
}

.header-notify {
  position: relative;
  flex-shrink: 0;
}

.header-notify-trigger {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(61, 125, 255, 0.35);
  background: rgba(17, 34, 58, 0.85);
  color: #9ec8ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-notify-trigger:hover {
  color: #dff2ff;
  border-color: rgba(98, 222, 255, 0.55);
  box-shadow: 0 0 20px rgba(63, 133, 255, 0.35);
  transform: translateY(-1px);
}

.header-notify-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5c9a, #ef4444);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
  animation: headerNotifyBadgePop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.header-notify-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(380px, calc(100vw - 32px));
  max-height: min(70vh, 420px);
  display: flex;
  flex-direction: column;
  background: rgba(8, 16, 28, 0.98);
  border: 1px solid rgba(58, 123, 211, 0.55);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(3, 12, 24, 0.72), 0 0 24px rgba(63, 133, 255, 0.22);
  z-index: 130;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.header-notify-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.header-notify-head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(58, 123, 211, 0.25);
  flex-shrink: 0;
}

.header-notify-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}

.header-notify-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #8ea8c5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.header-notify-list {
  padding: 10px 12px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header-notify-empty {
  margin: 0;
  padding: 20px 12px;
  text-align: center;
  color: #8ea8c5;
  font-size: 0.88rem;
}

.header-notify-card {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 12px 36px 12px 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(17, 34, 58, 0.92), rgba(12, 24, 42, 0.88));
  border: 1px solid rgba(59, 97, 168, 0.4);
  overflow: hidden;
}

.header-notify-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(98, 222, 255, 0.06) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: headerNotifyShine 5s ease-in-out infinite;
  pointer-events: none;
}

.header-notify-card--enter {
  animation: headerNotifyCardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--notify-d, 0s);
}

.header-notify-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(98, 222, 255, 0.12);
  color: #7dd3fc;
  font-size: 0.95rem;
}

.header-notify-card__body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.header-notify-card__title {
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.3;
}

.header-notify-card__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.88);
  white-space: pre-wrap;
  word-break: break-word;
}

.header-notify-card__time {
  display: block;
  margin-top: 8px;
  font-size: 0.68rem;
  color: rgba(148, 163, 184, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-notify-card__hide {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.5);
  color: rgba(226, 232, 240, 0.75);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.header-notify-card__hide:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
}

@keyframes headerNotifyBadgePop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes headerNotifyCardIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes headerNotifyShine {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-notify-badge,
  .header-notify-card--enter,
  .header-notify-card::before {
    animation: none !important;
  }

  .header-notify-panel {
    transition: none;
  }
}

@media (max-width: 768px) {
  .navbar-user-cluster {
    width: auto;
    max-width: calc(100vw - 96px);
    justify-content: flex-end;
    flex-shrink: 1;
    min-width: 0;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .header-notify-panel {
    transform-origin: top right;
  }

  .top-strip-inner {
    justify-content: center;
    padding: 5px 4%;
    gap: 8px;
  }

  .top-strip-left {
    justify-content: center;
    flex: 1 1 100%;
  }

  .top-strip-msg {
    display: none;
  }

  .top-strip-nav {
    flex: 1 1 100%;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .top-strip-link {
    font-size: 11px;
  }
}

header {
  background: rgba(8, 20, 36, 0.85);
  border-bottom: 1px solid #20466f;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 50;
  overflow: visible;
}

.navbar {
  display: grid;
  grid-template-columns: 240px minmax(280px, 1fr) minmax(300px, auto);
  align-items: center;
  gap: 20px;
  padding: 12px 5%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 55;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  user-select: none;
}

.site-logo-svg {
  width: 220px;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 0 14px rgba(71, 185, 255, 0.35));
}

.search-bar {
  display: flex;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px;
  border-radius: 8px 0 0 8px;
  border: none;
  outline: none;
  background: #11223a;
  color: #dff2ff;
  border: 1px solid #1d466f;
  transition: border-color 0.25s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.search-bar button {
  padding: 12px 18px;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  background: linear-gradient(135deg, #63d8ff, #1ca0f2);
  color: #041020;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.search-bar.active input,
.search-bar:focus-within input {
  border-color: #3d7dff;
  box-shadow: 0 0 0 2px rgba(61, 125, 255, 0.45), 0 0 26px rgba(67, 150, 255, 0.4);
  transform: translateY(-1px);
}

.search-bar.active button,
.search-bar:focus-within button {
  box-shadow: 0 0 20px rgba(76, 179, 255, 0.42);
}

.search-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 100%;
  background: rgba(8, 16, 28, 0.96);
  border: 1px solid rgba(58, 123, 211, 0.5);
  border-radius: 14px;
  padding: 14px;
  opacity: 0;
  transform: translateY(-8px) scale(0.99);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
  z-index: 120;
  box-shadow: 0 18px 42px rgba(3, 12, 24, 0.65), 0 0 20px rgba(63, 133, 255, 0.28);
}

.search-bar.active .search-panel,
.search-bar:focus-within .search-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.search-panel-title {
  color: #8ea8c5;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-tag {
  text-decoration: none;
  color: #75a9ff;
  background: rgba(28, 52, 94, 0.55);
  border: 1px solid rgba(59, 97, 168, 0.5);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.search-tag:hover {
  transform: translateY(-1px);
  background: rgba(43, 83, 158, 0.7);
  color: #b6d4ff;
}

.search-bar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(58, 177, 255, 0.35);
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.header-balance-logout-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.user-actions .header-logout-btn {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.btn-login,
.btn-register {
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  padding: 9px 14px;
  font-size: 14px;
  transition: transform 0.22s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-login {
  background: linear-gradient(135deg, #19385b, #1f4f80);
  color: #e5f3ff;
  border: 1px solid #3f79ad;
}

.btn-register {
  background: linear-gradient(135deg, #62deff, #1ca0f2);
  color: #041120;
  font-weight: 700;
}

.btn-login:hover,
.btn-register:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 22px rgba(57, 175, 255, 0.35);
}

.btn-register--nav-kapali {
  opacity: 0.82;
  background: linear-gradient(135deg, #4a5f75, #2d3d50);
  color: #c8d8e8;
  border: 1px solid rgba(120, 150, 180, 0.45);
  box-shadow: none;
}

.btn-register--nav-kapali:hover {
  box-shadow: 0 8px 18px rgba(40, 60, 80, 0.35);
}

.welcome-text {
  color: #cfdeee;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.category-bar ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 10px 4%;
  background: rgba(10, 18, 32, 0.9);
  border-top: 1px solid rgba(44, 61, 95, 0.6);
  border-bottom: 1px solid rgba(44, 61, 95, 0.6);
}

.category-bar li {
  list-style: none;
}

.category-bar {
  position: relative;
}

.top-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: #f4f8ff;
  border-radius: 999px;
  padding: 7px 12px;
  background: linear-gradient(180deg, rgba(24, 37, 61, 0.95), rgba(14, 25, 44, 0.95));
  border: 1px solid rgba(70, 103, 156, 0.45);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.top-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.top-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(123, 181, 255, 0.85);
  background: linear-gradient(180deg, rgba(33, 55, 90, 0.98), rgba(18, 35, 62, 0.98));
  box-shadow: 0 10px 20px rgba(16, 35, 72, 0.45);
}

.top-chip:hover::after {
  transform: translateX(120%);
}

.top-chip.is-active {
  border-color: rgba(117, 188, 255, 0.85);
  box-shadow: 0 8px 20px rgba(20, 72, 122, 0.35);
}

.top-chip-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(63, 103, 170, 0.28);
  border: 1px solid rgba(105, 151, 228, 0.35);
  color: #ffffff;
  font-size: 10px;
}

.top-actions {
  display: inline-flex;
  gap: 8px;
}

.action-pill {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.22s ease, box-shadow 0.25s ease, filter 0.25s ease, opacity 0.22s ease;
}

.action-pill:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3);
  filter: brightness(1.05);
}

.categories-panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(-8px);
  width: min(1100px, 95vw);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.categories-panel.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.categories-panel-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(82, 143, 208, 0.6);
  background: rgba(8, 18, 32, 0.96);
  box-shadow: 0 14px 32px rgba(4, 12, 22, 0.5);
}

.categories-panel-link {
  text-decoration: none;
  color: #e8f4ff;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(74, 126, 188, 0.55);
  background: linear-gradient(180deg, rgba(21, 38, 64, 0.95), rgba(12, 25, 43, 0.95));
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.categories-panel-link:hover {
  border-color: rgba(119, 194, 255, 0.9);
  transform: translateY(-1px);
}

.action-sell {
  background: linear-gradient(135deg, #ffca4a, #f0ab17);
  color: #1f1600;
}

.action-balance {
  background: linear-gradient(135deg, #30df87, #12b56a);
  color: #032012;
}

.container {
  padding-bottom: 40px;
  flex: 1;
}

.game-catalog {
  margin: 8px 4% 24px;
  width: 92%;
}

.catalog-title {
  margin-bottom: 14px;
  color: #eaf4ff;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.game-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(89, 181, 255, 0.28);
  background: #0f223a;
  min-height: 232px;
  transition: transform 0.22s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(117, 209, 255, 0.78);
  box-shadow: 0 16px 30px rgba(32, 118, 180, 0.35);
}

.game-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #eef8ff;
  font-size: 15px;
  text-align: center;
  font-weight: 600;
  padding: 10px 8px;
  background: linear-gradient(180deg, rgba(4, 10, 18, 0), rgba(4, 10, 18, 0.88));
}

.catalog-error {
  color: #ffafaf;
}

.hero-banner {
  margin: 18px auto;
  width: min(1300px, 94%);
  aspect-ratio: 1300 / 450;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(93, 186, 255, 0.35);
  box-shadow: 0 16px 34px rgba(20, 90, 147, 0.25);
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.hero-slider.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.hero-side-preview {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 13%;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  opacity: 0.33;
  filter: saturate(0.9);
  z-index: 1;
  pointer-events: none;
}

.hero-side-left {
  left: -5%;
  mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.95));
  -webkit-mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.95));
}

.hero-side-right {
  right: -5%;
  mask-image: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.95));
  -webkit-mask-image: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.95));
}

.hero-slider-track {
  height: 100%;
  display: flex;
  transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  position: relative;
  z-index: 2;
}

.hero-slider-track.is-dragging {
  transition: none;
}

.hero-slide {
  flex: 0 0 auto;
  min-width: 0;
  height: 100%;
  display: block;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-slide:focus-visible {
  outline: 2px solid #5fd3ff;
  outline-offset: -2px;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(156, 222, 255, 0.5);
  background: rgba(7, 20, 35, 0.45);
  color: #def4ff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.hero-nav:hover {
  background: rgba(16, 56, 90, 0.7);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 12px;
}

.hero-next {
  right: 12px;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 3;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(205, 239, 255, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  background: #5fd3ff;
  transform: scale(1.15);
}

@media (max-width: 1100px) {
  .navbar {
    grid-template-columns: 220px minmax(220px, 1fr) minmax(260px, auto);
    gap: 12px;
  }

  .site-logo-svg {
    width: 180px;
  }

  .games-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .top-actions {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 820px) {
  .navbar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .search-bar,
  .user-actions,
  .navbar-user-cluster {
    width: 100%;
    min-width: 0;
  }

  .search-panel {
    border-radius: 12px;
    padding: 12px;
  }

  .navbar-user-cluster {
    justify-content: flex-end;
    flex-wrap: nowrap;
    row-gap: 0;
  }

  .user-actions {
    justify-content: flex-end;
    flex-wrap: nowrap;
    row-gap: 0;
  }

  .header-balance-logout-group {
    margin-left: auto;
  }

  .hero-banner {
    width: 94%;
  }

  .hero-slider {
    height: 100%;
  }

  .game-catalog {
    width: 94%;
  }

  .games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-bar ul {
    padding: 8px 3%;
    gap: 6px;
  }

  .top-chip {
    font-size: 12px;
    padding: 7px 10px;
  }
}

@media (max-width: 560px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #23527f;
  background: linear-gradient(180deg, #102038, #0d1a2f);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #5ccfff;
  box-shadow: 0 18px 28px rgba(35, 131, 201, 0.28);
}

.card-img {
  height: 130px;
  background-size: cover;
  background-position: center;
}

.card-info {
  padding: 14px;
}

.price {
  color: #74dcff;
  font-weight: 700;
  margin: 10px 0;
}

.btn-buy {
  width: 100%;
  padding: 9px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #62deff, #1ca0f2);
  color: #031120;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(53, 166, 237, 0.38);
}

.footer {
  margin-top: auto;
  padding: 26px 4% 18px;
  border-top: 1px solid rgba(36, 69, 109, 0.7);
  background: linear-gradient(180deg, rgba(7, 15, 28, 0.9), rgba(6, 12, 21, 0.96));
  color: #a9c5dd;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.footer-brand {
  text-decoration: none;
  color: #d7ecff;
  font-size: 28px;
  font-weight: 800;
}

.footer-shortcuts {
  display: flex;
  gap: 10px;
}

.footer-shortcut {
  text-decoration: none;
  color: #d9edff;
  border: 1px solid rgba(67, 99, 150, 0.7);
  background: rgba(18, 30, 51, 0.9);
  border-radius: 12px;
  padding: 9px 12px;
  min-width: 155px;
}

.footer-shortcut span {
  display: block;
  font-weight: 700;
  font-size: 13px;
}

.footer-shortcut small {
  color: #9ab8d5;
  font-size: 11px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(42, 62, 95, 0.65);
}

.footer-col h4 {
  margin-bottom: 10px;
  color: #edf7ff;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: #9fbad5;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: #dbefff;
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(19, 36, 62, 0.9);
  border: 1px solid rgba(56, 86, 130, 0.65);
  color: #ecf6ff;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-badges span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 33, 56, 0.9);
  border: 1px solid rgba(58, 89, 134, 0.65);
  color: #d7ebff;
}

.footer-copy {
  margin-top: 16px;
  font-size: 12px;
  color: #89a9c9;
  line-height: 1.5;
}

.footer-copy-sub {
  margin-top: 8px;
  font-size: 11px;
  color: #6b8aad;
  line-height: 1.5;
  max-width: 920px;
}

.footer-disclaimer-banner {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(86, 130, 190, 0.45);
  background: rgba(12, 32, 58, 0.55);
  color: #c8def5;
  font-size: 13px;
  line-height: 1.5;
}

.footer-note {
  font-size: 13px;
  line-height: 1.45;
  color: #9fbad5;
  margin-bottom: 10px;
}

.legal-page-header {
  padding: 14px 4%;
  border-bottom: 1px solid rgba(36, 69, 109, 0.7);
  background: rgba(6, 12, 21, 0.96);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legal-page-header a {
  color: #dbefff;
  text-decoration: none;
  font-weight: 700;
}

.legal-page-header a:hover {
  text-decoration: underline;
}

.legal-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 14px;
}

.legal-page-nav a {
  font-weight: 600;
  color: #9fbad5;
}

.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 4% 48px;
}

.legal-doc {
  color: #c8def5;
  font-size: 15px;
  line-height: 1.65;
}

.legal-doc h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #f0f7ff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.legal-doc .legal-updated {
  font-size: 13px;
  color: #7a9cbd;
  margin-bottom: 22px;
}

.legal-doc h2 {
  font-size: 1.15rem;
  color: #e8f4ff;
  margin: 26px 0 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(42, 62, 95, 0.55);
}

.legal-doc h2:first-of-type {
  border-top: none;
  margin-top: 18px;
}

.legal-doc p {
  margin: 0 0 12px;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 14px 1.1rem;
  padding: 0;
}

.legal-doc li {
  margin-bottom: 8px;
}

.legal-doc a {
  color: #7fd4ff;
}

.legal-doc a:hover {
  text-decoration: underline;
}

.legal-doc .legal-callout {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(86, 130, 190, 0.45);
  background: rgba(12, 32, 58, 0.45);
  font-size: 14px;
}

.legal-hub-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

@media (min-width: 640px) {
  .legal-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.legal-hub-card {
  display: block;
  padding: 18px 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(67, 99, 150, 0.65);
  background: rgba(18, 30, 51, 0.85);
  text-decoration: none;
  color: #dbefff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.legal-hub-card:hover {
  border-color: rgba(120, 180, 255, 0.55);
  transform: translateY(-2px);
}

.legal-hub-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #f5f9ff;
}

.legal-hub-card span {
  font-size: 13px;
  color: #9fbad5;
  line-height: 1.45;
}


.game-detail-wrap {
  display: grid;
  place-items: center;
  padding-block: 12px 28px;
}

.game-detail-card {
  width: min(860px, 94%);
  border-radius: 18px;
  border: 1px solid rgba(73, 140, 200, 0.45);
  background: linear-gradient(165deg, rgba(16, 38, 64, 0.96) 0%, rgba(8, 18, 34, 0.98) 100%);
  text-align: center;
  padding: 40px 28px 36px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.game-detail-image {
  width: min(720px, 100%);
  border-radius: 14px;
  border: 1px solid rgba(110, 195, 255, 0.4);
}

.game-detail-card h1 {
  margin: 20px 0 6px;
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #f5f9ff;
  text-shadow:
    0 2px 16px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(90, 170, 255, 0.22);
}

.game-detail-card h1:first-child {
  margin-top: 0;
}

.game-detail-card p {
  margin: 16px auto 26px;
  max-width: 34em;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: rgba(214, 230, 248, 0.9);
}

.game-detail-card .btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 11px;
  box-shadow: 0 10px 28px rgba(28, 160, 242, 0.42);
}

.game-detail-card .btn-register:hover {
  box-shadow: 0 14px 36px rgba(28, 160, 242, 0.5);
}

.game-listing-page {
  width: min(1320px, 96%);
  margin: 14px auto 0;
}

.listing-hero {
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(78, 132, 196, 0.45);
  background: linear-gradient(160deg, rgba(12, 31, 54, 0.88), rgba(9, 21, 38, 0.92));
}

.listing-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #eff7ff;
  margin-bottom: 6px;
}

.listing-hero p {
  color: #b8d1ea;
  font-size: 0.95rem;
}

.vp-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.vp-listing-grid--lol {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1400px) {
  .vp-listing-grid--lol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .vp-listing-grid--lol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vp-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(72, 112, 168, 0.5);
  background: #1b2330;
  box-shadow: 0 16px 32px rgba(5, 13, 24, 0.36);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.vp-card:hover {
  border-color: rgba(113, 186, 255, 0.72);
  box-shadow: 0 20px 38px rgba(12, 40, 77, 0.42);
}

.vp-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  display: block;
  background: #101820;
}

.vp-card-image-link {
  display: block;
}

.vp-card-body {
  padding: 12px 12px 10px;
  background: #2f3b4a;
  text-align: center;
}

.vp-card-body h3 {
  font-size: 1.05rem;
  color: #f3f9ff;
  margin-bottom: 8px;
}

.vp-card-title-link {
  color: inherit;
  text-decoration: none;
}

.vp-card-title-link:hover {
  text-decoration: underline;
}

.vp-card-rating {
  color: #ffbb42;
  font-size: 0.85rem;
  margin-bottom: 3px;
}

.vp-card-price {
  font-size: 1.06rem;
  color: #ffffff;
  font-weight: 800;
}

.vp-card-old-price {
  margin-top: 2px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: rgba(231, 237, 247, 0.5);
  text-decoration: line-through;
}

.vp-card-button {
  width: 100%;
  border: none;
  border-radius: 7px;
  background: linear-gradient(135deg, #ff9130, #ef9d24);
  color: #fff;
  padding: 9px 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.vp-card-button:hover {
  filter: brightness(1.05);
}

.vp-card-button--disabled,
.vp-card-button:disabled {
  background: linear-gradient(135deg, #626a73, #4d5560);
  color: #d2d8df;
  cursor: not-allowed;
  border: 1px solid rgba(167, 182, 200, 0.4);
  filter: none;
  transform: none;
}

.home-products {
  margin: 10px auto 22px;
  width: min(1300px, 94%);
}

.home-products-title {
  text-align: center;
}

.home-products-viewport {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(93, 186, 255, 0.35);
  box-shadow: 0 10px 26px rgba(20, 90, 147, 0.18);
  background: rgba(6, 14, 26, 0.35);
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-products-marquee-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  animation: home-products-marquee 55s linear infinite;
}

.home-products-marquee-track:hover,
.home-products-marquee-track:focus-within {
  animation-play-state: paused;
}

.home-products-marquee-set {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 2px 10px;
  flex-shrink: 0;
}

@keyframes home-products-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-products-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .home-products-marquee-track .home-products-marquee-set[aria-hidden="true"] {
    display: none;
  }

  .home-products-marquee-set {
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-products-viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.home-product-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  width: 92px;
  text-decoration: none;
  color: #e7f3ff;
  border: 1px solid rgba(78, 130, 194, 0.5);
  background: linear-gradient(160deg, rgba(13, 30, 52, 0.86), rgba(8, 18, 34, 0.9));
  border-radius: 9px;
  padding: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-product-mini img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 7px;
  object-fit: cover;
  display: block;
}

.home-product-mini span {
  width: 100%;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  color: #e8f4ff;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
}

.home-product-mini:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 194, 255, 0.78);
  box-shadow: 0 6px 14px rgba(17, 56, 98, 0.3);
}

.product-page {
  width: min(1320px, 96%);
  margin: 14px auto 0;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 2px;
}

.page-breadcrumb a,
.page-breadcrumb-current,
.page-breadcrumb-sep {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
}

.page-breadcrumb a,
.page-breadcrumb-current {
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid rgba(62, 108, 168, 0.66);
  background: linear-gradient(170deg, rgba(10, 22, 38, 0.95), rgba(7, 16, 29, 0.96));
  color: #eff7ff;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  border-color: rgba(116, 182, 255, 0.84);
}

.page-breadcrumb-current {
  background: #fff;
  color: #10253a;
  border-color: rgba(255, 255, 255, 0.86);
}

.page-breadcrumb-sep {
  color: rgba(214, 230, 247, 0.9);
}

.product-detail-card {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 16px;
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(82, 131, 190, 0.5);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(12, 30, 52, 0.9), rgba(8, 18, 34, 0.92));
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 320px;
  height: auto;
  object-fit: cover;
  background: #101820;
}

.product-detail-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-detail-game {
  color: #8fb9e3;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-detail-content h1 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: #f4f9ff;
}

.product-detail-rating {
  color: #ffbb42;
  font-weight: 700;
}

.product-detail-price {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 800;
}

.product-detail-old-price {
  color: rgba(231, 237, 247, 0.52);
  text-decoration: line-through;
}

.product-detail-stock {
  margin: 4px 0 10px;
  color: #ffb5b5;
  font-weight: 700;
}

.product-back-link {
  width: fit-content;
  margin-top: 6px;
}

/* --- Auth (login / register) Hesap-style dark card --- */
.auth-page {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 80px;
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(88, 56, 140, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 85%, rgba(40, 90, 180, 0.15), transparent 50%),
    #0a0b10;
  overflow-x: hidden;
  color: #e8ecf4;
}

.auth-page--login,
.auth-page--register {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(88, 56, 140, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 85%, rgba(40, 90, 180, 0.15), transparent 50%),
    #0a0b10;
}

.auth-page--register .auth-shell {
  max-width: 532px;
}

.auth-page--register .auth-card {
  padding: 34px 38px 28px;
  border-radius: 18px;
}

.auth-page--register .auth-card-logo {
  margin-bottom: 12px;
}

.auth-page--register .auth-card-logo img {
  height: 72px;
}

.auth-page--register .auth-card-title {
  margin: 0 0 24px;
  font-size: 1.48rem;
  letter-spacing: 0.03em;
}

.auth-page--register .auth-form {
  gap: 12px;
}

.auth-page--register .auth-form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 20px 26px;
  margin-bottom: 6px;
  align-items: start;
}

.auth-page--register .auth-form-grid .auth-field-label {
  margin-top: 0;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}

.auth-page--register .auth-form-grid + .auth-form-grid {
  margin-top: 4px;
}

.auth-page--register .auth-input-wrap {
  padding: 0 16px 0 18px;
  gap: 12px;
  border-radius: 11px;
}

.auth-page--register .auth-input-field {
  padding: 14px 6px 14px 0;
  letter-spacing: 0.03em;
}

.auth-page--register .auth-check--block {
  margin-top: 14px;
  gap: 10px;
  letter-spacing: 0.01em;
}

.auth-page--register .auth-submit-btn {
  margin-top: 16px;
  padding: 14px 18px;
  letter-spacing: 0.05em;
}

.auth-watermark {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.13);
  text-shadow: 0 0 24px rgba(90, 150, 255, 0.08);
  user-select: none;
}

.auth-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

.auth-card {
  background: linear-gradient(165deg, #1a1d26 0%, #12141c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 26px 22px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5);
}

.auth-card-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.auth-card-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.auth-card-title {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.auth-register-closed {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 11px;
  border: 1px solid rgba(255, 120, 130, 0.4);
  background: rgba(48, 22, 28, 0.65);
  color: #ffc9c9;
  font-size: 0.89rem;
  line-height: 1.5;
  text-align: center;
}

.auth-register-closed strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ff9a9a;
  text-transform: uppercase;
}

.auth-register-closed a {
  color: #9fd4ff;
  font-weight: 600;
  text-decoration: none;
}

.auth-register-closed a:hover {
  text-decoration: underline;
}

.auth-register-fieldset-disabled {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.auth-form .auth-register-fieldset-disabled:disabled {
  opacity: 0.66;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-bottom: 4px;
}

.auth-form-grid > div {
  min-width: 0;
}

.auth-field-label {
  display: block;
  min-height: 16px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b93a8;
  margin-top: 10px;
  margin-bottom: 6px;
}

.auth-form-grid .auth-field-label {
  margin-top: 8px;
}

.auth-form-grid > div:first-child .auth-field-label {
  margin-top: 0;
}

.auth-input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 0 12px 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(76, 110, 245, 0.35);
  background: rgba(10, 12, 18, 0.65);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input-wrap:focus-within {
  border-color: rgba(76, 110, 245, 0.85);
  box-shadow: 0 0 0 1px rgba(76, 110, 245, 0.2);
}

.auth-input-wrap > i {
  color: #5c6a8a;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.auth-input-field {
  flex: 1;
  min-width: 0;
  padding: 12px 4px 12px 0;
  border: none;
  background: transparent;
  color: #e8ecf4;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}

.auth-input-field::placeholder {
  color: #5a6278;
}

.auth-input-toggle {
  flex-shrink: 0;
  padding: 8px;
  border: none;
  background: transparent;
  color: #7a87a8;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-input-toggle:hover {
  color: #b8c4e0;
}

.auth-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.auth-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #a8b0c4;
  cursor: pointer;
}

.auth-check--block {
  display: flex;
  margin-top: 12px;
  margin-bottom: 4px;
  line-height: 1.45;
}

.auth-check input {
  margin-top: 2px;
  accent-color: #4c6ef5;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.auth-inline-link {
  color: #6eb0ff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
}

.auth-inline-link:hover {
  text-decoration: underline;
}

.auth-submit-btn {
  width: 100%;
  margin-top: 14px;
  padding: 13px 16px;
  border: none;
  border-radius: 10px;
  background: #4c6ef5;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 24px rgba(76, 110, 245, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.auth-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(76, 110, 245, 0.5);
}

.auth-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.auth-submit-btn i {
  font-size: 0.85rem;
  opacity: 0.95;
}

.auth-message {
  min-height: 22px;
  margin-top: 12px;
  text-align: center;
  font-size: 0.88rem;
}

.auth-message--success {
  color: #2ecc71;
}

.auth-message--error {
  color: #ff6868;
}

.auth-message--info {
  color: #7ec8ff;
}

.auth-card-footer-text {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: #8b93a8;
}

.auth-card-footer-text a {
  color: #6eb0ff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.auth-card-footer-text a:hover {
  text-decoration: underline;
}

.auth-card-footer-text--muted {
  margin-top: 10px;
  font-size: 0.82rem;
}

.auth-card-footer-text--muted a {
  font-weight: 500;
}

.auth-page-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  padding: 12px 16px;
  text-align: center;
  font-size: 0.72rem;
  color: #5c6578;
  background: linear-gradient(180deg, transparent, rgba(10, 11, 16, 0.92) 40%);
}

@media (max-width: 540px) {
  .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .auth-page--register .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .auth-form-grid > div:first-child .auth-field-label {
    margin-top: 10px;
  }

  .auth-form-grid > div:first-child .auth-field-label:first-child {
    margin-top: 0;
  }

  .auth-page--register .auth-form-grid > div:first-child .auth-field-label {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .product-detail-card {
    grid-template-columns: 1fr;
  }

  .product-detail-image {
    min-height: 250px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-shortcuts {
    width: 100%;
    flex-wrap: wrap;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@keyframes pulseBanner {
  0%,
  100% {
    box-shadow: 0 20px 45px rgba(36, 122, 189, 0.22);
  }
  50% {
    box-shadow: 0 24px 52px rgba(50, 149, 224, 0.34);
  }
}

/* Header bakiye ozeti */
.header-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(24, 52, 82, 0.95), rgba(12, 28, 48, 0.92));
  border: 1px solid rgba(80, 160, 230, 0.35);
  color: #e8f4ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}

.header-balance-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(45, 140, 220, 0.28);
}

.header-balance-pill .fa-coins {
  color: #7fd7ff;
  font-size: 12px;
}

.header-balance-currency {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(180, 220, 255, 0.85);
}

.header-profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(280px, 54vw);
  padding: 6px 12px 6px 6px;
  border-radius: 14px;
  text-decoration: none;
  color: #eaf4ff;
  background: linear-gradient(135deg, rgba(22, 42, 68, 0.92), rgba(14, 26, 44, 0.88));
  border: 1px solid rgba(70, 140, 210, 0.38);
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}

.header-profile-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(45, 130, 210, 0.28);
}

.header-profile-frame {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 160deg, #35c9ff, #7b5cff, #ff6b9d, #ffb020, #35c9ff);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.header-profile-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(8, 14, 26, 0.95);
}

.header-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.2;
}

.header-profile-handle {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f2f8ff;
}

.header-profile-balance-line {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(175, 215, 250, 0.92);
}

.header-profile-balance-val {
  font-variant-numeric: tabular-nums;
  color: #b8e8ff;
}

.header-profile-balance-unit {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(160, 210, 255, 0.75);
}

/* Profil sayfasi */
.profile-page {
  flex: 1;
  padding-top: 28px;
  padding-bottom: 48px;
}

.profile-shell {
  max-width: 920px;
  margin: 0 auto;
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding: 36px 40px;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(14, 26, 44, 0.92), rgba(8, 16, 28, 0.88));
  border: 1px solid rgba(70, 130, 200, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.profile-avatar-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.profile-avatar-ring {
  position: relative;
  width: 196px;
  height: 196px;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(
    from 200deg,
    #35c9ff,
    #7b5cff,
    #ff4d8d,
    #ffb020,
    #35c9ff
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 48px rgba(40, 120, 220, 0.35);
}

.profile-avatar-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 200, 255, 0.35) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.profile-avatar-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #0a1422;
  border: 3px solid rgba(10, 20, 36, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-info-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.profile-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(140, 180, 220, 0.75);
  font-weight: 700;
}

.profile-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #f2f8ff;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.profile-email-row {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(215, 228, 245, 0.92);
  word-break: break-word;
}

.profile-email-icon {
  color: #62c8ff;
}

.profile-balance-panel {
  margin-top: 12px;
  padding: 22px 22px 18px;
  border-radius: 14px;
  background: rgba(6, 14, 28, 0.65);
  border: 1px solid rgba(60, 120, 190, 0.35);
}

.profile-balance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.profile-balance-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(180, 205, 235, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-balance-currency-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(50, 160, 255, 0.18);
  border: 1px solid rgba(100, 190, 255, 0.35);
  color: #9fdcff;
}

.profile-balance-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}

.profile-balance-value {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.profile-balance-suffix {
  font-size: 13px;
  color: rgba(170, 200, 230, 0.75);
}

.profile-topup-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: #7fd7ff;
  text-decoration: none;
  transition: color 0.18s ease, gap 0.18s ease;
}

.profile-topup-link:hover {
  color: #b8ecff;
  gap: 11px;
}

@media (max-width: 720px) {
  .profile-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    text-align: center;
  }

  .profile-info-column {
    align-items: center;
  }

  .profile-email-row {
    justify-content: center;
  }

  .profile-balance-head {
    justify-content: center;
  }

  .profile-balance-row {
    justify-content: center;
  }
}

/* Bakiye bilgi sayfasi */
.balance-info-page {
  flex: 1;
  padding-top: 32px;
  padding-bottom: 56px;
}

.balance-info-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 44px 44px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(16, 32, 54, 0.94), rgba(8, 18, 34, 0.9));
  border: 1px solid rgba(75, 140, 210, 0.32);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.balance-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8e6ff;
  background: rgba(40, 140, 220, 0.2);
  border: 1px solid rgba(100, 190, 255, 0.35);
  margin-bottom: 18px;
}

.balance-info-title {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #f5fbff;
  line-height: 1.25;
}

.balance-info-lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(200, 218, 240, 0.92);
}

.balance-info-points {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.balance-info-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(5, 12, 24, 0.55);
  border: 1px solid rgba(55, 100, 160, 0.28);
}

.balance-info-point-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(50, 130, 210, 0.22);
  color: #8ad4ff;
  font-size: 18px;
}

.balance-info-points strong {
  display: block;
  font-size: 15px;
  color: #eaf3ff;
  margin-bottom: 4px;
}

.balance-info-points li > div > span {
  font-size: 14px;
  color: rgba(185, 205, 230, 0.88);
  line-height: 1.5;
}

.balance-info-points a {
  color: #7fd7ff;
  font-weight: 700;
  text-decoration: none;
}

.balance-info-points a:hover {
  text-decoration: underline;
}

.balance-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.balance-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.balance-info-btn--primary {
  background: linear-gradient(135deg, #62deff, #1ca0f2);
  color: #041120;
  border: none;
}

.balance-info-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(40, 170, 240, 0.35);
}

.balance-info-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #dbe8f8;
  border: 1px solid rgba(120, 160, 210, 0.35);
}

.balance-info-btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
  .balance-info-hero {
    padding: 28px 20px 32px;
  }

  .balance-info-actions {
    flex-direction: column;
  }

  .balance-info-btn {
    width: 100%;
  }
}

/* ——— Yasak hesap tam ekran uyarısı ——— */
body.ban-account-lock {
  overflow: hidden;
}

.ban-account-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 10, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ban-account-dialog {
  width: min(440px, 100%);
  padding: 28px 26px 24px;
  border-radius: 16px;
  background: linear-gradient(165deg, #152a45 0%, #0d1828 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.ban-account-title {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fecaca;
  letter-spacing: -0.02em;
}

.ban-account-msg {
  margin: 0 0 12px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.ban-account-hint {
  margin: 0 0 22px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #94a3b8;
}

.ban-account-btn {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.ban-account-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.ban-account-btn:active {
  transform: translateY(0);
}

/* ——— Marketplace modallari (satici basvuru / destek) ——— */
body.mp-modal-open {
  overflow: hidden;
}

#mpModalRoot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

#mpModalRoot .mp-modal-backdrop {
  pointer-events: auto;
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 22, 0.72);
  backdrop-filter: blur(4px);
  animation: mpBackdropIn 0.22s ease both;
}

#mpModalRoot .mp-modal {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 32px));
  max-height: min(88vh, 560px);
  overflow-y: auto;
  padding: 22px 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(58, 123, 211, 0.55);
  background: linear-gradient(165deg, rgba(12, 28, 48, 0.98), rgba(8, 18, 34, 0.99));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55), 0 0 28px rgba(63, 133, 255, 0.2);
  animation: mpModalIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mp-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.mp-modal-x:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
}

.mp-modal-title {
  margin: 0 32px 8px 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.mp-modal-hint {
  margin: 0 0 16px;
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.45;
}

.mp-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mp-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
}

.mp-modal-field input,
.mp-modal-field textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(58, 123, 211, 0.4);
  background: rgba(8, 16, 28, 0.85);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.92rem;
}

.mp-modal-field textarea {
  resize: vertical;
  min-height: 72px;
}

.mp-modal-field input:focus,
.mp-modal-field textarea:focus {
  outline: none;
  border-color: rgba(98, 222, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(63, 133, 255, 0.2);
}

.mp-modal-submit {
  margin-top: 4px;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  color: #041120;
  background: linear-gradient(135deg, #62deff, #1ca0f2);
  transition: transform 0.15s, box-shadow 0.15s;
}

.mp-modal-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(53, 166, 237, 0.35);
}

.mp-modal-msg {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.mp-modal-msg--ok {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.mp-modal-msg--err {
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

@keyframes mpBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes mpModalIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #mpModalRoot .mp-modal-backdrop,
  #mpModalRoot .mp-modal {
    animation: none !important;
  }
}

/* ——— Mobil / drawer ——— profesyonel yuzey ——— */
body {
  -webkit-tap-highlight-color: rgba(94, 184, 245, 0.08);
}

body.mobile-nav-open {
  overflow: hidden;
  touch-action: none;
}

.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 240, 252, 0.92);
  font-size: 1.05rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(94, 184, 245, 0.35);
  color: #f0f7ff;
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid rgba(94, 184, 245, 0.65);
  outline-offset: 2px;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 280;
  background: rgba(2, 6, 14, 0.55);
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.mobile-nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(100vw - 40px, 340px);
  max-width: 100%;
  z-index: 290;
  background: rgba(11, 17, 28, 0.94);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 24px 0 64px rgba(0, 0, 0, 0.35);
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0);
  padding-top: env(safe-area-inset-top, 0);
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-drawer-head {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-drawer-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mobile-nav-drawer-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: #f4f7fc;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.mobile-nav-drawer-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(154, 168, 190, 0.95);
  letter-spacing: 0.01em;
}

.mobile-nav-drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(220, 230, 245, 0.85);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.mobile-nav-drawer-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mobile-nav-drawer-close:focus-visible {
  outline: 2px solid rgba(94, 184, 245, 0.55);
  outline-offset: 2px;
}

.mobile-nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 14px 28px;
}

.mobile-nav-eyebrow {
  margin: 0 0 10px 2px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(130, 145, 170, 0.88);
}

.mobile-nav-quick {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 22px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-quick a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(236, 242, 252, 0.95);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-quick a i {
  width: 22px;
  text-align: center;
  color: rgba(120, 190, 245, 0.9);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.mobile-nav-quick a span {
  flex: 1;
  min-width: 0;
}

.mobile-nav-quick a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-notify-section {
  margin-bottom: 20px;
}

.mobile-nav-notify-wrap {
  margin-bottom: 0;
}

.mobile-nav-notify-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(94, 184, 245, 0.25);
  background: rgba(94, 184, 245, 0.09);
  color: rgba(236, 242, 252, 0.98);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mobile-nav-notify-btn:hover {
  background: rgba(94, 184, 245, 0.14);
  border-color: rgba(120, 200, 255, 0.4);
}

.mobile-nav-notify-btn:focus-visible {
  outline: 2px solid rgba(94, 184, 245, 0.55);
  outline-offset: 2px;
}

.mobile-nav-notify-btn-icon {
  width: 22px;
  display: flex;
  justify-content: center;
  color: rgba(120, 190, 245, 0.95);
  font-size: 1rem;
  flex-shrink: 0;
}

.mobile-nav-notify-btn-label {
  flex: 1;
  min-width: 0;
}

.mobile-nav-notify-badge {
  flex-shrink: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5c9a, #ef4444);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

@media (min-width: 821px) {
  .mobile-nav-notify-section {
    display: none;
  }
}

.mobile-nav-quick a:focus-visible {
  outline: 2px solid rgba(94, 184, 245, 0.45);
  outline-offset: 0;
}

.mobile-nav-section {
  margin-top: 4px;
}

.mobile-nav-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(130, 145, 170, 0.9);
}

.mobile-nav-section-meta {
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(94, 184, 245, 0.12);
  color: rgba(160, 210, 250, 0.95);
  letter-spacing: 0.04em;
}

.mobile-nav-tiles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(244, 248, 255, 0.96);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mobile-nav-tile:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(94, 184, 245, 0.22);
}

.mobile-nav-tile:focus-visible {
  outline: 2px solid rgba(94, 184, 245, 0.5);
  outline-offset: 2px;
}

.mobile-nav-tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(94, 184, 245, 0.08);
  border: 1px solid rgba(94, 184, 245, 0.15);
  font-size: 0.95rem;
  color: rgba(140, 200, 250, 0.95);
  flex-shrink: 0;
}

.mobile-nav-tile-label {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  min-width: 0;
}

.mobile-nav-tile-chevron {
  flex-shrink: 0;
  font-size: 0.65rem;
  color: rgba(130, 150, 175, 0.65);
}

@media (max-width: 820px) {
  header {
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 48px rgba(0, 0, 0, 0.22);
  }

  /** Zil menude; ust bardaki tekrar gizle */
  .navbar-user-cluster .header-notify {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .navbar {
    display: grid !important;
    grid-template-columns: 44px 1fr auto !important;
    grid-template-rows: auto auto !important;
    gap: 10px 10px !important;
    align-items: center !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .mobile-nav-toggle {
    grid-column: 1;
    grid-row: 1;
  }

  .site-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .navbar-user-cluster {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: auto !important;
    max-width: calc(100vw - 96px);
    min-width: 0;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .navbar-user-cluster .header-notify {
    flex-shrink: 0;
  }

  .navbar-user-cluster .user-actions {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 1 auto;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px;
  }

  .navbar-user-cluster .header-notify-trigger {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .navbar-user-cluster .btn-login,
  .navbar-user-cluster .btn-register {
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 10px;
  }

  .search-bar {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100% !important;
  }

  .search-bar input {
    font-size: 16px;
    border-radius: 10px 0 0 10px;
    padding: 13px 14px;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
  }

  .search-bar button {
    border-radius: 0 10px 10px 0;
    padding: 13px 16px;
  }

  .site-logo-svg {
    width: min(142px, 40vw) !important;
    filter: drop-shadow(0 2px 12px rgba(71, 185, 255, 0.22));
  }

  /** Giris yapilmis mobil ust bar: profil + uzun bakiye taşmasin */
  .navbar:has(.header-profile-chip) .site-logo-svg {
    width: min(112px, 30vw) !important;
  }

  .navbar-user-cluster .header-profile-chip {
    max-width: clamp(104px, calc(100vw - 208px), 168px);
    min-width: 0;
    flex: 1 1 auto;
    padding: 4px 8px 4px 4px;
    gap: 6px;
    overflow: hidden;
  }

  .navbar-user-cluster .header-profile-frame {
    width: 34px;
    height: 34px;
    padding: 2px;
    flex-shrink: 0;
  }

  .navbar-user-cluster .header-profile-meta {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .navbar-user-cluster .header-profile-handle {
    font-size: 11px;
    font-weight: 700;
  }

  .navbar-user-cluster .header-profile-balance-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    width: 100%;
    font-size: 10px;
    font-weight: 700;
  }

  .navbar-user-cluster .header-profile-balance-val {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 10px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.03em;
  }

  .navbar-user-cluster .header-profile-balance-unit {
    flex-shrink: 0;
    font-size: 9px;
  }

  .navbar-user-cluster .header-logout-btn {
    padding: 8px 10px !important;
    font-size: 11px !important;
    flex-shrink: 0;
  }

  /** Bildirimler paneli — mobilde tam gorunur alan (ust serit + navbar altinda) */
  .header-notify-panel {
    position: fixed !important;
    left: max(10px, env(safe-area-inset-left, 0px)) !important;
    right: max(10px, env(safe-area-inset-right, 0px)) !important;
    top: max(118px, calc(env(safe-area-inset-top, 0px) + 100px)) !important;
    bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 320;
    transform-origin: center top;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55), 0 0 1px rgba(63, 133, 255, 0.35);
  }

  .header-notify-panel:not(.is-open) {
    pointer-events: none;
  }

  .header-notify-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }

  .btn-login,
  .btn-register {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9px;
  }

  .welcome-text {
    max-width: 90px;
  }

  .header-profile-chip {
    max-width: min(280px, 54vw);
    padding: 6px 12px 6px 6px;
    gap: 10px;
  }

  .category-bar ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 16px;
    gap: 8px;
    padding: 12px 16px;
    scrollbar-width: none;
    background: rgba(6, 10, 18, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  }

  .category-bar ul::-webkit-scrollbar {
    display: none;
  }

  .category-bar li {
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .top-chip {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: none;
  }

  .top-chip::after {
    display: none;
  }

  .top-chip:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(94, 184, 245, 0.28);
    box-shadow: none;
  }

  .top-chip-icon {
    width: 22px;
    height: 22px;
    font-size: 11px;
    background: rgba(94, 184, 245, 0.1);
    border-color: rgba(94, 184, 245, 0.18);
  }

  .action-pill {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
  }

  .categories-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: none;
    transform: translateY(110%);
    border-radius: 20px 20px 0 0;
    z-index: 270;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -24px 64px rgba(0, 0, 0, 0.4);
    background: rgba(8, 11, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .categories-panel::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    margin: 10px auto 6px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.14);
  }

  .categories-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .categories-panel-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    max-height: min(58vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 16px 20px;
    gap: 8px;
    margin: 0 12px 12px;
    border-radius: 16px;
    background: rgba(14, 20, 32, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.07);
  }

  .categories-panel-link {
    flex: 1 1 calc(50% - 8px);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(236, 242, 252, 0.95);
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .categories-panel-link:hover {
    border-color: rgba(94, 184, 245, 0.3);
    background: rgba(255, 255, 255, 0.07);
    transform: none;
  }
}

@media (max-width: 820px) {
  .hero-banner {
    width: 92%;
    aspect-ratio: 16 / 9;
    max-height: min(220px, 38vh);
    margin: 14px auto;
    border-radius: 16px;
    border-color: rgba(255, 255, 255, 0.1);
  }

  .hero-side-preview {
    display: none;
  }

  .hero-nav {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    border-radius: 10px;
    opacity: 0.92;
  }

  .game-catalog {
    margin-left: 3%;
    margin-right: 3%;
    width: 94%;
  }

  .catalog-title {
    font-weight: 700;
    letter-spacing: -0.035em;
    color: rgba(248, 250, 252, 0.98);
  }

  .game-card {
    min-height: 168px;
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.1);
  }

  .game-card-label {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 8px;
    letter-spacing: -0.02em;
  }

  .home-products {
    width: 94%;
  }

  .home-products-viewport {
    border-radius: 16px;
    border-color: rgba(255, 255, 255, 0.1);
  }

  .home-product-mini {
    width: 84px;
    border-radius: 12px;
  }

  .listing-hero {
    padding: 16px 18px;
    margin-left: 2%;
    margin-right: 2%;
    width: 96%;
    border-radius: 16px;
    border-color: rgba(255, 255, 255, 0.08);
  }

  .game-listing-page {
    width: 96%;
  }

  .vp-listing-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .mobile-nav-drawer,
  .mobile-nav-backdrop,
  .categories-panel {
    transition: none !important;
  }
}

@media (max-width: 600px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand {
    font-size: 22px;
  }

  .footer-shortcut {
    min-width: 0;
    flex: 1 1 100%;
  }

  .catalog-title {
    font-size: 1.25rem;
  }
}
