:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #101012;
  --surface-2: #151518;
  --surface-3: #1b1b20;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f6f6f8;
  --muted: #a8a8b2;
  --soft: #d8d8e2;
  --primary: #635bff;
  --primary-2: #7c3dff;
  --cyan: #1bb6d9;
  --pink: #ff3f8f;
  --amber: #f2b84b;
  --green: #20d28f;
  --radius: 20px;
  --max: 1776px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 82% 6%, rgba(78, 47, 219, 0.22), transparent 34rem),
    radial-gradient(circle at 10% 26%, rgba(16, 144, 178, 0.14), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Scrollbar'ı gizle ama scroll fonksiyonunu koru */
body::-webkit-scrollbar {
  width: 0;
  display: none;
}

body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html {
  overflow-y: auto;
}

html::-webkit-scrollbar {
  width: 0;
  display: none;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.menu-open {
  overflow: hidden;
  padding-right: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.ticker {
  position: relative;
  display: flex;
  height: 44px;
  align-items: center;
  gap: 0.85rem;
  padding: 0 1.25rem;
  background:
    linear-gradient(90deg, rgba(99, 91, 255, 0.08), rgba(124, 61, 255, 0.04)),
    linear-gradient(90deg, #0c0d1a, #111018);
  border-bottom: 1px solid rgba(99, 91, 255, 0.1);
  overflow: hidden;
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, #0c0d1a, transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, #0c0d1a, transparent);
}

.ticker__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 2px 12px rgba(99, 91, 255, 0.35);
}

.ticker__badge::before {
  content: "\f0e7";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.65rem;
}

.ticker__stage {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  animation: tickerScroll 28s linear infinite;
  will-change: transform;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0e0f0;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ticker__item i {
  color: var(--primary);
  font-size: 0.8rem;
  animation: tickerIconPulse 2s ease-in-out infinite;
}

@keyframes tickerIconPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.15); }
}

.ticker__item:hover {
  color: #fff;
}

.ticker__dot {
  display: inline-flex;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
  animation: tickerDot 1.5s ease-in-out infinite;
}

@keyframes tickerDot {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.3); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 7, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  overflow: visible;
}

.header-top,
.header-main,
.category-nav,
.section,
.stats,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.header-top {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #c7c8d1;
  font-size: 0.83rem;
}

.header-top p,
.header-top nav,
.header-top a,
.select-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-top p {
  margin: 0;
}

.header-top svg,
.select-btn svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.header-top nav {
  gap: 0.95rem;
}

.select-btn {
  height: 34px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121217;
  color: var(--text);
  font-weight: 800;
}

.header-main {
  display: grid;
  /* Original layout: tools, fixed logo area, flexible search, actions */
  grid-template-columns: auto 240px minmax(280px, 1fr) auto;
  min-height: 92px;
  align-items: center;
  gap: 0.85rem;
}

/* Header search styling */
.header-search {
  width: 100%;
  padding: 8px 0 14px;
  display: flex;
  justify-content: center;
}
.header-search__wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: min(820px, calc(100% - 40px));
  padding: 10px 12px;
  border-radius: 12px;
  background: #0c0c10;
  border: 1px solid rgba(255,255,255,0.04);
}
.header-search__wrap i {
  color: var(--primary);
  width: 18px;
  text-align: center;
}
.search-input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 8px 6px;
  font-weight: 700;
}
.search-clear {
  background: transparent;
  border: 0;
  color: #9a9aa6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.search-dropdown {
  width: min(820px, calc(100% - 40px));
  margin-top: 6px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(18,18,24,0.96), rgba(12,12,18,0.96));
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  display: none;
}

@media (max-width: 880px) {
  .header-search__wrap { width: calc(100% - 32px); }
  .header-main { grid-template-columns: auto 1fr; }
  .header-actions { display: none; }
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 205px;
  height: auto;
}

/* Header-specific helpers for markup that uses `header-logo` */
.header-logo {
  display: inline-flex;
  align-items: center;
}
.header-logo img {
  width: 126px;
  height: auto;
}

/* Center navigation inside header */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.icon-btn,
.action-btn,
.nav-pill,
.tab,
.buy-btn,
.cta,
.newsletter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-color: transparent;
  border-radius: 8px;
  background: transparent;
}

.icon-btn:hover,
.action-btn:hover,
.nav-pill:hover,
.tab:hover,
.buy-btn:hover,
.cta:hover,
.newsletter button:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 116, 255, 0.5);
  box-shadow: 0 8px 20px rgba(99, 91, 255, 0.3);
}

.icon-btn svg,
.action-btn svg,
.nav-pill svg,
.cta svg,
.section-head svg,
.buy-btn svg,
.icon-btn .fa-solid,
.action-btn .fa-solid,
.nav-pill .fa-solid,
.cta .fa-solid,
.section-head .fa-solid,
.buy-btn .fa-solid {
  width: 18px;
  height: 18px;
}

.search {
  display: flex;
  height: 56px;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d0d10;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.search svg {
  width: 20px;
  height: 20px;
  color: #8e8e9a;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search input::placeholder {
  color: #7c7c87;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

/* Gizle: kullanıcı istediğinde kaldırılacak gereksiz header ikonları */
.header-actions .cart-btn,
.header-actions .more-menu-btn {
  display: none !important;
}

/* Küçük rozetleri de gizle */
.cart-badge {
  display: none !important;
}

/* Daraltılmış boşluk, login/register butonları hizala */
.header-actions .header-login,
.header-actions .header-register,
.header-actions .header-account {
  margin-left: 0.35rem;
}

.action-btn {
  position: relative;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 12px;
  background: #111116;
}

.action-btn.primary {
  min-width: 128px;
  border-color: rgba(122, 114, 255, 0.52);
  background: linear-gradient(135deg, #5057ff, #7a49ff);
  box-shadow: 0 10px 30px rgba(99, 91, 255, 0.34);
}

.action-btn.ghost {
  background: #101014;
}

.cart-count {
  position: absolute;
  top: -9px;
  right: -8px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  font-size: 0.72rem;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-count.bounce {
  animation: cartBounce 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.category-nav {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0.75rem 0 0.9rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  animation: slideInFromTop 0.8s ease-out;
  scroll-behavior: smooth;
  position: relative;
}

.category-nav::-webkit-scrollbar {
  display: none;
  height: 0;
}

.nav-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.dropdown-arrow {
  margin-left: 0.3rem;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.nav-dropdown.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 1000px;
  max-width: calc(100vw - 40px);
  max-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #1a1a22, #121218);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: 1fr;
}

.nav-dropdown.is-open .dropdown-menu {
  max-height: 620px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.more-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 210;
  min-width: 220px;
  max-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(26, 26, 34, 0.98), rgba(18, 18, 24, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  transform-origin: top right;
}

.more-menu.is-open {
  max-height: 480px;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.more-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  color: #d8d9e6;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.more-item:hover {
  background: rgba(99, 91, 255, 0.15);
  color: #fff;
  border-left-color: var(--primary);
  padding-left: calc(1.1rem + 3px);
}

.more-item i {
  width: 20px;
  text-align: center;
  color: #766dff;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.more-item:hover i {
  transform: scale(1.15);
}

.more-divider {
  height: 1px;
  margin: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
}

.more-brand {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
}

.more-brand--netflix {
  width: 20px;
  height: 24px;
}

.more-toggle {
  display: none;
}

.more-toggle i {
  font-size: 1.2rem;
}

.dropdown-close {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropdown-close:hover {
  background: rgba(99, 91, 255, 0.3);
  transform: rotate(90deg);
}

.dropdown-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  grid-column: 1;
  grid-row: 1;
}

.dropdown-side-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #a8a9b7;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 0.9rem;
}

.dropdown-side-item:hover {
  background: rgba(99, 91, 255, 0.2);
  color: #fff;
}

.dropdown-side-item.active {
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.3), rgba(99, 91, 255, 0.1));
  color: #fff;
  border-left: 3px solid var(--primary);
  padding-left: calc(0.85rem - 3px);
}

.dropdown-main {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1.5rem;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

.dropdown-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.dropdown-search-wrap:focus-within {
  border-color: rgba(99, 91, 255, 0.5);
  background: rgba(99, 91, 255, 0.05);
}

.dropdown-search-wrap i {
  color: #766dff;
}

.dropdown-search-wrap input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  padding: 0.7rem 0;
  font-weight: 700;
  font-size: 0.9rem;
}

.dropdown-search-wrap input::placeholder {
  color: #7c7c87;
}

.dropdown-group {
  display: none;
  animation: fadeIn 0.3s ease;
}

.dropdown-group.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.dropdown-group-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.dropdown-group-label i {
  color: #ffc128;
}

.dropdown-content {
  padding: 1.5rem;
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.dropdown-header .fa-star {
  color: #ffc128;
  font-size: 1.2rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.85rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.categories-grid::-webkit-scrollbar {
  width: 6px;
}

.categories-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.categories-grid::-webkit-scrollbar-thumb {
  background: rgba(99, 91, 255, 0.4);
  border-radius: 10px;
}

.categories-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 91, 255, 0.7);
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease-out backwards;
  animation-delay: calc(var(--item-index) * 0.02s);
}

.category-item:nth-child(1) { --item-index: 0; }
.category-item:nth-child(2) { --item-index: 1; }
.category-item:nth-child(3) { --item-index: 2; }
.category-item:nth-child(4) { --item-index: 3; }
.category-item:nth-child(5) { --item-index: 4; }
.category-item:nth-child(6) { --item-index: 5; }
.category-item:nth-child(7) { --item-index: 6; }
.category-item:nth-child(8) { --item-index: 7; }
.category-item:nth-child(9) { --item-index: 8; }
.category-item:nth-child(10) { --item-index: 9; }
.category-item:nth-child(11) { --item-index: 10; }
.category-item:nth-child(12) { --item-index: 11; }
.category-item:nth-child(13) { --item-index: 12; }
.category-item:nth-child(14) { --item-index: 13; }
.category-item:nth-child(15) { --item-index: 14; }
.category-item:nth-child(16) { --item-index: 15; }
.category-item:nth-child(17) { --item-index: 16; }
.category-item:nth-child(18) { --item-index: 17; }
.category-item:nth-child(19) { --item-index: 18; }
.category-item:nth-child(20) { --item-index: 19; }
.category-item:nth-child(21) { --item-index: 20; }
.category-item:nth-child(22) { --item-index: 21; }
.category-item:nth-child(23) { --item-index: 22; }
.category-item:nth-child(24) { --item-index: 23; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-item:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 91, 255, 0.4);
  background: linear-gradient(180deg, rgba(99, 91, 255, 0.18), rgba(99, 91, 255, 0.08));
  box-shadow: 0 12px 28px rgba(99, 91, 255, 0.2);
}

.category-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.category-item:hover img {
  transform: scale(1.1);
}

.category-item span {
  color: #d8d9e6;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.category-item:hover span {
  color: #fff;
}

.cat-icon-fallback {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.3), rgba(99, 91, 255, 0.1));
  color: #766dff;
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

.category-item:hover .cat-icon-fallback {
  transform: scale(1.1);
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.6), rgba(99, 91, 255, 0.3));
}

/* Admin dashboard specific styles */
body.admin-dashboard {
  background:
    radial-gradient(circle at 18% 10%, rgba(99, 91, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 90% 10%, rgba(27, 182, 217, 0.14), transparent 26rem),
    radial-gradient(circle at 80% 80%, rgba(255, 63, 143, 0.12), transparent 24rem),
    var(--bg);
}

.admin-shell {
  min-height: 100vh;
  padding: 32px 20px 48px;
  max-width: 1440px;
  margin: 0 auto;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: 34px;
  background: rgba(10, 12, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo img {
  width: 142px;
  height: auto;
}

.admin-brand .eyebrow,
.section-heading .eyebrow,
.admin-quicklinks p,
.admin-card h3,
.panel-head h3,
.panel-head .eyebrow {
  display: block;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-brand h1,
.section-heading h2,
.panel-head h3 {
  margin: 0;
  font-size: clamp(2rem, 2.4vw, 3rem);
  line-height: 1.05;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: rgba(99, 91, 255, 0.18);
  border-color: rgba(99, 91, 255, 0.35);
}

.button.primary {
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.24), rgba(124, 61, 255, 0.2));
  border-color: rgba(99, 91, 255, 0.3);
  box-shadow: 0 18px 40px rgba(99, 91, 255, 0.16);
}

.button.secondary {
  color: var(--soft);
}

.admin-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-height: calc(100vh - 220px);
  padding: 1.5rem;
  border-radius: 32px;
  background: rgba(10, 12, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.2);
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #635bff, #7c3dff);
}

.profile-meta span {
  display: block;
  font-size: 0.85rem;
  color: var(--soft);
}

.profile-meta strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.05rem;
}

.admin-menu {
  display: grid;
  gap: 0.7rem;
}

.admin-menu__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-weight: 700;
  transition: all 220ms ease;
}

.admin-menu__item:hover,
.admin-menu__item.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.22), rgba(124, 61, 255, 0.16));
  border-color: rgba(99, 91, 255, 0.18);
  box-shadow: 0 14px 32px rgba(99, 91, 255, 0.14);
}

.admin-menu__item i {
  width: 24px;
  min-width: 24px;
  text-align: center;
  color: #bdbdff;
}

