/* =====================================================================
   TEE AUCTIONS — Theme BASE (shared, variable-driven)
   The whole home page is styled here using CSS variables. A "theme" is
   just a :root override file loaded AFTER this one (theme.css).
   Powers theme-aurora / theme-ivory / theme-neon.
   ===================================================================== */
:root {
  /* surfaces */
  --black: #06060a; --bg: #0b0b10; --bg-2: #0f0f15; --surface: #15151c; --surface-2: #18181f; --elev: #1e1e27;
  --line: rgba(255,255,255,0.12); --line-soft: rgba(255,255,255,0.07);
  /* accent */
  --accent: #7c5cff; --accent-2: #a78bfa; --accent-bright: #c4b5fd; --accent-deep: #5b3df0;
  --accent-rgb: 124,92,255; --glow-rgb: 124,92,255;
  /* text */
  --text: #f3f3f8; --text-2: #c7c7d4; --muted: #8b8b9c; --muted-2: #5c5c6b;
  /* status */
  --live: #57d98e; --hot: #ff6a5b; --danger: #ff5a5a;
  /* primary button / gradients */
  --ink: #0b0b10;
  --grad-primary: linear-gradient(135deg, #a78bfa, #7c5cff 55%, #5b3df0);
  --grad-primary-text: linear-gradient(100deg, #c4b5fd, #7c5cff 60%, #22d3ee);
  --grad-sheen: linear-gradient(120deg, transparent, rgba(255,255,255,0.35) 50%, transparent);
  --media-grad: radial-gradient(circle at 50% 35%, #1b1b2a, #0a0a10);
  /* fx */
  --shadow: 0 32px 64px -28px rgba(0,0,0,0.85); --shadow-card: 0 22px 50px -26px rgba(0,0,0,0.8);
  --glow-soft: 0 0 60px rgba(var(--glow-rgb), 0.16);
  --particle-rgb: 124,92,255; --grain-opacity: 0.03;
  --select-bg: var(--accent); --select-ink: #fff;
  --header-bg: rgba(10,10,16,0.72); --preloader-bg: var(--black); --cursor-blend: screen;
  --fill: rgba(255,255,255,0.03); --fill-strong: rgba(255,255,255,0.05);
  /* shape + motion */
  --radius: 18px; --radius-sm: 12px; --radius-lg: 28px; --radius-pill: 999px; --container: 1240px;
  --ease: cubic-bezier(0.22,1,0.36,1); --ease-2: cubic-bezier(0.65,0,0.35,1); --ease-back: cubic-bezier(0.34,1.56,0.64,1);
  /* type */
  --font-display: 'Sora', system-ui, sans-serif; --font-sans: 'Inter', system-ui, sans-serif; --font-mono: 'Space Grotesk', monospace;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; letter-spacing: 0.01em; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(60% 50% at 75% -5%, rgba(var(--glow-rgb),0.12), transparent 60%), radial-gradient(45% 40% at 8% 12%, rgba(var(--glow-rgb),0.07), transparent 60%), var(--bg); }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--select-bg); color: var(--select-ink); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--accent-deep), var(--accent)); border-radius: 99px; border: 3px solid var(--black); }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
