﻿:root {
  --brand: #8b5cf6;
  --brand-2: #22d3ee;
  --brand-soft: #c4b5fd;
  --gold: #fbbf24;
  --gold-soft: #fde68a;
  --blue: #22d3ee;
  --blue-soft: #67e8f9;
  --red: #f43f5e;
  --purple: #a855f7;
  --green: #34d399;
  --bg: #06070f;
  --bg-2: #0b0f1d;
  --bg-3: #131a2e;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.26);
  --text: #e9edf7;
  --muted: #94a3c4;
  --card: rgba(13, 18, 33, 0.72);
  --card-solid: #0d1221;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.95);
  --shadow-brand: 0 20px 55px -24px rgba(139, 92, 246, 0.65);
  --glow-brand: 0 0 44px -12px rgba(139, 92, 246, 0.75);
  --glow-cyan: 0 0 44px -14px rgba(34, 211, 238, 0.7);
}

html.light {
  --bg: #f6f7fd;
  --bg-2: #ffffff;
  --bg-3: #eef1fa;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.18);
  --text: #0d1424;
  --muted: #58688a;
  --card: rgba(255, 255, 255, 0.82);
  --card-solid: #ffffff;
  --shadow: 0 20px 44px -26px rgba(15, 23, 42, 0.32);
  --shadow-brand: 0 20px 44px -26px rgba(139, 92, 246, 0.4);
  color-scheme: light;
}

* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.006em;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(760px 420px at 8% -6%, rgba(139, 92, 246, 0.32), transparent 62%),
    radial-gradient(680px 380px at 92% 2%, rgba(34, 211, 238, 0.22), transparent 64%),
    radial-gradient(900px 520px at 50% 108%, rgba(244, 63, 94, 0.14), transparent 68%),
    linear-gradient(180deg, #06070f 0%, #070a15 45%, #05060d 100%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
}

html.light body::before {
  background:
    radial-gradient(760px 420px at 8% -6%, rgba(139, 92, 246, 0.16), transparent 62%),
    radial-gradient(680px 380px at 92% 2%, rgba(34, 211, 238, 0.14), transparent 64%),
    radial-gradient(900px 520px at 50% 108%, rgba(244, 63, 94, 0.08), transparent 68%),
    linear-gradient(180deg, #f6f7fd 0%, #eef1fa 100%);
}

html.light body::after {
  opacity: 0.6;
}

::selection {
  background: rgba(139, 92, 246, 0.4);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--brand), var(--brand-2));
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* ---------------- surfaces ---------------- */

