/* =====================================================
   TorqueVault — Main CSS Design System (Crimson & Obsidian)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

/* ——— CSS Custom Properties ——— */
:root {
  /* Noguchi Red Color Palette from Reference Image */
  --bg-darkest: #0e0d10;
  --bg: #141217;
  --bg-card: #19171b;          /* Swatch 1: #19171b */
  --bg-card-2: #211e24;
  --bg-card-hover: #2a2530;
  --bg-overlay: rgba(20, 18, 23, 0.88);

  /* Noguchi Reds */
  --accent: #e61932;           /* Vivid Hypercar Crimson */
  --accent-crimson: #75020f;   /* Swatch 2: Pure Crimson Blood Red #75020f */
  --accent-burgundy: #51080d;  /* Swatch 3: Deep Wine Burgundy #51080d */
  --accent-midnight: #2b0307;  /* Swatch 4: Midnight Dark Cherry #2b0307 */

  --accent-glow: rgba(230, 25, 50, 0.45);
  --accent-glow-subtle: rgba(117, 2, 15, 0.35);
  --accent-dim: rgba(117, 2, 15, 0.22);

  /* Status */
  --success: #10B981;
  --danger: #e61932;
  --warning: #F59E0B;

  /* Text */
  --text-primary: #F7F5F8;
  --text-secondary: #B4AEBA;
  --text-muted: #726A7A;

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(230, 25, 50, 0.45);
  --border-crimson: rgba(117, 2, 15, 0.5);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Typography */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Orbitron', sans-serif;
  --font-telemetry: 'Rajdhani', monospace, sans-serif;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --fast: 0.15s;
  --normal: 0.28s;
  --slow: 0.5s;
}

/* ——— Reset ——— */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ——— Scrollbar ——— */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card-2);
  border-radius: 3px;
}

/* ====================================================
   NAVIGATION
   ==================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  background: rgba(15, 15, 20, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--normal) var(--ease);
}

.nav--scrolled {
  background: rgba(15, 15, 20, 0.96);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #e61932, #75020f);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav__logo span {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease);
  cursor: pointer;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav__link.active {
  color: var(--accent);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile nav toggle */
.nav__mobile-btn {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1.2rem;
}

/* ====================================================
   BUTTONS
   ==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--normal) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity var(--fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-dim);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn--danger {
  background: var(--danger);
  color: #fff;
}

/* ====================================================
   SEARCH BAR
   ==================================================== */
.search-wrap {
  position: relative;
  width: 240px;
}

.search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 9px 12px 9px 38px;
  color: var(--text-primary);
  font-size: 0.88rem;
  transition: border-color var(--fast), box-shadow var(--fast);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

/* ====================================================
   CAR CARD
   ==================================================== */
.car-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--normal) var(--ease),
    box-shadow var(--normal) var(--ease),
    border-color var(--normal) var(--ease);
}

.car-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 0 0 1px var(--border-accent),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px var(--accent-glow);
  border-color: var(--border-accent);
}

.car-card__img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.car-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}

.car-card:hover .car-card__img {
  transform: scale(1.08);
}

.car-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--space-md);
  gap: var(--space-sm);
  opacity: 0;
  transition: opacity var(--normal) var(--ease);
}

.car-card:hover .car-card__overlay {
  opacity: 1;
}

.car-card__action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 15, 20, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color var(--fast), background var(--fast), transform var(--fast);
  border: 1px solid var(--border);
}

.car-card__action-btn svg {
  width: 16px;
  height: 16px;
}

.car-card__action-btn:hover {
  transform: scale(1.15);
  background: var(--bg-card-2);
}

.car-card__action-btn.active.like-btn {
  color: #EF4444;
}

.car-card__action-btn.active.save-btn {
  color: var(--accent);
}

.car-card__brand-badge {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  background: rgba(15, 15, 20, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-clr, var(--accent));
}

.car-card__info {
  padding: var(--space-md) var(--space-lg);
}

.car-card__model {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.car-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.car-card__year {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.car-card__hp {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--accent);
}

.car-card__hp small {
  font-size: 0.7rem;
  font-weight: 500;
  margin-left: 2px;
}

.car-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ====================================================
   TAGS/BADGES
   ==================================================== */
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ====================================================
   CAR GRID
   ==================================================== */
.car-grid {
  display: grid;
  gap: var(--space-lg);
}

.car-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.car-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.car-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ====================================================
   BRAND CARD
   ==================================================== */
.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--normal) var(--ease);
}

.brand-card:hover {
  border-color: var(--brand-clr, var(--accent));
  box-shadow: 0 0 30px rgba(var(--brand-clr-raw, 59, 130, 246), 0.2);
  transform: translateY(-4px);
}