.display { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent-2); }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.eyebrow.is-center::after { content: ''; width: 26px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.gold-text { background: var(--grad-primary-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.serif-i { font-family: var(--font-display); font-style: italic; font-weight: 600; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }
.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.014) 12%, rgba(255,255,255,0.014) 88%, transparent); }
.section-head { max-width: 680px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 0.7rem 0 0.6rem; }
.section-sub { color: var(--text-2); font-size: 1.05rem; max-width: 56ch; }
.is-center .section-sub { margin-inline: auto; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* buttons */
.btn { position: relative; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.95rem 1.7rem; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.96rem; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.3s, background 0.3s, border-color 0.3s; }
.btn svg { width: 1.05em; height: 1.05em; }
.btn:active { transform: scale(0.97); }
.btn--gold { background: var(--grad-primary); color: var(--ink); box-shadow: 0 14px 34px -14px rgba(var(--accent-rgb),0.6); }
.btn--gold:hover { box-shadow: 0 20px 46px -14px rgba(var(--accent-rgb),0.75); transform: translateY(-2px); }
.btn--gold::after { content: ''; position: absolute; inset: 0; z-index: 2; background: var(--grad-sheen); transform: translateX(-130%) skewX(-18deg); transition: transform 0.8s var(--ease); }
.btn--gold:hover::after { transform: translateX(130%) skewX(-18deg); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.02); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-bright); transform: translateY(-2px); box-shadow: var(--glow-soft); }
.btn--text { padding: 0.5rem 0.2rem; color: var(--accent-2); }
.btn--text::after { content: ''; position: absolute; left: 0.2rem; right: 0.2rem; bottom: 0.2rem; height: 1px; background: var(--accent); transform: scaleX(0.2); transform-origin: left; opacity: 0.5; transition: transform 0.4s var(--ease), opacity 0.3s; }
.btn--text:hover::after { transform: scaleX(1); opacity: 1; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.02rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.84rem; }
.btn--block { width: 100%; }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; transition: transform 0.5s var(--ease); }
.nav { transition: padding 0.45s var(--ease), background 0.45s, backdrop-filter 0.45s, border-color 0.45s; border-bottom: 1px solid transparent; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.35rem; }
.site-header.is-scrolled .nav { background: var(--header-bg); backdrop-filter: blur(18px) saturate(1.2); border-bottom-color: var(--line-soft); }
.site-header.is-scrolled .nav__inner { padding-block: 0.8rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; filter: drop-shadow(0 4px 12px rgba(var(--accent-rgb),0.45)); }
.brand__text { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: 0.02em; line-height: 1; }
.brand__text small { display: block; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.42em; color: var(--muted); font-weight: 500; margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 0.4rem; }
.nav__link { position: relative; padding: 0.5rem 0.95rem; font-size: 0.93rem; font-weight: 500; color: var(--text-2); border-radius: var(--radius-pill); transition: color 0.3s; }
.nav__link::after { content: ''; position: absolute; left: 50%; bottom: 0.2rem; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%) scale(0); transition: transform 0.35s var(--ease-back); }
.nav__link:hover, .nav__link.is-active { color: var(--accent-bright); }
.nav__link:hover::after, .nav__link.is-active::after { transform: translateX(-50%) scale(1); }
.nav__actions { display: flex; align-items: center; gap: 0.7rem; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-soft); color: var(--text-2); transition: 0.3s var(--ease); position: relative; }
.icon-btn:hover { color: var(--accent-bright); border-color: var(--accent); transform: translateY(-2px); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn__dot { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.nav-toggle { display: none; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-soft); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.35s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 190; background: var(--header-bg); backdrop-filter: blur(22px); display: flex; flex-direction: column; justify-content: center; gap: 0.4rem; padding: 2rem clamp(1.2rem,6vw,3rem); transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform 0.6s var(--ease), opacity 0.4s; }
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(1.8rem,7vw,2.8rem); padding: 0.5rem 0; color: var(--text); border-bottom: 1px solid var(--line-soft); transition: color 0.3s, padding-left 0.4s var(--ease); }
.mobile-menu a:hover { color: var(--accent); padding-left: 0.8rem; }
.mobile-menu .m-actions { display: flex; gap: 0.8rem; margin-top: 1.6rem; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 7rem; padding-bottom: 3rem; overflow: hidden; }
.hero__particles { position: absolute; inset: 0; z-index: 0; }
.hero__bg-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; opacity: 0.5; pointer-events: none; }
.hero__bg-orb.a { width: 540px; height: 540px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(var(--glow-rgb),0.4), transparent 70%); animation: float 14s var(--ease) infinite; }
.hero__bg-orb.b { width: 420px; height: 420px; left: -140px; bottom: -100px; background: radial-gradient(circle, rgba(var(--glow-rgb),0.18), transparent 70%); animation: float 18s var(--ease) infinite reverse; }
.hero__grid-lines { position: absolute; inset: 0; z-index: 0; opacity: 0.4; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; width: 100%; }
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__title { font-size: clamp(2.9rem, 6.4vw, 5.4rem); line-height: 1.02; margin-bottom: 1.4rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero__title .word { display: inline-block; }
.hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--text-2); max-width: 48ch; margin-bottom: 2.2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__stats { display: flex; gap: clamp(1.4rem, 3vw, 2.6rem); flex-wrap: wrap; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1; }
.stat__label { font-size: 0.8rem; color: var(--muted); margin-top: 0.45rem; }
.hero__visual { position: relative; }
.hero-lot { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 1.2rem; backdrop-filter: blur(10px); transform-style: preserve-3d; }
.hero-lot__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; background: var(--media-grad); display: grid; place-items: center; }
.hero-lot__media .lot-card__ph { z-index: 0; }
.hero-lot__media img { position: relative; z-index: 1; width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5)); transform: translateZ(40px); transition: transform 0.6s var(--ease); }
.hero-lot:hover .hero-lot__media img { transform: translateZ(60px) scale(1.04); }
.hero-lot__live { position: absolute; top: 1rem; left: 1rem; }
.hero-lot__body { padding: 1.2rem 0.6rem 0.5rem; }
.hero-lot__name { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.9rem; }
.hero-lot__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.hero-lot__bid small { display: block; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.hero-lot__bid b { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 700; }
.hero-lot__float { position: absolute; border-radius: 14px; padding: 0.7rem 0.95rem; background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: var(--shadow-card); font-size: 0.82rem; display: flex; align-items: center; gap: 0.55rem; }
.hero-lot__float.t { top: 8%; right: -6%; animation: float 7s var(--ease) infinite; }
.hero-lot__float.b { bottom: 12%; left: -8%; animation: float 9s var(--ease) infinite reverse; }
.hero-lot__float b { font-family: var(--font-mono); color: var(--accent-bright); }
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; }
.scroll-cue__mouse { width: 22px; height: 36px; border: 1px solid var(--line); border-radius: 14px; position: relative; }
.scroll-cue__mouse::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 3px; background: var(--accent); transform: translateX(-50%); animation: wheel 1.8s var(--ease) infinite; }