.glass {
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.glass-soft {
  background: color-mix(in srgb, var(--bg-2) 72%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.glass-hover {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.glass-hover:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  box-shadow: var(--shadow-brand);
}

/* ---------------- text gradients ---------------- */

.gold-text {
  background: linear-gradient(100deg, #fef3c7, var(--gold) 38%, #f59e0b 68%, #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blue-text {
  background: linear-gradient(100deg, var(--brand-soft), var(--brand) 42%, var(--brand-2) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text {
  background: linear-gradient(96deg, #ffffff 0%, #e9d5ff 32%, var(--brand-soft) 56%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.light .brand-text {
  background: linear-gradient(96deg, #2e1065 0%, #6d28d9 45%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: 13px;
  padding: 0.72rem 1.2rem;
  transition: transform 0.18s ease, box-shadow 0.28s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  line-height: 1.1;
  border: 1px solid transparent;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.35) 48%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn-brand {
  background: linear-gradient(120deg, #a78bfa, var(--brand) 46%, #6366f1 78%, #0891b2);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-brand:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -16px rgba(139, 92, 246, 0.85);
}

.btn-gold {
  background: linear-gradient(120deg, #fde68a, var(--gold) 42%, #f59e0b 76%, #ea8c00);
  color: #1c1204;
  box-shadow: 0 16px 34px -16px rgba(251, 191, 36, 0.95);
}

.btn-gold:hover {
  filter: brightness(1.07);
  box-shadow: 0 20px 40px -14px rgba(251, 191, 36, 0.9);
  transform: translateY(-2px);
}

.btn-blue {
  background: linear-gradient(120deg, #67e8f9, var(--brand-2) 44%, #0e7490);
  color: #04121a;
  box-shadow: 0 16px 34px -16px rgba(34, 211, 238, 0.9);
}

.btn-blue:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn-red {
  background: linear-gradient(120deg, #fb7185, var(--red) 55%, #be123c);
  color: #fff;
  box-shadow: 0 16px 32px -16px rgba(244, 63, 94, 0.9);
}

.btn-ghost {
  background: color-mix(in srgb, var(--bg-3) 62%, transparent);
  color: var(--text);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--brand) 60%, transparent);
  color: var(--brand-soft);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}

.btn-sm {
  padding: 0.46rem 0.82rem;
  font-size: 0.8rem;
  border-radius: 11px;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------------- inputs ---------------- */

.input,
.select,
.textarea {
  width: 100%;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.88rem;
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: color-mix(in srgb, var(--brand) 78%, transparent);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.16);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

.select option {
  background: var(--bg-2);
  color: var(--text);
}

.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------------- badges ---------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.4;
}

.badge-hot {
  background: linear-gradient(120deg, #fb923c, var(--red));
  color: #fff;
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.55);
}

.badge-sale {
  background: linear-gradient(120deg, #f43f5e, #be123c);
  color: #fff;
}

.badge-vip {
  background: linear-gradient(120deg, #c084fc, var(--purple));
  color: #fff;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.6);
}

.badge-new {
  background: linear-gradient(120deg, #22d3ee, #0891b2);
  color: #04121a;
}

.badge-sold {
  background: rgba(71, 85, 105, 0.9);
  color: #fff;
}

.badge-gold {
  background: rgba(251, 191, 36, 0.14);
  color: var(--gold-soft);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.badge-blue {
  background: rgba(34, 211, 238, 0.14);
  color: var(--blue-soft);
  border: 1px solid rgba(34, 211, 238, 0.42);
}

.badge-brand {
  background: rgba(139, 92, 246, 0.16);
  color: #ddd6fe;
  border: 1px solid rgba(139, 92, 246, 0.42);
}

.badge-green {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.42);
}

.badge-red {
  background: rgba(244, 63, 94, 0.14);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.42);
}

.badge-gray {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

html.light .badge-gold {
  color: #92400e;
}

html.light .badge-blue {
  color: #0e7490;
}

html.light .badge-brand {
  color: #5b21b6;
}

html.light .badge-green {
  color: #047857;
}

html.light .badge-red {
  color: #be123c;
}

html.light .badge-gray {
  color: #475569;
}

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.75), rgba(34, 211, 238, 0.75), transparent);
  opacity: 0.65;
}

.site-header.scrolled {
  box-shadow: 0 18px 44px -26px rgba(0, 0, 0, 0.95);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 13px;
  padding: 0;
  flex: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  filter: drop-shadow(0 4px 14px rgba(139, 92, 246, 0.55));
}

.brand-mark img {
  display: block;
  border-radius: 11px;
  background: #06070f;
}

a:hover > .brand-mark,
a:hover .brand-mark,
a:hover > .brand-mark {
  transform: translateY(-1px);
  filter: drop-shadow(0 6px 20px rgba(34, 211, 238, 0.7));
}

.brand-word {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-size: 1.05rem;
  background: linear-gradient(96deg, #ffffff 0%, #ede9fe 34%, #c4b5fd 58%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(139, 92, 246, 0.35));
}

html.light .brand-word {
  background: linear-gradient(96deg, #2e1065 0%, #6d28d9 48%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none;
}

.brand-word .pro {
  background: linear-gradient(100deg, var(--brand-soft), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-link {
  position: relative;
  padding: 0.45rem 0.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ---------------- ticker ---------------- */

.ticker {
  overflow: hidden;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.14), rgba(244, 63, 94, 0.12));
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  will-change: transform;
}

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

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

/* ---------------- hero ---------------- */

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -46px rgba(139, 92, 246, 0.75), var(--shadow);
}

.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 7s ease;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 15, 0.94) 2%, rgba(5, 8, 18, 0.72) 42%, rgba(6, 9, 20, 0.06) 76%),
    linear-gradient(0deg, rgba(4, 6, 15, 0.6), transparent 58%);
}

.hero-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-aura-a {
  width: 320px;
  height: 320px;
  right: 16%;
  top: -12%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 68%);
}

.hero-aura-b {
  width: 280px;
  height: 280px;
  right: 4%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42), transparent 70%);
}

.hero-title {
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.55);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.45);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-eyebrow i {
  font-size: 0.6rem;
}

.hero-eyebrow-cyan {
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.16);
  border-color: rgba(34, 211, 238, 0.42);
}

.hero-trust {
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 26rem;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hero-trust-item b {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-trust-item span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(226, 232, 240, 0.66);
  margin-top: 0.12rem;
}

.hero-trust-sep {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(6, 8, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  z-index: 10;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-nav:hover {
  background: rgba(139, 92, 246, 0.34);
  border-color: rgba(196, 181, 253, 0.6);
  transform: translateY(-50%) scale(1.06);
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-dot.active {
  width: 28px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.9);
}

/* ---------------- account cards ---------------- */

.acc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(170deg, color-mix(in srgb, var(--bg-2) 88%, transparent), color-mix(in srgb, var(--bg) 92%, transparent));
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  box-shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.95);
}

.acc-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.85), rgba(34, 211, 238, 0.6), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 3;
}

.acc-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 32px 70px -30px rgba(139, 92, 246, 0.7);
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
}

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

.acc-card.glow-vip {
  box-shadow: 0 22px 60px -32px rgba(168, 85, 247, 0.9);
  border-color: rgba(168, 85, 247, 0.42);
}

.acc-card.glow-vip:hover {
  box-shadow: 0 30px 72px -26px rgba(192, 132, 252, 1);
  border-color: rgba(216, 180, 254, 0.7);
}

.acc-card.glow-hot {
  border-color: rgba(244, 63, 94, 0.36);
}

.acc-card.glow-hot:hover {
  border-color: rgba(251, 113, 133, 0.65);
  box-shadow: 0 30px 66px -28px rgba(244, 63, 94, 0.65);
}

.acc-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-3);
}

