/* XOOMLY — Dark futurist luxury auctions */

:root {
  --bg: #050508;
  --bg-deep: #030306;
  --surface: #101016;
  --surface-2: #16161e;
  --surface-3: #1e1e28;
  --border: rgba(232, 210, 166, 0.12);
  --border-strong: rgba(232, 210, 166, 0.26);
  --text: #f4efe6;
  --text-2: #b7b1a6;
  --muted: #6f6a63;
  --primary: #d4b37a;
  --primary-dim: #a88c5e;
  --primary-bright: #f0d8a8;
  --accent: #f0d8a8;
  --electric: #5eead4;
  --electric-dim: rgba(94, 234, 212, 0.16);
  --danger: #ff5c6a;
  --warning: #f0b429;
  --gold: #d4b37a;
  --gold-bright: #f0d8a8;
  --gold-dim: #8a7349;

  --font-display: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-body: 'Outfit', system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --gold-gradient: linear-gradient(135deg, #f0d8a8 0%, #d4b37a 38%, #8a7349 72%, #e8c98c 100%);
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 12% -8%, rgba(212,179,122,.13), transparent 52%),
    radial-gradient(ellipse 55% 42% at 92% 6%, rgba(94,234,212,.055), transparent 50%),
    var(--bg);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 0;
  line-height: 1.12;
}

button,
input[type="button"],
input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  background: var(--surface-3);
  color: var(--text);
  border: none;
  font-family: inherit;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

input, button, textarea, select {
  font: inherit;
  color: inherit;
  color-scheme: dark;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ----- Atmosphere (static — no blur/transform animation) ----- */
.site-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 179, 122, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 179, 122, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 5%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 5%, transparent 70%);
}

/* ----- Layout primitives ----- */
img, video, svg { max-width: 100%; height: auto; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  min-width: 0;
}
.container-wide { max-width: 1480px; margin: 0 auto; padding: 0 32px; width: 100%; min-width: 0; }

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 120px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform .08s ease, background .2s, box-shadow .2s, opacity .2s, border-color .2s;
  white-space: nowrap;
  background: var(--surface-3);
  color: var(--text);
  border: 1px solid transparent;
  -webkit-appearance: none;
  appearance: none;
}
.btn:hover { background: #2a2a36; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.btn-primary {
  background: var(--gold-gradient);
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: #1a1207;
  border-color: transparent;
  box-shadow: 0 8px 22px -10px rgba(212, 179, 122, 0.5);
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 0 0 4px rgba(212, 179, 122, 0.16), 0 10px 26px -10px rgba(212, 179, 122, 0.55);
}

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { box-shadow: 0 0 0 4px rgba(255, 92, 106, 0.22); }

.btn-outline {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(212,179,122,.06); }

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 12px; }
.btn-xl { padding: 18px 30px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ----- Cards ----- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 18px 40px -24px rgba(0,0,0,.7);
}
.card-hover { transition: border-color .2s, box-shadow .2s; }
.card-hover:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px rgba(212,179,122,.16);
}

/* ----- Badges / Pills ----- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill-live {
  background: var(--electric-dim);
  color: var(--electric);
  border: 1px solid rgba(94,234,212,.28);
}
.pill-soon { background: rgba(255,92,106,.16); color: var(--danger); border: 1px solid rgba(255,92,106,.28); }
.pill-warning { background: rgba(240,180,41,.16); color: var(--warning); }
.pill-muted { background: var(--surface-3); color: var(--text-2); }
.pill-gold {
  background: rgba(212,179,122,.12);
  color: var(--gold);
  border: 1px solid rgba(212,179,122,.22);
}

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 0 var(--electric);
  animation: pulse 1.6s infinite;
}
.dot-red { background: var(--danger); animation: pulse-red 1.2s infinite; }
.dot-gold { background: var(--gold) !important; box-shadow: 0 0 10px var(--gold); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94,234,212,.6); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(255,92,106,.6); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ----- Inputs ----- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.input, .select, .textarea {
  -webkit-appearance: none;
  appearance: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212,179,122,.14);
}
.input::placeholder { color: var(--muted); }

/* ----- Marquee / ticker ----- */
.ticker { overflow: hidden; }
.ticker-track { display: flex; gap: 48px; animation: scroll 60s linear infinite; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.live-ticker {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 18px 0 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.live-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-move 50s linear infinite;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.live-ticker-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 32px 10px 0;
  flex-shrink: 0;
}
.live-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  white-space: nowrap;
}
.live-ticker-item i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--electric);
  flex-shrink: 0;
  display: block;
}
.live-ticker-item b { color: var(--gold); font-weight: 600; }
@keyframes ticker-move {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}
.live-ticker:hover .live-ticker-track { animation-play-state: paused; }

