/* =============================================================================
   THE SOARER REGISTRY — Design System v3
   Street Racing Club · Professional Registry
   ============================================================================= */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: #070707;
  color: #e8e8e8;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
a:hover { color: #e8001a; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select, input, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ===== DESIGN TOKENS ===== */
:root {
  /* Reds */
  --red: #e8001a;
  --red-hover: #ff1535;
  --red-dim: rgba(232, 0, 26, 0.1);
  --red-glow: rgba(232, 0, 26, 0.25);
  --red-glow-strong: rgba(232, 0, 26, 0.5);

  /* Gold (exclusive/member) */
  --gold: #c8a84b;
  --gold-dim: rgba(200, 168, 75, 0.12);

  /* Backgrounds — deep black */
  --bg: #070707;
  --bg2: #0d0d0d;
  --bg3: #131313;
  --bg4: #1a1a1a;
  --bg5: #222222;

  /* Borders */
  --border: #1e1e1e;
  --border-light: #282828;
  --border-med: #363636;

  /* Text */
  --text: #e8e8e8;
  --text-muted: #6a6a6a;
  --text-dim: #3a3a3a;
  --white: #ffffff;

  /* Fonts */
  --font: 'Inter', 'Segoe UI', sans-serif;
  --font-display: 'Rajdhani', 'Inter', sans-serif;
  --font-impact: 'Bebas Neue', 'Rajdhani', sans-serif;

  /* Sizes */
  --nav-height: 68px;
  --radius: 3px;
  --radius-lg: 5px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.9);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.5);
  --transition: 0.18s ease;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
}
.page { display: none; }
.page.active { display: block; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-4 { margin-top: 48px; }

/* ===== SETUP BANNER ===== */
.setup-banner {
  background: #1a1000;
  border-bottom: 1px solid rgba(200, 160, 0, 0.3);
  color: var(--gold);
  padding: 12px 24px;
  font-size: 13px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 200;
}
.setup-banner code { background: rgba(0,0,0,0.4); padding: 1px 6px; border-radius: 2px; }
.setup-banner a { color: var(--gold); text-decoration: underline; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-sm  { padding: 7px 16px; font-size: 11px; letter-spacing: 2px; }
.btn-lg  { padding: 14px 36px; font-size: 13px; letter-spacing: 3px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  box-shadow: 0 0 28px var(--red-glow), 0 4px 16px rgba(0,0,0,0.4);
  transform: translateY(-1px);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-med);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 0 16px var(--red-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--white); background: var(--bg4); }
.btn-danger { background: #c00018; color: var(--white); border-color: #c00018; }
.btn-danger:hover { background: var(--red); box-shadow: 0 0 16px var(--red-glow); }

/* ===== INPUTS ===== */
.input, .search-input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font);
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.input:focus, .search-input:focus {
  outline: none;
  border-color: var(--red);
  background: var(--bg4);
  box-shadow: 0 0 0 3px var(--red-dim);
}
.input::placeholder, .search-input::placeholder { color: var(--text-dim); }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
optgroup { color: var(--text-muted); font-style: normal; }
.textarea { resize: vertical; min-height: 100px; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(7, 7, 7, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
/* Red top stripe */
.navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  z-index: 1;
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  margin-right: 40px;
}
.nav-logo-badge {
  width: 42px;
  height: 42px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-impact);
  font-size: 19px;
  color: var(--white);
  letter-spacing: 1px;
  border-radius: 2px;
  flex-shrink: 0;
  transition: var(--transition);
}
.nav-brand:hover .nav-logo-badge { background: var(--red-hover); }
.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-brand-name {
  font-family: var(--font-impact);
  font-size: 17px;
  color: var(--white);
  letter-spacing: 3px;
  line-height: 1;
}
.nav-brand-sub {
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 2px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-auth, .nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.nav-member-tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(200, 168, 75, 0.25);
  padding: 3px 9px;
  border-radius: 2px;
}
.nav-username {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: var(--transition);
}
.nav-toggle:hover span { background: var(--white); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}
/* Grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.5;
  z-index: 0;
}
/* Radial fades + overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(232, 0, 26, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 50%, rgba(232, 0, 26, 0.05) 0%, transparent 50%),
    linear-gradient(to right, rgba(7,7,7,0.98) 0%, rgba(7,7,7,0.55) 50%, rgba(7,7,7,0.85) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 25%);
  z-index: 1;
}
/* Giant watermark */
.hero-bg-text {
  position: absolute;
  right: -0.06em;
  top: 50%;
  transform: translateY(-52%);
  font-family: var(--font-impact);
  font-size: clamp(160px, 26vw, 360px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  letter-spacing: -0.02em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}
/* Horizontal speed lines */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    89.6deg,
    transparent 0px,
    transparent 119px,
    rgba(255, 255, 255, 0.014) 119px,
    rgba(255, 255, 255, 0.014) 120px
  );
}
/* Left racing stripes */
.hero-stripes {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
}
.hero-stripe-1 {
  width: 5px;
  background: linear-gradient(to bottom, transparent 5%, var(--red) 18%, var(--red) 82%, transparent 95%);
}
.hero-stripe-2 {
  width: 2px;
  background: linear-gradient(to bottom, transparent 12%, rgba(232, 0, 26, 0.4) 28%, rgba(232, 0, 26, 0.4) 72%, transparent 88%);
}
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px 0 56px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s ease forwards;
}
.hero-eyebrow::before {
  content: '//';
  font-family: 'Courier New', monospace;
  color: var(--text-dim);
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 400;
}
.hero-title {
  font-family: var(--font-impact);
  font-size: clamp(80px, 11vw, 150px);
  line-height: 0.88;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s ease forwards;
}
.hero-title-accent {
  color: var(--red);
  display: block;
}
.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.85;
  margin-bottom: 48px;
  padding-left: 18px;
  border-left: 2px solid var(--border-med);
  opacity: 0;
  animation: fadeUp 0.6s 0.3s ease forwards;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s ease forwards;
}