.admin-quicklinks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-quicklinks p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--soft);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(99, 91, 255, 0.14);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(99, 91, 255, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.chip:hover {
  transform: translateY(-1px);
  background: rgba(99, 91, 255, 0.24);
}

.admin-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  padding: 1.45rem 1.4rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.metric-card span {
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.metric-card strong {
  display: block;
  margin: 1rem 0 0.55rem;
  font-size: 2rem;
}

.metric-card small {
  color: var(--green);
  font-weight: 700;
}

.admin-panels {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 1rem;
}

.panel {
  padding: 1.6rem;
  border-radius: 30px;
  background: rgba(10, 12, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.2);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.panel-head h3 {
  margin: 0;
  font-size: 1.35rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 700;
}

.graph-placeholder {
  min-height: 260px;
  border-radius: 26px;
  background: radial-gradient(circle at top left, rgba(99, 91, 255, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  text-align: center;
}

.progress-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.progress-item strong {
  display: block;
  margin-bottom: 0.45rem;
}

.progress-item span {
  color: var(--soft);
  font-size: 0.9rem;
}

.progress {
  margin-top: 0.9rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #7c3dff);
}

.panel-tasks .task-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.task-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.task-list strong {
  margin: 0 0 0.3rem;
  display: block;
  font-size: 1rem;
}

.task-list p {
  margin: 0;
  color: var(--soft);
  font-size: 0.92rem;
}

.task-chip {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(99, 91, 255, 0.15);
  color: #d8d8e2;
  font-size: 0.82rem;
  font-weight: 700;
}

.task-chip--accent {
  background: rgba(32, 210, 143, 0.18);
  color: #b7ffd9;
}

.admin-tables {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: #d8d8e2;
}

th,
td {
  text-align: left;
  padding: 1rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

thead th {
  color: var(--soft);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

tbody tr:hover {
  background: rgba(99, 91, 255, 0.08);
}

table td a.text-link {
  font-size: 0.95rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-badge--success {
  background: rgba(32, 210, 143, 0.18);
  color: #9df7d0;
}

.status-badge--warning {
  background: rgba(255, 184, 75, 0.18);
  color: #ffe7b5;
}

.status-badge--danger {
  background: rgba(255, 63, 143, 0.18);
  color: #ffb3d2;
}

.panel-summary .report-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.report-grid div {
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.report-grid strong {
  display: block;
  font-size: 1.85rem;
  margin-bottom: 0.55rem;
}

.report-grid span {
  color: var(--soft);
}

@media (max-width: 1100px) {
  .admin-layout,
  .admin-tables,
  .admin-panels {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-shell {
    padding: 20px 14px 30px;
  }

  .admin-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-actions {
    justify-content: stretch;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nav-pill {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 1.05rem;
  border-radius: 9px;
  background: linear-gradient(180deg, #18181e, #111115);
  color: #d9d9e2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: slideInCategory 0.6s ease-out backwards;
  animation-delay: calc(var(--i) * 0.08s);
  position: relative;
  overflow: hidden;
}

.nav-pill::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.nav-pill:active::before {
  width: 300px;
  height: 300px;
}

.nav-pill:nth-child(1) { --i: 0; }
.nav-pill:nth-child(2) { --i: 1; }
.nav-pill:nth-child(3) { --i: 2; }
.nav-pill:nth-child(4) { --i: 3; }
.nav-pill:nth-child(5) { --i: 4; }
.nav-pill:nth-child(6) { --i: 5; }
.nav-pill:nth-child(7) { --i: 6; }
.nav-pill:nth-child(8) { --i: 7; }
.nav-pill:nth-child(9) { --i: 8; }
.nav-pill:nth-child(10) { --i: 9; }

@keyframes slideInCategory {
  from {
    opacity: 0;
    transform: translateX(-30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-pill .fa-solid {
  display: inline-grid;
  place-items: center;
  color: #766dff;
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}

.nav-pill:hover .fa-solid {
  transform: scale(1.15) rotate(5deg);
}

.nav-pill:active .fa-solid {
  transform: scale(0.95);
}

.nav-brand {
  width: 23px;
  height: 23px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(99, 91, 255, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-pill:hover .nav-brand {
  transform: scale(1.1) translateY(-2px);
  filter: drop-shadow(0 0 15px rgba(99, 91, 255, 0.7));
}

.nav-brand--netflix {
  width: 20px;
  height: 24px;
}

.nav-pill.active {
  border-color: rgba(118, 103, 255, 0.6);
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.34), rgba(99, 91, 255, 0.12));
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 rgba(99, 91, 255, 0.4);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 20px rgba(99, 91, 255, 0.6);
  }
}

.nav-pill.reward {
  color: #ffdb8a;
  border-color: rgba(242, 184, 75, 0.35);
  animation: slideInCategory 0.6s ease-out backwards, shimmer 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.08s), 2s;
}

@keyframes shimmer {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 rgba(242, 184, 75, 0);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 25px rgba(242, 184, 75, 0.5);
  }
}

.nav-pill.reward .fa-solid {
  color: #f2b84b;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.1);
  }
}

.nav-pill.cases {
  color: #ff5c9f;
  border-color: rgba(255, 63, 143, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 24px rgba(255, 63, 143, 0.13);
  animation: slideInCategory 0.6s ease-out backwards, glow 2.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.08s), 1s;
}

@keyframes glow {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 24px rgba(255, 63, 143, 0.13);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 35px rgba(255, 63, 143, 0.5);
  }
}

.nav-pill.cases .fa-solid {
  color: #b5d76d;
  transform: rotate(-12deg);
  animation: wiggle 1.5s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(-12deg);
  }
  25% {
    transform: rotate(-8deg) scale(1.05);
  }
  75% {
    transform: rotate(-16deg) scale(1.05);
  }
}

/* ── Hoverboard (renkli + animasyonlu) ─────────────────────────────────────── */
.nav-pill.nav-pill--hoverboard {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.20), rgba(99, 91, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 30px rgba(34, 197, 94, 0.10);
}

.fa-icon--hoverboard {
  background: linear-gradient(135deg, #22c55e, #06b6d4, #635bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.25));
}

.nav-pill.nav-pill--hoverboard .fa-solid {
  animation: hoverboardFloat 1.8s ease-in-out infinite;
}

@keyframes hoverboardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50%      { transform: translateY(-3px) rotate(6deg) scale(1.12); }
}

.category-item.category-item--hoverboard .category-icon--hoverboard {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.20), rgba(6, 182, 212, 0.12), rgba(99, 91, 255, 0.10));
  border: 1px solid rgba(34, 197, 94, 0.18);
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.08);
}

.category-item.category-item--hoverboard i {
  background: linear-gradient(135deg, #22c55e, #06b6d4, #635bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.05rem;
}

.brand-n {
  color: #f52635;
  font-size: 1.25rem;
  font-weight: 900;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.mobile-menu.is-open {
  pointer-events: auto;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu__panel {
  width: min(350px, 88vw);
  height: 100%;
  padding: 1rem;
  background: #09090d;
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform 220ms ease;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mobile-menu__head img {
  width: 172px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border-radius: 8px;
  color: #dedee7;
  font-weight: 800;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu__auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.mobile-menu__auth a {
  justify-content: center;
  border: 1px solid var(--line);
  background: #111117;
}

.mobile-menu__auth a:last-child {
  background: var(--primary);
}

.hero {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  min-height: 480px;
  margin: 1rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: #0a0a12;
  aspect-ratio: 2012 / 781; /* Sabit oran */
}

.hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__spacer {
  width: 100%;
  padding-bottom: calc(781 / 2012 * 100%); /* 2012x781 oranı */
  min-height: auto;
}
.hero__shade {
  display: none;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0 8px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99,91,255,0.12), rgba(122,73,255,0.08));
  border: 1px solid rgba(99,91,255,0.2);
  color: #e0e0ff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
}
.hero-btn:hover {
  background: linear-gradient(135deg, rgba(99,91,255,0.25), rgba(122,73,255,0.18));
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,91,255,0.25);
}
.hero-btn img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}
.hero__slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero__slide.active {
  opacity: 1;
}
.hero__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.hero__dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.2);
}

/* Slider mobil uyumluluk */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    width: calc(100% - 20px);
    border-radius: 16px;
    aspect-ratio: 16 / 9; /* Mobilde 16:9 oranı */
  }
  
  .hero__media {
    height: 100%;
    object-fit: cover; /* Görseli kapla ama oranı koru */
    object-position: center;
  }
  
  .hero__spacer {
    min-height: auto;
    padding-bottom: 56.25%; /* 16:9 oranı */
  }
  
  .hero-buttons {
    width: calc(100% - 20px);
    padding: 12px 0 8px;
    gap: 8px;
    justify-content: center;
  }
  
  .hero-btn {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  
  .hero-btn img {
    width: 18px;
    height: 18px;
  }
  
  .hero__dots {
    bottom: 12px;
  }
  
  .hero__dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    aspect-ratio: 16 / 9; /* Küçük ekranlarda da aynı oran */
  }
  
  .hero__media {
    object-fit: cover;
  }
  
  .hero__spacer {
    padding-bottom: 56.25%;
  }
  
  .hero-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0 8px;
    gap: 6px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .hero-buttons::-webkit-scrollbar {
    display: none;
  }
  
  .hero-btn {
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: 0.7rem;
  }
  
  .hero-btn img {
    width: 16px;
    height: 16px;
  }
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(600px, calc(100% - 48px));
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}

.hero__content .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(99, 91, 255, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.25), rgba(99, 91, 255, 0.08));
  color: #c4beff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 0 20px rgba(99, 91, 255, 0.15);
  animation: fadeInDown 0.6s ease-out both;
}

.hero__content .badge::before {
  content: "\f0e7";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: #ffc128;
}

.hero__content h1 {
  margin: 1.1rem 0 0.65rem;
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: heroTitle 0.7s ease-out 0.15s both;
}

@keyframes heroTitle {
  from { opacity: 0; transform: translateY(25px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero__content h1 span {
  background: linear-gradient(135deg, #635bff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__content p {
  margin: 0 0 1.65rem;
  color: #c8c8d8;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 440px;
  animation: fadeInUp 0.7s ease-out 0.3s both;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(99, 91, 255, 0.12);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(99, 91, 255, 0.14);
}

.btn.btn-primary {
  background: linear-gradient(135deg, #5057ff, #7d50ff);
  color: #fff;
  box-shadow: 0 6px 18px rgba(99, 91, 255, 0.24);
}

.btn.btn-primary:hover {
  box-shadow: 0 15px 40px rgba(99, 91, 255, 0.5);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 2rem;
  border: 1px solid rgba(110, 97, 255, 0.7);
  border-radius: 14px;
  background: linear-gradient(135deg, #635bff, #7b52ff);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 18px 40px rgba(99, 91, 255, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: fadeInUp 0.7s ease-out 0.45s both;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(99, 91, 255, 0.5);
}

.cta i {
  transition: transform 0.2s ease;
}

.cta:hover i {
  transform: translateX(4px);
}

.hero__features {
  position: absolute;
  right: max(20px, calc((100vw - var(--max)) / 2 + 20px));
  top: 50%;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0.8rem;
  list-style: none;
  transform: translateY(-44%);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  z-index: 2;
}

.hero__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0;
  animation: slideInRight 0.5s ease-out forwards;
  transition: background 0.2s ease;
}

.hero__features li:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hero__features li:nth-child(1) { animation-delay: 0.6s; }
.hero__features li:nth-child(2) { animation-delay: 0.75s; }
.hero__features li:nth-child(3) { animation-delay: 0.9s; }
.hero__features li:nth-child(4) { animation-delay: 1.05s; }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero__features .fa-solid {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(99, 91, 255, 0.18);
  color: #925fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero__features li:nth-child(2) .fa-solid {
  background: rgba(32, 210, 143, 0.18);
  color: #20d28f;
}

.hero__features li:nth-child(3) .fa-solid {
  background: rgba(242, 184, 75, 0.18);
  color: #f2b84b;
}

.hero__features li:nth-child(4) .fa-solid {
  background: rgba(255, 63, 143, 0.18);
  color: #ff3f8f;
}

.hero__features small {
  display: block;
  margin-top: 0.1rem;
  color: #9a9aaa;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.stats article {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(8px);
  color: var(--soft);
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stats article:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 91, 255, 0.25);
  box-shadow: 0 12px 30px rgba(99, 91, 255, 0.12);
}

.stats article:nth-child(1) { animation-delay: 0.05s; }
.stats article:nth-child(2) { animation-delay: 0.1s; }
.stats article:nth-child(3) { animation-delay: 0.15s; }
.stats article:nth-child(4) { animation-delay: 0.2s; }
.stats article:nth-child(5) { animation-delay: 0.25s; }
.stats article:nth-child(6) { animation-delay: 0.3s; }

.stats .fa-solid {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(99, 91, 255, 0.15);
  color: var(--primary);
  font-size: 1.3rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stats article:hover .fa-solid {
  transform: scale(1.1) rotate(-5deg);
}

.stats article:nth-child(2) .fa-solid {
  background: rgba(32, 210, 143, 0.14);
  color: var(--green);
}

.stats article:nth-child(3) .fa-solid {
  background: rgba(242, 184, 75, 0.14);
  color: var(--amber);
}

.stats article:nth-child(4) .fa-solid {
  background: rgba(255, 63, 143, 0.14);
  color: var(--pink);
}

.stats article:nth-child(5) .fa-solid {
  background: rgba(0, 180, 255, 0.14);
  color: #00b4ff;
}

.stats article:nth-child(6) .fa-solid {
  background: rgba(168, 85, 247, 0.14);
  color: #a855f7;
}

.stats b {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.stats span {
  color: var(--muted);
  font-size: 0.78rem;
}

.section {
  padding-top: 3rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.deal-week {
  padding: 3rem 0;
}

.deal-week__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1.5rem;
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(19, 17, 38, 0.98), rgba(8, 8, 13, 0.92));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.33);
  overflow: hidden;
}

.deal-week__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(99, 91, 255, 0.16), transparent 22%),
              radial-gradient(circle at 20% 110%, rgba(32, 210, 143, 0.12), transparent 18%);
  pointer-events: none;
}

.deal-week__info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.deal-week .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(99, 91, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.18), rgba(99, 91, 255, 0.08));
  color: #dcd8ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(99, 91, 255, 0.14);
}

.deal-week__info h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.02;
  color: #fff;
}

.deal-week__info p {
  margin: 0;
  max-width: 42rem;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.8;
}

.deal-week__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.deal-week__price {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-weight: 800;
}

.deal-week__price strong {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.deal-week__price span {
  color: var(--muted);
  text-decoration: line-through;
}

.deal-week__tag {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.deal-week__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.deal-week__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(26, 25, 44, 0.9));
}

.deal-week__visual img {
  width: calc(100% + 20px);
  max-width: 560px;
  object-fit: cover;
  transform: translateX(12px);
}

.deal-week__sticker {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 1;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(99, 91, 255, 0.94);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 40px rgba(99, 91, 255, 0.24);
}

.deal-week__card:hover .deal-week__sticker {
  transform: translateY(-2px);
}

.deal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2.5rem;
  min-height: 560px;
}

.deal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(99, 91, 255, 0.18), transparent 24%),
              radial-gradient(circle at 82% 28%, rgba(27, 182, 217, 0.14), transparent 26%);
  pointer-events: none;
}

.deal-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.deal-hero__content .badge {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.95), rgba(99, 91, 255, 0.85));
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 20px 50px rgba(99, 91, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.deal-hero__content h1 {
  margin: 0;
  font-size: clamp(2.7rem, 4vw, 4rem);
  line-height: 1.02;
  max-width: 11ch;
  background: linear-gradient(135deg, #fff 0%, #d8d8e2 50%, #a8a8b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.deal-hero__content p {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

.deal-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.deal-timer {
  padding: 1.35rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.08) 0%, rgba(27, 182, 217, 0.04) 100%);
  border: 1.5px solid rgba(99, 91, 255, 0.18);
  text-align: center;
  box-shadow: 0 8px 32px rgba(99, 91, 255, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.deal-timer::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.2), rgba(27, 182, 217, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.deal-timer:hover {
  border-color: rgba(99, 91, 255, 0.28);
  box-shadow: 0 12px 48px rgba(99, 91, 255, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.12) 0%, rgba(27, 182, 217, 0.06) 100%);
  transform: translateY(-2px);
}

.deal-timer strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.deal-timer span {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
}

.deal-hero__label {
  margin-top: 1.5rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.deal-hero__visual {
  position: relative;
  min-height: 420px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(15, 15, 24, 0.96), rgba(6, 6, 10, 0.95));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.deal-hero__bubble {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(99, 91, 255, 0.16);
  box-shadow: 0 20px 50px rgba(99, 91, 255, 0.2);
  font-size: 1.25rem;
}

.deal-hero__bubble--left {
  top: 1.5rem;
  left: -0.5rem;
}

.deal-hero__bubble--right {
  bottom: 1.5rem;
  right: 1.25rem;
  background: linear-gradient(135deg, rgba(27, 182, 217, 0.22), rgba(99, 91, 255, 0.18));
}

.deal-page {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
  padding-bottom: 3rem;
}

.deal-sidebar {
  display: grid;
  gap: 1.5rem;
}

.sidebar-card {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 18, 0.96);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
}

.sidebar-card h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.category-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1rem;
}

.category-search i {
  color: var(--primary);
}

.category-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-weight: 700;
}

.category-search input::placeholder {
  color: #7c7c87;
}

.deal-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.deal-categories li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #d8d9e6;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.deal-categories li a:hover {
  transform: translateX(2px);
  border-color: rgba(99, 91, 255, 0.3);
  background: rgba(99, 91, 255, 0.12);
}

.deal-categories li a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.deal-categories li a i {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  color: var(--primary);
}

.deal-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 91, 255, 0.16);
  background: rgba(99, 91, 255, 0.08);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.deal-listing {
  padding-top: 0.25rem;
}

.deal-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.deal-count {
  color: #fff;
  font-weight: 800;
}

.deal-toolbar p {
  margin: 0.45rem 0 0;
  color: var(--soft);
}