/* ----- Auction card ----- */
.auction-thumb {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 88px;
  position: relative;
  overflow: hidden;
}
.auction-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(212,179,122,.18), transparent 60%);
  pointer-events: none;
}
.auction-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- Token chip ----- */
.token-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-weight: 600;
  color: var(--gold);
}
.token-chip svg { width: 14px; height: 14px; }

/* ----- Grid helpers ----- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.flex { display: flex; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.center { display: flex; align-items: center; justify-content: center; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; }
.row-tight { display: flex; align-items: center; gap: 6px; }

.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.text-primary { color: var(--primary); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-gold { color: var(--gold); }

@keyframes flash {
  0% { background-color: rgba(212,179,122,.28); }
  100% { background-color: transparent; }
}
.flash { animation: flash 0.6s ease-out; }

@keyframes flash-red {
  0% { background-color: rgba(255,92,106,.28); }
  100% { background-color: transparent; }
}
.flash-red { animation: flash-red 0.6s ease-out; }

/* ----- Scrollbar ----- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a33; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a44; }

::selection { background: rgba(212,179,122,.35); color: var(--text); }

.full { width: 100%; }
.h-full { height: 100%; }

.glow { text-shadow: none; }
.glow-gold { text-shadow: none; }

.gold-text {
  display: block;
  color: var(--gold-bright);
}

.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  width: 80px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--electric);
  font-weight: 500;
}

.divider { height: 1px; background: var(--border); margin: 24px 0; }

.elevated { box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5); }

.live-ring { position: relative; }
.live-ring::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: inherit;
  border: 2px solid var(--electric);
  animation: ring 1.4s infinite;
  pointer-events: none;
}
@keyframes ring {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.08); }
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 720px; }

.mobile-menu-btn { display: none; }
.mobile-nav { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .split-2,
  .bigstep-grid,
  .split-sidebar {
    grid-template-columns: 1fr !important;
  }
  .bigstep-grid { direction: ltr !important; }
  .split-sidebar { gap: 16px !important; }
  .split-sidebar > .stack {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .split-sidebar > .stack > button { min-width: 220px; flex-shrink: 0; }
  .container, .container-wide { padding: 0 20px; }
}

@media (max-width: 880px) {
  header nav.main-nav { display: none !important; }
  .mobile-menu-btn { display: inline-flex !important; }

  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform .25s ease;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0 !important; }
  .admin-burger { display: inline-flex !important; }
  .admin-scrim { display: block !important; }
  .admin-search { display: none; }
  .admin-email { display: none; }
  .admin-body { padding: 16px !important; }
  .admin-form-actions { flex-wrap: wrap; }
  .admin-form-actions > .btn { flex: 1; }
}

@media (max-width: 680px) {
  body { font-size: 14px; }
  .container, .container-wide { padding: 0 16px; }

  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr !important; }

  .signup-bonus { display: none; }
  .auth-buttons .btn-ghost { display: none; }

  .stat-strip { grid-template-columns: 1fr 1fr !important; }
  .stat-strip > div { border-right: none !important; border-bottom: 1px solid var(--border); padding: 16px !important; }

  .page { padding-top: calc(var(--header-h) + 16px); }

  .btn-xl { padding: 14px 18px; font-size: 15px; }
  .btn-lg { padding: 13px 18px; }

  .hero-grid .btn-xl { width: 100%; }
  .hero-cta-row { flex-direction: column; align-items: stretch !important; }

  .profile-tabs { overflow-x: auto; flex-wrap: nowrap !important; -webkit-overflow-scrolling: touch; }
  .profile-tabs button { flex-shrink: 0; }

  .detail-sticky { position: static !important; }
  .bid-price-xl { font-size: 42px !important; }
  .pay-methods { flex-wrap: wrap; }
  footer .grid-4 { gap: 32px !important; }
}

@media (max-width: 420px) {
  .container, .container-wide { padding: 0 14px; }
  .stat-strip { grid-template-columns: 1fr !important; }
  h1 { letter-spacing: -0.03em; }
}

/* ============================================================
   PHP-SEITEN
   ============================================================ */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #07070b;
  border-bottom: 1px solid var(--border);
}
.site-header .container-wide {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
  color: inherit;
  text-decoration: none;
}
.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}
.brand-row {
  display: flex;
  align-items: flex-end;
  gap: 0;
  line-height: 1;
}
.brand-xwrap {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  flex-shrink: 0;
}
.brand-gavel {
  position: absolute;
  width: 22px;
  height: 14px;
  top: -7px;
  left: 10px;
  fill: #f0d8a8;
  pointer-events: none;
}
.brand-xletter {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -0.07em;
  color: #e4c58a;
  line-height: 0.78;
}
.brand-oomly {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 30px;
  letter-spacing: -0.05em;
  color: #f4efe6;
  line-height: 0.78;
  padding-bottom: 1px;
  margin-left: -2px;
}
.brand-tag {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(244,239,230,.58);
  padding-top: 4px;
  border-top: 1px solid rgba(212,179,122,.36);
  white-space: nowrap;
}
.brand-footer { margin-bottom: 14px; }
.brand-footer .brand-oomly { font-size: 28px; }
.brand-admin { padding: 4px 10px 18px; }
.brand-admin .brand-xletter { font-size: 26px; }
.brand-admin .brand-oomly { font-size: 24px; }
.brand-admin .brand-gavel { width: 18px; height: 11px; top: -5px; left: 8px; }
.brand-logo { height: 50px; width: auto; max-width: 168px; display: block; object-fit: contain; }
.label-short { display: none; }
.brand .brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-gradient); }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  font-size: 13.5px;
  color: var(--text-2);
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .15s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}
.header-spacer { flex: 1; }
.auth-buttons { display: flex; align-items: center; gap: 10px; }

