@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Syne:wght@500;600;700;800&display=swap");

:root {
  --bg: #0b0d10;
  --bg-elevated: #12151a;
  --surface: #14181f;
  --surface-2: #1a1f28;
  --border: rgba(232, 236, 242, 0.08);
  --border-strong: rgba(232, 236, 242, 0.16);
  --accent: #3c9cd7;
  --accent-dim: #2a7aad;
  --accent-soft: rgba(60, 156, 215, 0.14);
  --text: #eceff3;
  --muted: #9aa3af;
  --danger: #d47888;
  --success: #6bb896;
  --radius: 8px;
  --header-h: 76px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", sans-serif;
  --shadow-glow: none;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 12% -8%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 52%),
    radial-gradient(ellipse 70% 45% at 92% 8%, rgba(255, 255, 255, 0.03), transparent 48%),
    linear-gradient(180deg, #0e1218 0%, var(--bg) 38%, #090b0e 100%);
  background-attachment: fixed;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body > main,
body > .panel-page,
body > .auth-page {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

picture,
video,
canvas {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: color-mix(in srgb, var(--accent) 70%, #fff);
}

.container {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  overflow: visible;
}

.header-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.1rem;
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  flex-shrink: 0;
}

.brand img {
  height: 58px;
  width: auto;
}

.brand-full {
  height: 58px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  object-position: left center;
}

.site-tag {
  display: inline-flex;
  align-items: center;
  max-width: 12rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.1rem;
  margin-left: auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  color: var(--muted);
  font-weight: 550;
  font-size: 0.9rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  position: relative;
  transition: color 0.18s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.12rem;
  height: 1.5px;
  background: var(--accent);
  box-shadow: none;
  border-radius: 1px;
  opacity: 0.9;
}

.nav-mobile-prefs {
  display: none;
}

.nav-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0.35rem;
}

.prefs-switchers {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.prefs-select select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 3.4rem;
  padding: 0.35rem 1.35rem 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 12px) calc(50% - 2px) / 5px 5px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 8px) calc(50% - 2px) / 5px 5px no-repeat,
    var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  line-height: 1.2;
}

.prefs-select select:hover,
.prefs-select select:focus {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  outline: none;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0.65rem 0.25rem 0.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.profile-chip:hover,
.profile-chip.is-active,
.profile-menu.is-open .profile-chip {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: var(--accent-soft);
  box-shadow: none;
  color: var(--text);
}

.profile-chip-photo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.profile-chip-photo .avatar-img,
.profile-chip-photo .avatar-letter {
  width: 100%;
  height: 100%;
}

.profile-chip-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-chip-caret {
  color: var(--muted);
  display: inline-flex;
  margin-left: 0.05rem;
  opacity: 0.85;
}

.profile-chip-caret svg {
  display: block;
}

.profile-menu {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.credit-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.credit-chip:hover {
  background: var(--accent-soft);
  border-color: var(--border-strong);
  color: var(--text);
}

.nav-credit-load {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0.15rem;
  white-space: nowrap;
}

.nav-credit-load:hover {
  color: var(--accent);
}

.nav-guest-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 210px;
  padding: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  z-index: 120;
  display: none;
  gap: 0.1rem;
}

.profile-menu.is-open .profile-dropdown {
  display: grid;
}

.profile-dropdown[hidden] {
  display: none !important;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.75rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 550;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.profile-menu-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--muted);
  opacity: 0.9;
}

.profile-menu-item:hover svg {
  color: var(--text);
}

.profile-menu-item:hover,
.profile-menu-item.is-active {
  background: color-mix(in srgb, var(--surface-2) 80%, #fff 4%);
  color: var(--text);
}

.profile-menu-item.danger {
  color: #ffb3c1;
}

.profile-menu-item.danger:hover {
  background: rgba(255, 92, 122, 0.12);
  color: #ffb3c1;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 7px;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn:active {
  transform: none;
  opacity: 0.9;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--accent) 82%, #0a1018);
  box-shadow: none;
}

.btn-primary:hover {
  box-shadow: none;
  background: color-mix(in srgb, var(--accent) 88%, #fff);
  border-color: color-mix(in srgb, var(--accent) 72%, #fff);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: var(--accent-soft);
  color: var(--text);
}

.btn-danger {
  background: rgba(255, 92, 122, 0.15);
  border-color: rgba(255, 92, 122, 0.4);
  color: #ffb3c1;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}

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

.hero-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 65% 55% at 48% 42%, #000 15%, transparent 72%);
  opacity: 0.55;
  animation: none;
}

.hero-orb {
  display: none;
}

.hero-orb-a,
.hero-orb-b {
  display: none;
}

@keyframes heroGridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-28px, -28px, 0); }
}

@keyframes heroOrbFloat {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-22px) scale(1.06); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 13, 16, 0.2) 30%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 78% 35%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%);
  z-index: -1;
  animation: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 12%;
  width: min(480px, 62vw);
  height: min(480px, 62vw);
  background: url("../assets/logo-icon.png") center / contain no-repeat;
  opacity: 0.07;
  filter: none;
  z-index: -1;
  animation: none;
  pointer-events: none;
}