.deal-sort {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.deal-sort label {
  color: var(--soft);
  font-weight: 700;
}

.deal-sort select {
  min-width: 180px;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111118;
  color: #fff;
}

@media (max-width: 1024px) {
  .deal-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .deal-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .deal-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deal-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .deal-sort {
    width: 100%;
    justify-content: space-between;
  }

  .deal-hero__content h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
}

@media (max-width: 560px) {
  .deal-countdown {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .deal-hero__visual {
    min-height: 300px;
  }
}

@media (max-width: 400px) {
  .deal-countdown {
    gap: 0.75rem;
  }
}

@media (max-width: 620px) {
  .deal-week {
    padding: 2rem 0;
  }

  .deal-week__card {
    padding: 1.5rem;
  }

  .deal-week__info h2 {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }

  .deal-week__price {
    flex-direction: column;
    align-items: flex-start;
  }

  .deal-week__visual img {
    width: 110%;
    transform: translateX(0);
  }
}

@media (max-width: 620px) {
  .deal-week {
    padding: 2rem 0;
  }

  .deal-week__card {
    padding: 1.5rem;
  }

  .deal-week__info h2 {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }

  .deal-week__price {
    flex-direction: column;
    align-items: flex-start;
  }

  .deal-week__visual img {
    width: 110%;
    transform: translateX(0);
  }
}

.section.is-revealed {
  animation: sectionReveal 0.6s ease-out both;
}

@keyframes sectionReveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-card {
  opacity: 0;
  animation: cardFadeIn 0.5s ease-out forwards;
}

[data-page="category"] .product-card {
  animation: cardFadeIn 0.5s ease-out forwards;
}

.product-card:nth-child(1) { animation-delay: 0.02s; }
.product-card:nth-child(2) { animation-delay: 0.06s; }
.product-card:nth-child(3) { animation-delay: 0.1s; }
.product-card:nth-child(4) { animation-delay: 0.14s; }
.product-card:nth-child(5) { animation-delay: 0.18s; }
.product-card:nth-child(6) { animation-delay: 0.22s; }
.product-card:nth-child(7) { animation-delay: 0.26s; }
.product-card:nth-child(8) { animation-delay: 0.30s; }

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Category sayfasında ürünler hemen görünür olsun */
[data-page="category"] .product-card {
  opacity: 1;
  animation: cardFadeIn 0.4s ease-out forwards;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
}

.section-head a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #c8c8d4;
  font-size: 0.92rem;
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.category-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.49;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: #0c0c14;
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.category-tile:nth-child(1) { animation-delay: 0.05s; }
.category-tile:nth-child(2) { animation-delay: 0.12s; }
.category-tile:nth-child(3) { animation-delay: 0.19s; }
.category-tile:nth-child(4) { animation-delay: 0.26s; }

.category-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.category-tile:hover::after {
  opacity: 1;
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.category-tile:hover img {
  transform: scale(1.06);
}

.category-tile__label {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}

.category-tile__count {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: #b0b0c0;
  font-size: 0.72rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.category-tile:hover .category-tile__label {
  transform: translateY(-2px);
}

.category-tile:hover .category-tile__count {
  transform: translateY(-2px);
}

.category-tile--overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0 1.1rem;
  border-radius: 10px;
  background: #121217;
  font-size: 0.88rem;
}

.tab i,
.tab .tab-icon {
  font-size: 0.95rem;
  color: #7a7a88;
  transition: color 0.2s ease;
}

.tab-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.tab:hover i,
.tab:hover .tab-icon {
  color: #fff;
}

.tab.active {
  border-color: rgba(99, 91, 255, 0.6);
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.22), rgba(99, 91, 255, 0.08));
  color: #fff;
}

.tab.active i,
.tab.active .tab-icon {
  color: #a78bfa;
}

.product-section {
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  position: relative;
  display: flex;
  min-height: 368px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 38%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 91, 255, 0.28);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.34);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
  background: #09090b;
}

.product-card .flag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  min-height: 25px;
  border-color: rgba(99, 91, 255, 0.5);
  background: rgba(22, 19, 43, 0.78);
  color: #dcd9ff;
  font-size: 0.67rem;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.product-card h3 {
  min-height: 44px;
  margin: 0 0 0.4rem;
  color: #f7f7fb;
  font-size: 1rem;
  line-height: 1.35;
}

.product-card p {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0.75rem;
  color: #9b9ba6;
  font-size: 0.84rem;
}

.product-card p svg,
.product-card p .fa-solid {
  width: 15px;
  height: 15px;
  color: var(--amber);
  fill: currentColor;
  font-size: 0.82rem;
}

.product-card b {
  margin-top: auto;
  color: #fff;
  font-size: 1.2rem;
}

.buy-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 0.85rem;
  border-radius: 9px;
  border-color: rgba(99, 91, 255, 0.45);
  background: linear-gradient(135deg, #5a52ef, #7d50ff);
  box-shadow: 0 12px 28px rgba(99, 91, 255, 0.22);
}

.product-card.is-hidden {
  display: none;
}

/* ── Category Page ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(var(--max), calc(100% - 40px));
  margin: 1rem auto 0;
  padding: 0.6rem 0;
  color: #777783;
  font-size: 0.84rem;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #9999a8;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .fa-chevron-right {
  font-size: 0.65rem;
  color: #555568;
}

.breadcrumb span {
  color: #c4beff;
  font-weight: 700;
}

.category-hero {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0.5rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}

.category-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.category-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  background: rgba(5, 5, 10, 0.6);
  backdrop-filter: blur(12px);
}

.category-hero__icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  padding: 0.5rem;
}

.category-hero__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-hero__label {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(99, 91, 255, 0.18);
  color: #a78bfa;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.category-hero__content h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
}

.category-hero__content p {
  margin: 0 0 0.6rem;
  color: #b0b0c0;
  line-height: 1.6;
  max-width: 600px;
  font-size: 0.92rem;
}

.category-hero__count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #c0c0d0;
  font-size: 0.82rem;
  font-weight: 700;
}

.category-controls {
  width: min(var(--max), calc(100% - 40px));
  margin: 1.25rem auto 0;
}

.category-controls__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.6rem;
  height: 46px;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease;
}

.category-search:focus-within {
  border-color: rgba(99, 91, 255, 0.4);
}

.category-search i {
  color: #6a6a78;
  font-size: 0.9rem;
}

.category-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
}

.category-search input::placeholder {
  color: #666674;
}

.category-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-sort label {
  color: #6a6a78;
  font-size: 1rem;
}

.category-sort select {
  height: 46px;
  padding: 0 2.2rem 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background:
    rgba(0, 0, 0, 0.2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E")
    no-repeat right 0.8rem center;
  color: #c0c0d0;
  font-size: 0.88rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.category-sort select:focus {
  outline: none;
  border-color: rgba(99, 91, 255, 0.4);
}

.category-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #9999a8;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  background: rgba(99, 91, 255, 0.1);
  border-color: rgba(99, 91, 255, 0.2);
  color: #fff;
}

.chip.active {
  background: rgba(99, 91, 255, 0.18);
  border-color: rgba(99, 91, 255, 0.35);
  color: #c4beff;
}

.category-products {
  width: min(var(--max), calc(100% - 40px));
  margin: 1.5rem auto 0;
}

.category-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 240px;
  color: #777783;
  font-size: 0.9rem;
}

.category-loading .fa-spin {
  font-size: 2rem;
  color: var(--primary);
}

.category-empty {
  display: grid;
  min-height: 280px;
  place-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 1.5rem auto 0;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: radial-gradient(circle at 50% 0%, rgba(99, 91, 255, 0.08), transparent 24rem), rgba(18, 18, 22, 0.8);
  text-align: center;
}

.category-empty.is-hidden {
  display: none;
}

.category-empty .fa-solid {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  background: rgba(99, 91, 255, 0.12);
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.category-empty h2 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.category-empty p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.category-empty a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 1.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.2), rgba(99, 91, 255, 0.08));
  border: 1px solid rgba(99, 91, 255, 0.3);
  color: #c4beff;
  font-weight: 800;
  transition: all 0.2s ease;
}

.category-empty a:hover {
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.35), rgba(99, 91, 255, 0.15));
  border-color: rgba(99, 91, 255, 0.5);
  color: #fff;
}

.category-error {
  display: grid;
  place-items: center;
  min-height: 400px;
  width: min(var(--max), calc(100% - 40px));
  margin: 1rem auto;
  padding: 2rem;
  text-align: center;
  gap: 0.5rem;
}

.category-error i {
  font-size: 3rem;
  color: #f59e0b;
  margin-bottom: 0.5rem;
}

/* ── Listing / İlan Ekle Page ───────────────────────────────────── */
.listing-hero {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 1rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  text-align: center;
}

.listing-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(99, 91, 255, 0.12), transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(168, 85, 247, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(5, 5, 12, 0.4), rgba(5, 5, 12, 0.8));
  pointer-events: none;
}

.listing-hero__content {
  position: relative;
  z-index: 2;
}

.listing-hero__content .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(99, 91, 255, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.2), rgba(99, 91, 255, 0.05));
  color: #c4beff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.listing-hero__content h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #fff;
}

.listing-hero__content p {
  margin: 0 auto 1.2rem;
  max-width: 520px;
  color: #b0b0c0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.listing-hero__stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.listing-hero__stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #888898;
  font-size: 0.84rem;
  font-weight: 700;
}

.listing-hero__stats i {
  color: var(--primary);
  font-size: 0.85rem;
}

.listing-layout {
  width: min(820px, calc(100% - 40px));
  margin: 1.5rem auto 2.5rem;
}

.listing-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
}

.listing-step {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: default;
}

.listing-step.active {
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.18), rgba(99, 91, 255, 0.06));
}

.listing-step__num {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #666674;
  font-size: 0.82rem;
  font-weight: 900;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.listing-step.active .listing-step__num {
  background: linear-gradient(135deg, #635bff, #7b52ff);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
}

.listing-step__label {
  color: #666674;
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.listing-step.active .listing-step__label {
  color: #fff;
}

.success-message {
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(32, 210, 143, 0.3);
  border-radius: 14px;
  background: rgba(32, 210, 143, 0.1);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.4s ease-out;
}

.success-message .fa-circle-check {
  font-size: 2rem;
  color: #20d28f;
  flex-shrink: 0;
}

.success-message strong {
  display: block;
  color: #20d28f;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.success-message p {
  margin: 0;
  color: #b0b0c0;
  font-size: 0.88rem;
}

.listing-form {
  display: block;
}

.listing-panel {
  display: none;
  animation: fadeIn 0.35s ease-out;
}

.listing-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.listing-panel__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.listing-panel__head > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.18), rgba(99, 91, 255, 0.05));
  color: #a78bfa;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.listing-panel__head h2 {
  margin: 0 0 0.2rem;
  font-size: 1.3rem;
}

.listing-panel__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.listing-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.listing-field--wide {
  grid-column: 1 / -1;
}

.listing-field label {
  color: #e0e0ec;
  font-size: 0.88rem;
  font-weight: 700;
}

.required {
  color: #ff5c8f;
}

.listing-input {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 50px;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.listing-input:focus-within {
  border-color: rgba(99, 91, 255, 0.5);
  background: rgba(99, 91, 255, 0.04);
}

.listing-input i {
  color: #6a6a78;
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.listing-input input,
.listing-input select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
}

.listing-input select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: #c0c0d0;
}

.listing-input input::placeholder {
  color: #666674;
}

.listing-counter {
  position: absolute;
  right: 0;
  bottom: -1.2rem;
  color: #555568;
  font-size: 0.75rem;
  font-weight: 600;
}

.listing-hint {
  color: #555568;
  font-size: 0.78rem;
}

.listing-textarea {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.listing-textarea:focus-within {
  border-color: rgba(99, 91, 255, 0.5);
  background: rgba(99, 91, 255, 0.04);
}

.listing-textarea textarea {
  width: 100%;
  min-height: 140px;
  padding: 0.9rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  resize: vertical;
  line-height: 1.6;
}

.listing-textarea textarea::placeholder {
  color: #666674;
}

.listing-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 160px;
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}

.listing-dropzone:hover,
.listing-dropzone.dragover {
  border-color: rgba(99, 91, 255, 0.35);
  background: rgba(99, 91, 255, 0.04);
}

.listing-dropzone__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem;
  text-align: center;
  color: #666674;
}

.listing-dropzone__empty i {
  font-size: 2.5rem;
  color: #555568;
  margin-bottom: 0.3rem;
}

.listing-dropzone__empty p {
  margin: 0;
  font-size: 0.9rem;
}

.listing-dropzone__empty p strong {
  color: #c0c0d0;
}

.listing-dropzone__empty span {
  font-size: 0.78rem;
}

.listing-dropzone__preview {
  display: none;
  position: relative;
  width: 100%;
  max-height: 220px;
  overflow: hidden;
}

.listing-dropzone__preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.listing-dropzone__remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.listing-dropzone__remove:hover {
  background: rgba(255, 63, 95, 0.8);
}

.listing-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  min-height: 50px;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease;
}

.listing-tags:focus-within {
  border-color: rgba(99, 91, 255, 0.5);
}

.listing-tags input {
  flex: 1;
  min-width: 120px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.3rem 0;
}

.listing-tags input::placeholder {
  color: #666674;
}

.listing-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.45rem 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(99, 91, 255, 0.16);
  color: #c4beff;
  font-size: 0.8rem;
  font-weight: 700;
  animation: fadeIn 0.2s ease;
}

.listing-tag button {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8888a0;
  cursor: pointer;
  font-size: 0.7rem;
  transition: all 0.15s ease;
  padding: 0;
}

.listing-tag button:hover {
  background: rgba(255, 63, 95, 0.3);
  color: #ff5c8f;
}

.listing-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.listing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #c0c0d0;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.listing-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 91, 255, 0.3);
  box-shadow: 0 8px 20px rgba(99, 91, 255, 0.1);
}

.listing-btn.primary {
  border-color: rgba(99, 91, 255, 0.5);
  background: linear-gradient(135deg, #5057ff, #7d50ff);
  color: #fff;
  box-shadow: 0 12px 28px rgba(99, 91, 255, 0.2);
}

.listing-btn.primary:hover {
  box-shadow: 0 16px 35px rgba(99, 91, 255, 0.35);
}

.listing-btn.primary:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.listing-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.listing-doping {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.listing-doping__item {
  cursor: pointer;
}

.listing-doping__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.listing-doping__check {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.listing-doping__item input:checked + .listing-doping__check {
  border-color: rgba(99, 91, 255, 0.35);
  background: rgba(99, 91, 255, 0.06);
  box-shadow: 0 0 20px rgba(99, 91, 255, 0.06);
}

.listing-doping__check i:first-child {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(99, 91, 255, 0.14);
  color: #a78bfa;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.listing-doping__item:nth-child(2) .listing-doping__check i:first-child {
  background: rgba(242, 184, 75, 0.14);
  color: #f2b84b;
}

.listing-doping__item:nth-child(3) .listing-doping__check i:first-child {
  background: rgba(168, 85, 247, 0.14);
  color: #a855f7;
}

.listing-doping__item input:checked + .listing-doping__check i:first-child {
  transform: scale(1.1);
}

.listing-doping__check div {
  flex: 1;
}

.listing-doping__check strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.listing-doping__check span {
  color: #888898;
  font-size: 0.82rem;
}

.listing-doping__check b {
  color: #a78bfa;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.listing-terms {
  margin-bottom: 1.5rem;
}

.listing-terms label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #888898;
  font-size: 0.86rem;
  line-height: 1.5;
  cursor: pointer;
}

.listing-terms input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.listing-terms a {
  color: #a78bfa;
  text-decoration: underline;
}

.listing-terms a:hover {
  color: #fff;
}

.listing-preview {
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5rem;
}

.listing-preview h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #888898;
}

.listing-preview h3 i {
  color: var(--primary);
}

.listing-preview__card {
  display: flex;
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
  max-width: 380px;
}

.listing-preview__img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #09090b;
}