.token-balance {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(212,179,122,.1);
  border: 1px solid rgba(212,179,122,.28);
  font-family: var(--font-mono); font-weight: 600; color: var(--gold); font-size: 14px;
}
.user-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 8px 6px 6px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  cursor: pointer; transition: border-color .15s;
}
.user-chip:hover { border-color: var(--border-strong); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  margin-top: 80px;
  background: rgba(10,10,14,.88);
}
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-cols h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-cols a { display: block; color: var(--text-2); font-size: 14px; padding: 5px 0; }
.footer-cols a:hover { color: var(--text); }
@media (max-width: 880px){ .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; } }

.auction-card {
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.auction-card::before,
.auction-card::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  z-index: 3;
  pointer-events: none;
  border: 1.5px solid rgba(212,179,122,.55);
  opacity: 0;
  transition: opacity .25s;
}
.auction-card::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.auction-card::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.auction-card:hover::before,
.auction-card:hover::after { opacity: 1; }
.auction-card .auction-thumb { aspect-ratio: 4/3; border-radius: 0; }
.auction-card .ac-body { padding: 18px; }
.ac-price {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.03em;
  text-shadow: none;
}

.timer { font-family: var(--font-mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.timer.soon { color: var(--danger); }
.auction-card .timer { color: var(--danger); }

.page-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.page-head h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.02; margin-bottom: 14px; }
@media (max-width:680px){ .page-head h1 { font-size: 32px; } }

.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card { padding: 40px; }

.hero { padding: 60px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(44px, 8vw, 88px); line-height: 1.0; margin-bottom: 20px; }
.hero p { font-size: 19px; color: var(--text-2); max-width: 620px; margin: 0 auto 32px; }

.hero-two {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 12px 0 8px;
  position: relative;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  margin-top: 22px;
  max-width: 540px;
  line-height: 1.65;
}
.hero-preview {
  padding: 18px;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border-color: rgba(212,179,122,.28);
  transition: border-color .18s, box-shadow .18s;
}
.hero-preview:hover {
  border-color: rgba(212,179,122,.5);
  box-shadow: 0 16px 40px -24px rgba(212,179,122,.4);
}
.hero-preview .btn { pointer-events: none; }
@media (max-width: 880px) {
  .hero-two { grid-template-columns: 1fr; gap: 28px; padding-top: 12px; }
}

.final-cta {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 22px; padding: 48px 48px;
  background: linear-gradient(120deg, rgba(212,179,122,.14), var(--surface));
  border: 1px solid rgba(212,179,122,.28);
}
.final-cta-glow {
  position: absolute; inset: -50% -10% auto auto; width: 480px; height: 480px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(212,179,122,.25), transparent 60%);
}
.final-cta > *:not(.final-cta-glow) { position: relative; z-index: 1; }
@media (max-width: 560px) { .final-cta { padding: 40px 20px; } }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.stat-strip > div { padding: 22px 24px; border-right: 1px solid var(--border); }
.stat-strip > div:last-child { border-right: none; }
.stat-strip .num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.03em;
}
.stat-strip .lbl { font-size: 12px; color: var(--text-2); margin-top: 4px; letter-spacing: .04em; text-transform: uppercase; }