.acc-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 7, 15, 0.55), transparent 45%);
  pointer-events: none;
}

.acc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.acc-card:hover .acc-thumb img {
  transform: scale(1.08);
}

.acc-tags {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  z-index: 2;
}

.acc-price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.78rem;
}

.acc-price {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  background: linear-gradient(96deg, #fef3c7, var(--gold) 55%, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.35));
}

html.light .acc-price {
  background: linear-gradient(96deg, #b45309, #d97706 60%, #92400e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none;
}

.rank-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--line);
  color: color-mix(in srgb, var(--text) 88%, transparent);
  white-space: nowrap;
}

.rank-chip-rank {
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.26), rgba(34, 211, 238, 0.16));
  border-color: rgba(167, 139, 250, 0.5);
  color: #ddd6fe;
}

html.light .rank-chip-rank {
  color: #5b21b6;
}

.acc-body {
  padding: 0.78rem 0.82rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  flex: 1;
}

.acc-discount {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(120deg, #f43f5e, #be123c);
  box-shadow: 0 8px 20px -10px rgba(244, 63, 94, 0.95);
}

.acc-title {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--text) 96%, transparent);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.acc-title:hover {
  color: var(--brand-soft);
}

.acc-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.63rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.acc-foot {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.acc-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #1c1204;
  background: linear-gradient(120deg, #fde68a, var(--gold) 45%, #f59e0b);
  box-shadow: 0 10px 22px -12px rgba(251, 191, 36, 0.95);
  transition: transform 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}

.acc-buy:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.acc-buy-off {
  background: color-mix(in srgb, var(--bg-3) 80%, transparent);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
}

/* ---------------- promo banners ---------------- */

.promo-banner {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.32s ease;
}

.promo-banner:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  box-shadow: 0 28px 58px -30px rgba(139, 92, 246, 0.85);
}