/* badges / chips */
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.36rem 0.7rem; border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; backdrop-filter: blur(6px); }
.badge--live { background: rgba(87,217,142,0.14); color: var(--live); border: 1px solid rgba(87,217,142,0.3); }
.badge--hot { background: rgba(255,106,91,0.14); color: var(--hot); border: 1px solid rgba(255,106,91,0.3); }
.badge--gold { background: rgba(var(--accent-rgb),0.14); color: var(--accent-bright); border: 1px solid var(--line); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 1.8s infinite; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 1rem; border-radius: var(--radius-pill); border: 1px solid var(--line-soft); font-size: 0.86rem; color: var(--text-2); background: rgba(255,255,255,0.02); transition: 0.3s var(--ease); cursor: pointer; }
.chip:hover { border-color: var(--accent); color: var(--accent-bright); }
.chip.is-active { background: var(--grad-primary); color: var(--ink); border-color: transparent; font-weight: 600; }

/* lot cards */
.grid-lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(1.1rem, 2vw, 1.6rem); }
.lot-card { position: relative; border-radius: var(--radius); background: linear-gradient(165deg, var(--surface-2), var(--bg-2)); border: 1px solid var(--line-soft); overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s; display: flex; flex-direction: column; }
.lot-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(var(--accent-rgb),0.5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.lot-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-card), var(--glow-soft); }
.lot-card:hover::before { opacity: 1; }
.lot-card__media { position: relative; aspect-ratio: 1/1; background: var(--media-grad); overflow: hidden; }
.lot-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.8rem; opacity: 0.5; z-index: 0; }
.lot-card__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.lot-card:hover .lot-card__img { transform: scale(1.07); }
.lot-card__badges { position: absolute; top: 0.8rem; left: 0.8rem; display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-start; z-index: 2; }
.lot-card__timer-pill { position: absolute; bottom: 0.8rem; left: 0.8rem; right: 0.8rem; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.5rem 0.8rem; border-radius: var(--radius-pill); background: var(--surface); backdrop-filter: blur(8px); border: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; transform: translateY(120%); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.4s; }
.lot-card:hover .lot-card__timer-pill { transform: translateY(0); opacity: 1; }
.lot-card__timer-pill.is-urgent { color: var(--hot); border-color: rgba(255,106,91,0.4); }
.watch-btn { position: absolute; top: 0.7rem; right: 0.7rem; z-index: 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-soft); backdrop-filter: blur(8px); color: var(--text-2); transition: 0.3s var(--ease); }
.watch-btn:hover { color: var(--accent-bright); border-color: var(--accent); transform: scale(1.1); }
.watch-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: 0.3s; }
.watch-btn.is-on { color: var(--accent); border-color: var(--accent); }
.watch-btn.is-on svg { fill: var(--accent); }
.lot-card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.lot-card__cat { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 0.5rem; }
.lot-card__title { font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem; line-height: 1.35; margin-bottom: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; transition: color 0.3s; }
.lot-card:hover .lot-card__title { color: var(--accent-bright); }
.lot-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.8rem; margin-top: auto; padding-top: 0.6rem; border-top: 1px solid var(--line-soft); }
.lot-card__label { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.lot-card__price { font-family: var(--font-mono); font-size: 1.32rem; font-weight: 700; line-height: 1.1; }
.lot-card__bids { font-size: 0.76rem; color: var(--text-2); text-align: right; }
.lot-card__bids b { color: var(--accent-bright); font-family: var(--font-mono); }

/* countdown */
.countdown { display: inline-flex; gap: 0.5rem; }
.countdown__unit { min-width: 58px; text-align: center; background: rgba(255,255,255,0.03); border: 1px solid var(--line-soft); border-radius: 12px; padding: 0.6rem 0.4rem; }
.countdown__num { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--accent-bright); font-variant-numeric: tabular-nums; display: block; }
.countdown__label { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }
.countdown.is-urgent .countdown__num { color: var(--hot); }