.pkg-card { padding: 28px; text-align: center; position: relative; }
.pkg-card.featured { border-color: var(--primary); box-shadow: 0 0 0 1px rgba(212,179,122,.25), 0 18px 40px -20px rgba(212,179,122,.35); }
.pkg-tokens { font-family: var(--font-mono); font-size: 42px; font-weight: 700; color: var(--gold); }
.pkg-price { font-size: 24px; font-weight: 600; margin: 8px 0; }

.flash-toast {
  position: fixed; top: calc(var(--header-h) + 8px); left: 50%; transform: translateX(-50%);
  z-index: 300; padding: 14px 22px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  font-size: 14px; font-weight: 500; box-shadow: 0 16px 40px -8px rgba(0,0,0,.6);
  animation: flashIn .3s ease;
}
.flash-toast.success { border-color: rgba(212,179,122,.5); }
.flash-toast.error { border-color: rgba(255,92,106,.5); color: var(--text); }
@keyframes flashIn { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 12px 14px; background: var(--surface-2); color: var(--text-2); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.data-table td { padding: 13px 14px; border-top: 1px solid var(--border); }
.data-table tr:hover td { background: var(--surface-2); }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 248px; flex-shrink: 0; background: var(--surface);
  border-right: 1px solid var(--border); padding: 22px 14px;
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; overflow-y: auto;
}
.admin-sidebar .brand { padding: 0 10px 22px; font-size: 20px; }
.admin-nav a {
  display: flex; align-items: center; gap: 11px; padding: 11px 12px;
  border-radius: 9px; color: var(--text-2); font-size: 14px; font-weight: 500; margin-bottom: 3px;
}
.admin-nav a:hover { background: var(--surface-2); color: var(--text); }
.admin-nav a.active { background: rgba(212,179,122,.14); color: var(--primary); }
.admin-main { flex: 1; margin-left: 248px; min-width: 0; }
.admin-topbar {
  height: 64px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px; padding: 0 28px;
  position: sticky; top: 0; background: #07070b;
  z-index: 20;
}
.admin-body { padding: 28px; }
.admin-burger, .admin-scrim { display: none; }
.admin-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 40; }
@media (max-width: 880px){
  .admin-sidebar { transform: translateX(-100%); transition: transform .25s; width: 260px; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-burger { display: inline-flex; }
}

.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width:1100px){ .kpi-grid { grid-template-columns: repeat(2,1fr); } }
.kpi { padding: 22px; }
.kpi .v { font-family: var(--font-mono); font-size: 32px; font-weight: 700; color: var(--gold); letter-spacing:-.02em; }
.kpi .k { font-size: 13px; color: var(--text-2); margin-top: 6px; }