@keyframes heroPulse {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

.hero-content {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  max-width: 720px;
}

.hero-brand {
  display: block;
  height: clamp(96px, 14vw, 148px);
  width: auto;
  max-width: min(520px, 92vw);
  margin-bottom: 1.75rem;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  animation: fadeUp 0.7s ease both;
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.7s ease both;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.hero-brand-mark {
  width: clamp(72px, 11vw, 96px);
  height: clamp(72px, 11vw, 96px);
  object-fit: contain;
}

.hero-brand-word {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.05rem, 4.8vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.9rem;
  animation: fadeUp 0.7s ease 0.08s both;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
  max-width: 34ch;
  animation: fadeUp 0.7s ease 0.16s both;
  line-height: 1.65;
  font-weight: 450;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: fadeUp 0.7s ease 0.24s both;
}

.hero-cta .btn-primary {
  box-shadow: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.discord-promo + .section {
  padding-top: 2.75rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2,
.home-why-head h2,
.home-faq-head h2,
.home-reviews-head h2 {
  letter-spacing: -0.03em;
}

.section-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.84rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head-link {
  flex-shrink: 0;
}

.home-vitrin {
  position: relative;
}

.home-vitrin::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0.8;
}

.home-vitrin .shop-product-grid {
  animation: fadeUp 0.7s ease 0.1s both;
}

.home-stats-section {
  padding-top: 1.5rem;
  padding-bottom: 3.5rem;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.home-stats .stat-card {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-top: 0;
  border-left: 0;
}

.stat-card {
  position: relative;
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: 0;
  border: 1px solid var(--border);
  background: transparent;
  overflow: visible;
  transition: border-color 0.15s ease;
}

.stat-card::after {
  display: none;
}

.stat-card:hover {
  border-color: var(--border-strong);
  transform: none;
  box-shadow: none;
}

.stat-card-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0;
  display: block;
  place-items: unset;
  color: var(--muted);
  background: none;
  border: none;
  position: relative;
  z-index: 1;
  margin-bottom: 0.25rem;
}

.stat-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.stat-card-value {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
  transition: none;
}

.stat-card-value.is-counted {
  color: var(--text);
}

.stat-card-label {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .home-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .home-stats {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

/* Store / categories */
.store-page .store-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.store-page .store-crumb a {
  color: var(--accent-dim);
  text-decoration: none;
}

.store-page .store-crumb a:hover {
  color: var(--accent);
}

.store-page .store-head {
  margin-bottom: 1.75rem;
}

.store-page .store-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.store-page .store-head p,
.store-page .store-head-desc {
  margin: 0.45rem 0 0;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.55;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.45rem;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
  transition: border-color 0.15s ease;
}

.category-card:hover {
  transform: none;
  border-color: var(--border-strong);
  box-shadow: none;
}

.category-card-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-elevated);
  display: grid;
  place-items: center;
}

.category-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.category-card:hover .category-card-media img {
  transform: scale(1.04);
}

.category-card-placeholder {
  display: grid;
  place-items: center;
  gap: 0.65rem;
  padding: 1rem;
  text-align: center;
}

.category-card-placeholder img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0.65;
}

.category-card-placeholder strong {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-card-body {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
}

.category-card-body h2 {
  margin: 0;
  font-size: 1.08rem;
  font-family: var(--display);
  font-weight: 700;
}

.category-card-cta {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  transition: color 0.15s ease, transform 0.15s ease;
}

.category-card:hover .category-card-cta {
  color: var(--accent);
  transform: translateX(3px);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.product-media {
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media .placeholder-icon {
  width: 64px;
  height: 64px;
  opacity: 0.55;
}

.product-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.product-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dim);
  font-weight: 600;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.product-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--display);
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.price {
  font-weight: 700;
  font-family: var(--display);
  color: var(--accent);
}

/* Auth / forms */
.auth-page,
.panel-page {
  padding: 2.5rem 0 4rem;
  min-height: calc(100vh - var(--header-h) - 80px);
}

.auth-shell {
  width: min(440px, 100%);
  margin-inline: auto;
}

.panel-shell {
  width: min(960px, 100%);
  margin-inline: auto;
}

.panel {
  background: color-mix(in srgb, var(--surface) 92%, #fff 1.5%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.55rem 1.6rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.panel h1,
.auth-shell h1 {
  font-family: var(--display);
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.auth-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.85rem;
  font-size: 0.88rem;
}

.auth-help-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-help-links a:hover {
  text-decoration: underline;
}

.auth-help-links span {
  color: var(--muted);
}

.lead {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  background: var(--bg-elevated);
  padding: 0.3rem;
  border-radius: 10px;
}

.tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  padding: 0.55rem;
  border-radius: 8px;
  cursor: pointer;
}

.tab.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

.form-stack {
  display: grid;
  gap: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  font: inherit;
  padding: 0.72rem 0.9rem;
  outline: none;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: color-mix(in srgb, var(--bg-elevated) 85%, var(--surface));
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.form-msg {
  min-height: 1.25rem;
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}

.form-msg.error {
  color: var(--danger);
}

.form-msg.success {
  color: var(--success);
}

.hidden {
  display: none !important;
}

/* Profile */
.profile-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.profile-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.profile-meta-main {
  min-width: 0;
  flex: 1;
}

.profile-display-name {
  margin: 0;
  font-family: var(--display);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.2;
}

.profile-display-text {
  color: var(--text);
  background: none;
  -webkit-text-fill-color: unset;
}

.user-marks {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  vertical-align: middle;
}

.user-mark {
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  flex: 0 0 auto;
}

.user-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.user-mark-verified {
  color: #f5c542;
  filter: drop-shadow(0 0 5px rgba(245, 197, 66, 0.4));
}

.user-mark-discord {
  color: #5865f2;
  filter: none;
}

.user-marks.is-sm .user-mark {
  width: 1em;
  height: 1em;
}

.review-card-name {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.profile-tabs .tab.tab-discord {
  gap: 0.35rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.profile-tabs .tab.tab-discord .discord-ico {
  flex: 0 0 auto;
  color: #5865f2;
  opacity: 1;
}

.profile-meta-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.profile-meta-badges .profile-rank-wrap {
  margin-top: 0;
}

.profile-credit-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}

.profile-credit-badge:hover {
  background: var(--accent-soft);
  border-color: var(--border-strong);
  color: var(--text);
}

.profile-summary [data-summary-credit] {
  color: var(--accent);
  font-size: 1.15rem;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-lg {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  font-size: 2rem;
}

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

.avatar-letter {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent);
}

.avatar-letter.sm {
  font-size: 0.85rem;
}

.avatar-upload {
  max-width: 420px;
  display: grid;
  gap: 0.85rem;
}

.avatar-upload-actions {
  justify-content: flex-start;
}

.img-upload {
  display: grid;
  gap: 0.55rem;
}

.img-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.img-upload-label svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent);
}

.img-upload-zone {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1rem 1.15rem;
  border: 1.5px dashed rgba(160, 140, 220, 0.55);
  border-radius: 14px;
  background: rgba(10, 14, 20, 0.55);
}

.img-upload-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 280px);
  min-height: 96px;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f4f6fb;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  overflow: hidden;
}

.img-upload-frame.is-cover {
  width: 100%;
  min-height: 140px;
}

.img-upload-frame.is-banner {
  width: 100%;
  max-width: 468px;
  min-height: 60px;
  aspect-ratio: 468 / 60;
  padding: 0.35rem;
}

.img-upload-frame.is-banner img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 8px;
}

.img-upload.is-compact .img-upload-zone {
  padding: 0.65rem;
  justify-items: stretch;
}

.img-upload.is-compact .img-upload-frame.is-banner {
  margin-inline: 0;
}

.img-upload-frame.is-icon {
  width: 120px;
  min-height: 120px;
}

.img-upload-frame.is-avatar {
  width: 120px;
  min-height: 120px;
  border-radius: 50%;
  padding: 0.35rem;
}

.img-upload-frame img {
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
  display: block;
}

.img-upload-frame.is-cover img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.img-upload-frame.is-icon img {
  max-height: 72px;
}

.img-upload-frame.is-avatar img {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 50%;
  object-fit: cover;
}

.img-upload-empty {
  color: #6b7280;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.5rem;
}

.img-upload-frame.is-avatar .img-upload-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.6rem;
}

.img-upload-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: #dc2626;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(220, 38, 38, 0.28);
}

.img-upload-remove:hover {
  background: #ef4444;
}

.img-upload-remove svg {
  width: 0.95rem;
  height: 0.95rem;
}

.img-upload-remove[hidden] {
  display: none !important;
}

.img-upload-frame input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.field-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.file-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-height: 168px;
  padding: 1.5rem 1.4rem 1.65rem;
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  text-align: center;
}

.file-drop:hover,
.file-drop:focus-within {
  border-color: var(--border-strong);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.file-drop.is-dragover {
  border-style: solid;
  border-color: var(--accent);
  background: var(--accent-soft);
}

.file-drop-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.file-drop-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
}

.file-drop-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.file-drop-body {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.file-drop-body strong {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text);
  line-height: 1.35;
}

.file-drop-hint {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.file-drop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  min-width: 120px;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 18%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  box-shadow: none;
}

.file-drop:hover .file-drop-btn {
  filter: none;
  background: color-mix(in srgb, var(--accent) 26%, var(--surface-2));
}

.profile-hero-panel {
  margin-bottom: 1.25rem;
}

.profile-title {
  margin: 0;
  font-family: var(--display);
}

.profile-email {
  margin: 0.25rem 0 0;
}

.panel-title {
  margin-top: 0;
  font-family: var(--display);
  font-size: 1.25rem;
}