.promo-banner img {
  width: 100%;
  height: 9.2rem;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.promo-banner:hover img {
  transform: scale(1.06);
}

.promo-banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 6, 15, 0.9) 4%, rgba(5, 8, 18, 0.55) 48%, transparent 88%);
}

.promo-banner-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.1rem;
}

.promo-banner-tag {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  color: #0b0f1d;
  background: linear-gradient(140deg, #fde68a, var(--gold));
  margin-bottom: 0.5rem;
  transition: transform 0.25s ease;
}

.promo-banner:hover .promo-banner-tag {
  transform: translateX(4px);
}

.promo-banner-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.promo-banner-sub {
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.82);
  margin-top: 0.28rem;
}

@media (max-width: 640px) {
  .promo-banner img {
    height: 7.6rem;
  }

  .promo-banner-title {
    font-size: 0.92rem;
  }
}

/* ---------------- section headings ---------------- */

.section-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.section-title i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 0.78rem;
  color: #ddd6fe;
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.34), rgba(34, 211, 238, 0.18));
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 8px 20px -12px rgba(139, 92, 246, 0.95);
  flex: none;
}

html.light .section-title i {
  color: #5b21b6;
}

.section-sub {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.3rem;
  padding-left: 0.1rem;
}

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

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex: none;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-soft);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.section-link:hover {
  color: var(--brand-2);
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.crumbs a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.crumbs a:hover {
  color: var(--brand-soft);
}

.crumbs i {
  font-size: 0.5rem;
  opacity: 0.55;
}

.crumbs span {
  color: var(--brand-soft);
  font-weight: 600;
}

.seg {
  display: flex;
  gap: 0.3rem;
  padding: 0.28rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 62%, transparent);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 0.9rem;
}

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

.seg-btn {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.46rem 0.85rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.25s ease;
}

.seg-btn i {
  font-size: 0.68rem;
  opacity: 0.9;
}

.seg-btn:hover {
  color: var(--text);
}