.listing-preview__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-preview__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: center;
}

.listing-preview__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(99, 91, 255, 0.18);
  color: #a78bfa;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  width: fit-content;
}

.listing-preview__body h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
}

.listing-preview__body p {
  margin: 0;
  color: #9b9ba6;
  font-size: 0.78rem;
}

.listing-preview__body p i {
  color: #f2b84b;
  font-size: 0.72rem;
}

.listing-preview__body b {
  color: #fff;
  font-size: 1.1rem;
}

/* ── DOPING SISTEMI ───────────────────────────────────────────── */
.doping-showcase,
.doping-featured,
.doping-urgent {
  padding-top: 3rem;
}



.doping-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.doping-grid .product-card {
  position: relative;
  overflow: hidden;
}

.doping-grid .product-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 40px 40px 0;
  border-color: transparent #635bff transparent transparent;
  z-index: 3;
}

.doping-showcase .product-card::before {
  border-color: transparent #f2b84b transparent transparent;
}

.doping-featured .product-card::before {
  border-color: transparent #20d28f transparent transparent;
}

.doping-urgent .product-card::before {
  border-color: transparent #ff3f8f transparent transparent;
}

.doping-grid .product-card::after {
  display: none;
}

.doping-grid .product-card {
  animation: cardFadeIn 0.6s ease-out forwards;
}

.doping-grid .product-card:nth-child(1) { animation-delay: 0.03s; }
.doping-grid .product-card:nth-child(2) { animation-delay: 0.08s; }
.doping-grid .product-card:nth-child(3) { animation-delay: 0.13s; }
.doping-grid .product-card:nth-child(4) { animation-delay: 0.18s; }
.doping-grid .product-card:nth-child(5) { animation-delay: 0.23s; }