.profile-tabs {
  margin-top: 1rem;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.28rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.profile-tabs .tab {
  flex: 0 0 auto;
  min-width: auto;
  padding: 0.55rem 0.75rem;
  text-align: center;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 550;
  border-radius: 6px;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.profile-tabs .tab.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.license-bound {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.license-bound-edit {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.15rem;
  opacity: 0.85;
}

.license-bound-edit:hover {
  opacity: 1;
  transform: scale(1.08);
}

.license-bound-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
}

.license-bound-form input[name="bound_value"] {
  min-width: 10rem;
  flex: 1;
  max-width: 16rem;
}

code.license-key.is-copied {
  color: var(--accent);
}

.purchased-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.purchased-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  padding: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.purchased-card-media {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elevated);
  display: grid;
  place-items: center;
}

.purchased-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.purchased-card-media .placeholder-icon {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

.purchased-card-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.purchased-card-body p {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.purchased-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.purchased-key {
  font-size: 0.88rem;
  margin: 0 0 0.65rem !important;
}

.purchased-key a {
  margin-left: 0.5rem;
  color: var(--accent);
}

.purchased-nodl {
  font-size: 0.85rem;
  color: var(--muted);
}

.text-pos { color: #6dffa8; }
.text-neg { color: #ff9aab; }

@media (max-width: 640px) {
  .purchased-card {
    grid-template-columns: 1fr;
  }
  .purchased-card-media {
    max-width: 120px;
  }
}

.profile-discord-tab-form {
  margin: 0;
  display: inline-flex;
}

.profile-tabs .tab.tab-discord {
  border-color: var(--border);
  color: var(--text);
}

.profile-tabs .tab.tab-discord.is-linked {
  background: transparent;
  color: var(--text);
}

.profile-tabs .tab.tab-discord.is-linked.is-active {
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: none;
}

.profile-tabs .tab.tab-discord .discord-ico {
  color: #5865f2;
}

.profile-tabs .tab.tab-discord.is-linked .discord-ico,
.profile-tabs .tab.tab-discord.is-linked.is-active .discord-ico {
  color: #5865f2;
}

.profile-tabs .tab.tab-discord.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.discord-link-card {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.discord-link-avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #5865f2;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.discord-link-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-link-summary {
  flex: 1;
  margin: 0;
  min-width: 0;
}

.discord-link-status {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--success) 40%, var(--border));
  color: var(--success);
  font-size: 0.82rem;
}

.discord-unlink {
  margin-top: 0.25rem;
}

.discord-unlink-trigger {
  color: var(--danger);
  border-color: rgba(255, 92, 122, 0.35);
}

.discord-unlink-trigger:hover {
  color: #ff8aa0;
  border-color: rgba(255, 92, 122, 0.55);
}

.discord-unlink-confirm {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 92, 122, 0.28);
  background: rgba(255, 92, 122, 0.06);
}

.discord-unlink-confirm p {
  margin: 0 0 0.9rem;
  color: var(--text);
  font-size: 0.98rem;
}

.discord-unlink-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.discord-unlink-actions form {
  margin: 0;
}

@media (max-width: 560px) {
  .discord-link-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .discord-unlink-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .discord-unlink-actions .btn,
  .discord-unlink-trigger {
    width: 100%;
    justify-content: center;
  }
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.form-stack > .btn,
.form-actions .btn {
  justify-self: start;
  width: auto;
}

.avatar-remove-form {
  margin-top: 0.75rem;
}

.file-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.profile-summary {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
}

.profile-summary dt {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.15rem;
}

.profile-summary dd {
  margin: 0;
  font-weight: 600;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border-radius: 10px 10px 14px 10px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  vertical-align: middle;
}

.rank-badge-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rank-badge-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.rank-badge-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 3px;
}

.rank-badge-text {
  white-space: nowrap;
}

.rank-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.profile-rank-wrap {
  margin-top: 0.55rem;
}

.comment-head .rank-badge {
  margin-left: 0.35rem;
  transform: scale(0.92);
  transform-origin: left center;
}

/* Admin */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.table-wrap {
  overflow-x: auto;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.data th,
table.data td {
  text-align: left;
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

table.data th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.row-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.admin-form {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.phone-field {
  display: grid;
  gap: 0.4rem;
}

.phone-input {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  overflow: visible;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.phone-input:focus-within {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.phone-dial {
  position: relative;
  flex: 0 0 auto;
  z-index: 5;
}

.phone-dial-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 100%;
  min-height: 46px;
  margin: 0;
  padding: 0 0.85rem 0 0.75rem;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 12px 0 0 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.phone-dial-btn:hover,
.phone-dial.is-open .phone-dial-btn {
  background: rgba(255, 255, 255, 0.06);
}

.phone-dial-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.phone-dial-code {
  letter-spacing: 0.01em;
}

.phone-dial-caret {
  width: 10px;
  height: 7px;
  opacity: 0.85;
  transition: transform 0.15s ease;
}

.phone-dial.is-open .phone-dial-caret {
  transform: rotate(180deg);
}

.phone-dial-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, calc(100vw - 2rem));
  padding: 0.55rem;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 40;
}

.phone-dial-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.phone-dial-search svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.85;
}

.phone-dial-search input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
}

.phone-dial-search input::placeholder {
  color: var(--muted);
}

.phone-dial-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.phone-dial-list::-webkit-scrollbar {
  width: 6px;
}

.phone-dial-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.phone-dial-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  margin: 0 0 2px;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease;
}

.phone-dial-option:hover {
  background: rgba(255, 255, 255, 0.04);
}

.phone-dial-option.is-active {
  background: var(--accent-soft);
}

.phone-dial-option-flag {
  font-size: 1.15rem;
  line-height: 1;
  width: 1.4rem;
  text-align: center;
}

.phone-dial-option-meta {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.phone-dial-option-meta strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-dial-option-meta span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

.phone-dial-empty {
  margin: 0.75rem 0.35rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.phone-input > input[data-phone-number],
.phone-input > input[type="tel"] {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 12px 12px 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0.75rem 0.9rem !important;
  color: var(--text);
  font: inherit;
  outline: none;
}

.phone-input > input::placeholder {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 3.1rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: color-mix(in srgb, var(--bg) 70%, #050608);
}

.site-footer .footer-inner {
  width: min(980px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.9fr));
  gap: 1.75rem 2.25rem;
  width: 100%;
  align-items: start;
}

.site-footer .footer-col {
  min-width: 0;
}

.site-footer .footer-brand-col {
  padding-right: 0.5rem;
}

.site-footer .footer-col h4 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
  font-weight: 650;
}

.site-footer .footer-brand-block {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text) !important;
  margin-bottom: 0.75rem;
}

.site-footer .footer-brand-block:hover {
  color: var(--text) !important;
}

.site-footer .footer-brand-full {
  height: 58px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  object-position: left center;
}

.site-footer .footer-brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer .footer-brand-block img {
  flex-shrink: 0;
}

.site-footer .footer-brand-block span {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.site-footer .footer-brand-name,
.site-footer .footer-brand-block strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text);
  font-weight: 700;
}

.site-footer .footer-brand-block small,
.site-footer .footer-tagline {
  display: block;
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.site-footer .footer-about {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 32ch;
}

.site-footer .footer-social-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.site-footer .footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.site-footer .footer-social-btn svg {
  width: 15px;
  height: 15px;
  display: block;
}

.site-footer .footer-social-btn:hover {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--text);
}

.site-footer .footer-links {
  display: grid;
  gap: 0.5rem;
}

.site-footer .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.site-footer .footer-links a:hover {
  color: var(--accent);
}

.site-footer .footer-link-arrow {
  color: var(--muted);
  opacity: 0.75;
  display: inline-flex;
  width: 0.65rem;
  flex-shrink: 0;
}

.site-footer .footer-link-arrow svg {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer .footer-contact {
  display: grid;
  gap: 0.5rem;
}

.site-footer .footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
}

.site-footer .footer-contact-item:hover {
  color: var(--accent);
}

.site-footer .footer-contact-ico {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  flex-shrink: 0;
  border-radius: 0;
  border: none;
  background: none;
  font-size: 0;
  line-height: 1;
}

.site-footer .footer-contact-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.site-footer .footer-empty {
  color: var(--muted);
  opacity: 0.7;
}

.site-footer .footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* Blog */
.blog-grid {
  display: grid;
  gap: 1.25rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin: 2rem 0 0.5rem;
}

.pagination-btn {
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.65rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

a.pagination-btn:hover {
  border-color: var(--border-strong);
  color: var(--accent);
  background: var(--accent-soft);
}

.pagination-btn.is-active {
  border-color: var(--border-strong);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--border-strong);
}

.pagination-btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.blog-card:hover {
  border-color: var(--border-strong);
  box-shadow: none;
}

.blog-card-media {
  min-height: 160px;
  background: var(--bg-elevated);
  display: grid;
  place-items: center;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-media .placeholder-icon {
  width: 72px;
  height: 72px;
  opacity: 0.55;
  object-fit: contain;
}

.blog-card-body {
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.blog-card-body h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.25;
}

.blog-card-body h2 a {
  color: var(--text);
}

.blog-card-body h2 a:hover {
  color: var(--accent);
}

.blog-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.blog-meta-sep {
  opacity: 0.55;
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.blog-meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.8;
  color: var(--accent);
}

.post-article {
  width: min(720px, 100%);
  margin-inline: auto;
}

.cms-page {
  width: min(760px, 100%);
  margin-inline: auto;
}

.cms-page-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cms-page-head h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.15;
  margin: 0;
}

.cms-page-meta {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cms-page-body {
  font-size: 1.03rem;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  line-height: 1.75;
  font-family: var(--font);
}

.cms-page-body p {
  margin: 0 0 1rem;
}

.cms-page-body h2,
.cms-page-body h3,
.cms-page-body h4 {
  margin: 1.4rem 0 0.65rem;
  color: var(--text);
  line-height: 1.25;
}

.cms-page-body ul,
.cms-page-body ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.cms-page-body img,
.cms-page-body .rte-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0.75rem auto;
  display: block;
  border: 1px solid var(--border);
}

.cms-page-body img[data-align="left"],
.cms-page-body .rte-img[data-align="left"] {
  margin-left: 0;
  margin-right: auto;
}

.cms-page-body img[data-align="right"],
.cms-page-body .rte-img[data-align="right"] {
  margin-left: auto;
  margin-right: 0;
}

.cms-page-body table,
.cms-page-body .rte-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.cms-page-body th,
.cms-page-body td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
}

