/* ============================================
   SUPERLUXE VAULT — DESIGN SYSTEM
   ============================================ */

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

:root {
  --bg: #050607;
  --carbon: #0B0D0F;
  --surface: #111417;
  --surface-2: #161A1E;
  --border: #252A2E;
  --border-light: #3A4046;
  --white: #F5F7F8;
  --muted: #9CA5AA;
  --muted-2: #6B747A;
  --cyan: #00D8F0;
  --cyan-hover: #31E7FA;
  --cyan-dim: rgba(0, 216, 240, 0.12);
  --green: #23C483;
  --amber: #F4B740;
  --red: #E54B4B;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --max: 1400px;
  --header-h: 64px;
  --font: "Archivo", system-ui, -apple-system, sans-serif;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* TYPE SYSTEM */
.hero-headline {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(3.75rem, 8vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}
.section-headline {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.subhead {
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.label {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.body-text {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}
.body-text strong { color: var(--white); font-weight: 600; }

/* LAYOUT */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 6, 7, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo .vault-icon {
  width: 20px; height: 20px;
  color: var(--cyan);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color var(--transition);
  border-radius: var(--radius-sm);
  position: relative;
}
.icon-btn:hover { color: var(--white); }
.icon-btn svg { width: 20px; height: 20px; }
.basket-count {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--cyan);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.basket-count.hidden { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--cyan);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--cyan-hover);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan-dim);
}
.btn-lg { padding: 16px 40px; font-size: 0.95rem; }
.btn-sm { padding: 8px 20px; font-size: 0.78rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.text-link {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition), gap var(--transition);
}
.text-link:hover { color: var(--cyan); gap: 12px; }
.text-link-cyan {
  color: var(--cyan);
}
.text-link-cyan:hover { color: var(--cyan-hover); }

/* MOBILE NAV */
.menu-toggle { display: none; }
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--carbon);
  border-left: 1px solid var(--border);
  z-index: 1100;
  padding: 80px 24px 24px;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--white);
}
.mobile-nav a:hover { color: var(--cyan); }
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 1.5rem;
  color: var(--muted);
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.show { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .header-cta { display: none; }
}
@media (max-width: 480px) {
  .header-actions .icon-btn:not(.basket-btn):not(.account-btn) { display: none; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,7,0.3) 0%, rgba(5,6,7,0.6) 50%, rgba(5,6,7,0.98) 100%),
              linear-gradient(90deg, rgba(5,6,7,0.85) 0%, rgba(5,6,7,0.2) 60%, transparent 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 60px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 216, 240, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-headline-wrap { margin-bottom: 24px; }
.hero-headline-wrap .line {
  display: block;
  overflow: hidden;
}
.hero-headline-wrap .line span {
  display: block;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform: translateY(100%);
  opacity: 0;
}
.hero-headline-wrap .line:nth-child(2) span { animation-delay: 0.15s; }
@keyframes slideUp {
  to { transform: translateY(0); opacity: 1; }
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.5;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* HERO COMPETITION PANEL */
.hero-comp-panel {
  background: rgba(11, 13, 15, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 520px;
  display: grid;
  gap: 16px;
}
.hero-comp-panel .panel-prize {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-comp-panel .panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.hero-comp-panel .panel-row .key { color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; }
.hero-comp-panel .panel-row .val { font-weight: 700; color: var(--white); }
.hero-comp-panel .panel-row .val.cyan { color: var(--cyan); }
.hero-comp-panel .countdown {
  display: flex;
  gap: 12px;
}
.hero-comp-panel .countdown-unit {
  text-align: center;
}
.hero-comp-panel .countdown-unit .num {
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--white);
  line-height: 1;
}
.hero-comp-panel .countdown-unit .lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 4px;
}

/* PROGRESS BAR */
.progress-bar {
  height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.progress-bar .fill {
  height: 100%;
  background: var(--cyan);
  border-radius: 2px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* TRUST INDICATORS */
.trust-strip {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-item svg { width: 22px; height: 22px; color: var(--cyan); flex-shrink: 0; }
.trust-item span { font-weight: 600; font-size: 0.85rem; color: var(--muted); }

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.comp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.comp-card:hover {
  border-color: rgba(0, 216, 240, 0.5);
  transform: translateY(-2px);
}
.comp-card:hover .comp-card-img img { transform: scale(1.05); }
.comp-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--carbon);
}
.comp-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.comp-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--carbon);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
}
.comp-card-badge.instant {
  background: var(--amber);
  color: var(--bg);
  border-color: var(--amber);
}
.comp-card-badge.closing-soon {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--amber);
  color: var(--bg);
  border: 1px solid var(--amber);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.comp-card-urgent {
  border-color: rgba(244, 183, 64, 0.3);
}
.comp-card-urgent:hover {
  border-color: var(--amber);
}
.comp-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.comp-card-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.comp-card-title {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.comp-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.comp-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  flex-wrap: wrap;
}
.comp-card-meta .meta-item { color: var(--muted); }
.comp-card-meta .meta-item strong { color: var(--white); font-weight: 700; }
.comp-card-progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
}
.comp-card-progress-row .pct { font-weight: 700; color: var(--cyan); min-width: 38px; }
.comp-card-progress-row .remaining { color: var(--muted); }
.comp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.comp-card-price {
  font-weight: 800;
  font-size: 1.1rem;
}
.comp-card-price .from { font-size: 0.68rem; color: var(--muted); font-weight: 600; text-transform: uppercase; display: block; line-height: 1; }
.comp-card-countdown {
  font-size: 0.75rem;
  color: var(--amber);
  font-weight: 600;
}