.seg-btn.active {
  color: #fff;
  background: linear-gradient(120deg, #8b5cf6, #6366f1 60%, #0891b2);
  box-shadow: 0 10px 24px -14px rgba(139, 92, 246, 0.95);
}

html.light .seg-btn.active {
  color: #fff;
}

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

@media (min-width: 640px) {
  .acc-grid {
    gap: 0.8rem;
  }
}

@media (min-width: 1024px) {
  .acc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

/* ---------------- countdown ---------------- */

.countdown {
  display: flex;
  gap: 0.4rem;
}

.countdown-box {
  min-width: 46px;
  padding: 0.4rem 0.42rem;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(160deg, rgba(244, 63, 94, 0.95), rgba(159, 18, 57, 0.95));
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(244, 63, 94, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.countdown-box b {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.countdown-box span {
  font-size: 0.56rem;
  opacity: 0.88;
  letter-spacing: 0.08em;
}

/* ---------------- flash sale ---------------- */

.flash-section {
  background:
    linear-gradient(180deg, rgba(244, 63, 94, 0.16), transparent 72%),
    color-mix(in srgb, var(--bg-2) 62%, transparent);
  border: 1px solid rgba(244, 63, 94, 0.32);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.flash-section::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  right: -130px;
  top: -150px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.4), transparent 66%);
  pointer-events: none;
}

.progress {
  height: 6px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.progress > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), #fb923c);
}

/* ---------------- reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.12);
  border-radius: 12px;
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

/* ---------------- toast ---------------- */

.toast-wrap {
  position: fixed;
  top: 84px;
  right: 16px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(92vw, 360px);
}

.toast {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.78rem 0.95rem;
  border-radius: 15px;
  background: var(--card-solid);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  animation: toastIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-size: 0.865rem;
}

.toast.success {
  border-color: rgba(52, 211, 153, 0.55);
}

.toast.error {
  border-color: rgba(244, 63, 94, 0.55);
}

.toast.info {
  border-color: rgba(139, 92, 246, 0.55);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(42px);
  }
}

.toast.hide {
  opacity: 0;
  transform: translateX(42px);
  transition: all 0.3s ease;
}

/* ---------------- floating actions ---------------- */

.float-actions {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  backdrop-filter: blur(8px);
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.float-zalo {
  background: linear-gradient(140deg, #34d399, #0891b2);
}

.float-chat {
  background: linear-gradient(140deg, #fbbf24, #f97316);
}

.float-top {
  background: linear-gradient(140deg, #a78bfa, #6366f1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.float-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------------- pagination ---------------- */

.pagination {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: color-mix(in srgb, var(--bg-2) 68%, transparent);
  transition: all 0.2s ease;
}

.pagination a:hover {
  border-color: color-mix(in srgb, var(--brand) 60%, transparent);
  color: var(--brand-soft);
  transform: translateY(-2px);
}

.pagination .current {
  background: linear-gradient(140deg, var(--brand), #6366f1);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 26px -14px rgba(139, 92, 246, 0.95);
}

.pagination .dots {
  border: none;
  background: transparent;
}

/* ---------------- chips ---------------- */

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.74rem;
  border-radius: 99px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: color-mix(in srgb, var(--bg-2) 62%, transparent);
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-chip:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
}

.filter-chip.active {
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.16));
  border-color: color-mix(in srgb, var(--brand) 65%, transparent);
  color: var(--brand-soft);
  box-shadow: 0 0 20px -8px rgba(139, 92, 246, 0.9);
}

/* ---------------- accordion ---------------- */

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-2) 62%, transparent);
  transition: border-color 0.25s ease;
}

.accordion-item:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
}

.accordion-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.88rem 1.05rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.accordion-body {
  display: none;
  padding: 0 1.05rem 0.98rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.accordion-item.open .accordion-body {
  display: block;
}

.accordion-item.open .accordion-head i {
  transform: rotate(180deg);
}

.accordion-head i {
  transition: transform 0.25s ease;
}

/* ---------------- stat cards ---------------- */

.stat-card {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, color-mix(in srgb, var(--bg-2) 82%, transparent), color-mix(in srgb, var(--bg) 88%, transparent));
  display: flex;
  gap: 0.75rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.3s ease;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.stat-value {
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 0.24rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

  .stat-card {
    padding: 0.8rem 0.85rem;
    gap: 0.6rem;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 0.9rem;
  }
}

.stat-card::after {
  content: '';
  position: absolute;
  right: -34px;
  top: -34px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 70%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
  box-shadow: 0 24px 46px -30px rgba(139, 92, 246, 0.85);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  flex: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.stat-ico-a {
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
}

.stat-ico-b {
  background: rgba(34, 211, 238, 0.16);
  color: #67e8f9;
}

.stat-ico-c {
  background: rgba(52, 211, 153, 0.16);
  color: #6ee7b7;
}

.stat-ico-d {
  background: rgba(251, 191, 36, 0.16);
  color: #fcd34d;
}

html.light .stat-ico-a {
  background: rgba(109, 40, 217, 0.12);
  color: #6d28d9;
}

html.light .stat-ico-b {
  background: rgba(8, 145, 178, 0.12);
  color: #0e7490;
}

html.light .stat-ico-c {
  background: rgba(4, 120, 87, 0.12);
  color: #047857;
}

html.light .stat-ico-d {
  background: rgba(180, 83, 9, 0.12);
  color: #b45309;
}

/* Light-mode fixes for translucent white utilities used across views */
html.light .bg-white\/5 {
  background-color: rgba(15, 23, 42, 0.045);
}

html.light .bg-white\/10 {
  background-color: rgba(15, 23, 42, 0.07);
}

html.light .hover\:bg-white\/5:hover {
  background-color: rgba(15, 23, 42, 0.06);
}

html.light .hover\:bg-white\/10:hover {
  background-color: rgba(15, 23, 42, 0.09);
}

html.light .border-white\/10 {
  border-color: rgba(15, 23, 42, 0.1);
}

html.light .border-white\/25 {
  border-color: rgba(15, 23, 42, 0.18);
}

html.light .from-ink {
  --tw-gradient-from: #f6f7fd var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(246, 247, 253, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

/* ---------------- why / review cards ---------------- */

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-soft);
  margin-bottom: 0.35rem;
}

.section-kicker i {
  font-size: 0.56rem;
}

.section-head-center {
  text-align: center;
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.05rem 1.05rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(168deg, color-mix(in srgb, var(--bg-2) 82%, transparent), color-mix(in srgb, var(--bg) 88%, transparent));
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.32s ease;
}

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 130px at 100% 0%, rgba(139, 92, 246, 0.14), transparent 68%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  box-shadow: 0 28px 56px -34px rgba(139, 92, 246, 0.92);
}