/* ===== STATS BANNER ===== */
.stats-banner {
  background: var(--bg2);
  border-top: none;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.stats-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  z-index: 1;
}
.stats-grid {
  display: flex;
  border-left: 1px solid var(--border);
  position: relative;
  z-index: 0;
}
.stat-card {
  flex: 1;
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--bg2);
  transition: var(--transition);
  position: relative;
  cursor: default;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.stat-card:hover { background: var(--bg3); }
.stat-card:hover::after { transform: scaleX(1); }
.stat-number {
  font-family: var(--font-impact);
  font-size: 56px;
  line-height: 1;
  color: var(--red);
  letter-spacing: 2px;
  text-shadow: 0 0 40px var(--red-glow-strong);
}
.stat-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: var(--font-impact);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 52px;
  height: 2px;
  background: var(--red);
}

/* ===== QUICK SEARCH ===== */
.quick-search-section {
  padding: 80px 0;
  background: var(--bg);
}
.quick-search-box {
  display: flex;
  max-width: 680px;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg2);
}
.quick-search-box .search-input {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 14px 20px;
  font-size: 15px;
}
.quick-search-box .search-input:focus {
  box-shadow: none;
  background: transparent;
}
.quick-search-box .btn {
  border-radius: 0;
  border: none;
  border-left: 1px solid var(--border-light);
  padding: 14px 28px;
}
.quick-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-chip {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--red); color: var(--white); }
.filter-chip.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ===== CAR GRID ===== */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* ===== CAR CARDS ===== */
.car-card {
  background: var(--bg2);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.car-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.car-card:hover {
  background: var(--bg3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.9), 0 0 0 1px rgba(232,0,26,0.3);
  z-index: 2;
}
.car-card:hover::after { transform: scaleX(1); }

.car-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg3);
  position: relative;
}
.car-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: brightness(0.88);
}
.car-card:hover .car-card-image img {
  transform: scale(1.05);
  filter: brightness(1);
}
.car-card-chassis-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 12px;
}
.car-card-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--text-dim);
  background: var(--bg3);
}
.car-card-body {
  padding: 18px 20px 20px;
}
.car-card-model {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.car-card-year {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.car-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.meta-tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--bg4);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 2px;
}
.car-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  gap: 8px;
}
.car-card-vin {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.car-card-location {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
  text-align: right;
}

/* ===== CAR LIST ===== */
.car-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.car-list-row {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg2);
  padding: 14px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.car-list-row:hover { background: var(--bg3); border-left-color: var(--red); }
.car-list-thumb {
  width: 84px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--bg3);
}
.car-list-info { flex: 1; min-width: 0; }
.car-list-model {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.car-list-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}
.car-list-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.car-list-right { flex-shrink: 0; }