/* categories */
.cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.cat-card { position: relative; padding: 1.6rem 1.3rem; border-radius: var(--radius); border: 1px solid var(--line-soft); background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); overflow: hidden; transition: 0.45s var(--ease); display: flex; flex-direction: column; gap: 0.7rem; }
.cat-card::after { content: ''; position: absolute; right: -30%; top: -30%; width: 70%; height: 70%; background: radial-gradient(circle, rgba(var(--accent-rgb),0.22), transparent 70%); opacity: 0; transition: 0.5s; }
.cat-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.cat-card:hover::after { opacity: 1; }
.cat-card__icon { font-size: 1.9rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: rgba(var(--accent-rgb),0.1); border: 1px solid var(--line); transition: 0.4s var(--ease); }
.cat-card:hover .cat-card__icon { transform: scale(1.08) rotate(-4deg); }
.cat-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.cat-card__count { font-size: 0.8rem; color: var(--muted); }
.cat-card__arrow { position: absolute; bottom: 1.3rem; right: 1.3rem; opacity: 0; transform: translateX(-6px); transition: 0.4s var(--ease); color: var(--accent); }
.cat-card:hover .cat-card__arrow { opacity: 1; transform: translateX(0); }

/* marquee */
.marquee { position: relative; overflow: hidden; padding: 1.1rem 0; border-block: 1px solid var(--line-soft); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 0.8rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.marquee__item span { color: var(--accent); }
.marquee__star { color: var(--accent); font-size: 1rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.step { position: relative; padding: 2.2rem 1.6rem 1.8rem; border-radius: var(--radius); border: 1px solid var(--line-soft); background: linear-gradient(170deg, var(--surface-2), var(--bg-2)); transition: 0.45s var(--ease); }
.step:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: var(--shadow-card); }
.step__num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; line-height: 1; background: var(--grad-primary-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.9; }
.step__title { font-family: var(--font-sans); font-weight: 700; font-size: 1.15rem; margin: 0.7rem 0 0.5rem; }
.step__text { color: var(--text-2); font-size: 0.94rem; }
.step__line { position: absolute; top: 3.3rem; right: -0.7rem; color: var(--line); z-index: 2; }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; }
.quote { padding: 2rem 1.8rem; border-radius: var(--radius); border: 1px solid var(--line-soft); background: linear-gradient(165deg, var(--surface-2), var(--bg-2)); position: relative; transition: 0.45s var(--ease); }
.quote:hover { border-color: var(--line); transform: translateY(-4px); }
.quote__stars { color: var(--accent); letter-spacing: 0.2em; margin-bottom: 0.9rem; font-size: 1.1rem; }
.quote__text { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: var(--text); margin-bottom: 1.4rem; }
.quote__author { display: flex; align-items: center; gap: 0.8rem; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-primary); display: grid; place-items: center; font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.quote__name { font-weight: 600; font-size: 0.95rem; }
.quote__role { font-size: 0.8rem; color: var(--muted); }

/* usp */
.usp { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.usp__item { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.3rem; border-radius: var(--radius); border: 1px solid var(--line-soft); background: rgba(255,255,255,0.015); transition: 0.4s var(--ease); }
.usp__item:hover { border-color: var(--line); transform: translateY(-3px); }
.usp__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--accent-rgb),0.1); border: 1px solid var(--line); color: var(--accent-bright); }
.usp__icon svg { width: 22px; height: 22px; }
.usp__t { font-weight: 600; font-size: 0.98rem; margin-bottom: 0.2rem; }
.usp__d { font-size: 0.84rem; color: var(--muted); }

/* cta band */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: clamp(2.6rem, 5vw, 4.5rem); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 140% at 85% -20%, rgba(var(--accent-rgb),0.18), transparent 55%), linear-gradient(160deg, var(--surface), var(--bg-2)); text-align: center; }
.cta-band__orb { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(70px); background: radial-gradient(circle, rgba(var(--accent-rgb),0.3), transparent 70%); left: -100px; bottom: -160px; pointer-events: none; }
.newsletter-form { display: flex; gap: 0.7rem; max-width: 480px; margin: 1.8rem auto 0; flex-wrap: wrap; }
.newsletter-form .input { flex: 1; min-width: 220px; }
.input { width: 100%; padding: 0.95rem 1.1rem; background: rgba(255,255,255,0.025); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); color: var(--text); font-size: 0.96rem; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; }
.input::placeholder { color: var(--muted-2); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.16); background: rgba(255,255,255,0.04); }