.why-card:hover::after {
  opacity: 1;
}

.why-index {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--text) 9%, transparent);
  line-height: 1;
  pointer-events: none;
}

.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  margin-bottom: 0.7rem;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.why-title {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.3rem;
}

.why-desc {
  font-size: 0.735rem;
  line-height: 1.62;
  color: var(--muted);
}

.review-card {
  position: relative;
  overflow: hidden;
  padding: 1.05rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(168deg, color-mix(in srgb, var(--bg-2) 80%, transparent), color-mix(in srgb, var(--bg) 88%, transparent));
  height: 100%;
  transition: border-color 0.28s ease, transform 0.28s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  transform: translateY(-4px);
  box-shadow: 0 26px 52px -34px rgba(139, 92, 246, 0.85);
}

.review-quote {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  font-size: 1.5rem;
  color: color-mix(in srgb, var(--brand) 26%, transparent);
  pointer-events: none;
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0b0f1d;
  background: linear-gradient(140deg, #c4b5fd, #8b5cf6 52%, #22d3ee);
  box-shadow: 0 6px 16px -8px rgba(139, 92, 246, 0.9);
  flex: none;
}

.stars {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

/* ---------------- gallery ---------------- */

.gallery-main {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  aspect-ratio: 16/10;
  box-shadow: var(--shadow);
}

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

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.gallery-thumb {
  width: 86px;
  height: 58px;
  flex: none;
  border-radius: 11px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
}

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

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--brand);
  opacity: 1;
  box-shadow: 0 0 20px -8px rgba(139, 92, 246, 0.95);
}

/* ---------------- auth ---------------- */

.auth-wrap {
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: stretch;
}

.auth-banner {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  padding: 1.7rem;
  background: linear-gradient(150deg, #1b1140, #0b1224 55%, #062235);
  box-shadow: var(--shadow);
}

.auth-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.auth-banner-content {
  position: relative;
  z-index: 2;
}

.auth-card {
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--bg-2) 78%, transparent);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.1), 0 40px 90px -50px rgba(139, 92, 246, 0.9);
  padding: 1.65rem;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32), transparent 66%);
  pointer-events: none;
}

.auth-card::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  bottom: -130px;
  left: -110px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 68%);
  pointer-events: none;
}