/* ===== INFO / FEATURES SECTION ===== */
.info-section {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.info-section::after {
  content: 'FEATURES';
  position: absolute;
  top: -20px;
  right: -20px;
  font-family: var(--font-impact);
  font-size: clamp(80px, 14vw, 180px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.025);
  letter-spacing: -2px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.info-section .container { position: relative; z-index: 1; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.info-card {
  background: var(--bg2);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--border);
  transition: background 0.3s ease;
}
.info-card:hover { background: var(--bg3); }
.info-card:hover::before { background: var(--red); }
.info-card-number {
  font-family: var(--font-impact);
  font-size: 88px;
  color: var(--bg4);
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 4px;
  transition: color 0.3s ease;
  user-select: none;
}
.info-card:hover .info-card-number { color: var(--bg5); }
.info-icon { display: none; }
.info-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.info-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ===== RECENT SECTION ===== */
.recent-section {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 52px 0 36px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 50%, rgba(232,0,26,0.07) 0%, transparent 55%),
    repeating-linear-gradient(
      89.6deg,
      transparent 0px,
      transparent 79px,
      rgba(255,255,255,0.008) 79px,
      rgba(255,255,255,0.008) 80px
    );
  pointer-events: none;
}
.page-header h1 {
  font-family: var(--font-impact);
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.page-subtitle {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

/* ===== REGISTRY PAGE ===== */
.registry-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border: 1px solid var(--border);
  border-top: none;
}
.filters-sidebar {
  width: 256px;
  flex-shrink: 0;
  background: var(--bg2);
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  position: sticky;
  top: var(--nav-height);
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.filters-sidebar h3 {
  font-family: var(--font-impact);
  font-size: 20px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.filters-sidebar h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.filter-group { margin-bottom: 18px; }
.filter-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.registry-results { flex: 1; padding: 28px; min-width: 0; }
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.result-count {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.view-toggle { display: flex; gap: 3px; }
.view-btn {
  padding: 7px 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: var(--transition);
}
.view-btn:hover { color: var(--white); border-color: var(--border-med); }
.view-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  gap: 3px;
  justify-content: center;
  margin-top: 32px;
}
.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border-light);
  background: var(--bg2);
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: var(--transition);
}
.page-btn:hover:not([disabled]) { border-color: var(--red); color: var(--white); }
.page-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }
.page-btn[disabled] { opacity: 0.4; cursor: default; }

/* ===== CAR DETAIL ===== */
.car-detail-header {
  background: var(--bg2);
  border-bottom: 2px solid var(--red);
  padding: 48px 0 36px;
  position: relative;
  overflow: hidden;
}
.car-detail-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}
.car-detail-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    89.6deg,
    transparent 0px,
    transparent 79px,
    rgba(255,255,255,0.008) 79px,
    rgba(255,255,255,0.008) 80px
  );
  pointer-events: none;
}
.car-detail-breadcrumb {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.car-detail-breadcrumb a { color: var(--text-muted); }
.car-detail-breadcrumb a:hover { color: var(--red); }
.car-detail-chassis-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.car-detail-title {
  font-family: var(--font-impact);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
  position: relative;
  z-index: 1;
}
.car-detail-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border: 1px solid var(--border);
  border-top: none;
}
.car-detail-gallery {
  flex: 1;
  padding: 32px;
  border-right: 1px solid var(--border);
  min-width: 0;
}
.car-detail-info {
  width: 340px;
  flex-shrink: 0;
  background: var(--bg2);
  position: sticky;
  top: var(--nav-height);
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.detail-actions {
  padding: 16px 20px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.gallery-main {
  aspect-ratio: 16/10;
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 10px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.gallery-main img:hover { transform: scale(1.02); }
.gallery-thumbs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 68px;
  height: 50px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.55;
  transition: var(--transition);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb.active, .gallery-thumb:hover {
  opacity: 1;
  border-color: var(--red);
}
.no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--text-dim);
  gap: 8px;
}
.notes-box {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 2px solid var(--red);
}
.notes-box h4 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.notes-box p { font-size: 13px; color: var(--text-muted); line-height: 1.8; }
.info-panel { border-bottom: 1px solid var(--border); }
.info-panel-title {
  padding: 12px 20px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}
.info-panel-body { padding: 0; }
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  gap: 16px;
}
.info-row:last-child { border-bottom: none; }
.info-key {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}
.info-value { color: var(--text); font-weight: 500; text-align: right; }
.info-value.na { color: var(--text-dim); font-style: italic; }
.info-value.mono { font-family: 'Courier New', monospace; font-size: 12px; letter-spacing: 0.5px; }