/* FILTERS */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-chip {
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.filter-chip:hover { border-color: var(--border-light); color: var(--white); }
.filter-chip.active {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
}

/* SECTION HEADER */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-header .left .eyebrow { margin-bottom: 8px; }
.section-header .right { display: flex; gap: 12px; align-items: center; }

/* STEPS / WORKFLOW */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step-card .step-num {
  font-weight: 900;
  font-size: 3rem;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.step-card .step-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.step-card .step-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* WINNER CARDS */
.winner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.winner-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.winner-card:hover { border-color: rgba(0, 216, 240, 0.4); }
.winner-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.winner-card-img img { width: 100%; height: 100%; object-fit: cover; }
.winner-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--green);
  color: var(--bg);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.winner-card-body { padding: 20px; }
.winner-card-body .winner-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.winner-card-body .winner-loc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.winner-card-body .winner-prize {
  font-weight: 600;
  color: var(--cyan);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.winner-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.winner-card-meta strong { color: var(--white); }

/* ACTIVITY STRIP */
.activity-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
}
.activity-strip .activity-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  white-space: nowrap;
  flex-shrink: 0;
}
.activity-items {
  display: flex;
  gap: 32px;
  overflow: hidden;
  flex: 1;
}
.activity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}
.activity-item strong { color: var(--white); font-weight: 600; }
.activity-item .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* TRUST/COMPLIANCE GRID */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.trust-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-box svg { width: 28px; height: 28px; color: var(--cyan); }
.trust-box .trust-title {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.trust-box .trust-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* EMAIL CAPTURE */
.email-capture {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
@media (max-width: 768px) { .email-capture { padding: 32px 20px; } }
.email-capture h2 { margin-bottom: 12px; }
.email-capture p { color: var(--muted); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}
.email-form-row {
  display: flex;
  gap: 12px;
}
@media (max-width: 480px) { .email-form-row { flex-direction: column; } }
.form-input {
  background: var(--carbon);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color var(--transition);
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--cyan);
}
.form-input::placeholder { color: var(--muted-2); }
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}
.consent-row input { margin-top: 3px; accent-color: var(--cyan); width: 18px; height: 18px; flex-shrink: 0; }
.email-disclaimer {
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-top: 16px;
}

/* FOOTER */
.site-footer {
  background: var(--carbon);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; max-width: 280px; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--cyan); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-payments { display: flex; gap: 12px; align-items: center; }
.footer-payments .pay-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--muted-2);
}
.footer-company {
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-top: 8px;
  width: 100%;
}

/* PAGE HERO (non-homepage) */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 48px;
  background: var(--carbon);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; }