@media (max-width: 1440px) {
  .doping-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .doping-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .doping-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .doping-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Listing Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .listing-hero {
    padding: 2.5rem 1.5rem;
  }
  .listing-grid {
    grid-template-columns: 1fr;
  }
  .listing-nav {
    flex-direction: column;
  }
  .listing-btn {
    width: 100%;
    justify-content: center;
  }
  .listing-step {
    padding: 0.5rem 0.6rem;
  }
  .listing-step__label {
    display: none;
  }
  .listing-hero__stats {
    gap: 0.8rem;
  }
  .listing-preview__card {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .listing-hero {
    padding: 2rem 1.2rem;
  }
  .listing-progress {
    padding: 0.3rem;
  }
  .listing-step {
    justify-content: center;
  }
  .listing-doping__check {
    flex-wrap: wrap;
  }
  .listing-doping__check b {
    width: 100%;
    text-align: right;
  }
}

/* ── Category Page Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .category-hero__content {
    padding: 1.5rem;
  }
  .category-hero__icon {
    width: 64px;
    height: 64px;
  }
  .category-search {
    height: 42px;
  }
  .category-sort select {
    height: 42px;
    max-width: 160px;
  }
}

@media (max-width: 620px) {
  .category-hero__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
  }
  .category-hero__icon {
    width: 56px;
    height: 56px;
  }
  .category-controls__bar {
    flex-direction: column;
  }
  .category-search {
    width: 100%;
  }
  .category-sort {
    width: 100%;
  }
  .category-sort select {
    width: 100%;
    max-width: none;
  }
  .breadcrumb {
    width: calc(100% - 28px);
    font-size: 0.78rem;
  }
}

.empty-products {
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 91, 255, 0.18), transparent 24rem),
    #121216;
  text-align: center;
}

.empty-products.is-hidden {
  display: none;
}

.empty-products .fa-solid {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(99, 91, 255, 0.16);
  color: var(--primary);
  font-size: 1.9rem;
}

.empty-products h2 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

.empty-products p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  margin-top: 2rem;
  padding: 0 0 2rem;
  position: relative;
}

.footer-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: 1.5rem;
  color: rgba(99, 91, 255, 0.06);
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

.newsletter {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.1), rgba(27, 182, 217, 0.04)), #101014;
}

.newsletter__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.2), rgba(99, 91, 255, 0.05));
  color: #a78bfa;
  font-size: 1.5rem;
}

.newsletter h2 {
  margin: 0 0 0.2rem;
  font-size: 1.3rem;
}

.newsletter p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.newsletter form {
  display: flex;
  width: min(440px, 100%);
  gap: 0.55rem;
  margin-left: auto;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  outline: 0;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  padding: 0 1rem;
  height: 48px;
  font-size: 0.9rem;
}

.newsletter button {
  min-height: 48px;
  padding: 0 1.3rem;
  border-radius: 10px;
  border-color: rgba(99, 91, 255, 0.5);
  background: var(--primary);
  gap: 0.5rem;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(150px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand img {
  width: 180px;
  height: auto;
  margin-bottom: 0.8rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: rgba(99, 91, 255, 0.2);
  border-color: rgba(99, 91, 255, 0.3);
  color: #fff;
  transform: translateY(-3px);
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.footer-grid h3 {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-grid h3 i {
  color: var(--primary);
  font-size: 0.85rem;
}

.footer-grid a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-grid a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-payments {
  display: flex;
  gap: 0.6rem;
}

.footer-payments span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #6a6a78;
  font-size: 1.5rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-payments span:hover {
  color: #c0c0d0;
  background: rgba(255, 255, 255, 0.08);
}

.copyright {
  color: #666674;
  font-size: 0.84rem;
}

.support-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.support-bubble {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 8px 28px rgba(99, 91, 255, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  position: relative;
}

.support-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(99, 91, 255, 0.6);
}

.support-bubble:active {
  transform: scale(0.94);
}

.support-bubble__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ff3b5c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(255, 59, 92, 0.45);
}

.support-panel {
  position: absolute;
  bottom: calc(100% + 0.85rem);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 2rem);
  max-height: 580px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.98), rgba(12, 12, 18, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(99, 91, 255, 0.08);
  backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.support-widget.is-open .support-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.support-widget.is-open .support-bubble {
  transform: scale(0.92);
  opacity: 0.7;
}

.support-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.12), rgba(124, 61, 255, 0.06));
}

.support-agent {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.support-agent__avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.support-agent strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.support-agent__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #20d28f;
  font-size: 0.78rem;
  font-weight: 700;
}

.support-agent__status i {
  font-size: 0.5rem;
}

.support-panel__close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: #a8a8b2;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.support-panel__close:hover {
  background: rgba(255, 63, 88, 0.2);
  color: #ff3b5c;
  transform: rotate(90deg);
}

.support-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
}

.support-panel__body::-webkit-scrollbar {
  width: 5px;
}

.support-panel__body::-webkit-scrollbar-track {
  background: transparent;
}

.support-panel__body::-webkit-scrollbar-thumb {
  background: rgba(99, 91, 255, 0.3);
  border-radius: 10px;
}

.support-msg {
  display: flex;
  gap: 0.65rem;
  animation: msgIn 0.3s ease-out both;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.support-msg--user {
  flex-direction: row-reverse;
}

.support-msg__avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.support-msg--user .support-msg__avatar {
  background: linear-gradient(135deg, #2a2a3a, #1a1a28);
  color: #a8a8b2;
  font-size: 0.9rem;
}

.support-msg__content {
  max-width: 80%;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  line-height: 1.55;
  color: #e8e8f0;
}

.support-msg--user .support-msg__content {
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.25), rgba(124, 61, 255, 0.15));
  border-bottom-right-radius: 4px;
}

.support-msg--system .support-msg__content {
  background: rgba(255, 255, 255, 0.04);
  border-bottom-left-radius: 4px;
}

.support-msg__content p {
  margin: 0 0 0.35rem;
}

.support-msg__content p:last-child {
  margin-bottom: 0;
}

.support-msg__content strong {
  color: #fff;
}

.support-msg__time {
  display: block;
  margin-top: 0.35rem;
  color: #7c7c87;
  font-size: 0.7rem;
  font-weight: 600;
}

.support-msg--user .support-msg__time {
  text-align: right;
}

.support-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.support-qr {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(99, 91, 255, 0.3);
  border-radius: 8px;
  background: rgba(99, 91, 255, 0.1);
  color: #c8c8f0;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.support-qr:hover {
  background: rgba(99, 91, 255, 0.22);
  border-color: rgba(99, 91, 255, 0.55);
  color: #fff;
  transform: translateY(-1px);
}

.support-panel__foot {
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.support-form {
  display: flex;
  gap: 0.55rem;
}

.support-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.9rem;
  outline: 0;
  transition: border-color 0.2s ease;
}

.support-input:focus {
  border-color: rgba(99, 91, 255, 0.5);
  background: rgba(99, 91, 255, 0.04);
}

.support-input::placeholder {
  color: #6c6c78;
}

.support-send {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.support-send:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(99, 91, 255, 0.4);
}

.support-send:active {
  transform: scale(0.94);
}

.support-typing {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.95rem;
  font-size: 0.82rem;
  color: #7c7c87;
}

.support-typing__dots {
  display: flex;
  gap: 0.25rem;
}

.support-typing__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7c7c87;
  animation: typingDot 1.2s ease-in-out infinite;
}

.support-typing__dots span:nth-child(2) { animation-delay: 0.2s; }
.support-typing__dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%           { opacity: 1; transform: translateY(-4px); }
}

@media (max-width: 480px) {
  .support-panel {
    position: fixed;
    right: 0.5rem;
    bottom: 0.5rem;
    width: calc(100vw - 1rem);
    max-height: 70vh;
  }

  .support-bubble {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .support-widget {
    right: max(0.5rem, env(safe-area-inset-right));
    bottom: max(0.5rem, env(safe-area-inset-bottom));
  }
  .support-panel {
    right: 0;
    bottom: calc(100% + 0.75rem);
    width: calc(100vw - 1rem);
    max-height: 65vh;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 110;
  max-width: calc(100% - 32px);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #14141a;
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(27, 182, 217, 0.16), transparent 24rem),
    radial-gradient(circle at 86% 20%, rgba(99, 91, 255, 0.24), transparent 32rem),
    #000;
}

.auth-header {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
}

.auth-header img {
  width: 210px;
  height: auto;
}

.auth-header a:last-child {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111116;
  color: #dedee7;
  font-weight: 800;
}

.auth-shell {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 122px);
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 2.5rem;
  margin-inline: auto;
  padding: 2rem 0 3rem;
}

.auth-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: #06070a;
  box-shadow: 0 0 60px rgba(99, 91, 255, 0.06);
  animation: visualIn 0.7s ease-out both;
}

@keyframes visualIn {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.auth-visual img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  opacity: 0.68;
  animation: visualZoom 8s ease-out forwards;
}

@keyframes visualZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.auth-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 12, 0.88), rgba(5, 5, 12, 0.12)),
    linear-gradient(180deg, transparent, rgba(5, 5, 12, 0.76));
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(99, 91, 255, 0.1), transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.auth-visual__content {
  position: absolute;
  inset: auto 2rem 2.5rem;
  z-index: 2;
}

.auth-visual__content h1 {
  max-width: 560px;
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.auth-visual__content p {
  max-width: 520px;
  margin: 0;
  color: #d7d7e1;
  line-height: 1.65;
}

.auth-visual__content .badge {
  animation: fadeInDown 0.5s ease-out both;
}

.auth-visual__content h1 {
  animation: fadeInUp 0.6s ease-out 0.15s both;
}

.auth-visual__content p {
  animation: fadeInUp 0.6s ease-out 0.25s both;
}

.auth-badges span {
  animation: fadeInUp 0.4s ease-out forwards;
}

.auth-badges span:nth-child(1) { animation-delay: 0.35s; }
.auth-badges span:nth-child(2) { animation-delay: 0.45s; }
.auth-badges span:nth-child(3) { animation-delay: 0.55s; }

.auth-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.auth-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(15, 15, 18, 0.74);
  backdrop-filter: blur(4px);
  color: #fff;
  font-weight: 800;
}

.auth-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(16, 16, 20, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 50px rgba(99, 91, 255, 0.05);
  padding: 1.8rem;
  animation: authCardIn 0.6s ease-out both;
}

@keyframes authCardIn {
  from { opacity: 0; transform: translateX(30px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.auth-card__icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #5d57ff, #8b4cff);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 18px 36px rgba(99, 91, 255, 0.32);
  animation: authIconIn 0.5s ease-out 0.2s both;
}

@keyframes authIconIn {
  from { opacity: 0; transform: scale(0.5) rotate(-12deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}

.auth-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
}

.auth-card > p {
  margin: 0 0 1.35rem;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 0.9rem;
}

.auth-field {
  display: grid;
  gap: 0.45rem;
}

.auth-field label {
  color: #e8e8ef;
  font-size: 0.9rem;
  font-weight: 800;
}

.auth-input {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a0a0d;
}

.auth-input:focus-within {
  border-color: rgba(99, 91, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.13);
}

.auth-input .fa-solid,
.auth-input .fa-regular {
  width: 20px;
  color: #7b74ff;
  text-align: center;
}

.auth-input input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.password-toggle {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #a8a8b2;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.auth-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.auth-row input {
  accent-color: var(--primary);
}

.auth-row a,
.auth-switch a {
  color: #9d98ff;
  font-weight: 800;
}

.auth-submit {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid rgba(99, 91, 255, 0.58);
  border-radius: 12px;
  background: linear-gradient(135deg, #5b57f5, #7c4dff);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(99, 91, 255, 0.26);
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #81818b;
  font-size: 0.82rem;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  flex: 1;
  height: 1px;
  content: "";
  background: var(--line);
}

.social-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.social-auth button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #141419;
  color: #fff;
  font-weight: 800;
}

.auth-switch {
  margin: 1.15rem 0 0;
  color: var(--muted);
  text-align: center;
}

.profile-page {
  background:
    radial-gradient(circle at 18% 18%, rgba(27, 182, 217, 0.13), transparent 26rem),
    radial-gradient(circle at 84% 12%, rgba(99, 91, 255, 0.18), transparent 30rem),
    #050507;
}

.profile-header-main {
  grid-template-columns: auto 210px minmax(0, 1fr) auto;
}

.profile-top-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  overflow-x: auto;
}

.profile-top-nav a {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.52rem;
  padding: 0 0.85rem;
  border-radius: 9px;
  color: #dadae6;
  font-weight: 900;
}

.profile-top-nav a:hover,
.profile-top-nav a.hot {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.profile-top-nav a.hot {
  color: #ffc94d;
}

.profile-wrap {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 1.25rem auto 4rem;
}

.profile-hero {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(21, 21, 34, 0.9));
  backdrop-filter: blur(8px);
  box-shadow: 0 0 50px rgba(99, 91, 255, 0.04);
  animation: fadeInUp 0.6s ease-out both;
}

.profile-hero > * {
  animation: fadeInUp 0.5s ease-out both;
}

.profile-cover {
  position: relative;
  height: clamp(260px, 28vw, 420px);
  overflow: hidden;
  background: #08080e;
}

.profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.08);
  animation: heroZoom 10s ease-out forwards;
}

.profile-cover__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(99, 91, 255, 0.22), transparent 24rem),
    linear-gradient(90deg, rgba(132, 0, 25, 0.42), rgba(0, 0, 0, 0.1) 42%, rgba(0, 13, 32, 0.48)),
    linear-gradient(180deg, transparent 58%, rgba(20, 20, 34, 0.98));
}

.profile-views {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 900;
}

.profile-summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1rem;
  align-items: end;
  padding: 0 2rem 1.25rem;
  margin-top: -68px;
}

.profile-identity {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.profile-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 148px;
  height: 148px;
  overflow: hidden;
  border: 5px solid #25263a;
  border-radius: 12px;
  background: #050507;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.44);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.online-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border: 4px solid #25263a;
  border-radius: 50%;
  background: #2fd442;
}

.status-text {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #b7b8c6;
  font-size: 0.9rem;
  font-weight: 700;
}

.status-text .fa-solid {
  color: #2fd442;
  font-size: 0.48rem;
}

.profile-identity h1 {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.15rem 0 0.2rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.profile-identity h1::after {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #5961d9;
  color: #fff;
  content: "\f078";
  font: var(--fa-font-solid);
  font-size: 0.8rem;
}

.profile-identity p {
  margin: 0;
  color: #a7a8b6;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem 0;
}

.level-badge,
.verified-badge,
.seller-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 8px;
  font-weight: 900;
}

.level-badge {
  width: 38px;
  background: linear-gradient(135deg, #ffcc21, #ff9800);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 183, 0, 0.28);
}

.verified-badge {
  width: 38px;
  background: linear-gradient(135deg, #20d28f, #00e5b0);
  color: #fff;
  clip-path: polygon(50% 0%, 61% 18%, 82% 12%, 88% 33%, 100% 50%, 88% 67%, 82% 88%, 61% 82%, 50% 100%, 39% 82%, 18% 88%, 12% 67%, 0% 50%, 12% 33%, 18% 12%, 39% 18%);
}

.seller-badge {
  padding: 0 0.75rem;
  background: rgba(32, 210, 143, 0.13);
  color: #87ffc9;
}

.edit-profile {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  gap: 0.52rem;
  border: 1px solid rgba(125, 89, 255, 0.52);
  border-radius: 7px;
  background: linear-gradient(135deg, #6652dd, #7f50e9);
  color: #fff;
  padding: 0 1rem;
  font-weight: 900;
}

.profile-score {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: end;
  gap: 0.5rem;
  text-align: right;
}

.profile-score small {
  display: inline-flex;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: #a8a9b7;
}

.profile-score div {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.profile-score .fa-star {
  color: #ffc128;
  font-size: 2.1rem;
}

.profile-score strong {
  color: #ffc128;
  font-size: 2.35rem;
  line-height: 1;
}

.profile-score span,
.profile-score p {
  color: #a7a8b6;
}

.profile-score p {
  margin: 0;
}

.profile-score b {
  display: inline-flex;
  min-width: 260px;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  border-radius: 7px;
  background: rgba(66, 121, 92, 0.72);
  color: #94ff8e;
}

.profile-tabs {
  display: flex;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #202132;
}

.profile-tab {
  display: inline-flex;
  min-height: 64px;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.6rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #d6d7e1;
  padding: 0 1.55rem;
  font-weight: 900;
  transition: all 0.25s ease;
}

.profile-tab.active {
  border-bottom-color: #35a8ff;
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
}

.profile-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.profile-tab span {
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: rgba(99, 91, 255, 0.28);
  color: #aeb2ff;
  font-size: 0.8rem;
}

.profile-side-rail {
  position: fixed;
  right: max(22px, calc((100vw - var(--max)) / 2 + 22px));
  top: 260px;
  z-index: 30;
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(31, 33, 55, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: slideInRight 0.5s ease-out both;
}

.profile-side-rail button {
  animation: fadeInUp 0.3s ease-out forwards;
}

.profile-side-rail button:nth-child(1) { animation-delay: 0.05s; }
.profile-side-rail button:nth-child(2) { animation-delay: 0.1s; }
.profile-side-rail button:nth-child(3) { animation-delay: 0.15s; }
.profile-side-rail button:nth-child(4) { animation-delay: 0.2s; }
.profile-side-rail button:nth-child(5) { animation-delay: 0.25s; }
.profile-side-rail button:nth-child(6) { animation-delay: 0.3s; }
.profile-side-rail button:nth-child(7) { animation-delay: 0.35s; }

.profile-side-rail button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: #dedff0;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.profile-side-rail button:hover {
  background: rgba(99, 91, 255, 0.24);
  color: #fff;
  border-color: rgba(99, 91, 255, 0.35);
  transform: translateX(-3px);
  box-shadow: 0 8px 20px rgba(99, 91, 255, 0.15);
}

.profile-side-rail button:active {
  transform: translateX(-1px) scale(0.95);
}

.profile-verification,
.profile-content {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(33, 42, 65, 0.78);
  backdrop-filter: blur(8px);
}

.profile-verification {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 2rem;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(90deg, rgba(44, 63, 103, 0.92), rgba(36, 85, 111, 0.78)),
    #20283d;
  position: relative;
  overflow: hidden;
}

.profile-verification::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.08), transparent);
  pointer-events: none;
}

.verification-icon {
  position: relative;
  display: grid;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  place-items: center;
  color: #ffc500;
  font-size: 4.4rem;
}

.verification-icon span {
  position: absolute;
  right: 1px;
  bottom: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #20d28f;
  color: #fff;
  font-size: 1rem;
}

.profile-verification h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.profile-verification p {
  max-width: 820px;
  margin: 0;
  color: #e1e5f4;
  line-height: 1.65;
}

.profile-content {
  min-height: 340px;
  padding: 2rem;
  border-top: 0;
  border-radius: 0 0 20px 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(99, 91, 255, 0.1), transparent 28rem),
    radial-gradient(circle at 90% 100%, rgba(32, 210, 143, 0.05), transparent 20rem),
    rgba(31, 32, 49, 0.9);
}

.profile-panel {
  display: none;
}

.profile-panel.active {
  display: block;
}

.profile-empty {
  display: grid;
  min-height: 260px;
  place-items: center;
  text-align: center;
}

.profile-empty.compact {
  min-height: 220px;
}

.profile-empty > .fa-solid {
  color: #ffc128;
  font-size: 4.6rem;
  filter: drop-shadow(0 14px 30px rgba(255, 193, 40, 0.2));
}

.profile-empty h2 {
  margin: 1rem 0 0.4rem;
  font-size: 1.55rem;
}

.profile-empty p {
  max-width: 460px;
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.profile-empty a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #9f9aff;
  font-weight: 900;
}

.review-grid,
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-grid article,
.achievement-grid article,
.community-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 15, 20, 0.62);
  padding: 1.2rem;
}

.review-grid .fa-star,
.achievement-grid .fa-solid {
  color: #ffc128;
  font-size: 1.55rem;
}

.review-grid h3,
.achievement-grid b,
.community-card h2 {
  display: block;
  margin: 0.75rem 0 0.35rem;
  color: #fff;
  font-size: 1.1rem;
}

.review-grid p,
.achievement-grid span,
.community-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.community-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.community-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #5b57f5, #1bb6d9);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .header-main {
    grid-template-columns: auto 210px minmax(220px, 1fr) auto;
  }

  .action-btn.ghost,
  .account-btn {
    display: none;
  }

  .more-toggle {
    display: flex;
  }

  .hero__features {
    display: none;
  }

  .product-grid,
  .product-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 360px;
  }

  .auth-visual img {
    min-height: 360px;
  }

  .auth-card {
    width: min(520px, 100%);
    margin-inline: auto;
  }

  .profile-header-main {
    grid-template-columns: auto 190px minmax(0, 1fr) auto;
  }

  .profile-top-nav {
    justify-content: flex-start;
  }

  .profile-summary {
    grid-template-columns: 1fr;
  }

  .profile-score {
    justify-items: start;
    text-align: left;
    margin-left: 164px;
  }

  .profile-side-rail {
    display: none;
  }
}

@media (max-width: 900px) {
  .header-top {
    display: none;
  }

  .header-main {
    grid-template-columns: auto 1fr auto;
    min-height: 74px;
  }

  .more-toggle {
    display: flex;
  }

  .logo img {
    width: 178px;
  }

  .search {
    grid-column: 1 / -1;
    display: none;
    height: 50px;
  }

  .search.is-visible {
    display: flex;
  }

  .header-actions .primary,
  .header-actions .cart-btn span {
    display: none;
  }

  .category-nav {
    width: 100%;
    padding-inline: 14px;
  }

  .hero {
    min-height: 320px;
  }

  .hero__media {
    min-height: 320px;
  }

  .hero__content {
    top: 50%;
    left: 50%;
    width: calc(100% - 40px);
    transform: translate(-50%, -50%);
  }

  .stats,
  .category-grid,
  .product-grid,
  .product-grid--four,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-header {
    min-height: 76px;
  }

  .auth-header img {
    width: 170px;
  }

  .auth-shell {
    width: min(100% - 28px, 1120px);
    padding-top: 0.8rem;
  }

  .auth-visual {
    min-height: 300px;
  }

  .auth-visual img {
    min-height: 300px;
  }

  .auth-visual__content {
    inset: auto 1.2rem 1.2rem;
  }

  .profile-header-main {
    grid-template-columns: auto 1fr auto;
  }

  .profile-top-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 0.8rem;
  }

  .profile-wrap {
    width: min(100% - 28px, var(--max));
  }

  .profile-cover {
    height: 300px;
  }

  .profile-summary {
    padding: 0 1rem 1rem;
  }

  .profile-identity {
    align-items: flex-start;
  }

  .profile-avatar {
    width: 118px;
    height: 118px;
  }

  .profile-score {
    margin-left: 134px;
  }

  .profile-verification {
    padding: 1.1rem;
  }

  .review-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-payments {
    justify-content: center;
    flex-wrap: wrap;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 12px 14px 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: calc(100% - 0px);
  }
  .hero-buttons::-webkit-scrollbar { display: none; }
  .hero-btn { flex-shrink: 0; }

  .ticker {
    height: 40px;
    padding: 0 0.75rem;
    gap: 0.6rem;
  }

  .ticker__badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .ticker__item {
    font-size: 0.76rem;
  }

  .ticker__track {
    gap: 1rem;
    animation-duration: 20s;
  }

  .header-main,
  .section,
  .stats,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .header-main {
    gap: 0.35rem;
  }

  .logo img {
    width: 145px;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
    border-color: transparent;
    border-radius: 8px;
    background: transparent;
    padding: 0 0.7rem;
  }

  .hero {
    min-height: 470px;
  }

  .hero__media {
    min-height: 470px;
    object-position: 55% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.88)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.18));
  }

  .hero__content {
    top: 50%;
    left: 50%;
    bottom: auto;
    width: calc(100% - 28px);
    transform: translate(-50%, -50%);
  }

  .stats,
  .category-grid,
  .product-grid,
  .product-grid--four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats article {
    min-height: 96px;
  }

  .section {
    padding-top: 2.2rem;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card {
    min-height: auto;
  }

  .product-card .flag {
    white-space: normal;
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }

  .newsletter form {
    flex-direction: column;
  }

  .newsletter input {
    min-height: 46px;
  }

  .auth-header {
    width: min(100% - 28px, var(--max));
  }

  .auth-header a:last-child span {
    display: none;
  }

  .auth-visual {
    display: none;
  }

  .auth-shell {
    min-height: calc(100vh - 90px);
    align-items: start;
  }

  .auth-card {
    padding: 1.2rem;
  }

  .auth-row,
  .social-auth {
    grid-template-columns: 1fr;
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-header-main {
    min-height: 74px;
  }

  .profile-top-nav {
    display: none;
  }

  .profile-cover {
    height: 220px;
  }

  .profile-summary {
    margin-top: -48px;
  }

  .profile-identity {
    display: grid;
    gap: 0.8rem;
  }

  .profile-avatar {
    width: 106px;
    height: 106px;
  }

  .profile-score {
    margin-left: 0;
  }

  .profile-score b {
    min-width: 0;
    width: 100%;
  }

  .profile-tabs {
    margin-top: 0.3rem;
  }

  .profile-tab {
    min-height: 54px;
    padding: 0 1rem;
    font-size: 0.9rem;
  }

  .profile-verification {
    align-items: flex-start;
    flex-direction: column;
  }

  .verification-icon {
    width: 76px;
    height: 76px;
    font-size: 3.4rem;
  }

  .profile-content {
    padding: 1.1rem;
  }

  .community-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.admin-card {
  position: relative;
  min-height: 190px;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(99, 91, 255, 0.16), transparent 35%);
  pointer-events: none;
}

.admin-card .admin-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(99, 91, 255, 0.14);
  color: var(--primary);
  font-size: 1.15rem;
  z-index: 1;
}

.admin-activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.admin-activity-grid .product-card {
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-activity-grid .product-card__body {
  min-height: 180px;
}

.admin-summary {
  min-height: 150px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-summary .category-tile__label {
  position: static;
  margin-bottom: 0.75rem;
  color: #c8c8d4;
  text-shadow: none;
}

.admin-summary .category-tile__count {
  position: static;
  display: block;
  margin-top: 0.25rem;
  font-size: 2rem;
  color: #fff;
  background: transparent;
  padding: 0;
}

.admin-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(79, 63, 255, 0.18), rgba(22, 19, 48, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.admin-hero__panel h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  margin: 1rem 0 1.25rem;
}

.admin-hero__panel p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.65rem;
}

.admin-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.admin-hero__actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.admin-hero__actions .button.primary {
  background: var(--primary);
  color: #050507;
}

.admin-hero__actions .button.ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-hero__actions .button:hover {
  transform: translateY(-1px);
}

.admin-hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-metric {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metric span {
  display: block;
  color: #b8b8dd;
  margin-bottom: 0.75rem;
}

.hero-metric strong {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.hero-metric small {
  color: rgba(255, 255, 255, 0.72);
}

.admin-overview .admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.admin-card--overview {
  min-height: 220px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.admin-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.45rem;
  color: #b0b0ff;
}

.admin-card--overview h3 {
  font-size: 2.4rem;
  margin-bottom: 0.65rem;
}

.admin-card--overview p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.admin-panels {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.admin-panels__main {
  display: grid;
  gap: 1rem;
}

.activity-list {
  display: grid;
  gap: 1rem;
}

.activity-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14);
}

.activity-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(99, 91, 255, 0.16);
  color: #c8c8ff;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.activity-card h3 {
  margin-bottom: 0.75rem;
}

.activity-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.9rem;
}

.activity-card span {
  color: #fff;
  font-weight: 700;
}

.admin-sidebar {
  display: grid;
  gap: 1rem;
}

.admin-card--info,
.admin-card--compact {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-card--info h3,
.admin-card--compact h3 {
  margin-bottom: 1rem;
}

.admin-links {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-links li a {
  display: block;
  color: #d8d8ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-links li a:hover {
  color: #fff;
}

.admin-stats {
  display: grid;
  gap: 0.85rem;
}

.admin-stats div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.admin-stats div:first-child {
  border-top: 0;
  padding-top: 0;
}

.admin-stats strong {
  color: #fff;
}

@media (max-width: 1180px) {
  .admin-grid,
  .admin-activity-grid,
  .admin-overview .admin-dashboard-grid,
  .admin-panels {
    grid-template-columns: 1fr;
  }
  .admin-hero {
    grid-template-columns: 1fr;
  }
  .admin-hero__metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .admin-main {
    padding: 1.25rem 1rem 2rem;
  }
  .admin-hero__panel h1 {
    font-size: 2rem;
  }
}

@media (max-width: 620px) {
  .admin-grid,
  .admin-activity-grid {
    grid-template-columns: 1fr;
  }
}


/* ── Kategori Sayfası ──────────────────────────────────────────────────── */
.cat-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.cat-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.2);
  transform: scale(1.06);
  transition: transform 8s ease;
}

.cat-hero:hover .cat-hero__bg {
  transform: scale(1.1);
}

.cat-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.8) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.5) 0%, transparent 60%);
}

.cat-hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: 2.5rem 0;
  animation: slideInFromLeft 0.7s ease-out;
}

@keyframes slideInFromLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.cat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 700;
}

.cat-breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.cat-breadcrumb a:hover {
  color: #fff;
}