.brand-card__logo {
  font-size: 2.8rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.brand-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-clr, var(--accent));
  margin-bottom: 4px;
}

.brand-card__tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ====================================================
   SPEC ROW
   ==================================================== */
.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--space-lg);
  border-bottom: 1px solid var(--border);
  transition: background var(--fast);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row:hover {
  background: var(--bg-card-2);
}

.spec-row--highlight {
  background: var(--accent-dim);
}

.spec-row--highlight .spec-row__value {
  color: var(--accent);
}

.spec-row__label {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.spec-row__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.spec-row__value small {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 3px;
}

/* ====================================================
   SECTION HEADER
   ==================================================== */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  font-size: 1rem;
}

/* ====================================================
   PAGE CONTAINER
   ==================================================== */
.page {
  padding-top: 80px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-3xl) 0;
}

/* ====================================================
   FILTER BAR
   ==================================================== */
.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: flex-end;
  margin-bottom: var(--space-xl);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter-select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  color: var(--text-primary);
  font-size: 0.88rem;
  min-width: 150px;
  cursor: pointer;
  transition: border-color var(--fast);
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--fast);
}

.filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Range slider */
.range-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.range-wrap span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 180px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ====================================================
   TOAST
   ==================================================== */
.rv-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.rv-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.rv-toast--error {
  border-color: var(--danger);
}

.rv-toast--success {
  border-color: var(--success);
}

/* ====================================================
   SKELETON
   ==================================================== */
.skeleton-card {
  pointer-events: none;
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-card-2);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.skeleton-info {
  padding: var(--space-md) var(--space-lg);
}

.skeleton-line {
  background: var(--bg-card-2);
  border-radius: 4px;
  display: block;
  margin-bottom: 6px;
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.footer__logo span {
  color: var(--accent);
}

/* ====================================================
   COMPARE TABLE
   ==================================================== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 14px var(--space-lg);
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.compare-table th {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.compare-table td {
  font-size: 0.95rem;
  font-weight: 500;
}

.compare-table tr:hover td {
  background: var(--bg-card-2);
}

.compare-table .winner {
  color: var(--accent);
  font-weight: 700;
}

.compare-table .label-col {
  color: var(--text-secondary);
  font-weight: 500;
  min-width: 160px;
}

/* ====================================================
   DASHBOARD
   ==================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  position: sticky;
  top: 96px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e61932, #75020f);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.profile-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-handle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.stat-box {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 12px;
}

.stat-box__num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-box__lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.collection-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.collection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.collection-title {
  font-size: 1rem;
  font-weight: 700;
}

.collection-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ====================================================
   HERO (used on homepage)
   ==================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 95px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  filter: brightness(0.68) contrast(1.12);
  transform: scale(1.02);
  transition: transform 10s ease, filter 0.8s ease;
}

.hero:hover .hero__bg {
  transform: scale(1.0);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right,
      #141217 0%,
      rgba(20, 18, 23, 0.95) 35%,
      rgba(20, 18, 23, 0.65) 65%,
      rgba(20, 18, 23, 0.25) 100%),
    linear-gradient(to top,
      #141217 0%,
      transparent 25%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-bottom: var(--space-xl);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(230, 25, 50, 0.3);
  border-radius: 20px;
}

.hero__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
}

.hero__title .accent {
  color: var(--accent);
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: scroll-bounce 2s ease-in-out infinite;
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
  padding: 6px 14px;
  background: rgba(20, 18, 23, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all var(--fast) var(--ease);
}

.hero__scroll:hover {
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(230, 25, 50, 0.3);
}

.hero__scroll-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ====================================================
   CAR DETAIL PAGE
   ==================================================== */
.detail-hero {
  position: relative;
  aspect-ratio: 16/8;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}

.detail-hero:hover img {
  transform: scale(1.04);
}

.detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 20, 0.9) 0%, transparent 60%);
}

.detail-thumbnails {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.detail-thumb {
  flex: 1;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--fast), transform var(--fast);
}

.detail-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.detail-thumb:hover {
  transform: scale(1.04);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-xl);
  align-items: start;
}

.specs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: sticky;
  top: 96px;
}

.specs-card__header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.specs-card__logo {
  font-size: 2rem;
}

.specs-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}

.specs-card__sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ai-description {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.ai-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #e61932, #75020f, #e61932);
  background-size: 200%;
  animation: shimmer-line 3s linear infinite;
}

.ai-description__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: var(--space-md);
}

.ai-description__text {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.97rem;
}

/* ====================================================
   MASONRY / FEATURED
   ==================================================== */
.masonry {
  columns: 3;
  column-gap: var(--space-lg);
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform var(--slow) var(--ease), filter var(--slow) var(--ease);
}

.masonry-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.7);
}