/* COMPETITION DETAIL */
.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; gap: 32px; }
}
.gallery-main {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--carbon);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--cyan); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.entry-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 80px;
}
@media (max-width: 900px) { .entry-panel { position: static; } }
.entry-panel .panel-title {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.entry-panel .panel-value {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.entry-panel .info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.info-item .info-key {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.info-item .info-val {
  font-weight: 700;
  font-size: 0.95rem;
}
.info-item .info-val.cyan { color: var(--cyan); }
.info-item .info-val.green { color: var(--green); }

.entry-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
@media (max-width: 480px) {
  .entry-presets { grid-template-columns: repeat(3, 1fr); }
}
.preset-btn {
  background: var(--carbon);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  transition: all var(--transition);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.preset-btn:hover { border-color: var(--border-light); }
.preset-btn.active {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
}
.preset-btn .preset-max { font-size: 0.65rem; color: var(--muted); display: block; margin-top: 2px; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
}
.qty-control button {
  width: 44px; height: 48px;
  background: var(--carbon);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.qty-control button:hover { background: var(--surface-2); color: var(--cyan); }
.qty-control input {
  flex: 1;
  text-align: center;
  background: var(--carbon);
  border: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  height: 48px;
}
.qty-control input:focus { outline: none; }

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.total-row .total-label { font-size: 0.85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.total-row .total-amount { font-weight: 900; font-size: 1.75rem; letter-spacing: -0.02em; }

/* DETAIL CONTENT TABS */
.detail-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
}
.detail-tab {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.detail-tab:hover { color: var(--white); }
.detail-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table th {
  text-align: left;
  padding: 14px 0;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  width: 40%;
}
.spec-table td {
  padding: 14px 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 18px 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--cyan);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* STICKY MOBILE ENTRY BAR */
.sticky-entry-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--carbon);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 900px) {
  .sticky-entry-bar { display: flex; }
}
.sticky-entry-bar .sticky-price { font-weight: 800; font-size: 1.2rem; }
.sticky-entry-bar .sticky-price .from { font-size: 0.65rem; color: var(--muted); display: block; line-height: 1; }

/* CHECKOUT */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-steps {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.checkout-step {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: var(--surface);
  border-right: 1px solid var(--border);
  position: relative;
}
.checkout-step:last-child { border-right: none; }
.checkout-step.active { color: var(--cyan); background: var(--carbon); }
.checkout-step.done { color: var(--green); }
.checkout-step .step-idx {
  display: inline-block;
  width: 22px; height: 22px;
  line-height: 22px;
  border-radius: 50%;
  background: var(--border);
  color: var(--white);
  font-size: 0.7rem;
  margin-right: 6px;
}
.checkout-step.active .step-idx { background: var(--cyan); color: var(--bg); }
.checkout-step.done .step-idx { background: var(--green); color: var(--bg); }

.checkout-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.checkout-section h3 {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-row-2 { grid-template-columns: 1fr; } }

.payment-methods {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.payment-method {
  flex: 1;
  min-width: 140px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--carbon);
}
.payment-method:hover { border-color: var(--border-light); }
.payment-method.active { border-color: var(--cyan); background: var(--cyan-dim); }
.payment-method .pm-name { font-weight: 700; font-size: 0.9rem; margin-top: 8px; }

.order-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 80px;
}
@media (max-width: 900px) { .order-summary { position: static; } }
.order-summary h3 {
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.summary-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.summary-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; }
.summary-item .si-details { flex: 1; }
.summary-item .si-title { font-weight: 700; font-size: 0.85rem; }
.summary-item .si-meta { font-size: 0.78rem; color: var(--muted); }
.summary-item .si-price { font-weight: 700; font-size: 0.85rem; }
.summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  font-size: 1.25rem;
  padding: 16px 0 0;
  margin-top: 8px;
  border-top: 2px solid var(--border-light);
}

/* ACCOUNT */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .account-layout { grid-template-columns: 1fr; }
}
.account-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  position: sticky;
  top: 80px;
}
@media (max-width: 900px) { .account-nav { position: static; } }
.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  transition: all var(--transition);
}
.account-nav a:hover { color: var(--white); background: var(--carbon); }
.account-nav a.active { color: var(--cyan); background: var(--cyan-dim); }
.account-nav a svg { width: 18px; height: 18px; }
.account-content { min-height: 400px; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.stat-card .stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.stat-card .stat-value {
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.03em;
}
.stat-card .stat-value.cyan { color: var(--cyan); }
.stat-card .stat-value.green { color: var(--green); }

/* TABLE */
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}
.data-table tr:hover td { background: var(--surface); }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-active { background: var(--cyan-dim); color: var(--cyan); }
.badge-closed { background: rgba(244, 183, 64, 0.12); color: var(--amber); }
.badge-won { background: rgba(35, 196, 131, 0.12); color: var(--green); }
.badge-soldout { background: rgba(229, 75, 75, 0.12); color: var(--red); }