/* ===== SUBMIT / FORM ===== */
.form-container { padding: 48px 0; }
.car-form { display: flex; flex-direction: column; }
.form-section {
  padding: 32px;
  border: 1px solid var(--border);
  border-top: none;
  background: var(--bg2);
}
.form-section:first-of-type { border-top: 1px solid var(--border); }
.form-section-title {
  font-family: var(--font-impact);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.form-section-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.req { color: var(--red); }
.form-optional { color: var(--text-dim); font-size: 10px; }
.form-hint { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.form-notice {
  background: rgba(200, 168, 75, 0.07);
  border: 1px solid rgba(200, 168, 75, 0.2);
  border-left: 2px solid var(--gold);
  padding: 14px 20px;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 0;
}
.form-notice a { color: var(--gold); text-decoration: underline; }
.form-actions {
  display: flex;
  gap: 12px;
  padding: 28px 32px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-top: none;
}
.form-error {
  padding: 12px 16px;
  background: rgba(232, 0, 26, 0.08);
  border: 1px solid rgba(232, 0, 26, 0.2);
  border-left: 2px solid var(--red);
  color: #ff5566;
  font-size: 13px;
  margin-top: 12px;
}
.form-success {
  padding: 12px 16px;
  background: rgba(0, 200, 80, 0.08);
  border: 1px solid rgba(0, 200, 80, 0.2);
  border-left: 2px solid #00c850;
  color: #40e090;
  font-size: 13px;
  margin-top: 12px;
}

/* ===== IMAGE UPLOAD ===== */
.upload-area {
  border: 1px dashed var(--border-med);
  border-radius: var(--radius);
  background: var(--bg3);
  position: relative;
  transition: var(--transition);
}
.upload-placeholder {
  text-align: center;
  padding: 48px 32px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}
.upload-placeholder:hover { color: var(--text); }
.upload-icon { font-size: 28px; margin-bottom: 12px; }
.upload-hint { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.drag-over { border-color: var(--red); background: var(--red-dim); }
.file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; pointer-events: none; }
.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  padding: 12px;
}
.preview-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.8);
  color: var(--white);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  border: none;
  line-height: 1;
}

/* ===== PROFILE ===== */
.profile-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border: 1px solid var(--border);
  border-top: none;
}
.profile-sidebar {
  width: 280px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}
.profile-card {
  background: var(--bg2);
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.profile-avatar {
  width: 68px;
  height: 68px;
  border-radius: 3px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-impact);
  font-size: 28px;
  color: var(--white);
  margin: 0 auto 16px;
  letter-spacing: 2px;
}
.profile-cars { flex: 1; padding: 32px; min-width: 0; }
.profile-cars h2 {
  font-family: var(--font-impact);
  font-size: 28px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.profile-cars h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--red);
}