.cms-page-body a {
  color: var(--accent);
}

.cms-page-body .rte-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 1rem 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.cms-page-body .rte-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.post-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-weight: 600;
}

.post-back:hover {
  color: var(--accent);
}

.post-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  aspect-ratio: 21 / 9;
  background: var(--surface);
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-header h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0.5rem 0 0;
}

.post-content {
  margin-top: 1.75rem;
  font-size: 1.05rem;
  color: #d7dde6;
}

.post-content p {
  margin: 0 0 1.1rem;
}

.blog-card-author {
  margin: 0;
  font-size: 0.88rem;
  color: var(--accent-dim);
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.blog-card-author .rank-badge {
  transform: scale(0.9);
  transform-origin: left center;
}

.author-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.author-chip-avatar,
.blog-author-avatar,
.post-author-avatar,
.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.author-chip-avatar .avatar-img,
.author-chip-avatar .avatar-letter,
.blog-author-avatar .avatar-img,
.blog-author-avatar .avatar-letter,
.post-author-avatar .avatar-img,
.post-author-avatar .avatar-letter,
.comment-avatar .avatar-img,
.comment-avatar .avatar-letter {
  width: 100%;
  height: 100%;
}

.author-chip-name {
  font-weight: 700;
  color: var(--text);
}

.post-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.post-author .author-chip .rank-badge,
.blog-card-author .author-chip .rank-badge {
  transform: scale(0.92);
  transform-origin: left center;
}

.post-author-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
}

.post-author-user {
  color: var(--muted);
  font-weight: 500;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.blog-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
}

.comments-section {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.comments-section h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.comments-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.comment-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  margin-top: 0.1rem;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-item p {
  margin: 0.45rem 0 0.65rem;
  color: #d7dde6;
}

.comment-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.comment-who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.comment-head > span,
.comment-meta {
  color: var(--muted);
}

.comment-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.comment-delete-form {
  display: inline-flex;
  margin: 0;
}

.comment-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.comment-delete-btn svg {
  width: 1rem;
  height: 1rem;
}

.comment-delete-btn:hover {
  color: #ff7b7b;
  background: rgba(255, 80, 80, 0.12);
  border-color: rgba(255, 80, 80, 0.25);
}

.comment-form textarea {
  min-height: 100px;
}

@media (max-width: 720px) {
  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

/* Mobile */
@media (max-width: 800px) {
  :root {
    --header-h: 72px;
  }

  .site-header {
    height: var(--header-h);
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
    gap: 0.45rem;
    width: min(1120px, calc(100% - 1.1rem));
  }

  .brand {
    order: 1;
    flex-shrink: 0;
  }

  .brand-full,
  .brand img {
    height: 42px;
    max-width: min(140px, 34vw);
  }

  .nav-actions {
    order: 2;
    margin-left: auto;
    gap: 0.35rem;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    order: 3;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
  }

  .prefs-switchers {
    display: none;
  }

  .nav-mobile-prefs {
    display: flex;
    gap: 0.5rem;
    padding: 0.65rem 0.35rem 0.25rem;
    margin-top: 0.35rem;
    border-top: 1px solid var(--border);
  }

  .nav-mobile-prefs .prefs-select {
    flex: 1;
  }

  .nav-mobile-prefs select {
    width: 100%;
    min-height: 2.75rem;
  }

  .cart-chip {
    padding: 0.45rem 0.55rem;
    min-height: 2.75rem;
    flex-shrink: 0;
  }

  .cart-chip-label {
    display: none;
  }

  .profile-chip-name,
  .profile-chip-caret,
  .profile-chip .user-marks {
    display: none;
  }

  .profile-chip {
    padding: 0.2rem;
    min-height: 2.75rem;
    min-width: 2.75rem;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8, 11, 16, 0.98);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.55rem;
    display: none;
    order: 4;
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    z-index: 120;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.9rem;
    font-size: 1rem;
    border-radius: 10px;
  }

  .nav a.is-active {
    background: var(--accent-soft);
    color: var(--accent);
  }

  .nav a.is-active::after {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero-content {
    padding: 2.4rem 0 2rem;
  }

  .hero-brand {
    height: clamp(72px, 22vw, 110px);
    margin-bottom: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .hero p {
    font-size: 0.98rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero::after {
    opacity: 0.12;
    right: -20%;
  }

  .panel-page,
  .store-page {
    padding-block: 1.25rem;
  }

  .container {
    width: min(1120px, calc(100% - 1.1rem));
  }
}

/* Kredi yükleme */
.topup-shell {
  max-width: 720px;
  margin: 0 auto;
}

.topup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.topup-balance {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 160px;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: none;
}

.topup-balance-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0;
  color: var(--muted);
  background: none;
  border: none;
}

.topup-balance-icon svg {
  width: 100%;
  height: 100%;
}

.topup-balance-body {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.topup-balance-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.topup-balance-value {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.topup-methods {
  display: grid;
  gap: 0.55rem;
}

.topup-method {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.topup-method:has(input:checked) {
  border-color: var(--border-strong);
  background: var(--accent-soft);
}

.topup-method strong {
  display: block;
}

.topup-method small {
  color: var(--muted);
  font-size: 0.8rem;
}

.topup-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.topup-preview span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.topup-preview strong {
  font-size: 1.15rem;
  color: var(--accent);
}

.field-hint {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.payment-result-shell {
  max-width: 560px;
  margin: 0 auto;
}

.payment-result {
  text-align: center;
  padding: 2rem 1.5rem;
}

.payment-result h1 {
  margin: 0.75rem 0 0.5rem;
  font-family: var(--display);
  font-size: 1.6rem;
}

.payment-result-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.payment-result-icon svg {
  width: 36px;
  height: 36px;
}

.payment-result.is-ok .payment-result-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.payment-result.is-fail .payment-result-icon {
  background: rgba(255, 92, 122, 0.12);
  color: #ff8da1;
}

.payment-result-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.1rem;
  text-align: left;
}

.payment-result-meta > div {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.payment-result-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.payment-result-meta strong {
  font-size: 0.95rem;
  word-break: break-all;
}

.ticket-status {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.ticket-status.is-open {
  color: #ffd89a;
  background: rgba(255, 180, 70, 0.16);
  border: 1px solid rgba(255, 180, 70, 0.35);
}

.ticket-status.is-answered {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
}

.ticket-status.is-closed {
  color: var(--muted);
  background: rgba(154, 164, 178, 0.12);
  border: 1px solid rgba(154, 164, 178, 0.25);
}

.ticket-thread {
  display: grid;
  gap: 0.9rem;
}

.ticket-msg {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(14, 18, 24, 0.7);
}

.ticket-msg.is-staff {
  border-color: var(--border-strong);
  background: var(--accent-soft);
}

.ticket-msg-avatar {
  flex-shrink: 0;
}

.ticket-msg-body {
  min-width: 0;
  flex: 1;
}

.ticket-msg-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.ticket-msg-head > span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
}

.ticket-msg-text {
  white-space: pre-wrap;
  line-height: 1.55;
  color: var(--text);
  margin-top: 0.45rem;
}

.ticket-author-chip {
  flex-wrap: wrap;
  max-width: 100%;
}

@media (max-width: 560px) {
  .topup-preview {
    grid-template-columns: 1fr;
  }

  .payment-result-meta {
    grid-template-columns: 1fr;
  }
}

.discord-promo {
  position: relative;
  padding: 1.25rem 0 0.5rem;
  z-index: 1;
}

.discord-promo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 350px);
  gap: 2rem 2.5rem;
  align-items: center;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  position: relative;
}

.discord-promo-panel::before {
  display: none;
}

.discord-promo-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.discord-promo-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.discord-promo-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0;
  color: #7289da;
  background: none;
  box-shadow: none;
}

.discord-promo-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.discord-promo-eyebrow {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.discord-promo-copy h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.discord-promo-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.discord-promo-list {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.discord-promo-list li {
  position: relative;
  padding: 0 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-radius: 0;
  background: none;
  border: none;
  line-height: 1.45;
}

.discord-promo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: none;
  opacity: 0.7;
}

.discord-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.15rem;
  border-radius: 7px;
  border: 1px solid transparent;
  background: #5865f2;
  color: #fff;
  font-weight: 600;
  box-shadow: none;
  transition: background 0.15s var(--ease);
}

.discord-promo-cta:hover {
  color: #fff;
  filter: none;
  transform: none;
  background: #4752c4;
}

.discord-promo-frame {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: 100%;
  max-width: 350px;
}

.discord-promo-glow {
  display: none;
}

.discord-promo-chrome {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--surface);
}

.discord-promo-dot {
  display: none;
}

.discord-promo-chrome-label {
  margin-left: 0;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-weight: 500;
}

.discord-promo-frame iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 400px;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #111214;
  box-shadow: none;
}

@media (max-width: 860px) {
  .discord-promo {
    padding-top: 0.75rem;
  }

  .discord-promo-panel {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 0;
  }

  .discord-promo-frame {
    justify-self: center;
    max-width: 340px;
  }

  .discord-promo-copy {
    text-align: left;
    max-width: none;
  }

  .discord-promo-brand {
    justify-content: flex-start;
  }

  .discord-promo-list {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .discord-promo-cta {
    width: auto;
    max-width: none;
    justify-content: center;
  }
}

/* Cart chip */
.cart-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.8rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, var(--accent-soft));
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  position: relative;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}

.cart-chip:hover,
.cart-chip.is-active {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  background: var(--accent-soft);
  color: color-mix(in srgb, var(--accent) 70%, #fff);
}

.cart-chip-count {
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

/* Shop product cards */
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.6rem;
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  box-shadow: none;
  transition: border-color 0.18s var(--ease), transform 0.22s var(--ease);
}

.shop-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: var(--shadow-soft);
}

.shop-card.is-popular {
  border: 1px solid var(--border-strong);
  box-shadow: none;
}

.shop-card-particles {
  display: none;
}

.shop-card-popular {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.shop-card-popular-ico {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--accent);
  flex-shrink: 0;
}

.shop-card-media {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--bg-elevated);
  overflow: hidden;
}