.masonry-item__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(15, 15, 20, 0.9), transparent);
  transform: translateY(100%);
  transition: transform var(--normal) var(--ease);
}

.masonry-item:hover .masonry-item__info {
  transform: translateY(0);
}

.masonry-item__model {
  font-weight: 700;
  font-size: 1.1rem;
}

.masonry-item__brand {
  font-size: 0.8rem;
  color: var(--accent);
}

/* ====================================================
   EMPTY STATE
   ==================================================== */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  color: var(--text-muted);
}

.empty-state__icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
}

.empty-state__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.empty-state__sub {
  font-size: 0.9rem;
}

/* ====================================================
   HORIZONTAL SCROLL STRIP
   ==================================================== */
.h-scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  scrollbar-width: thin;
}

.h-scroll .car-card {
  min-width: 260px;
}

/* ====================================================
   STAT PILLS (trending etc.)
   ==================================================== */
.trending-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 3px 8px;
}

/* ====================================================
   REVEAL ANIMATION
   ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ====================================================
   PAGE TRANSITIONS
   ==================================================== */
#app {
  transition: opacity 0.2s var(--ease);
}

#app.page-exit {
  opacity: 0;
}

#app.page-enter {
  animation: fadeIn 0.3s var(--ease);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1100px) {

  .car-grid--3,
  .car-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .masonry {
    columns: 2;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .specs-card {
    position: static;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 20px;
    --space-3xl: 60px;
  }

  .nav__links {
    display: none;
  }

  .nav__mobile-btn {
    display: flex;
  }

  .car-grid--3,
  .car-grid--2,
  .car-grid--4 {
    grid-template-columns: 1fr;
  }

  .masonry {
    columns: 1;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .filter-bar {
    flex-direction: column;
  }

  .search-wrap {
    width: 100%;
  }

  .detail-thumbnails {
    gap: 4px;
  }

  .compare-table {
    font-size: 0.82rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 8px;
  }
}

/* Mobile nav open state */
.nav__links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) var(--space-lg);
  gap: 4px;
  z-index: 999;
}

/* ====================================================
   NAV USER WIDGET
   ==================================================== */
.nav-user {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-user__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e61932, #75020f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 2px solid var(--border-accent);
}

.nav-user__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ====================================================
   AUTH MODAL OVERLAY
   ==================================================== */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  padding: var(--space-md);
}

.auth-overlay.open {
  opacity: 1;
}

.auth-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 420px;
  padding: var(--space-xl);
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease);
  animation: fadeIn 0.3s var(--ease) both;
}

.auth-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--fast), background var(--fast);
}

.auth-modal__close:hover {
  background: var(--bg);
  color: var(--text-primary);
}

/* Brand header */
.auth-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.auth-brand__logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #e61932, #75020f);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.auth-brand__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.auth-brand__name span {
  color: var(--accent);
}

.auth-brand__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Tabs */
.auth-tabs {
  display: flex;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 3px;
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  padding: 8px;
  border-radius: calc(var(--radius-md) - 3px);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--normal) var(--ease);
}

.auth-tab.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Forms */
.auth-form {
  display: none;
  flex-direction: column;
  gap: var(--space-md);
}

.auth-form.active {
  display: flex;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.auth-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px var(--space-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  width: 100%;
  transition: border-color var(--fast), box-shadow var(--fast);
}

.auth-input::placeholder {
  color: var(--text-muted);
}

.auth-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.auth-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color var(--fast);
}

.auth-eye:hover {
  color: var(--text-primary);
}

.auth-error {
  font-size: 0.82rem;
  color: var(--danger);
  min-height: 1em;
  font-weight: 500;
}

.auth-switch {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.auth-link {
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-link:hover {
  opacity: 0.8;
}

/* ====================================================
   TORQUEVAULT INTERACTIVE 3D & TELEMETRY DESIGN SYSTEM
   ==================================================== */

/* ——— Ambient Dynamic Canvas ——— */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

#app {
  position: relative;
  z-index: 1;
}

/* ——— Sound Toggle Button ——— */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-crimson);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}