.strength {
  height: 6px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.strength > i {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.3s ease, background 0.3s ease;
}

.pw-toggle {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
}

.pw-toggle:hover {
  color: var(--brand-soft);
}

.field-error {
  color: #fda4af;
  font-size: 0.74rem;
  margin-top: 0.25rem;
  min-height: 0;
}

/* ---------------- alerts ---------------- */

.alert {
  border-radius: 13px;
  padding: 0.68rem 0.9rem;
  font-size: 0.85rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  border: 1px solid transparent;
}

.alert-error {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.45);
  color: #fda4af;
}

.alert-success {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
}

.alert-info {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.42);
  color: #ddd6fe;
}

.alert-warn {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.42);
  color: #fcd34d;
}

/* ---------------- tabs ---------------- */

.tabs {
  display: flex;
  gap: 0.3rem;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.tab {
  padding: 0.62rem 0.92rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

.tab.active {
  color: var(--brand-soft);
  border-color: var(--brand);
}

/* ---------------- wheel ---------------- */

.wheel-wrap {
  position: relative;
  width: min(92vw, 410px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.wheel-canvas-wrap {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 9px;
  background: conic-gradient(from 0deg, #8b5cf6, #22d3ee, #a855f7, #f43f5e, #8b5cf6);
  box-shadow: 0 0 54px -10px rgba(139, 92, 246, 0.85);
}

#wheelCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  transition: transform 4.2s cubic-bezier(0.12, 0.68, 0.06, 1);
}

.wheel-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 30px solid #f43f5e;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.65));
  z-index: 3;
}

.wheel-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fef3c7, #fbbf24 52%, #b45309);
  color: #1a1204;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  border: 3px solid rgba(6, 7, 15, 0.9);
  z-index: 2;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.8);
}

/* ---------------- timeline ---------------- */

.timeline {
  position: relative;
  padding-left: 1.2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--brand), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 0.9rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.2rem;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.9);
}

/* ---------------- tables ---------------- */

table.data {
  width: 100%;
  font-size: 0.82rem;
  border-collapse: separate;
  border-spacing: 0;
}

table.data th {
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.62rem 0.72rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

table.data td {
  padding: 0.62rem 0.72rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

table.data tbody tr:hover {
  background: rgba(139, 92, 246, 0.06);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 15px;
  border: 1px solid var(--line);
}

/* ---------------- admin ---------------- */

.admin-body {
  background: var(--bg);
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 258px;
  background: linear-gradient(180deg, #0a0d1a, #06070f);
  border-right: 1px solid var(--line);
  padding: 1rem 0.8rem;
  overflow-y: auto;
  z-index: 60;
  transition: transform 0.3s ease;
}

html.light .admin-sidebar {
  background: linear-gradient(180deg, #ffffff, #f1f5fb);
}

.admin-main {
  margin-left: 258px;
  padding: 1.1rem;
  min-height: 100vh;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.52rem 0.72rem;
  border-radius: 11px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #93a3c4;
  transition: all 0.2s ease;
  margin-bottom: 0.14rem;
}

.side-link i {
  width: 16px;
  text-align: center;
  font-size: 0.85rem;
}

.side-link:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--brand-soft);
}

.side-link.active {
  background: linear-gradient(100deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.12));
  color: #ddd6fe;
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.35);
}

.side-group {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #475569;
  margin: 0.9rem 0 0.35rem 0.7rem;
  font-weight: 700;
}

.admin-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 76%, transparent);
  padding: 1rem;
}

/* ---------------- admin: account form ---------------- */

.acc-form-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, color-mix(in srgb, var(--bg-2) 82%, transparent), color-mix(in srgb, var(--bg) 86%, transparent));
}

.acc-form-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.card-head h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-head p {
  font-size: 0.66rem;
  color: var(--muted);
  margin-top: 0.1rem;
  line-height: 1.5;
}

.card-ico {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.34);
}

.card-ico-cyan {
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(34, 211, 238, 0.34);
}

.card-ico-gold {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.34);
}

html.light .card-ico {
  color: #5b21b6;
}