.shop-card-media::after {
  display: none;
}

.shop-card.is-popular .shop-card-media {
  aspect-ratio: 1 / 1;
}

.shop-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: none;
}

.shop-card:hover .shop-card-media > img {
  transform: none;
}

.shop-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
}

.shop-card-placeholder img {
  width: 52px;
  height: 52px;
  opacity: 0.45;
}

.shop-card-body {
  position: relative;
  z-index: 2;
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  background: var(--surface);
}

.shop-card-store {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.shop-card-body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.3;
}

.shop-card-body h3 a {
  color: var(--text);
  text-decoration: none;
}

.shop-card-body h3 a:hover {
  color: var(--accent);
}

.shop-card-price {
  margin: 0.1rem 0 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.shop-card-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.shop-card-feats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.shop-feat-ico {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--muted);
  flex-shrink: 0;
}

.shop-card-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  border-radius: 8px;
  gap: 0.45rem;
}

.shop-card-btn-ico {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.75fr);
  gap: 1.5rem;
  align-items: start;
}

.product-detail-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%),
    var(--bg-elevated);
  aspect-ratio: 1 / 1;
  min-height: min(72vh, 640px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.product-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-hero.is-popular {
  border-color: var(--border-strong);
  box-shadow: none;
}

.product-detail-popular {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.product-detail-hero-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1.5rem;
}

.product-detail-hero-empty img {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  opacity: 0.6;
}

.product-detail-desc {
  margin-top: 1.15rem;
}

.product-detail-desc > h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-detail-desc-ico {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-block;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.9;
}

.product-buy-btn .btn-ico {
  display: block;
  flex-shrink: 0;
}

.product-detail-desc-body {
  color: var(--muted);
  line-height: 1.7;
}

.product-detail-desc-body.cms-page-body {
  font-size: 0.98rem;
}

.product-detail-side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.product-buy-card {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 1.15rem 1.2rem;
}

.product-buy-cat {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.45rem;
}

.product-buy-card h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.product-buy-price {
  margin: 0.75rem 0 0;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent);
}

.product-buy-stock {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-buy-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.product-buy-feats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.product-detail-popular .shop-card-popular-ico {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--accent);
}

.product-buy-totals {
  display: grid;
  gap: 0.65rem;
}

.product-buy-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.product-buy-totals .is-accent strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.product-buy-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.product-buy-qty-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.product-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem;
  background: var(--bg-elevated);
}

.product-qty-btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.product-qty-btn:hover:not(:disabled) {
  background: var(--accent-soft);
  color: var(--accent);
}

.product-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.product-qty input[type="number"] {
  width: 2.6rem;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0;
  -moz-appearance: textfield;
}

.product-qty input[type="number"]::-webkit-outer-spin-button,
.product-qty input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-buy-terms a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-buy-btn {
  width: 100%;
  justify-content: center;
  border-radius: 8px;
}

.product-buy-terms {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

/* Cart page */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-product img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem;
  background: var(--bg-elevated);
}

.cart-qty form {
  margin: 0;
}

.cart-qty-btn {
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.cart-qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.cart-row-actions {
  display: inline-flex;
  gap: 0.35rem;
}

.cart-summary-card {
  padding: 1.25rem 1.3rem 1.35rem;
}

.cart-summary-card h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.2rem;
}