/* footer */
.site-footer { position: relative; margin-top: 2rem; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb),0.03)); padding-top: clamp(3rem, 6vw, 5rem); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.4rem; padding-bottom: 3rem; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; margin: 1rem 0 1.4rem; }
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-2); font-size: 0.88rem; margin-bottom: 0.6rem; }
.footer__contact svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer__col h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1.2rem; }
.footer__col a { display: block; color: var(--text-2); font-size: 0.92rem; padding: 0.35rem 0; transition: color 0.3s, padding-left 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent-bright); padding-left: 0.4rem; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.6rem 0; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 0.84rem; }

/* preloader */
.preloader { position: fixed; inset: 0; z-index: 999; background: var(--preloader-bg); display: grid; place-items: center; transition: opacity 0.7s var(--ease), visibility 0.7s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.preloader__logo { display: flex; align-items: center; gap: 0.8rem; }
.preloader__logo svg { width: 54px; height: 54px; }
.preloader__word { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; letter-spacing: 0.04em; }
.preloader__bar { width: 200px; height: 2px; background: var(--line-soft); border-radius: 2px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0; background: var(--grad-primary); box-shadow: 0 0 14px var(--accent); transition: width 0.2s linear; }
.preloader__pct { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.2em; }

/* cursor / progress / to-top / toasts */
.cursor-glow { position: fixed; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--accent); pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, background 0.3s, opacity 0.3s; mix-blend-mode: var(--cursor-blend); }
.cursor-dot { position: fixed; top: 0; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-bright); pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); }
.cursor-glow.is-hover { width: 52px; height: 52px; background: rgba(var(--accent-rgb),0.12); }
@media (hover: none) { .cursor-glow, .cursor-dot { display: none; } }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: var(--grad-primary); box-shadow: 0 0 12px rgba(var(--accent-rgb),0.6); transition: width 0.1s linear; }
.to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 150; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-primary); color: var(--ink); box-shadow: 0 14px 30px -10px rgba(var(--accent-rgb),0.6); opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.8); transition: 0.45s var(--ease-back); }
.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { transform: translateY(-3px) scale(1.06); }
.toasts { position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 250; display: flex; flex-direction: column; gap: 0.7rem; max-width: 320px; }
.toast { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1.1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(12px); box-shadow: var(--shadow-card); transform: translateX(-120%); opacity: 0; animation: toastIn 0.5s var(--ease) forwards; }
.toast.is-out { animation: toastOut 0.4s var(--ease) forwards; }
.toast__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-primary); display: grid; place-items: center; font-weight: 700; color: var(--ink); font-size: 0.8rem; flex-shrink: 0; }
.toast__msg { font-size: 0.84rem; line-height: 1.35; }
.toast__msg b { color: var(--accent-bright); }
.toast__msg small { color: var(--muted); display: block; }