.sound-toggle-btn:hover {
  background: var(--bg-card-2);
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.sound-toggle-btn.muted {
  opacity: 0.55;
  border-color: var(--border);
}

/* ——— 3D Tilt Cards & Holographic Glare ——— */
.tilt-3d-card {
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out, box-shadow var(--normal) var(--ease), border-color var(--normal) var(--ease);
  position: relative;
}

.card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.rev-preview-btn {
  background: rgba(117, 2, 15, 0.88) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

.rev-preview-btn:hover {
  background: var(--accent) !important;
  box-shadow: 0 0 16px var(--accent-glow) !important;
  transform: scale(1.15) !important;
}

.car-card__sprint {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}



/* ——— Interactive Tachometer HUD ——— */
.tachometer-hud {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  background: linear-gradient(145deg, #19171b 0%, #100e12 100%);
  border: 1px solid var(--border-crimson);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6), inset 0 0 35px rgba(117, 2, 15, 0.2);
}

.tacho-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  justify-content: center;
}

.tacho-dial-wrap {
  position: relative;
  width: 260px;
  height: 260px;
}

.tacho-dial-svg {
  width: 100%;
  height: 100%;
}

.tacho-tick-txt {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  fill: var(--text-muted);
}

.tacho-tick-txt.redline-txt {
  fill: var(--accent);
}

.tacho-center-hud {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  background: radial-gradient(circle, #250408 0%, #151318 75%, #0f0d11 100%);
  border: 2px solid rgba(230, 25, 50, 0.45);
  box-shadow: 0 0 24px rgba(117, 2, 15, 0.5), inset 0 0 12px rgba(0, 0, 0, 0.8);
  z-index: 10;
}

.tacho-gear-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(230, 25, 50, 0.18);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
  box-shadow: 0 0 10px rgba(230, 25, 50, 0.35);
}

.tacho-rpm-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.tacho-unit {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tacho-redline-alert {
  position: absolute;
  bottom: -6px;
  padding: 1px 6px;
  background: #e61932;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  border-radius: 4px;
  display: none;
  box-shadow: 0 0 10px rgba(230, 25, 50, 0.8);
  animation: redline-flash 0.3s infinite;
}

.tacho-redline-alert.active {
  display: block;
}

.throttle-pedal-btn {
  position: relative;
  width: 160px;
  height: 180px;
  background: linear-gradient(180deg, #2b2730 0%, #17151a 100%);
  border: 2px solid var(--border-crimson);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.15);
  transition: transform 0.08s ease, box-shadow 0.08s ease, border-color 0.1s ease;
  user-select: none;
}

.throttle-pedal-btn:active, .throttle-pedal-btn.pressed {
  transform: perspective(400px) rotateX(15deg) translateY(6px);
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow), inset 0 0 25px rgba(230, 25, 50, 0.45);
}

.pedal-texture {
  position: absolute;
  inset: 12px;
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(0deg, transparent, transparent 12px, rgba(255, 255, 255, 0.04) 12px, rgba(255, 255, 255, 0.04) 16px);
  pointer-events: none;
}

.pedal-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
  z-index: 1;
}

.pedal-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-top: 4px;
  z-index: 1;
}

.tacho-instructions {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.tacho-instructions kbd {
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.75rem;
}

/* ——— Drag Strip Showdown ——— */
.drag-race-widget {
  background: linear-gradient(145deg, #19171b 0%, #141217 100%);
  border: 1px solid var(--border-crimson);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6);
}

.drag-hud__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: 12px;
}

.hud-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.drag-hud__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
}

.drag-selectors {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.drag-lane-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.lane-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.drag-car-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 8px 10px;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.drag-car-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-pill {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
}

.drag-tree {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px;
  background: #0e0d10;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  align-items: center;
}

.tree-light {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #252228;
  transition: all 0.1s ease;
}

.tree-light--amber.active {
  background: #F59E0B;
  box-shadow: 0 0 14px #F59E0B;
}

.tree-light--green.active {
  background: #10B981;
  box-shadow: 0 0 16px #10B981;
}

.drag-strip-track {
  background: #0a090c;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.track-lane {
  position: relative;
  height: 48px;
  background: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255, 255, 255, 0.05) 40px, rgba(255, 255, 255, 0.05) 60px);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.track-lane:last-child {
  border-bottom: none;
}

.track-finish-line {
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: repeating-linear-gradient(180deg, #fff, #fff 6px, #000 6px, #000 12px);
}

.track-car-avatar {
  position: absolute;
  top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: left 0.05s linear;
}

.car-badge-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px rgba(230, 25, 50, 0.6));
}

.car-speed-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--border-crimson);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}

.drag-telemetry-hud {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
}

.telemetry-box {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition: all var(--normal);
}

.telemetry-box.winner-glow {
  border-color: var(--accent);
  box-shadow: 0 0 25px var(--accent-glow);
  background: linear-gradient(145deg, rgba(117, 2, 15, 0.4) 0%, var(--bg-card-2) 100%);
}

.tel-label {
  font-size: 0.85rem;
  font-weight: 700;
}

.tel-metric {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  margin: 4px 0;
}

.tel-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.telemetry-vs {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-muted);
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .drag-selectors, .drag-telemetry-hud {
    grid-template-columns: 1fr;
  }
  .drag-tree {
    flex-direction: row;
  }
  .hero__scroll {
    bottom: 12px;
  }
}

@media (max-height: 700px) {
  .hero__scroll {
    display: none;
  }
}