.cat-breadcrumb .fa-chevron-right {
  font-size: 0.7rem;
  opacity: 0.5;
}

.cat-hero__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.cat-hero__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.cat-hero__content h1 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
}

.cat-hero__content p {
  max-width: 600px;
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.cat-hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cat-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Toolbar */
.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.cat-result-info {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.cat-sort {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.cat-sort select {
  height: 38px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #141419;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.cat-sort select:focus {
  border-color: rgba(99,91,255,0.5);
}
\n/* SVG Animations for Deal Hero */
.deal-hero__pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  animation: patternRotate 20s linear infinite;
}

@keyframes patternRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.deal-orbit {
  animation: orbitSpin 8s linear infinite;
}

.deal-orbit--2 {
  animation: orbitSpin 8s linear infinite reverse;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg) rotateX(70deg); }
  to { transform: rotate(360deg) rotateX(70deg); }
}

.deal-dot {
  animation: dotFloat 4s ease-in-out infinite;
}

.deal-dot--1 {
  animation-delay: 0s;
}

.deal-dot--2 {
  animation-delay: 1.33s;
}

.deal-dot--3 {
  animation-delay: 2.66s;
}

@keyframes dotFloat {
  0%, 100% { r: 8px; opacity: 1; }
  50% { r: 5px; opacity: 0.6; }
}

/* SVG Animations for Deal Hero */
.deal-hero__pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  animation: patternRotate 20s linear infinite;
}

@keyframes patternRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.deal-orbit {
  animation: orbitSpin 8s linear infinite;
}

.deal-orbit--2 {
  animation: orbitSpin 8s linear infinite reverse;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg) rotateX(70deg); }
  to { transform: rotate(360deg) rotateX(70deg); }
}

.deal-dot {
  animation: dotFloat 4s ease-in-out infinite;
}

.deal-dot--1 {
  animation-delay: 0s;
}

.deal-dot--2 {
  animation-delay: 1.33s;
}

.deal-dot--3 {
  animation-delay: 2.66s;
}

@keyframes dotFloat {
  0%, 100% { r: 8px; opacity: 1; }
  50% { r: 5px; opacity: 0.6; }
}

/* Notification Bell */
.notif-btn { position: relative; }
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  display: none; place-items: center;
  border-radius: 50%; background: var(--pink);
  font-size: 0.65rem; font-weight: 900;
  color: #fff; padding: 0 4px;
}
.notif-dropdown {
  position: fixed; top: 0; left: 0; z-index: 220;
  width: 400px; max-height: 0; overflow: hidden;
  border: 1px solid rgba(99,91,255,0.15); border-radius: 20px;
  background: rgba(22,22,30,0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04);
  opacity: 0; transform: translateY(-10px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none; transform-origin: top right;
}
.notif-dropdown.is-open {
  max-height: 540px; opacity: 1;
  transform: translateY(0) scale(1); pointer-events: all;
}
.notif-dropdown__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.notif-dropdown__head h3 { margin: 0; font-size: 1rem; color: #fff; font-weight: 700; }
.notif-dropdown__head button {
  border: 0; background: rgba(99,91,255,0.1); color: #a78bfa;
  font-weight: 700; font-size: 0.78rem; cursor: pointer;
  padding: 0.35rem 0.75rem; border-radius: 8px;
  transition: background 0.2s ease;
}
.notif-dropdown__head button:hover { background: rgba(99,91,255,0.2); }
.notif-dropdown__body {
  max-height: 400px; overflow-y: auto; padding: 0.4rem 0;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.06) transparent;
}
.notif-dropdown__body::-webkit-scrollbar { width: 4px; }
.notif-dropdown__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }
.notif-item {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 0.9rem 1.25rem; cursor: pointer;
  transition: all 0.2s ease; border-left: 3px solid transparent;
  position: relative;
}
.notif-item:hover { background: rgba(99,91,255,0.06); }
.notif-item:active { background: rgba(99,91,255,0.1); }
.notif-item--unread { background: rgba(99,91,255,0.04); border-left-color: #635bff; }
.notif-item--unread::after {
  content: ''; position: absolute; top: 1.15rem; right: 1.25rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: #635bff; box-shadow: 0 0 8px rgba(99,91,255,0.4);
}
.notif-item__icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 12px; flex-shrink: 0; font-size: 0.9rem;
  transition: transform 0.2s ease;
}
.notif-item:hover .notif-item__icon { transform: scale(1.05); }
.notif-item__icon--order { background: rgba(99,91,255,0.15); color: #a78bfa; }
.notif-item__icon--reward { background: rgba(32,210,143,0.12); color: #5eead4; }
.notif-item__icon--system { background: rgba(251,191,36,0.12); color: #fbbf24; }
.notif-item__icon--admin { background: rgba(244,63,94,0.12); color: #fb7185; }
.notif-item__body { flex: 1; min-width: 0; }
.notif-item__title { font-weight: 700; font-size: 0.88rem; color: #f1f1f6; margin-bottom: 0.2rem; line-height: 1.3; }
.notif-item__text { color: #a0a0ab; font-size: 0.82rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notif-item__time { color: #6a6a76; font-size: 0.73rem; margin-top: 0.3rem; display: block; }
.notif-empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 2.5rem; color: #6a6a76; gap: 0.5rem;
}
.notif-empty i { font-size: 2.2rem; opacity: 0.4; }

/* Language Switcher */
.lang-menu {
  position: fixed; top: 0; left: 0; z-index: 220;
  min-width: 140px; max-height: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(180deg, rgba(26,26,34,0.98), rgba(18,18,24,0.98));
  backdrop-filter: blur(20px); box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  opacity: 0; transform: translateY(-6px);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.lang-menu.is-open { max-height: 120px; opacity: 1; transform: translateY(0); pointer-events: all; }
.lang-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1rem; color: #d8d9e6; font-weight: 700;
  font-size: 0.9rem; cursor: pointer; transition: all 0.2s ease;
}
.lang-item:hover { background: rgba(99,91,255,0.15); color: #fff; }
.lang-item.active { color: var(--primary); }

/* Infinite Scroll Sentinel */
#scroll-sentinel {
  width: 100%; height: 60px; display: flex;
  align-items: center; justify-content: center; margin: 1rem 0;
}
.scroll-loader {
  width: 32px; height: 32px; border: 3px solid var(--line);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Cart Dropdown */
.cart-dropdown {
  position: fixed; top: 0; left: 0; z-index: 220;
  width: 400px; max-height: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(26,26,34,0.98), rgba(18,18,24,0.98));
  backdrop-filter: blur(20px); box-shadow: 0 24px 60px rgba(0,0,0,0.7);
  opacity: 0; transform: translateY(-8px) scale(0.96);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none; transform-origin: top right;
}
.cart-dropdown.is-open { max-height: 600px; opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.cart-dropdown__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem; border-bottom: 1px solid var(--line);
}
.cart-dropdown__head h3 { margin: 0; font-size: 1rem; }
.cart-dropdown__head button {
  border: 0; background: transparent; color: var(--pink);
  font-weight: 700; font-size: 0.82rem; cursor: pointer;
}
.cart-dropdown__body { max-height: 320px; overflow-y: auto; padding: 0.5rem 0; }
.cart-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cart-item__img {
  width: 48px; height: 48px; border-radius: 10px; object-fit: cover;
  border: 1px solid var(--line);
}
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__title { font-weight: 700; font-size: 0.88rem; color: #fff; }
.cart-item__price { color: var(--primary); font-weight: 800; font-size: 0.85rem; }
.cart-item__qty { color: #a8a8b2; font-size: 0.8rem; }
.cart-item__remove {
  border: 0; background: rgba(255,63,143,0.1); color: var(--pink);
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
  display: grid; place-items: center; transition: background 0.2s ease;
}
.cart-item__remove:hover { background: rgba(255,63,143,0.25); }
.cart-dropdown__foot {
  padding: 1rem 1.2rem; border-top: 1px solid var(--line);
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem; font-weight: 700;
}
.cart-total-row--discount { color: var(--green); font-size: 0.85rem; }
.cart-total-row--grand { font-size: 1.1rem; color: #fff; }
.cart-coupon {
  display: flex; gap: 0.5rem; margin-bottom: 0.8rem;
}
.cart-coupon input {
  flex: 1; padding: 0.5rem 0.8rem; border: 1px solid var(--line);
  border-radius: 8px; background: rgba(0,0,0,0.3); color: #fff;
  font-size: 0.85rem; outline: 0;
}
.cart-coupon button {
  padding: 0.5rem 1rem; border: 0; border-radius: 8px;
  background: var(--primary); color: #fff; font-weight: 700;
  font-size: 0.82rem; cursor: pointer;
}
.cart-checkout {
  display: block; width: 100%; padding: 0.85rem;
  border: 0; border-radius: 12px;
  background: linear-gradient(135deg, #635bff, #7b52ff);
  color: #fff; font-weight: 800; text-align: center; cursor: pointer;
  transition: transform 0.18s ease;
}
.cart-checkout:hover { transform: translateY(-2px); }
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 2rem; color: #6c6c76; text-align: center;
}
.cart-empty i { font-size: 2rem; margin-bottom: 0.8rem; }

/* Level/XP Bar */
.level-display { display: flex; align-items: center; gap: 0.8rem; }
.level-badge {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: linear-gradient(135deg, var(--amber), #ff8c00);
  color: #fff; font-weight: 900; font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(242,184,75,0.3);
}
.level-info { flex: 1; }
.level-info span { font-size: 0.8rem; color: #a8a8b2; }
.level-bar-wrap {
  width: 100%; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,0.06); overflow: hidden; margin-top: 0.25rem;
}
.level-bar-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), #ff8c00);
  transition: width 0.5s ease;
}

/* Comparison Page */
.cmp-table-wrap { overflow-x: auto; margin-top: 1.5rem; }
.cmp-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  min-width: 600px;
}
.cmp-table th, .cmp-table td {
  padding: 1rem; text-align: center; border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.cmp-table th {
  background: rgba(99,91,255,0.08); color: var(--soft);
  font-weight: 700; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cmp-table td { color: #d8d9e6; font-size: 0.9rem; }
.cmp-table .cmp-highlight { background: rgba(32,210,143,0.08); }
.cmp-table img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; margin: 0 auto; }
.cmp-table .buy-btn { margin-top: 0.5rem; }
.cmp-table .cmp-best { color: var(--green); font-weight: 900; }
.cmp-remove-btn {
  border: 0; background: rgba(255,63,143,0.1); color: var(--pink);
  padding: 0.4rem 0.7rem; border-radius: 8px; cursor: pointer;
  font-size: 0.8rem; transition: background 0.2s ease;
}
.cmp-remove-btn:hover { background: rgba(255,63,143,0.25); }
.cmp-add-panel {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 1rem; border-radius: 14px;
  border: 1px dashed var(--line); margin-top: 1rem;
}
.cmp-add-panel select { flex: 1; padding: 0.6rem; border-radius: 8px; border: 1px solid var(--line); background: rgba(0,0,0,0.3); color: #fff; }
.cmp-add-panel button {
  padding: 0.6rem 1.2rem; border: 0; border-radius: 8px;
  background: var(--primary); color: #fff; font-weight: 700; cursor: pointer;
}

/* Review Stars */
.star-rating {
  display: inline-flex; gap: 0.25rem; direction: rtl;
}
.star-rating input { display: none; }
.star-rating label {
  font-size: 1.4rem; color: #3a3a44; cursor: pointer;
  transition: color 0.2s ease;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: var(--amber); }
.review-item {
  padding: 1rem; border-radius: 12px;
  border: 1px solid var(--line); margin-bottom: 0.75rem;
}
.review-item__head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.review-item__author { font-weight: 700; color: #fff; font-size: 0.9rem; }
.review-item__date { color: #6c6c76; font-size: 0.78rem; }
.review-item__stars { color: var(--amber); font-size: 0.85rem; }
.review-item__text { color: #a8a8b2; font-size: 0.88rem; line-height: 1.5; }

/* Withdrawal Page */
.wdr-card {
  padding: 2rem; border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}
.wdr-balance {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem; border-radius: 14px;
  background: rgba(99,91,255,0.08); margin-bottom: 1.5rem;
}
.wdr-balance span { color: #a8a8b2; font-size: 0.9rem; }
.wdr-balance strong { font-size: 1.6rem; }
.wdr-field { margin-bottom: 1rem; }
.wdr-field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; }
.wdr-field input, .wdr-field select, .wdr-field textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--line);
  border-radius: 10px; background: rgba(0,0,0,0.3); color: #fff;
  font-family: inherit; outline: 0; box-sizing: border-box;
}
.wdr-field textarea { min-height: 80px; resize: vertical; }
.wdr-history { margin-top: 2rem; }
.wdr-table { width: 100%; border-collapse: collapse; }
.wdr-table th, .wdr-table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--line); }
.wdr-table th { color: var(--soft); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* 2FA Page */
.tfa-card {
  max-width: 480px; margin: 0 auto; padding: 2rem;
  border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  text-align: center;
}
.tfa-card h2 { margin: 0 0 0.5rem; }
.tfa-card p { color: #a8a8b2; margin: 0 0 1.5rem; }
.tfa-secret {
  display: inline-block; padding: 0.8rem 1.5rem;
  border-radius: 10px; background: rgba(0,0,0,0.3);
  font-family: monospace; font-size: 1.3rem; letter-spacing: 0.15em;
  color: var(--primary); font-weight: 900; margin-bottom: 1rem;
}
.tfa-input {
  width: 200px; margin: 0 auto; text-align: center;
  padding: 0.8rem; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(0,0,0,0.3); color: #fff; font-size: 1.5rem;
  font-family: monospace; letter-spacing: 0.3em; outline: 0;
}
.tfa-input:focus { border-color: var(--primary); }
.tfa-code-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem;
  margin-bottom: 1rem;
}
.tfa-code-item {
  padding: 0.6rem; border-radius: 8px; background: rgba(0,0,0,0.3);
  font-family: monospace; font-size: 0.9rem; letter-spacing: 0.1em;
}

/* Password Reset */
.reset-card {
  max-width: 440px; margin: 2rem auto; padding: 2rem;
  border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}
.reset-card h2 { margin: 0 0 0.3rem; }
.reset-card p { color: #a8a8b2; margin: 0 0 1.5rem; }
.reset-success {
  text-align: center; padding: 2rem;
}
.reset-success i { font-size: 3rem; color: var(--green); margin-bottom: 1rem; }

/* Referral Display */
.ref-card {
  padding: 1.5rem; border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(99,91,255,0.06), rgba(99,91,255,0.02));
  display: flex; align-items: center; gap: 1rem;
}
.ref-card__link {
  flex: 1; padding: 0.7rem 1rem; border-radius: 10px;
  background: rgba(0,0,0,0.3); font-family: monospace;
  color: var(--primary); font-weight: 700; font-size: 0.9rem;
  border: 1px solid rgba(99,91,255,0.2);
}
.ref-card__copy {
  padding: 0.7rem 1.2rem; border: 0; border-radius: 10px;
  background: var(--primary); color: #fff; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
.ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 1rem; }
.ref-stat { text-align: center; padding: 1rem; border-radius: 12px; background: rgba(255,255,255,0.02); }
.ref-stat strong { display: block; font-size: 1.3rem; }
.ref-stat span { color: #a8a8b2; font-size: 0.82rem; }

/* Admin Coupons + Charts + Export */
.coupon-grid { display: grid; gap: 0.8rem; }
.coupon-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem; border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.coupon-code {
  font-family: monospace; font-weight: 900; color: var(--primary);
  background: rgba(99,91,255,0.1); padding: 0.3rem 0.7rem;
  border-radius: 6px; font-size: 0.9rem;
}
.chart-placeholder {
  height: 200px; border-radius: 16px;
  background: radial-gradient(circle at 30% 40%, rgba(99,91,255,0.15), transparent 60%);
  border: 1px solid var(--line); display: grid; place-items: center;
  color: #6c6c76; margin: 1rem 0;
}
.export-bar {
  display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1rem 0;
}

/* Order Tracking Steps */
.track-steps {
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 1.5rem 0; overflow-x: auto;
}
.track-step {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; min-width: 80px; text-align: center;
  position: relative;
}
.track-step__dot {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--line); background: transparent;
  display: grid; place-items: center; font-size: 0.7rem;
  margin-bottom: 0.4rem; transition: all 0.3s ease;
}
.track-step--done .track-step__dot {
  background: var(--green); border-color: var(--green);
}
.track-step--active .track-step__dot {
  background: var(--primary); border-color: var(--primary);
  box-shadow: 0 0 12px rgba(99,91,255,0.4);
}
.track-step__label { font-size: 0.75rem; color: #6c6c76; font-weight: 600; }
.track-step--done .track-step__label,
.track-step--active .track-step__label { color: #fff; }
.track-step:not(:last-child)::after {
  content: ""; position: absolute; top: 11px; left: calc(50% + 14px);
  width: calc(100% - 28px); height: 2px; background: var(--line);
}
.track-step--done:not(:last-child)::after { background: var(--green); }

/* Comparison Button on Product Cards */
.compare-btn {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  width: 32px; height: 32px; border: 0; border-radius: 8px;
  background: rgba(0,0,0,0.5); color: #fff; cursor: pointer;
  display: grid; place-items: center; opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.product-card:hover .compare-btn { opacity: 1; }
.compare-btn:hover { background: var(--primary); }
.compare-btn.active { background: var(--primary); opacity: 1; }

/* PWA Install Prompt */
.pwa-prompt {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 300; display: none; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem; border-radius: 16px;
  background: linear-gradient(180deg, rgba(26,26,34,0.98), rgba(18,18,24,0.98));
  border: 1px solid var(--line); backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
@media (max-width: 520px) {
  .notif-dropdown { width: calc(100vw - 24px); border-radius: 16px; }
  .notif-dropdown__body { max-height: 300px; }
  .cart-dropdown { width: calc(100vw - 24px); }
}

/* Admin panel gizliliği */
a[href*="giris.html?next=admin"], a[href="admin.html"], .admin-panel-link {
  display: none !important;
}
body.show-admin a[href*="giris.html?next=admin"], body.show-admin a[href="admin.html"], body.show-admin .admin-panel-link {
  display: flex !important;
}

/* Renkli FontAwesome İkonları */
.colorful-icon {
  background: linear-gradient(135deg, #ff0055, #00f0ff, #ffea00);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: colorGlow 2.5s ease infinite alternate;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.7)) brightness(1.3);
}

@keyframes colorGlow {
  0% { background-position: 0% 50%; filter: drop-shadow(0 0 10px rgba(255, 0, 85, 0.7)) brightness(1.3); }
  50% { background-position: 50% 50%; filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.7)) brightness(1.3); }
  100% { background-position: 100% 50%; filter: drop-shadow(0 0 10px rgba(255, 234, 0, 0.7)) brightness(1.3); }
}

/* Hoverboard Animasyonu */
.fa-icon--hoverboard {
  background: linear-gradient(45deg, #ff0055, #9d00ff, #00f0ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hoverboardAnim 2s infinite ease-in-out, colorGlow 2.5s infinite alternate;
  display: inline-block;
}

@keyframes hoverboardAnim {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(8deg) scale(1.1); }
}

/* Geliştirilmiş Vitrin Başlıkları */
.section-head h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
}

.section-head h2 i {
  font-size: 2rem;
  margin-right: 0.2rem;
}

/* Etiket Sistemi */
.product-flags {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 10;
}

.product-card .flag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  width: fit-content;
}

.product-card .flag i {
  font-size: 0.75rem;
  display: inline-block;
}

/* 🔥 Popüler */
.flag-popular {
  background: linear-gradient(135deg, #ff3f8f, #ff7700);
  box-shadow: 0 3px 12px rgba(255, 63, 143, 0.5);
  animation: flagPulsePopular 2s infinite ease-in-out;
}
.flag-popular i { animation: fireFlicker 1.2s infinite alternate; }

@keyframes flagPulsePopular {
  0%, 100% { transform: scale(1); box-shadow: 0 3px 12px rgba(255, 63, 143, 0.5); }
  50% { transform: scale(1.04); box-shadow: 0 3px 20px rgba(255, 63, 143, 0.8); }
}
@keyframes fireFlicker {
  0% { transform: scale(1) rotate(-4deg); }
  50% { transform: scale(1.2) rotate(4deg); }
  100% { transform: scale(1) rotate(-4deg); }
}

/* ✨ Yeni */
.flag-new {
  background: linear-gradient(135deg, #00d4ff, #0080ff);
  box-shadow: 0 3px 12px rgba(0, 212, 255, 0.5);
  animation: flagShine 2.5s infinite ease-in-out;
}
.flag-new i { animation: sparkle 1.5s infinite ease-in-out; }

@keyframes flagShine {
  0%, 100% { box-shadow: 0 3px 12px rgba(0, 212, 255, 0.5); }
  50% { box-shadow: 0 3px 22px rgba(0, 128, 255, 0.8); }
}
@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.3) rotate(15deg); }
  75% { transform: scale(0.9) rotate(-10deg); }
}

/* 🏷 İndirim */
.flag-discount {
  background: linear-gradient(135deg, #20d28f, #00b060);
  box-shadow: 0 3px 12px rgba(32, 210, 143, 0.5);
  animation: flagBounce 2s infinite ease-in-out;
}
.flag-discount i { animation: tagSwing 1.8s infinite ease-in-out; }

@keyframes flagBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes tagSwing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(12deg); }
  75% { transform: rotate(-12deg); }
}

/* ⚡ Hızlı Teslimat */
.flag-fast {
  background: linear-gradient(135deg, #f2b84b, #ff9500);
  box-shadow: 0 3px 12px rgba(242, 184, 75, 0.5);
  animation: flagFlash 1.5s infinite ease-in-out;
}
.flag-fast i { animation: boltStrike 1s infinite ease-in-out; }

@keyframes flagFlash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; box-shadow: 0 3px 20px rgba(255, 149, 0, 0.8); }
}
@keyframes boltStrike {
  0%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-3px) scale(1.3); }
  60% { transform: translateY(1px) scale(0.95); }
}

/* 📢 Sponsorlu */
.flag-sponsored {
  background: linear-gradient(135deg, #9d00ff, #635bff);
  box-shadow: 0 3px 12px rgba(157, 0, 255, 0.5);
  animation: flagGlow 2.5s infinite ease-in-out;
}
.flag-sponsored i { animation: megaphone 2s infinite ease-in-out; }

@keyframes flagGlow {
  0%, 100% { box-shadow: 0 3px 12px rgba(157, 0, 255, 0.4); }
  50% { box-shadow: 0 3px 22px rgba(99, 91, 255, 0.8); }
}
@keyframes megaphone {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(-8deg); }
}

/* 🛡 Güvenilir */
.flag-trusted {
  background: linear-gradient(135deg, #1bb6d9, #0090b0);
  box-shadow: 0 3px 12px rgba(27, 182, 217, 0.5);
  animation: flagShield 3s infinite ease-in-out;
}
.flag-trusted i { animation: shieldPulse 2s infinite ease-in-out; }

@keyframes flagShield {
  0%, 100% { box-shadow: 0 3px 12px rgba(27, 182, 217, 0.4); }
  50% { box-shadow: 0 3px 18px rgba(0, 144, 176, 0.7); }
}
@keyframes shieldPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* 🌶 Fırsat */
.flag-hot {
  background: linear-gradient(135deg, #ff0055, #cc0000);
  box-shadow: 0 3px 12px rgba(255, 0, 85, 0.5);
  animation: flagHot 1.5s infinite ease-in-out;
}
.flag-hot i { animation: pepperShake 0.8s infinite ease-in-out; }

@keyframes flagHot {
  0%, 100% { box-shadow: 0 3px 12px rgba(255, 0, 85, 0.5); }
  50% { box-shadow: 0 3px 25px rgba(204, 0, 0, 0.9); }
}
@keyframes pepperShake {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(6deg); }
}

/* ── Modern Profile ── */
.p-header {
  position: relative;
  margin-bottom: 1.5rem;
}

.p-cover {
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(99,91,255,0.15), rgba(168,85,247,0.1), rgba(27,182,217,0.08));
  position: relative;
}

.p-cover-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(99,91,255,0.2), transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(168,85,247,0.15), transparent 50%);
}

.p-info {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 0 1.5rem;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.p-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.p-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 4px var(--bg), 0 8px 32px rgba(0,0,0,0.5);
}

.p-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-avatar-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #635bff, #a855f7, #1bb6d9) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.p-avatar-upload {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, #635bff, #7c3dff);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 3;
}

.p-avatar-upload:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(99,91,255,0.4);
}

.p-detail {
  flex: 1;
  min-width: 200px;
  padding-bottom: 0.5rem;
}

.p-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.p-name-row h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.p-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}