/* ADMIN */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  min-height: calc(100vh - var(--header-h));
  margin-top: var(--header-h);
}
@media (max-width: 900px) { .admin-layout { grid-template-columns: 1fr; } }
.admin-sidebar {
  background: var(--carbon);
  border-right: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
@media (max-width: 900px) { .admin-sidebar { display: none; } }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-item:hover { color: var(--white); background: var(--surface); }
.admin-nav-item.active { color: var(--cyan); border-left-color: var(--cyan); background: var(--surface); }
.admin-nav-item svg { width: 18px; height: 18px; }
.admin-nav-section {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  padding: 16px 24px 8px;
}
.admin-content { padding: 32px; }
@media (max-width: 768px) { .admin-content { padding: 16px; } }

.chart-bar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 200px;
  padding-top: 20px;
}
.chart-bar .bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.chart-bar .bar {
  width: 100%;
  max-width: 40px;
  background: var(--cyan);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s ease;
  min-height: 4px;
}
.chart-bar .bar-label { font-size: 0.7rem; color: var(--muted); }

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-state svg { width: 64px; height: 64px; color: var(--border-light); margin: 0 auto 20px; }
.empty-state h3 { font-weight: 700; font-size: 1.2rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

/* TOAST */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: toastIn 0.3s ease;
  max-width: 320px;
}
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }
@keyframes toastIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@media (max-width: 480px) {
  .toast-container { right: 12px; left: 12px; bottom: 70px; }
  .toast { max-width: none; }
}

/* COUNTDOWN (shared) */
.countdown-display {
  display: flex;
  gap: 8px;
}
.countdown-display .cd-unit {
  text-align: center;
  min-width: 50px;
}
.countdown-display .cd-num {
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
}
.countdown-display .cd-lbl {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 4px;
}

/* SEARCH BAR */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--carbon);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  width: 100%;
  max-width: 400px;
}
.search-bar svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.9rem;
}
.search-bar input:focus { outline: none; }

/* SORT SELECT */
.sort-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--cyan); }

/* UTILITY */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center; }
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--muted); }
.text-white { color: var(--white); }
.text-green { color: var(--green); }
.text-amber { color: var(--amber); }
.full-width { width: 100%; }
.hide-mobile { }
@media (max-width: 768px) { .hide-mobile { display: none !important; } }
.show-mobile { display: none; }
@media (max-width: 768px) { .show-mobile { display: block; } }

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* FOCUS STATES */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, .filter-chip:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--cyan);
  color: var(--bg);
  padding: 8px 16px;
  font-weight: 700;
  z-index: 2000;
}
.skip-link:focus { top: 0; }

/* SCROLL REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HERO IMAGE ZOOM */
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-bg img {
  animation: heroZoom 8s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* LOAD MORE */
.load-more-wrap {
  text-align: center;
  margin-top: 32px;
}

/* CARD STAGGER */
.comp-card {
  animation: cardFadeIn 0.4s ease forwards;
  opacity: 0;
}
.comp-card:nth-child(1) { animation-delay: 0.05s; }
.comp-card:nth-child(2) { animation-delay: 0.1s; }
.comp-card:nth-child(3) { animation-delay: 0.15s; }
.comp-card:nth-child(4) { animation-delay: 0.2s; }
.comp-card:nth-child(5) { animation-delay: 0.25s; }
.comp-card:nth-child(6) { animation-delay: 0.3s; }
.comp-card:nth-child(7) { animation-delay: 0.35s; }
.comp-card:nth-child(8) { animation-delay: 0.4s; }
@keyframes cardFadeIn {
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .comp-card { animation: none; opacity: 1; }
}

/* MOBILE HERO IMPROVEMENTS */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }
  .hero-content {
    padding: 0 16px 40px;
  }
  .hero-comp-panel {
    padding: 16px;
  }
  .hero-comp-panel .panel-prize {
    font-size: 1.25rem;
  }
  .hero-comp-panel .countdown-unit .num {
    font-size: 1.25rem;
  }
  .hero-headline {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .trust-strip {
    gap: 16px;
  }
  .trust-item span {
    font-size: 0.78rem;
  }
}