/* ===== ABOUT PAGE ===== */
.about-content { padding: 60px 0; }
.about-text { max-width: 860px; }
.about-text h2 {
  font-family: var(--font-impact);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
  margin: 48px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--red);
}
.about-text h2:first-child { margin-top: 0; }
.about-text p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 14px;
}
.about-text ol {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.about-text ol li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 14px 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 2px solid var(--red);
}
.about-text ol li::before {
  content: counter(steps, decimal-leading-zero);
  font-family: var(--font-impact);
  font-size: 22px;
  color: var(--red);
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.about-text ol li strong { color: var(--white); }
.about-text ul { display: flex; flex-direction: column; gap: 5px; margin: 10px 0 16px; }
.about-text ul li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.about-text ul li::before { content: '/'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.chassis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 20px 0 32px;
}
.chassis-card {
  background: var(--bg2);
  padding: 28px 24px;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.chassis-card:hover { background: var(--bg3); border-left-color: var(--red); }
.chassis-card h3 {
  font-family: var(--font-impact);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.z30-card { border-left-color: var(--red); }
.z30-card h3 { color: var(--red); }
.year-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
}
.chassis-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 10px 0 14px;
}
.chassis-card ul li {
  font-size: 12px;
  color: var(--text-dim);
  padding: 3px 0 3px 14px;
  position: relative;
}
.chassis-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--red); }

/* ===== MODALS ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal {
  background: var(--bg3);
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
}
.modal h2 {
  font-family: var(--font-impact);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.modal h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--red);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: var(--transition);
}
.modal-close:hover { border-color: var(--red); color: var(--white); }
.modal .form-group { margin-bottom: 16px; }
.modal-switch {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}
.modal-switch a { color: var(--red); }
.modal-switch a:hover { color: var(--red-hover); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  backdrop-filter: blur(4px);
}
.lightbox img {
  max-height: 85vh;
  max-width: 85vw;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--border-light);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.lightbox-close {
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-size: 22px;
}
.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 24px;
}
.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 24px;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--red);
  background: rgba(232, 0, 26, 0.2);
}
#lightboxCaption {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 2px solid var(--red);
  padding: 56px 0 32px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(232,0,26,0.5) 30%, rgba(232,0,26,0.5) 70%, transparent 100%);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-badge {
  width: 50px;
  height: 50px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-impact);
  font-size: 20px;
  color: var(--white);
  letter-spacing: 1px;
  border-radius: 2px;
  flex-shrink: 0;
}
.footer-brand-info { display: flex; flex-direction: column; gap: 4px; }
.footer-brand-name {
  font-family: var(--font-impact);
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--white);
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-nav a:hover { color: var(--red); }
.footer-bottom {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* ===== LOADING & EMPTY STATES ===== */
.loading-spinner {
  text-align: center;
  padding: 80px;
  color: var(--text-muted);
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}
.empty-state-icon { font-size: 36px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 {
  font-family: var(--font-impact);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.empty-state p { font-size: 13px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes stripeIn {
  from { transform: scaleY(0); transform-origin: top; opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}
.hero-stripe-1 { animation: stripeIn 0.9s 0.1s ease both; }
.hero-stripe-2 { animation: stripeIn 0.9s 0.2s ease both; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-med); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ===== SELECTION ===== */
::selection { background: rgba(232, 0, 26, 0.3); color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .car-detail-layout { flex-direction: column; }
  .car-detail-info { width: 100%; position: static; max-height: none; }
  .car-detail-gallery { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 900px) {
  .registry-layout { flex-direction: column; }
  .filters-sidebar { width: 100%; position: static; max-height: none; border-right: none; border-bottom: 1px solid var(--border); }
  .profile-layout { flex-direction: column; }
  .profile-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .stats-grid { flex-wrap: wrap; }
  .stat-card { min-width: 50%; border-bottom: 1px solid var(--border); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-auth { padding-left: 12px; border-left: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg2);
    border-top: none;
    border-bottom: 2px solid var(--red);
    padding: 16px 24px;
    gap: 4px;
    z-index: 99;
  }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-content { padding-left: 32px; }
  .hero-title { font-size: clamp(64px, 12vw, 100px); }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .car-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .quick-search-box { flex-direction: column; }
  .stats-grid { flex-direction: column; }
  .stat-card { min-width: 100%; }
  .page-header h1 { font-size: 34px; }
  .form-section { padding: 24px 20px; }
  .form-actions { padding: 20px; }
  .modal { padding: 32px 24px; }
  .hero-title { font-size: clamp(58px, 16vw, 80px); }
  .hero-content { padding: 0 20px; }
  .hero-stripes { display: none; }
  .hero-bg-text { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .registry-results { padding: 20px 16px; }
  .profile-cars { padding: 24px 20px; }
  .footer-nav { gap: 14px; }
  .nav-auth .btn:first-child { display: none; }
}