/* reveals */
[data-reveal] { opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); will-change: transform, opacity; }
[data-reveal="up"] { transform: translateY(38px); }
[data-reveal="left"] { transform: translateX(48px); }
[data-reveal="right"] { transform: translateX(-48px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-line .word { display: inline-block; transform: translateY(110%); opacity: 0; }
.reveal-line.is-in .word { animation: wordUp 0.9s var(--ease) forwards; animation-delay: var(--wd, 0ms); }

/* keyframes */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, -4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 8px); } }
@keyframes toastIn { to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { to { transform: translateX(-120%); opacity: 0; } }
@keyframes wordUp { to { transform: translateY(0); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* utilities */
.text-center { text-align: center; }
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 1rem; } .wrap { flex-wrap: wrap; }
.mt-3 { margin-top: 2rem; }

/* ============================================================ */
/*  INNER PAGES (browse · item · auth · dashboard · about)      */
/*  variable-driven so each theme palette flows through         */
/* ============================================================ */

/* page hero + breadcrumbs */
.page-hero { position: relative; padding: 9.5rem 0 3rem; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 80% at 80% -10%, rgba(var(--accent-rgb),0.12), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumbs { display: flex; align-items: center; gap: 0.5rem; font-size: 0.84rem; color: var(--muted); margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs span { color: var(--muted-2); }

/* forms */
.field { margin-bottom: 1.1rem; }
.field__label { display: block; font-size: 0.82rem; color: var(--text-2); margin-bottom: 0.5rem; }
.select, textarea.input { width: 100%; padding: 0.95rem 1.1rem; background: var(--fill); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); color: var(--text); font-size: 0.96rem; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s; }
.select:focus, textarea.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.14); }
.input-wrap { position: relative; }
.input-wrap .input { padding-left: 2.8rem; }
.input-wrap__icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-wrap__icon svg { width: 18px; height: 18px; }
.checkbox { display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; font-size: 0.88rem; color: var(--text-2); }
.checkbox input { width: 18px; height: 18px; accent-color: var(--accent); }

/* browse toolbar */
.toolbar { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.4rem; }
.toolbar__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; min-width: 240px; max-width: 440px; }
.search-box .input { padding-left: 2.9rem; }
.search-box__icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box__icon svg { width: 18px; height: 18px; }
.chips { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.sort-wrap { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.sort-wrap label { font-size: 0.84rem; color: var(--muted); white-space: nowrap; }
.select { -webkit-appearance: none; appearance: none; width: auto; min-width: 190px; padding-right: 2.6rem; cursor: pointer; background-repeat: no-repeat; background-position: right 1rem center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.result-count { color: var(--muted); font-size: 0.9rem; }
.result-count b { color: var(--accent-bright); font-family: var(--font-mono); }
.empty-state { grid-column: 1/-1; text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state__emoji { font-size: 2.6rem; opacity: 0.6; margin-bottom: 0.8rem; }

/* item detail */
.item { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); gap: clamp(1.6rem,4vw,3.2rem); align-items: flex-start; }
.gallery { position: sticky; top: 96px; }
.gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; background: var(--media-grad); border: 1px solid var(--line); }
.gallery__main img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: transform 0.6s var(--ease); }
.gallery__main.zoom img { transform: scale(1.7); }
.gallery__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4.4rem; opacity: 0.5; z-index: 0; }
.gallery__badges { position: absolute; top: 1rem; left: 1rem; display: flex; gap: 0.5rem; z-index: 2; }
.gallery__zoomhint { position: absolute; bottom: 1rem; right: 1rem; z-index: 2; font-size: 0.74rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line-soft); padding: 0.4rem 0.7rem; border-radius: 99px; backdrop-filter: blur(6px); }
.gallery__thumbs { display: flex; gap: 0.7rem; margin-top: 1rem; flex-wrap: wrap; }
.thumb { width: 80px; height: 80px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--media-grad); cursor: pointer; flex-shrink: 0; transition: 0.3s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.thumb.is-active, .thumb:hover { border-color: var(--accent); transform: translateY(-2px); }
.buy-panel__cat { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); }
.buy-panel__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem,3vw,2.4rem); line-height: 1.12; margin: 0.5rem 0 0.7rem; }
.rating { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); margin-bottom: 1.3rem; flex-wrap: wrap; }
.rating .stars { color: var(--accent); letter-spacing: 0.12em; }
.rating .cond { color: var(--live); border: 1px solid rgba(87,217,142,0.3); background: rgba(87,217,142,0.1); padding: 0.2rem 0.6rem; border-radius: 99px; font-size: 0.76rem; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); }
.price-card.flash { animation: priceFlash 0.9s var(--ease); }
@keyframes priceFlash { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),0.5); border-color: var(--accent); } 100% { box-shadow: 0 0 0 18px transparent; } }
.price-card__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.price-card__bid small { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.price-card__bid b { font-family: var(--font-mono); font-size: clamp(1.9rem,4vw,2.6rem); font-weight: 700; line-height: 1; }
.price-card__cd { text-align: right; }
.price-card__cd small { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.bid-row { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.bid-row .input { flex: 1; font-family: var(--font-mono); font-size: 1.05rem; }
.bid-hint { font-size: 0.82rem; color: var(--muted); margin-top: 0.7rem; }
.bid-hint b { color: var(--accent-bright); font-family: var(--font-mono); }
.buy-now-row { margin-top: 0.8rem; }
.meta-row { display: flex; gap: 1.6rem; margin: 1.3rem 0 0; font-size: 0.86rem; color: var(--text-2); flex-wrap: wrap; }
.meta-row b { color: var(--accent-bright); font-family: var(--font-mono); }
.trust-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.7rem; margin-top: 1.3rem; }
.trust-mini__i { text-align: center; padding: 0.95rem 0.4rem; border: 1px solid var(--line-soft); border-radius: 12px; font-size: 0.74rem; color: var(--muted); }
.trust-mini__i svg { width: 20px; height: 20px; color: var(--accent); margin-bottom: 0.35rem; }
.tabs { margin-top: 2.6rem; }
.tab-btns { display: flex; gap: 0.3rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab-btn { padding: 0.75rem 1.1rem; color: var(--muted); font-weight: 600; font-size: 0.92rem; position: relative; }
.tab-btn.is-active { color: var(--accent-bright); }
.tab-btn.is-active::after { content: ''; position: absolute; left: 0.4rem; right: 0.4rem; bottom: -1px; height: 2px; background: var(--grad-primary); border-radius: 2px; }
.tab-panel { display: none; color: var(--text-2); line-height: 1.7; }
.tab-panel.is-active { display: block; animation: fadeUp 0.5s var(--ease); }
.tab-panel ul.hl { margin-top: 1rem; display: grid; gap: 0.6rem; }
.tab-panel ul.hl li { display: flex; gap: 0.6rem; align-items: flex-start; }
.tab-panel ul.hl svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 0.75rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; }
.spec-table td:first-child { color: var(--muted); width: 42%; }
.spec-table td:last-child { color: var(--text); font-weight: 500; }
.bid-feed { display: flex; flex-direction: column; }
.bid-feed__item { display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem 0.4rem; border-bottom: 1px solid var(--line-soft); border-radius: 8px; }
.bid-feed__item.is-new { animation: feedIn 0.7s var(--ease); }
@keyframes feedIn { 0% { opacity: 0; transform: translateY(-10px); background: rgba(var(--accent-rgb),0.12); } 100% { opacity: 1; background: transparent; } }
.bid-feed__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-primary); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }
.bid-feed__name { font-weight: 600; font-size: 0.9rem; }
.bid-feed__time { font-size: 0.76rem; color: var(--muted); }
.bid-feed__amt { margin-left: auto; font-family: var(--font-mono); font-weight: 700; color: var(--accent-bright); }
.bid-feed__amt.is-you { color: var(--live); }