html.light .card-ico-cyan {
  color: #0e7490;
}

html.light .card-ico-gold {
  color: #b45309;
}

.input-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.hint {
  font-size: 0.62rem;
  color: var(--muted);
  line-height: 1.5;
}

.cred-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  font-size: 0.66rem;
  line-height: 1.55;
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.26);
}

html.light .cred-note {
  color: #0e7490;
}

.cred-note i {
  margin-top: 0.1rem;
}

.img-tile {
  position: relative;
  display: block;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  aspect-ratio: 16 / 10;
}

.img-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.img-tile-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.img-tile-veil {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.72), rgba(34, 211, 238, 0.5));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.img-tile-check:checked ~ .img-tile-veil {
  opacity: 1;
}

.img-tile-check:not(:checked) ~ .img-tile-veil {
  opacity: 0;
  background: rgba(244, 63, 94, 0.75);
}

.img-tile:has(.img-tile-check:not(:checked)) img {
  filter: grayscale(0.7);
  opacity: 0.45;
}

.img-tile:has(.img-tile-check:not(:checked))::after {
  content: 'Xóa';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(244, 63, 94, 0.85);
  padding: 0.12rem 0;
}

.drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 1.35rem 1rem;
  border-radius: 14px;
  border: 1.5px dashed color-mix(in srgb, var(--brand) 42%, transparent);
  background: color-mix(in srgb, var(--brand) 6%, transparent);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: color-mix(in srgb, var(--brand) 85%, transparent);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}

.drop-zone-ico {
  font-size: 1.15rem;
  color: var(--brand-soft);
  margin-bottom: 0.15rem;
}

.drop-zone-title {
  font-size: 0.74rem;
  font-weight: 600;
}

.drop-zone-sub {
  font-size: 0.62rem;
  color: var(--muted);
}

.drop-zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  margin-top: 0.35rem;
  font-size: 0.6rem;
  color: var(--brand-soft);
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.switch-row:hover {
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
}

.switch-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-box {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all 0.18s ease;
  flex: none;
}

.switch-row input:checked + .switch-box {
  background: linear-gradient(140deg, #a78bfa, #8b5cf6);
  border-color: transparent;
  box-shadow: 0 0 12px -2px rgba(139, 92, 246, 0.9);
}

.switch-row input:checked + .switch-box::after {
  content: '';
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(0.5px, -1px);
}

.acc-preview-card {
  position: sticky;
  top: 0.75rem;
}

.acc-preview {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
}

.acc-preview-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
}

.acc-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acc-preview-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.2rem;
}

.acc-preview-rank {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  padding: 0.1rem 0.42rem;
  border-radius: 7px;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: rgba(6, 7, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.acc-preview-body {
  padding: 0.55rem 0.65rem 0.65rem;
}

.acc-preview-title {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.acc-preview-meta {
  font-size: 0.6rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.acc-preview-price {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold);
  margin-top: 0.25rem;
}

@media (max-width: 1024px) {
  .acc-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .acc-preview-card {
    position: static;
  }
}

.kpi {
  padding: 0.92rem 1.02rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 74%, transparent);
  position: relative;
  overflow: hidden;
}

.kpi::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
}

.kpi-value {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.kpi-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kpi-delta {
  font-size: 0.7rem;
  font-weight: 600;
}

.ai-grid {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
}

.chat-bubble-btn {
  background: linear-gradient(140deg, #34d399, #059669);
}

/* ---------------- misc ---------------- */

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.glow-ring {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.55;
}

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

  .auth-banner {
    min-height: 250px;
    order: 2;
  }

  .admin-sidebar {
    transform: translateX(-105%);
  }

  .admin-sidebar.open {
    transform: none;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
  }

  .admin-main {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .acc-price {
    font-size: 1.02rem;
  }

  .float-actions {
    right: 10px;
    bottom: 10px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .hero-slide img {
    min-height: 230px;
  }

  .countdown-box {
    min-width: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}