.cart-summary-rows {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.cart-summary-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cart-summary-rows .is-total {
  padding-top: 0.75rem;
  margin-top: 0.15rem;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}

.cart-summary-rows .is-total strong {
  color: var(--accent);
  font-size: 1.2rem;
  font-family: var(--display);
}

.cart-coupon {
  margin: 0 0 1.15rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.cart-coupon-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.cart-coupon-row input {
  flex: 1;
  min-width: 0;
  height: 2.55rem;
  border-radius: 999px;
  padding: 0 1rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
}

.cart-coupon-row input:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.cart-coupon-btn {
  border-radius: 999px !important;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  white-space: nowrap;
}

.cart-coupon-remove {
  width: 100%;
  margin-top: 0.55rem;
  border-radius: 999px;
}

.cart-terms {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 0 0.95rem;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.45;
}

.cart-terms input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.cart-terms a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-terms a:hover {
  color: var(--accent);
}

.cart-pay-btn:disabled,
.cart-pay-form .product-buy-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.cart-secure {
  margin: 0.95rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.cart-summary h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.2rem;
}

.cart-summary-rows {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.cart-summary-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.cart-summary-rows .is-total {
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.cart-summary-rows .is-total strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.profile-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.profile-panel-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
}

.profile-panel-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.profile-action-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

.profile-action-ico .ico-svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}

.profile-action-ico:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface-2);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--muted);
}

.status-pill.is-on {
  color: #6dffa8;
  border-color: rgba(61, 255, 168, 0.35);
  background: rgba(61, 255, 168, 0.1);
}

.status-pill.is-off {
  color: #ff9aab;
  border-color: rgba(255, 92, 122, 0.35);
  background: rgba(255, 92, 122, 0.1);
}

@media (max-width: 960px) {
  .product-detail,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-side {
    position: static;
  }

  .product-detail-hero {
    min-height: min(55vh, 480px);
  }
}

.maintenance-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 50%),
    var(--bg, #05080a);
}

.maintenance-card {
  max-width: 440px;
  width: 100%;
  text-align: center;
  padding: 2.25rem 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: linear-gradient(180deg, var(--surface-2, #121820), var(--surface, #0e1218));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.maintenance-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}

.maintenance-card h1 {
  margin: 0 0 0.65rem;
  font-family: var(--display, Outfit, sans-serif);
  font-size: 1.6rem;
  color: var(--text, #fff);
}

.maintenance-card p {
  margin: 0;
  color: var(--muted, #9aa4b2);
  line-height: 1.55;
}

.site-maint-banner {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #042028;
  background: color-mix(in srgb, var(--accent) 88%, #fff);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, #000);
}

.site-maint-banner a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ls-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.ls-modal[hidden] {
  display: none !important;
}

.ls-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 10, 0.72);
  backdrop-filter: blur(2px);
}

.ls-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  padding: 1.5rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.ls-modal-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--display, Outfit, sans-serif);
  font-size: 1.2rem;
  color: var(--text, #fff);
}

.ls-modal-card p {
  margin: 0 0 1.25rem;
  color: var(--muted, #9aa4b2);
  line-height: 1.5;
  font-size: 0.95rem;
}

.ls-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.site-toasts {
  position: fixed;
  top: calc(var(--header-h, 92px) + 0.65rem);
  right: 1.1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: min(360px, calc(100vw - 1.5rem));
  pointer-events: none;
}

.site-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius, 12px);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  font-family: var(--font, Outfit, system-ui, sans-serif);
  animation: site-toast-in 0.28s ease both;
}

.site-toast.is-leaving {
  animation: site-toast-out 0.28s ease both;
}

.site-toast.is-success {
  border-color: var(--border-strong);
  background: var(--surface);
}

.site-toast.is-error {
  border-color: rgba(255, 92, 122, 0.45);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

.site-toast-icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 0;
  font-weight: 700;
}

.site-toast.is-success .site-toast-icon {
  color: #041018;
  background: var(--accent);
  box-shadow: none;
}

.site-toast.is-error .site-toast-icon {
  color: #fff;
  background: var(--danger, #ff5c7a);
  box-shadow: none;
}

.site-toast-text {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text, #fff);
  padding-top: 0.12rem;
}

.site-toast-close {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--muted, #9aa4b2);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.2rem;
  border-radius: 6px;
}

.site-toast-close:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

@keyframes site-toast-in {
  from {
    opacity: 0;
    transform: translateX(16px) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes site-toast-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(18px);
  }
}

@media (max-width: 720px) {
  .site-toasts {
    top: 0.85rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }
}

/* Müşteri yorumları */
.home-reviews-section {
  padding: 3.5rem 0 4rem;
}

.home-reviews-head {
  text-align: center;
  margin-bottom: 2rem;
}

.home-reviews-head .section-eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--accent) 85%, #fff);
  margin: 0 0 0.55rem;
}

.home-reviews-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}

.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 320px));
  justify-content: center;
  gap: 1.15rem;
}

.review-card {
  position: relative;
  padding: 1.35rem 1.3rem 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--accent) 9%, var(--surface)) 0%, var(--surface) 58%);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 100%;
  overflow: hidden;
}

.review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-card-stars {
  display: flex;
  gap: 0.15rem;
  color: color-mix(in srgb, #888 55%, transparent);
  font-size: 0;
  line-height: 1;
}

.review-card-stars .review-star {
  display: inline-flex;
  color: inherit;
}

.review-card-stars .review-star.is-on {
  color: #c9a227;
  text-shadow: none;
}

.review-card-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 0.55;
  color: color-mix(in srgb, var(--accent) 40%, transparent);
  user-select: none;
}

.review-card-quote {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
  font-size: 0.95rem;
  flex: 1;
}

.review-card-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}

.review-card-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  display: grid;
  place-items: center;
}

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

.review-card-letter {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  line-height: 1;
}

.review-card-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.review-card-meta strong {
  display: block;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  max-width: 100%;
  font-size: 0.72rem;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card-badge.is-discord {
  color: #a5b4fc;
}

.review-card-badge.is-discord svg {
  flex-shrink: 0;
  color: #5865f2;
}

.review-card-badge.is-name {
  color: color-mix(in srgb, var(--muted) 90%, #fff);
}

/* Neden biz */
.home-why-section {
  padding: 3.25rem 0 1rem;
}

.home-why-head {
  text-align: left;
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.home-why-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.home-why-lead {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

@media (max-width: 720px) {
  .home-why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 1.35rem 1.2rem 1.45rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  border-radius: 0;
}

.why-card-ico {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent);
  display: block;
}

.why-card-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.why-card-body {
  min-width: 0;
}

.why-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

/* SSS */
.home-faq-section {
  padding: 3rem 0 4rem;
}

.home-faq-layout {
  display: block;
  max-width: 44rem;
}

.home-faq-head {
  margin-bottom: 1.15rem;
}

.home-faq-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -0.02em;
}

.home-faq-lead {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  overflow: hidden;
  transition: none;
}

.faq-item[open] {
  border-color: var(--border);
  box-shadow: none;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.15rem;
  font-weight: 600;
  font-size: 0.96rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(-135deg);
  border-color: var(--accent);
}

.faq-body {
  padding: 0 0 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.cart-chip-ico {
  display: block;
  flex-shrink: 0;
  opacity: 1;
  color: currentColor;
}

/* Referanslar + İş ortakları */
.home-showcase-section {
  padding: 2.75rem 0 1.5rem;
  overflow: hidden;
}

.home-showcase-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.home-showcase-head .section-eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--accent) 85%, #fff);
  margin: 0 0 0.55rem;
}

.home-showcase-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.home-showcase-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}

.home-showcase-section.is-static .home-showcase-card {
  width: min(168px, 42vw);
}

.home-showcase-rail {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.home-showcase-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.35rem 0 0.85rem;
  animation: showcaseMarquee 38s linear infinite;
}

.home-showcase-partners.is-marquee .home-showcase-track {
  animation-duration: 46s;
  animation-direction: reverse;
}

.home-showcase-rail:hover .home-showcase-track {
  animation-play-state: paused;
}

.home-showcase-card {
  width: 168px;
  min-height: 148px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 0.9rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--accent) 10%, var(--surface)) 0%, var(--surface) 60%);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-showcase-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.home-showcase-logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, #000 35%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  overflow: hidden;
}

.home-showcase-logo img {
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
  display: block;
}

.home-showcase-card strong {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  color: var(--text);
}

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

@media (prefers-reduced-motion: reduce) {
  .home-showcase-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
    padding-inline: 1rem;
  }

  .home-showcase-rail {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .home-showcase-card[aria-hidden="true"] {
    display: none;
  }
}