.admin-tabs { display: flex; gap: 4px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-tabs a {
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 500;
  color: var(--text-2); border: 1px solid var(--border);
}
.admin-tabs a.active { background: var(--primary); color: #1a1207; border-color: var(--primary); }

.status-badge { display:inline-flex; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.sb-active { background: rgba(22,199,132,.18); color: #16c784; }
.sb-vip { background: rgba(212,179,122,.18); color: var(--gold); }
.sb-flagged { background: rgba(240,180,41,.18); color: var(--warning); }
.sb-inactive { background: var(--surface-3); color: var(--text-2); }
.sb-admin { background: rgba(255,92,106,.18); color: var(--danger); }
.sb-live { background: rgba(212,179,122,.16); color: var(--primary); }
.sb-ended { background: var(--surface-3); color: var(--text-2); }
.sb-draft { background: rgba(240,180,41,.16); color: var(--warning); }

/* ============================================================
   MOBILES MENÜ
   ============================================================ */
.mobile-menu-btn {
  flex-shrink: 0;
  width: 44px; height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: none;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.mobile-menu-btn span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px 28px;
  border-top: 1px solid var(--border);
  background: rgba(5,5,8,.98);
  min-height: calc(100dvh - var(--header-h));
}
.mobile-nav.open { display: flex; }
.mobile-nav > a:not(.btn) {
  padding: 14px 12px;
  font-size: 16px;
  color: var(--text);
  border-radius: 8px;
}
.mobile-nav > a:not(.btn).active { color: var(--gold); background: var(--surface-2); }
.mobile-nav .mobile-nav-sep { height: 1px; background: var(--border); margin: 8px 0; }

.footer-app { margin-top: 24px; }
.app-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 16px 0 14px;
  background: #000; border: 1px solid var(--border-strong);
  border-radius: 10px; transition: border-color .15s, transform .08s;
}
.app-badge:hover { border-color: var(--primary); transform: translateY(-1px); }
.app-badge-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex-shrink: 0; }
.app-badge-text { display: flex; flex-direction: column; line-height: 1.1; color: #fff; }
.app-badge-text .t1 { font-size: 9px; letter-spacing: .04em; opacity: .85; text-transform: uppercase; }
.app-badge-text .t2 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }

@media (max-width: 880px) {
  :root { --header-h: 58px; }
  .site-header { width: 100%; max-width: 100vw; }
  .site-header .container-wide {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .site-header .main-nav { display: none !important; }
  .site-header .header-spacer { display: block !important; flex: 1; min-width: 4px; }
  .site-header .mobile-menu-btn { display: flex !important; order: 5; flex-shrink: 0; }
  .site-header .auth-buttons { display: flex !important; flex-shrink: 0; order: 4; }
  .site-header .auth-buttons .btn,
  .site-header .auth-buttons .btn-ghost,
  .site-header .auth-buttons .btn-primary,
  .site-header .auth-buttons .user-chip,
  .site-header .auth-buttons .header-admin,
  .site-header .auth-buttons .header-logout { display: none !important; }
  .site-header .auth-buttons .token-balance { display: inline-flex; padding: 6px 10px; font-size: 13px; }
  .brand { max-width: calc(100% - 56px); }
  .site-header .brand-tag { display: none; }
  .site-header .brand-xletter { font-size: 24px; }
  .site-header .brand-oomly { font-size: 22px; }
  .site-header .brand-gavel { width: 16px; height: 10px; top: -5px; left: 7px; }
  .brand-logo { height: 32px; max-width: 128px; }
  .label-full { display: none; }
  .label-short { display: inline; }
}

@media (max-width: 680px) {
  .final-cta { padding: 36px 20px; }
  .final-cta h2 { font-size: clamp(24px, 7vw, 34px) !important; }
  .final-cta .row { flex-direction: column; align-items: stretch; }
  .final-cta .btn-xl { width: 100%; }
  .app-badges { width: 100%; }
  .app-badge { flex: 1; min-width: 150px; }
}

.user-chip-name { font-size: 13px; font-weight: 600; }
.header-admin { padding: 9px 14px; }
.header-logout { padding: 9px 14px; }
@media (max-width: 1024px) {
  .user-chip-name { display: none; }
  :root { --header-h: 68px; }
}

.section-title {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0;
  letter-spacing: -0.04em;
}
.section-gap { margin: 40px 0 48px; }
.back-link { font-size: 13px; display: inline-block; margin-bottom: 20px; }
.empty-state { padding: 48px; text-align: center; max-width: 560px; margin: 0 auto; }

.auction-toolbar {
  margin: 8px 0 22px;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: #16161e !important;
  background-color: #16161e !important;
  background-image: none !important;
  border: 1px solid rgba(232, 210, 166, 0.16);
  color: #b7b1a6 !important;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  box-shadow: none;
}
.filter-chip:hover {
  border-color: var(--border-strong);
  color: var(--text) !important;
  background: #1e1e28 !important;
}
.filter-chip.active {
  border-color: rgba(212,179,122,.55);
  color: #1a1207 !important;
  background: var(--gold-gradient) !important;
  font-weight: 650;
}

.how-section, .winners-section { padding: 88px 0 0; }
.how-card, .step-card { padding: 26px; position: relative; overflow: hidden; }
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--electric);
  letter-spacing: .12em;
}
.how-title { font-size: clamp(28px, 4vw, 42px); margin: 6px 0 36px; }

.detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; }
.detail-title { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.05; }
.detail-hero-img { font-size: 160px; aspect-ratio: 1/1; }
.detail-facts { display: grid; gap: 16px; margin-top: 20px; }
.detail-facts > div { padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.fact-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.cost-box { margin: 0 0 16px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.cost-hint { font-size: 12px; margin: 6px 0 0; }
.lead-note { font-size: 13px; margin-bottom: 12px; color: var(--gold); }
.bid-hint { font-size: 12px; text-align: center; margin-top: 10px; }
.ended-box { padding: 16px; background: var(--surface-2); text-align: center; }

.vip-pill { margin-left: 4px; font-size: 10px; padding: 2px 7px; }
.watch-form { margin-top: 12px; }
.watch-btn { padding: 8px 14px; font-size: 13px; }
.seo-intro { max-width: 720px; margin: 0 0 28px; color: var(--text-2); font-size: 15px; line-height: 1.7; }

.sticky-bid { display: none; }
@media (max-width: 880px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-panel { order: -1; }
  .detail-hero-img { aspect-ratio: 4/3; font-size: 88px; }
  .sticky-bid {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #07070b;
    border-top: 1px solid var(--border);
  }
  .sticky-bid .btn { white-space: nowrap; }
  .page { padding-bottom: 96px; }
  .header-logout { display: none; }

  .auction-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    min-width: 0;
  }
  .section-title { max-width: 100%; }
  .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 2px 0 8px;
    gap: 8px;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }

  .hero-preview .btn-xl { padding: 13px 16px; font-size: 15px; }
  .hero-headline { font-size: clamp(30px, 9vw, 44px); }
  .hero-sub { font-size: 15px; margin-top: 16px; }
  .hero-preview [data-live-price] { font-size: 28px !important; }
  .hero-preview .timer { font-size: 22px !important; }
  .hero-preview .between { flex-wrap: wrap; }
  .how-section, .winners-section { padding: 56px 0 0; }
  .footer-cols { grid-template-columns: 1fr !important; gap: 22px; }
  .auth-card { padding: 24px 18px; }
  .empty-state { padding: 28px 16px; }
  .final-cta-glow { display: none; }
}

@media (max-width: 880px) {
  html, body { max-width: 100%; }
  .page, .site-footer { overflow-x: clip; max-width: 100%; }
  .container, .container-wide { overflow-x: clip; }
  .live-ticker { overflow: hidden; width: 100%; max-width: 100%; }
  .live-ticker-track, .live-ticker-group { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .live-ticker-track, .ticker-track, .dot, .dot-red {
    animation: none !important;
  }
}