/* auth */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 7.5rem 1.2rem 3rem; }
.auth-card { width: 100%; max-width: 960px; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); box-shadow: var(--shadow); }
.auth-aside { position: relative; padding: 3rem 2.4rem; color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,0.2), transparent 55%), var(--grad-primary); }
.auth-aside__orb { position: absolute; width: 280px; height: 280px; border-radius: 50%; filter: blur(60px); background: rgba(255,255,255,0.25); right: -120px; bottom: -120px; }
.auth-aside h2 { font-size: 1.9rem; position: relative; }
.auth-aside .eyebrow { color: rgba(255,255,255,0.85); }
.auth-aside .eyebrow::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8)); }
.auth-aside ul { display: grid; gap: 0.9rem; margin-top: 1.4rem; position: relative; }
.auth-aside li { display: flex; gap: 0.6rem; align-items: flex-start; color: rgba(255,255,255,0.94); font-size: 0.92rem; }
.auth-aside li svg { color: #fff; width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.auth-aside__quote { position: relative; font-family: var(--font-display); font-style: italic; color: #fff; font-size: 1.05rem; border-top: 1px solid rgba(255,255,255,0.25); padding-top: 1.2rem; margin-top: 1.4rem; }
.auth-main { padding: 2.6rem 2.4rem; }
.auth-tabs { display: flex; gap: 0.3rem; background: var(--fill); border: 1px solid var(--line-soft); border-radius: 99px; padding: 0.3rem; margin-bottom: 1.8rem; }
.auth-tab { flex: 1; padding: 0.7rem; border-radius: 99px; font-weight: 600; color: var(--muted); transition: 0.3s var(--ease); }
.auth-tab.is-active { background: var(--grad-primary); color: var(--ink); }
.auth-form { display: none; } .auth-form.is-active { display: block; animation: fadeUp 0.5s var(--ease); }
.social-row { display: flex; gap: 0.7rem; margin: 0.2rem 0 0.6rem; }
.social-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem; border: 1px solid var(--line-soft); border-radius: 12px; font-size: 0.88rem; color: var(--text-2); transition: 0.3s var(--ease); }
.social-btn:hover { border-color: var(--accent); color: var(--accent-bright); transform: translateY(-2px); }
.auth-divider { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: 0.8rem; margin: 1.3rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line-soft); }