.p-badge.verified {
  background: rgba(32,210,143,0.12);
  color: #20d28f;
}

.p-badge.level {
  background: rgba(99,91,255,0.12);
  color: #a78bfa;
}

.p-email {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.p-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.p-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.p-status.online i {
  color: #20d28f;
  font-size: 0.5rem;
}

.p-actions {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

.p-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.p-action-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.p-action-btn.primary {
  background: linear-gradient(135deg, #635bff, #7c3dff);
  border-color: transparent;
  color: #fff;
}

.p-action-btn.primary:hover {
  box-shadow: 0 4px 20px rgba(99,91,255,0.35);
}

.p-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.p-stat-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}

a.p-stat-card:hover {
  border-color: rgba(99,91,255,0.3);
  background: rgba(99,91,255,0.06);
  transform: translateY(-1px);
}

.p-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.p-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.1rem;
}

.p-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.p-xp-card {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(168,85,247,0.12);
  background: linear-gradient(135deg, rgba(99,91,255,0.06), rgba(168,85,247,0.04));
  margin-bottom: 1.5rem;
}

.p-xp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}

.p-xp-text {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.8rem;
}

.p-xp-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.p-xp-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #635bff, #a855f7);
  transition: width 0.6s ease;
}

.p-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.p-tabs::-webkit-scrollbar { display: none; }

.p-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.p-tab:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.p-tab.active {
  background: linear-gradient(135deg, rgba(99,91,255,0.12), rgba(168,85,247,0.08));
  border-color: rgba(99,91,255,0.2);
  color: #a78bfa;
}

.p-panels {
  min-height: 200px;
}

.p-panel {
  display: none;
  animation: pFadeIn 0.3s ease;
}

.p-panel.active {
  display: block;
}

@keyframes pFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.p-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.p-panel-head h3 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.p-panel-badge {
  color: var(--muted);
  font-size: 0.82rem;
}

.p-empty {
  text-align: center;
  padding: 2.5rem 1rem;
}

.p-empty i {
  font-size: 2.5rem;
  color: #555568;
  margin-bottom: 0.75rem;
  display: block;
}

.p-empty h4 {
  margin: 0 0 0.3rem;
  color: var(--text);
  font-size: 1rem;
}

.p-empty p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.p-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #635bff, #7c3dff);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.p-empty-btn:hover {
  box-shadow: 0 4px 20px rgba(99,91,255,0.35);
}

.p-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  background: rgba(99,91,255,0.1);
  color: #a78bfa;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.p-add-btn:hover {
  background: rgba(99,91,255,0.2);
}

.p-review-grid {
  display: grid;
  gap: 0.75rem;
}