/* WINNER CARD HOVER */
.winner-card {
  transition: border-color var(--transition), transform var(--transition);
}
.winner-card:hover {
  border-color: rgba(0, 216, 240, 0.4);
  transform: translateY(-2px);
}
.winner-card:hover .winner-card-img img {
  transform: scale(1.05);
}
.winner-card-img img {
  transition: transform 0.4s ease;
}

/* PROGRESS BAR ANIMATION */
.progress-bar .fill {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-hover));
}

/* ============================================
   MOBILE FIXES — 480px and below
   ============================================ */

/* Card grid — single column on small screens */
@media (max-width: 520px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .winner-grid {
    grid-template-columns: 1fr;
  }
}

/* Info grid — single column on small screens */
@media (max-width: 480px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  .entry-presets {
    grid-template-columns: repeat(3, 1fr);
  }
  .spec-table th {
    width: 45%;
  }
}

/* Checkout steps — horizontal scroll on mobile */
@media (max-width: 600px) {
  .checkout-steps {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .checkout-step {
    min-width: 100px;
    font-size: 0.68rem;
    padding: 12px 8px;
  }
  .checkout-step .step-idx {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 0.62rem;
  }
}

/* Account nav — horizontal scroll on mobile */
@media (max-width: 900px) {
  .account-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding: 8px;
    position: sticky;
    top: 64px;
    z-index: 50;
  }
  .account-nav a {
    white-space: nowrap;
    padding: 10px 14px;
    flex-shrink: 0;
  }
  .account-nav a svg {
    display: none;
  }
}

/* Admin table — horizontal scroll */
@media (max-width: 900px) {
  .admin-content .panel,
  .admin-content .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table {
    min-width: 600px;
  }
  .admin-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .admin-actions button {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}

/* Hero adjustments for very small screens */
@media (max-width: 380px) {
  .hero-headline {
    font-size: 2.25rem;
  }
  .hero-comp-panel .countdown-unit .num {
    font-size: 1rem;
  }
  .hero-comp-panel .countdown {
    gap: 6px;
  }
  .hero-comp-panel .countdown-unit {
    min-width: 40px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Filter bar — scrollable on mobile */
@media (max-width: 600px) {
  .filter-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .filter-chip {
    flex-shrink: 0;
  }
}

/* Feature prize — stack on mobile */
@media (max-width: 768px) {
  #featurePrize {
    grid-template-columns: 1fr !important;
  }
  #featureSpec {
    grid-template-columns: 1fr 1fr;
  }
}

/* Detail layout — stack and sticky bar */
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .sticky-entry-bar {
    display: flex;
  }
  body {
    padding-bottom: 60px;
  }
}

/* Gallery thumbnails — smaller on mobile */
@media (max-width: 480px) {
  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .gallery-thumb {
    aspect-ratio: 1;
  }
}

/* Section spacing — tighter on mobile */
@media (max-width: 600px) {
  .section {
    padding: 40px 0;
  }
  .section-header {
    margin-bottom: 24px;
  }
  .section-headline {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .step-card {
    padding: 20px;
  }
  .step-card .step-num {
    font-size: 2.5rem;
  }
}

/* Footer — tighter spacing on mobile */
@media (max-width: 480px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-payments {
    flex-wrap: wrap;
  }
}

/* Admin modal — full width on mobile */
@media (max-width: 600px) {
  #compModal > div {
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }
  #compModal {
    padding: 0;
  }
}

/* Prevent horizontal scroll globally without breaking sticky */
html {
  overflow-x: hidden;
}