/* Ana sayfa slider — cinematic */
.home-slider-section {
  padding: 0.85rem 0 1.75rem;
}

.home-slider {
  --slider-ms: 5600ms;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 0;
  background: #05080c;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.45) inset,
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 50px rgba(0, 0, 0, 0.5);
}

.home-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.06) 28%,
    rgba(255, 255, 255, 0.04) 55%,
    rgba(255, 255, 255, 0.1)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
  opacity: 0.85;
}

.home-slider-stage {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 280px;
  max-height: 460px;
}

.home-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.home-slider-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.home-slider-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-slider-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.12);
  filter: saturate(1.05) contrast(1.05);
  transition: transform 7s ease-out;
}

.home-slider-slide.is-active .home-slider-bg img {
  transform: scale(1);
}

.home-slider-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.92) 0%, rgba(5, 8, 12, 0.55) 42%, rgba(5, 8, 12, 0.15) 72%, rgba(5, 8, 12, 0.35) 100%),
    linear-gradient(0deg, rgba(5, 8, 12, 0.88) 0%, transparent 48%);
  pointer-events: none;
}

.home-slider-scan {
  position: absolute;
  inset: -40% auto -40% -30%;
  width: 45%;
  background: linear-gradient(105deg, transparent, color-mix(in srgb, var(--accent) 18%, transparent), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.home-slider-slide.is-active .home-slider-scan {
  animation: sliderScan 1.1s ease 0.15s both;
}

.home-slider-panel {
  position: absolute;
  left: clamp(1.1rem, 3.5vw, 2.4rem);
  bottom: clamp(1.35rem, 3.5vw, 2.2rem);
  right: clamp(1.1rem, 18vw, 12rem);
  z-index: 2;
  max-width: 34rem;
  display: grid;
  gap: 0.55rem;
  padding: 1.05rem 1.15rem 1.15rem;
  border-radius: 18px;
  border: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent 42%),
    color-mix(in srgb, #070b12 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(18px);
}

.home-slider-slide.is-active .home-slider-panel {
  animation: sliderPanelIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.home-slider-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.home-slider-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.home-slider-panel p {
  margin: 0;
  color: color-mix(in srgb, #fff 72%, var(--muted));
  line-height: 1.5;
  font-size: 0.95rem;
  max-width: 32ch;
}

.home-slider-cta {
  width: fit-content;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: none;
}

.home-slider-cta svg {
  transition: transform 0.2s ease;
}

.home-slider-cta:hover svg {
  transform: translateX(3px);
}

.home-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  translate: 0 -50%;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 55%),
    color-mix(in srgb, #070b12 78%, transparent);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.35);
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-slider-arrow.is-prev { left: 0.85rem; }
.home-slider-arrow.is-next { right: 0.85rem; }

.home-slider-arrow:hover {
  color: var(--accent);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), transparent 55%),
    color-mix(in srgb, #070b12 70%, transparent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 0 0 1px var(--border-strong),
    0 10px 24px rgba(0, 0, 0, 0.35);
  transform: scale(1.06);
}

.home-slider-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.85rem;
  z-index: 4;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.home-slider-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  pointer-events: auto;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, #070b12 62%, transparent);
  border: 0;
  backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 8px 20px rgba(0, 0, 0, 0.3);
}

.home-slider-dot {
  position: relative;
  width: 1.55rem;
  height: 0.28rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: color-mix(in srgb, #fff 22%, transparent);
  cursor: pointer;
}

.home-slider-dot span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
}

.home-slider-dot.is-active {
  background: color-mix(in srgb, var(--accent) 25%, transparent);
}

.home-slider-dot.is-active span.is-running {
  animation: sliderProgress var(--slider-ms, 5600ms) linear forwards;
}

@keyframes sliderProgress {
  from { width: 0%; }
  to { width: 100%; }
}

@keyframes sliderPanelIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sliderScan {
  from { opacity: 0; left: -35%; }
  35% { opacity: 0.9; }
  to { opacity: 0; left: 75%; }
}

@media (max-width: 820px) {
  .home-slider-stage {
    aspect-ratio: 16 / 11;
    max-height: none;
    min-height: 320px;
  }

  .home-slider-panel {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 2.6rem;
    max-width: none;
  }

  .home-slider-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-slider-slide,
  .home-slider-bg img,
  .home-slider-panel,
  .home-slider-scan,
  .home-slider-dot span {
    transition: none !important;
    animation: none !important;
  }

  .home-slider-slide.is-active .home-slider-panel {
    opacity: 1;
    transform: none;
  }
}

/* Duyuru — üst şerit */
.ann-bar {
  position: relative;
  z-index: 60;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, #071018), color-mix(in srgb, var(--accent) 10%, #0a1018));
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  color: #fff;
}

.ann-bar[hidden] {
  display: none !important;
}

.ann-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.65rem 0;
  min-height: 2.6rem;
}

.ann-bar-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  min-width: 0;
  text-align: center;
}

.ann-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem 0.22rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, #000 28%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ann-bar-emoji {
  font-size: 0.95rem;
  line-height: 1;
}

.ann-bar-text {
  color: color-mix(in srgb, #fff 92%, var(--muted));
  font-size: 0.9rem;
  line-height: 1.35;
}

.ann-bar-link {
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.ann-bar-link:hover {
  color: color-mix(in srgb, var(--accent) 40%, #fff);
}

.ann-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.ann-bar-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #042028;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
}

.ann-bar-cta:hover {
  filter: brightness(1.06);
}

.ann-bar-close {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.ann-bar-close:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--accent);
}

/* Duyuru — ekran modal (promo kart) */
.ann-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.ann-modal[hidden] {
  display: none !important;
}

.ann-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: annBackdropIn 0.35s ease both;
}

.ann-modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  border-radius: 26px;
  overflow: hidden;
  border: 0;
  background: #fff;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: annModalIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ann-modal-x {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 0;
  background: #e9eef3;
  color: #4a5764;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ann-modal-x:hover {
  background: #d5e0e8;
  color: #0a1218;
  transform: rotate(90deg);
}

.ann-modal-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.22fr;
  min-height: 400px;
}

.ann-modal-grid.no-media {
  grid-template-columns: 1fr;
}

.ann-modal-grid > * {
  min-width: 0;
}

.ann-modal-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.35rem;
  overflow: hidden;
  background: linear-gradient(168deg, #0a141a 0%, #0c171d 50%, #081218 100%);
  color: #fff;
}

.ann-modal-media-kicker {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #fff;
}