.p-review-card {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.p-review-stars {
  display: flex;
  gap: 0.2rem;
  color: #f2b84b;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.p-review-card h4 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: #fff;
}

.p-review-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.p-review-date {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #555568;
}

.p-achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.p-achievement {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.p-achievement.locked {
  opacity: 0.4;
}

.p-ach-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: rgba(99,91,255,0.1);
  color: #a78bfa;
}

.p-achievement b {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.p-achievement span {
  font-size: 0.75rem;
  color: var(--muted);
}

.p-ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.p-ref-box {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.p-ref-box span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.p-ref-box strong {
  font-size: 1.4rem;
  color: #fff;
}

.p-ref-link-box {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.p-ref-link-box label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.p-ref-link-row {
  display: flex;
  gap: 0.5rem;
}

.p-ref-link-row input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(0,0,0,0.2);
  color: #c8c8d8;
  font-size: 0.85rem;
  font-family: monospace;
  outline: none;
}

.p-ref-link-row input:focus {
  border-color: rgba(99,91,255,0.3);
}

.p-ref-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #635bff, #7c3dff);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.p-ref-copy:hover {
  box-shadow: 0 4px 16px rgba(99,91,255,0.35);
}

.p-2fa-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.p-2fa-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: rgba(99,91,255,0.1);
  color: #a78bfa;
  flex-shrink: 0;
}

.p-2fa-card h4 {
  margin: 0 0 0.15rem;
  font-size: 0.9rem;
  color: #fff;
}

.p-2fa-card p {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.p-2fa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.p-2fa-badge {
  background: rgba(255,184,75,0.12);
  color: #ffdb8a;
}

.p-2fa-badge i {
  font-size: 0.5rem;
}

/* ── Profile Order / Listing Cards ── */
.p-order-card {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  margin-bottom: 0.65rem;
}

.p-order-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.p-order-id {
  font-weight: 700;
  color: #555568;
  font-family: monospace;
  font-size: 0.78rem;
}

.p-order-date {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.75rem;
}

.p-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}

.p-status-badge.pending { background: rgba(255,184,75,0.12); color: #ffdb8a; }
.p-status-badge.processing { background: rgba(96,165,250,0.12); color: #93c5fd; }
.p-status-badge.shipped { background: rgba(99,91,255,0.12); color: #a78bfa; }
.p-status-badge.delivered { background: rgba(32,210,143,0.12); color: #20d28f; }
.p-status-badge.cancelled { background: rgba(239,68,68,0.12); color: #fca5a5; }

.p-order-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
}

.p-order-item {
  font-size: 0.82rem;
  color: var(--text);
}

.p-order-item strong { color: #fff; }

.p-order-price { color: var(--muted); margin-left: 0.3rem; }

.p-order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.p-order-total {
  font-size: 0.82rem;
  color: var(--muted);
}

.p-order-total strong {
  color: #20d28f;
  font-size: 0.9rem;
}

.p-order-cancel {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(239,68,68,0.2);
  background: rgba(239,68,68,0.08);
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.p-order-cancel:hover {
  background: rgba(239,68,68,0.2);
}

.p-listing-grid {
  display: grid;
  gap: 0.65rem;
}

.p-listing-card {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.p-listing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.p-listing-title {
  font-size: 0.9rem;
  color: #fff;
}

.p-listing-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: #a78bfa;
}

.p-listing-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
}

.p-listing-cat {
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
}

.p-listing-rating {
  color: var(--muted);
}

@media (max-width: 768px) {
  .p-cover { height: 140px; }
  .p-info { margin-top: -40px; padding: 0 1rem; gap: 1rem; }
  .p-avatar { width: 80px; height: 80px; }
  .p-name-row h1 { font-size: 1.2rem; }
  .p-actions { width: 100%; }
  .p-action-btn { flex: 1; justify-content: center; }
  .p-stats { grid-template-columns: repeat(2, 1fr); }
  .p-achievement-grid { grid-template-columns: repeat(2, 1fr); }
  .p-ref-grid { grid-template-columns: 1fr; }
  .p-2fa-card { flex-wrap: wrap; }

  .p-tabs {
    gap: 0.25rem;
    padding-bottom: 0.25rem;
  }
  .p-tab {
    font-size: 0.78rem;
    padding: 0.5rem 0.75rem;
    min-height: 44px;
  }
  .p-stat-card { padding: 0.75rem 0.85rem; }
  .p-stat-value { font-size: 1rem; }
  .p-xp-card { padding: 0.85rem 1rem; }
  .p-order-card { padding: 0.75rem 0.85rem; }
  .p-order-head { flex-wrap: wrap; }
  .p-review-card { padding: 0.85rem; }
  .p-listing-card { padding: 0.75rem 0.85rem; }
  .p-listing-head { flex-wrap: wrap; gap: 0.3rem; }
}

@media (max-width: 480px) {
  .p-stats { grid-template-columns: 1fr; }
  .p-stat-card { padding: 0.65rem 0.75rem; }
  .p-avatar { width: 64px; height: 64px; }
  .p-info { gap: 0.75rem; }
  .p-name-row h1 { font-size: 1rem; }
  .p-email { font-size: 0.8rem; }
  .p-action-btn { font-size: 0.78rem; padding: 0.4rem 0.6rem; }
  .p-avatar-upload { width: 28px; height: 28px; font-size: 0.7rem; }
  .p-cover { height: 110px; }
  .p-info { margin-top: -32px; }
  .p-detail { min-width: 0; }
  .p-tab { font-size: 0.72rem; padding: 0.4rem 0.5rem; gap: 0.3rem; }
}




/* Kullanıcı Profil Sidebar */
.user-sidebar {
  position: fixed;
  top: 0;
  left: -350px;
  width: 350px;
  height: 100vh;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a22, #121218);
  border-right: 1px solid var(--line);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 91, 255, 0.4) transparent;
}

.user-sidebar::-webkit-scrollbar {
  width: 6px;
}

.user-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.user-sidebar::-webkit-scrollbar-thumb {
  background: rgba(99, 91, 255, 0.3);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.user-sidebar:hover::-webkit-scrollbar-thumb {
  background: rgba(99, 91, 255, 0.5);
}

.user-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 91, 255, 0.7);
}

.user-sidebar.is-open {
  left: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.sidebar-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.user-profile-header {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.25), rgba(124, 61, 255, 0.15));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.user-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.user-avatar-large {
  position: relative;
  width: 64px;
  height: 64px;
}

.user-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(99, 91, 255, 0.5);
  background: linear-gradient(135deg, #635bff, #7c3dff);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.4);
  object-fit: cover;
}

.user-level-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1bb6d9, #20d28f);
  border: 3px solid #1a1a22;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 4px 16px rgba(27, 182, 217, 0.6);
}

.user-info {
  flex: 1;
}

.user-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-balance {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0;
}

.balance-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  margin-top: 0.8rem;
  border: 1px solid rgba(27, 182, 217, 0.4);
  border-radius: 12px;
  background: rgba(27, 182, 217, 0.15);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.balance-btn:hover {
  background: rgba(27, 182, 217, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 182, 217, 0.3);
}

.sidebar-menu {
  flex: 1;
  padding: 1rem 0;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: #d8d9e6;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar-menu-item:hover {
  background: rgba(99, 91, 255, 0.15);
  color: #fff;
  border-left-color: var(--primary);
  padding-left: calc(1.5rem + 3px);
}

.sidebar-menu-item i {
  width: 24px;
  text-align: center;
  color: #766dff;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.sidebar-menu-item:hover i {
  transform: scale(1.15);
}

.sidebar-divider {
  height: 1px;
  margin: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-logout {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 63, 143, 0.3);
  border-radius: 14px;
  background: rgba(255, 63, 143, 0.15);
  color: var(--pink);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: rgba(255, 63, 143, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 63, 143, 0.3);
}

/* ==========================
   Modern navbar polish
   Scoped overrides keep the existing header markup and JS contracts intact.
   ========================== */

.site-header {
  background:
    linear-gradient(180deg, rgba(10, 10, 16, 0.96), rgba(5, 5, 9, 0.92));
  border-bottom-color: rgba(122, 114, 255, 0.14);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.36);
}

.site-header .header-top {
  min-height: 42px;
  color: rgba(235, 235, 244, 0.82);
  font-size: 0.78rem;
}

.site-header .header-top nav {
  gap: 0.7rem;
}

.site-header .select-btn {
  height: 32px;
  padding: 0 0.75rem;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(18, 18, 24, 0.82);
}

.site-header .header-tools {
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(14, 14, 20, 0.72);
}

.site-header .icon-btn,
.site-header .action-btn {
  border-radius: 14px;
}

.site-header .header-tools .icon-btn {
  width: 42px;
  height: 42px;
  color: rgba(245, 245, 250, 0.9);
}

.site-header .logo {
  min-width: 0;
}

.site-header .logo img {
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
}

.site-header .search {
  min-width: 0;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 15, 21, 0.86);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header .search:focus-within {
  border-color: rgba(27, 182, 217, 0.52);
  background: rgba(16, 18, 25, 0.96);
  box-shadow: 0 0 0 3px rgba(27, 182, 217, 0.12);
}

.site-header .search input {
  width: 100%;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-header .header-actions {
  min-width: max-content;
  flex-wrap: nowrap;
  gap: 0.55rem;
}

.site-header .header-actions .notif-btn {
  display: inline-flex !important;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(27, 182, 217, 0.3);
  background:
    radial-gradient(circle at 34% 18%, rgba(27, 182, 217, 0.22), transparent 46%),
    rgba(13, 17, 23, 0.9);
  color: #7df7ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 30px rgba(27, 182, 217, 0.12);
}

.site-header .header-actions .notif-btn:hover {
  border-color: rgba(27, 182, 217, 0.58);
  background:
    radial-gradient(circle at 34% 18%, rgba(27, 182, 217, 0.3), transparent 48%),
    rgba(16, 22, 30, 0.96);
}

.site-header .header-actions .notif-btn .fa-solid {
  width: auto;
  height: auto;
  color: currentColor;
  font-size: 1.03rem;
}

.site-header .notif-badge {
  top: -6px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  border: 2px solid #050507;
  background: linear-gradient(135deg, #ff3f8f, #ff5d5d);
  box-shadow: 0 8px 18px rgba(255, 63, 143, 0.35);
}

.site-header .header-actions .action-btn {
  min-height: 46px;
  padding: 0 0.95rem;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(17, 17, 23, 0.86);
}

.site-header .header-actions .action-btn.ghost,
.site-header .header-actions .admin-panel-link {
  border-color: rgba(122, 114, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(17, 17, 23, 0.9);
}

.site-header .header-actions .account-btn {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(32, 210, 143, 0.24);
  background: rgba(11, 20, 18, 0.8);
  color: #5eead4;
}

.site-header .category-nav {
  min-height: 58px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  animation: none;
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 42px), transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 42px), transparent);
}

.site-header .nav-pill {
  min-height: 38px;
  padding: 0 0.86rem;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(17, 17, 24, 0.9);
  color: rgba(245, 245, 250, 0.9);
  font-size: 0.82rem;
  line-height: 1;
  box-shadow: none;
  animation: none;
}

.site-header .nav-pill:hover {
  background:
    linear-gradient(180deg, rgba(122, 114, 255, 0.16), rgba(122, 114, 255, 0.06)),
    rgba(18, 18, 26, 0.95);
}

.site-header .nav-pill.active {
  border-color: rgba(122, 114, 255, 0.62);
  background:
    linear-gradient(135deg, rgba(99, 91, 255, 0.32), rgba(27, 182, 217, 0.12)),
    rgba(19, 18, 30, 0.95);
  box-shadow: 0 0 0 1px rgba(122, 114, 255, 0.12), 0 14px 30px rgba(99, 91, 255, 0.16);
  animation: none;
}

.site-header .nav-pill .fa-solid,
.site-header .nav-brand {
  width: 18px;
  height: 18px;
}

.site-header .nav-brand {
  filter: drop-shadow(0 0 8px rgba(99, 91, 255, 0.3));
}

@media (min-width: 901px) {
  .site-header .header-main {
    grid-template-columns: auto 190px minmax(320px, 680px) auto !important;
    min-height: 82px;
    align-items: center !important;
    justify-content: space-between;
    gap: 1rem !important;
  }

  .site-header .header-main .search {
    display: flex !important;
    width: 100%;
    height: 50px;
    padding: 0 1rem;
    align-items: center;
    box-sizing: border-box;
  }

  .site-header .header-main .logo img {
    width: 178px !important;
  }
}

@media (max-width: 1180px) {
  .site-header .header-main {
    grid-template-columns: auto 180px minmax(220px, 1fr) auto;
  }

  .site-header .header-actions {
    gap: 0.4rem;
  }

  .site-header .header-actions .admin-panel-link {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .site-header .header-main .search {
    display: none;
  }

  .site-header .header-main .search.is-visible {
    display: flex;
  }

  .site-header .header-tools {
    background: transparent;
    border-color: transparent;
    padding: 0;
  }

  .site-header .category-nav {
    width: 100%;
    padding-inline: 14px;
  }
}

@media (max-width: 620px) {
  .site-header .header-actions .notif-btn {
    width: 42px;
    height: 42px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   GLOBAL DM MODAL SYSTEM
   ══════════════════════════════════════════════════════════════════════════ */

/* Modern DM Overlay & Modal */
.dm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dm-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.dm-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 1001;
  width: min(1000px, 92vw);
  height: min(720px, 88vh);
  display: flex;
  background: linear-gradient(145deg, rgba(13, 14, 22, 0.98), rgba(9, 10, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.dm-modal.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

/* ── Left Sidebar (Conversations) ─────────────────── */
.dm-sidebar {
  width: 330px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: rgba(10, 11, 18, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.dm-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.4rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.dm-sidebar-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.dm-sidebar-title i {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.25rem;
}

.dm-close-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.dm-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
  transform: scale(1.05);
}

.dm-sidebar-search {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem 1.2rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.dm-sidebar-search:focus-within {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.04);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.dm-sidebar-search i {
  color: #64748b;
  font-size: 0.85rem;
}

.dm-sidebar-search input {
  flex: 1;
  border: none;
  background: transparent;
  color: #f1f5f9;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
}

.dm-sidebar-search input::placeholder { 
  color: #475569;
  font-weight: 500;
}

.dm-sidebar-body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.2) transparent;
  padding: 0.4rem 1rem 1rem;
}

.dm-sidebar-body::-webkit-scrollbar { width: 5px; }
.dm-sidebar-body::-webkit-scrollbar-track { background: transparent; }
.dm-sidebar-body::-webkit-scrollbar-thumb { 
  background: rgba(99, 102, 241, 0.2); 
  border-radius: 10px; 
}

.dm-loading,
.dm-empty-convs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  color: #64748b;
  gap: 0.9rem;
  text-align: center;
}

.dm-loading i { 
  font-size: 2rem; 
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dm-empty-convs i { 
  font-size: 2.2rem; 
  color: #475569; 
}

.dm-empty-convs p { 
  font-size: 0.9rem; 
  line-height: 1.7; 
  margin: 0; 
  color: #94a3b8; 
}

/* Conversation Items */
.dm-conv-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  margin: 0.3rem 0;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  position: relative;
}

.dm-conv-item:hover { 
  background: rgba(255, 255, 255, 0.04); 
  border-color: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}

.dm-conv-item.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08));
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.12);
}

.dm-conv-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.dm-conv-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.dm-conv-online {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid rgba(10, 11, 18, 0.98);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.dm-conv-info { flex: 1; min-width: 0; }

.dm-conv-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.dm-conv-name strong {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.dm-conv-name time {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.dm-conv-preview {
  font-size: 0.82rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.dm-conv-unread {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

/* ── Right Chat Area ──────────────────────────────── */
.dm-chat-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(13, 14, 22, 0.98), rgba(10, 11, 18, 0.98));
}

/* Hide chat area when no conversation is selected */
.dm-modal:not(.show-chat) .dm-chat-area {
  display: none !important;
}

.dm-chat-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  color: #64748b;
}

.dm-chat-placeholder-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.08));
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  font-size: 2.8rem;
  border: 1px solid rgba(99, 102, 241, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.dm-chat-placeholder-icon i {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dm-chat-placeholder h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 800;
}

.dm-chat-placeholder p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 340px;
  color: #94a3b8;
  font-weight: 500;
}

.dm-chat-window {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.dm-chat-window.hidden { display: none; }

.dm-chat-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 11, 18, 0.95);
  flex-shrink: 0;
}

.dm-chat-header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dm-chat-header-info { flex: 1; min-width: 0; }

.dm-chat-header-info strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.dm-chat-header-info span {
  font-size: 0.78rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.dm-chat-header-info span i {
  font-size: 0.45rem;
}

.dm-chat-header-actions { display: flex; gap: 0.5rem; }

.dm-header-action-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.dm-header-action-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.dm-back-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  margin-right: 0.3rem;
}

.dm-back-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateX(-2px);
}

.dm-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.6rem 1.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.2) transparent;
}

.dm-messages::-webkit-scrollbar { width: 6px; }
.dm-messages::-webkit-scrollbar-track { background: transparent; }
.dm-messages::-webkit-scrollbar-thumb { 
  background: rgba(99, 102, 241, 0.2); 
  border-radius: 10px; 
}

.dm-msg-date-sep {
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
  margin: 1rem 0 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.dm-msg-date-sep::before,
.dm-msg-date-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.dm-msg {
  max-width: 75%;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.65;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 0.25rem;
  animation: msgSlideIn 0.25s ease-out;
}

@keyframes msgSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dm-msg time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.5rem;
  opacity: 0.85;
}

/* System Message Style (like your screenshot) */
.dm-msg--system {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #ffffff;
  align-self: center;
  max-width: 90%;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
  font-weight: 500;
}

.dm-msg--sent {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.dm-msg--sent time { 
  color: rgba(255, 255, 255, 0.88); 
}

.dm-msg--received {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

.dm-msg--received time { 
  color: #94a3b8; 
}

.dm-msg-read { font-size: 0.75rem; }
.dm-msg-read i { color: #4ef8c4; }

/* Input Area */
.dm-input-area {
  padding: 1rem 1.5rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 11, 18, 0.96);
  flex-shrink: 0;
}

.dm-input-form { display: flex; width: 100%; }

.dm-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 0.65rem 0.7rem 0.65rem 1.2rem;
  transition: all 0.25s ease;
}

.dm-input-wrap:focus-within {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.dm-emoji-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  display: grid;
  place-items: center;
}

.dm-emoji-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f59e0b;
  transform: scale(1.08);
}

.dm-text-input {
  flex: 1;
  border: none;
  background: transparent;
  color: #f8fafc;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  line-height: 1.5;
  min-width: 0;
}

.dm-text-input::placeholder { 
  color: #64748b;
  font-weight: 500;
}

.dm-input-actions { display: flex; gap: 0.5rem; align-items: center; flex-shrink: 0; }

.dm-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: none;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
  flex-shrink: 0;
}

.dm-send-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 26px rgba(99, 102, 241, 0.45);
}

.dm-send-btn:active { 
  transform: translateY(-1px) scale(1.02); 
}

/* ── Responsive Design ────────────────────────────── */
@media (max-width: 900px) {
  .dm-modal {
    width: 96vw;
    height: 90vh;
    border-radius: 20px;
  }
  .dm-sidebar { width: 280px; }
}

@media (max-width: 720px) {
  .dm-modal {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
  }

  .dm-modal.is-open { transform: none; }

  .dm-sidebar {
    width: 100% !important;
    display: flex !important;
  }

  .dm-chat-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 14, 22, 0.98), rgba(10, 11, 18, 0.98));
    z-index: 10;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex !important;
  }

  .dm-modal.show-chat .dm-chat-area {
    transform: translateX(0);
  }

  .dm-back-btn {
    display: flex !important;
  }
}