/* dashboard */
.dash { display: grid; grid-template-columns: 262px 1fr; gap: 2rem; align-items: start; }
.dash-side { position: sticky; top: 96px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); padding: 1.4rem; }
.dash-user { display: flex; align-items: center; gap: 0.8rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 1rem; }
.dash-user__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-primary); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); font-size: 1.2rem; flex-shrink: 0; }
.dash-user__name { font-weight: 600; } .dash-user__email { font-size: 0.78rem; color: var(--muted); }
.dash-nav { display: flex; flex-direction: column; gap: 0.2rem; }
.dash-nav button { display: flex; align-items: center; gap: 0.7rem; padding: 0.72rem 0.8rem; border-radius: 12px; color: var(--text-2); font-weight: 500; text-align: left; transition: 0.3s var(--ease); }
.dash-nav button svg { width: 18px; height: 18px; }
.dash-nav button:hover { background: var(--fill); color: var(--accent-bright); }
.dash-nav button.is-active { background: rgba(var(--accent-rgb),0.12); color: var(--accent-bright); box-shadow: inset 0 0 0 1px var(--line); }
.dash-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 2rem; }
.dash-stat { padding: 1.3rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); transition: 0.4s var(--ease); }
.dash-stat:hover { border-color: var(--line); transform: translateY(-3px); }
.dash-stat__label { font-size: 0.78rem; color: var(--muted); }
.dash-stat__num { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; margin-top: 0.3rem; line-height: 1; }
.dash-panel { display: none; } .dash-panel.is-active { display: block; animation: fadeUp 0.5s var(--ease); }
.dash-list { display: flex; flex-direction: column; gap: 0.8rem; }
.dash-row { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--fill); transition: 0.3s var(--ease); }
.dash-row:hover { border-color: var(--line); transform: translateX(3px); }
.dash-row__img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--media-grad); flex-shrink: 0; position: relative; }
.dash-row__img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.dash-row__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.7rem; opacity: 0.5; z-index: 0; }
.dash-row__body { flex: 1; min-width: 0; }
.dash-row__title { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-row__meta { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }
.dash-row__right { text-align: right; flex-shrink: 0; }
.dash-row__price { font-family: var(--font-mono); font-weight: 700; color: var(--accent-bright); }
.tag { display: inline-block; font-size: 0.72rem; padding: 0.25rem 0.6rem; border-radius: 99px; font-weight: 600; margin-top: 0.3rem; }
.tag--lead { background: rgba(87,217,142,0.14); color: var(--live); border: 1px solid rgba(87,217,142,0.3); }
.tag--out { background: rgba(255,106,91,0.14); color: var(--hot); border: 1px solid rgba(255,106,91,0.3); }
.tag--won { background: rgba(var(--accent-rgb),0.16); color: var(--accent-bright); border: 1px solid var(--line); }
.panel-head { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 1.1rem; }

/* about / faq / contact */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.about-visual { border-radius: var(--radius-lg); border: 1px solid var(--line); aspect-ratio: 4/3.2; background: radial-gradient(circle at 38% 30%, rgba(var(--accent-rgb),0.22), transparent 60%), linear-gradient(160deg, var(--surface-2), var(--bg-2)); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.about-visual svg { width: 44%; height: 44%; filter: drop-shadow(0 10px 30px rgba(var(--accent-rgb),0.4)); }
.about-visual__float { position: absolute; padding: 0.7rem 1rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(10px); font-size: 0.82rem; }
.about-visual__float.a { top: 10%; right: 8%; animation: float 7s var(--ease) infinite; }
.about-visual__float.b { bottom: 12%; left: 6%; animation: float 9s var(--ease) infinite reverse; }
.about-visual__float b { color: var(--accent-bright); font-family: var(--font-mono); }
.faq { display: flex; flex-direction: column; gap: 0.8rem; max-width: 780px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); overflow: hidden; transition: border-color 0.3s; }
.faq-item.is-open { border-color: var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; font-weight: 600; text-align: left; font-size: 1.02rem; }
.faq-q__icon { flex-shrink: 0; transition: transform 0.4s var(--ease); color: var(--accent); }
.faq-item.is-open .faq-q__icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a__inner { padding: 0 1.4rem 1.3rem; color: var(--text-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-card { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 2rem; background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); }
.contact-info li { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.3rem; }
.contact-info__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--accent-rgb),0.1); border: 1px solid var(--line); color: var(--accent-bright); flex-shrink: 0; }
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info b { display: block; font-size: 0.95rem; }
.contact-info span { color: var(--muted); font-size: 0.88rem; }

/* inner-page responsive */
@media (max-width: 900px) {
  .item { grid-template-columns: 1fr; } .gallery { position: static; }
  .auth-card { grid-template-columns: 1fr; max-width: 460px; } .auth-aside { display: none; }
  .dash { grid-template-columns: 1fr; } .dash-side { position: static; } .dash-stats { grid-template-columns: repeat(2,1fr); } .dash-nav { flex-direction: row; flex-wrap: wrap; } .dash-nav button { flex: 1 1 auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

/* responsive */
@media (max-width: 1080px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } .footer__col--last { grid-column: span 3; } }
@media (max-width: 900px) {
  .nav__links { display: none; } .nav-toggle { display: flex; } .nav__actions .icon-btn--hide { display: none; }
  .hero__inner { grid-template-columns: 1fr; } .hero__visual { order: -1; max-width: 460px; margin-inline: auto; } .hero { min-height: auto; padding-top: 8rem; }
  .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } .footer__col--last { grid-column: span 2; }
}
@media (max-width: 620px) {
  .grid-lots { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 0.9rem; }
  .lot-card__body { padding: 0.9rem; } .lot-card__price { font-size: 1.12rem; }
  .footer__top { grid-template-columns: 1fr; } .footer__brand, .footer__col--last { grid-column: span 1; }
  .countdown__unit { min-width: 50px; } .hero__stats { gap: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .reveal-line .word { transform: none !important; opacity: 1 !important; }
}