.ann-modal-media-frame {
  position: relative;
  z-index: 1;
  width: min(230px, 72%);
  aspect-ratio: 1;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.ann-modal-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ann-modal-media-fallback {
  display: inline-flex;
  color: var(--accent);
  opacity: 0.85;
  line-height: 1;
}

.ann-modal-media-fallback svg {
  display: block;
}

.ann-modal-media-caption {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 16rem;
  text-align: center;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
  color: color-mix(in srgb, #fff 90%, var(--accent));
}

.ann-modal-body {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  justify-items: start;
  padding: 2.15rem 2.15rem 1.75rem 1.9rem;
  background: #fff;
  color: #121820;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ann-modal-badge {
  width: fit-content;
  max-width: 100%;
  padding: 0.34rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #042028;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 95%, #fff), var(--accent));
  box-shadow:
    0 6px 18px color-mix(in srgb, var(--accent) 32%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.ann-modal-body h2 {
  margin: 0;
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #0b1218;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ann-modal-text {
  margin: 0;
  max-width: 100%;
  color: #66707c;
  line-height: 1.55;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ann-modal-feats {
  list-style: none;
  margin: 0.15rem 0 0.1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
}

.ann-modal-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a232c;
  min-width: 0;
  max-width: 100%;
}

.ann-modal-feat-text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}

.ann-modal-check {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 0.12rem;
  background: color-mix(in srgb, var(--accent) 20%, #e8f9fc);
  color: color-mix(in srgb, var(--accent) 72%, #046);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.ann-modal-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.55rem;
}

.ann-modal-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 300px;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.ann-modal-cta:hover {
  filter: none;
  transform: none;
  background: color-mix(in srgb, var(--accent) 88%, #fff);
  box-shadow: none;
}

.ann-modal-later {
  border: 0;
  background: transparent;
  color: #9aa4af;
  font-size: 0.9rem;
  cursor: pointer;
  width: fit-content;
  padding: 0.2rem 0.4rem;
  text-align: center;
  transition: color 0.2s ease;
}

.ann-modal-later:hover {
  color: color-mix(in srgb, var(--accent) 50%, #333);
}

@keyframes annModalIn {
  from { opacity: 0; transform: translateY(22px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

/* Profil — ücretsiz ürünler (lisans stili) */
.free-metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 4.5rem;
}

.free-metric-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--muted) 88%, #fff);
}

.free-metric-value {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  line-height: 1.2;
}

.free-metric-value strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.free-metric-value span {
  font-size: 0.85rem;
  color: var(--muted);
}

button.profile-action-ico {
  appearance: none;
  font: inherit;
}

@media (max-width: 760px) {
  .ann-bar-inner {
    flex-direction: column;
    align-items: center;
  }

  .ann-modal-grid {
    grid-template-columns: 1fr;
  }

  .ann-modal-media {
    min-height: 210px;
    padding: 1.4rem 1rem;
  }

  .ann-modal-media-frame {
    width: min(150px, 48%);
  }

  .ann-modal-body {
    padding: 1.4rem 1.3rem 1.35rem;
  }

  .ann-modal-cta {
    max-width: none;
  }
}

.banner-size-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  background: var(--accent-soft);
}

.banner-size-callout strong {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.banner-size-callout span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
}

.banner-size-callout small {
  color: var(--muted);
  font-size: 0.82rem;
}

.user-banner-preview {
  margin: 0.75rem 0 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  max-width: 468px;
}

.user-banner-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 468 / 60;
  object-fit: cover;
}

/* Yönlendirme (/l/{kod}) */
.redir-page {
  position: relative;
  flex: 1;
  padding: 1.5rem 0 3rem;
  overflow: hidden;
}

.redir-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(circle at 85% 70%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(61, 255, 168, 0.06), transparent 40%);
  z-index: 0;
}

.redir-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 920px;
}

.redir-banners {
  animation: redirIn 0.55s ease both;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.banner-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.banner-card:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.banner-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 468 / 60;
  object-fit: cover;
}

.banner-card.is-static {
  cursor: default;
}

.redir-gate {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "timer copy"
    "timer preview"
    "timer cta"
    "timer hint";
  gap: 0.65rem 1.35rem;
  align-items: center;
  padding: 1.35rem 1.5rem 1.25rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, var(--surface-2)), var(--surface));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  animation: redirIn 0.65s 0.08s ease both;
  overflow: hidden;
}

.redir-gate-glow {
  display: none;
}

.redir-timer {
  grid-area: timer;
  position: relative;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.redir-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.redir-ring-bg,
.redir-ring-fg {
  fill: none;
  stroke-width: 6;
}

.redir-ring-bg {
  stroke: color-mix(in srgb, var(--accent) 16%, transparent);
}

.redir-ring-fg {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.95s linear;
}

.redir-timer-num {
  position: relative;
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  z-index: 1;
}

.redir-copy {
  grid-area: copy;
  min-width: 0;
}

.redir-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.redir-copy h1 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.redir-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.redir-preview {
  grid-area: preview;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, #000 28%, var(--surface));
}

.redir-preview-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.redir-preview-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.redir-fav {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.redir-preview-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.redir-preview-meta strong {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.redir-preview-meta span {
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.redir-preview-meta small {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.redir-cta {
  grid-area: cta;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  min-height: 48px;
  margin-top: 0.15rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: #041016;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #3dffa8));
  cursor: not-allowed;
  opacity: 0.55;
  overflow: hidden;
  transition: opacity 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.redir-cta-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: rgba(4, 16, 22, 0.35);
  transition: transform 0.95s linear;
}

.redir-cta.is-ready {
  cursor: pointer;
  opacity: 1;
  box-shadow: 0 0 0 1px var(--border-strong);
}

.redir-cta.is-ready:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.redir-hint {
  grid-area: hint;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.redir-page.is-ready .redir-hint strong {
  color: var(--accent);
}

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

@keyframes redirPulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--border-strong); }
  50% { box-shadow: 0 0 0 1px var(--border); }
}

@media (max-width: 720px) {
  .banner-grid {
    grid-template-columns: 1fr;
  }

  .banner-card img {
    aspect-ratio: 16 / 4;
  }

  .redir-gate {
    grid-template-columns: 1fr;
    grid-template-areas:
      "timer"
      "copy"
      "preview"
      "cta"
      "hint";
    justify-items: center;
    text-align: center;
    padding: 1.25rem 1.1rem 1.15rem;
  }

  .redir-preview-row {
    justify-content: center;
    text-align: left;
  }

  .redir-cta {
    max-width: none;
  }

  .redir-gate-glow {
    right: 50%;
    transform: translateX(50%);
  }
}

/* —— Mobil polish —— */
@media (max-width: 760px) {
  .ann-modal {
    padding: 0.65rem;
    align-items: end;
  }

  .ann-modal-card {
    max-height: min(92dvh, 920px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px 20px 14px 14px;
    width: 100%;
  }

  .ann-modal-x {
    width: 2.75rem;
    height: 2.75rem;
    top: 0.65rem;
    right: 0.65rem;
  }

  .ann-modal-later {
    min-height: 2.75rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.95rem;
  }

  .ann-modal-cta {
    min-height: 3rem;
    font-size: 1rem;
  }

  .profile-tabs {
    gap: 0.35rem;
    padding-bottom: 0.2rem;
    mask-image: linear-gradient(90deg, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  }

  .profile-tabs .tab {
    padding: 0.65rem 0.85rem;
    min-height: 2.65rem;
    font-size: 0.88rem;
  }

  .profile-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .profile-display-name {
    font-size: clamp(1.25rem, 5.5vw, 1.6rem);
  }

  .home-slider-dot {
    width: 2.4rem;
    height: 0.9rem;
    padding: 0.32rem 0;
    background: transparent;
    box-shadow: none;
  }

  .home-slider-dot::before {
    content: "";
    display: block;
    height: 0.28rem;
    border-radius: 999px;
    background: color-mix(in srgb, #fff 22%, transparent);
  }

  .home-slider-dot span {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 0.28rem;
    margin-top: -0.14rem;
    border-radius: 999px;
  }

  .home-slider-panel h2 {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }

  .home-slider-panel p {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cart-qty-btn,
  .profile-action-ico {
    width: 2.65rem;
    height: 2.65rem;
    min-width: 2.65rem;
  }

  .product-detail-hero {
    min-height: min(42vh, 320px);
  }

  .shop-card-btn,
  .btn {
    min-height: 2.75rem;
  }

  .footer-grid {
    gap: 1.25rem;
  }

  .auth-shell,
  .panel {
    padding-inline: clamp(0.9rem, 3vw, 1.25rem);
  }
}

@media (max-width: 560px) {
  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .cart-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border: 0;
  }

  .cart-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
  }

  .cart-table td:first-child {
    display: block;
  }

  .cart-table td:first-child::before {
    display: none;
  }

  .cart-table td:last-child {
    justify-content: flex-end;
  }

  .cart-table td:last-child::before {
    display: none;
  }

  .cart-product {
    width: 100%;
  }

  .form-actions,
  .row-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn,
  .row-actions .btn {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .home-slider-panel {
    bottom: 3.1rem;
    padding: 0.85rem 0.95rem;
  }
}


