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

:root {
  --bg: #1b1d22;
  --bg-card: #25272e;
  --bg-card-hover: #2c2f37;
  --red: #e0241b;
  --red-glow: #ff4034;
  --red-dim: #a31a14;
  --gold: #e3b341;
  --text: #e6e7ea;
  --text-dim: #b9bcc4;
  --text-muted: #8a8e97;
  --border: #3a3d46;
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Z-pattern light path connecting the front page sections */
.z-page { position: relative; overflow: hidden; }
.z-page > section { position: relative; z-index: 1; }
.z-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-photo {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100vh;
  z-index: 0;
  background: url('images/hero-road.jpg') center / cover no-repeat;
  filter: grayscale(0.25) brightness(0.62) contrast(1.12) saturate(1.15);
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 29, 34, 0.92) 0%, rgba(27, 29, 34, 0.55) 55%, rgba(120, 14, 10, 0.42) 100%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}

.photo-band {
  width: 88%;
  max-width: 1200px;
  height: 420px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
}
.photo-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--photo) center 70% / cover no-repeat;
  filter: brightness(0.62) contrast(1.1) saturate(0.9);
}
.photo-band-mono::before { filter: grayscale(1) brightness(0.5) contrast(1.15); }
.photo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27, 29, 34, 0.9) 0%, rgba(27, 29, 34, 0.1) 60%, rgba(70, 10, 10, 0.25) 100%);
}
.photo-band-mono::after {
  background: linear-gradient(0deg, rgba(27, 29, 34, 0.9) 0%, rgba(110, 16, 12, 0.35) 100%);
}
.photo-band-text { position: relative; z-index: 1; padding: 32px; width: 100%; }
.photo-band-text-right { text-align: right; }
.photo-band-text h2 { font-size: 36px; font-weight: 700; line-height: 1.15; }
.photo-band-text h2 span { color: var(--red-glow); display: block; }
@media (max-width: 768px) {
  .hero-photo {
    background-image: url('images/hero-road.jpg');
    height: 820px;
    filter: grayscale(0.55) brightness(0.72) contrast(1.08);
    background-position: 62% top;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  }
  .hero-photo::after {
    background: linear-gradient(180deg, rgba(27, 29, 34, 0.62) 0%, rgba(27, 29, 34, 0.5) 100%);
  }
  .photo-band {
    width: calc(100% - 32px);
    height: 66vw;
    min-height: 260px;
    max-height: 400px;
  }
  .photo-band::before {
    background-position: 78% 100%;
    background-size: 185%;
    filter: brightness(0.85) contrast(1.08) saturate(1.05);
  }
  .photo-band-mono::before {
    background-position: 45% 72%;
    background-size: cover;
    filter: grayscale(0.25) brightness(0.8) contrast(1.05);
  }
  .photo-band::after {
    background: linear-gradient(180deg, rgba(27, 29, 34, 0.86) 0%, rgba(27, 29, 34, 0.25) 42%, transparent 62%, rgba(27, 29, 34, 0.55) 100%);
  }
  .photo-band-mono::after {
    background: linear-gradient(180deg, rgba(27, 29, 34, 0.86) 0%, rgba(90, 16, 12, 0.18) 48%, rgba(27, 29, 34, 0.45) 100%);
  }
  .photo-band { align-items: flex-start; }
  .photo-band-text { padding: 20px 24px; }
  .photo-band-text-right { text-align: left; }
  .photo-band-text h2 { font-size: 26px; }
}

.z-track, .z-track-glow { fill: none; stroke-linejoin: round; }
.z-track { stroke: rgba(231, 76, 60, 0.45); stroke-width: 2; }
.z-track-glow { stroke: rgba(192, 57, 43, 0.25); stroke-width: 70; }
.hero { flex-direction: column; justify-content: center; gap: 48px; padding-bottom: 40px; }
.hero-content { width: 100%; }
.hero-content > * { min-width: 0; }
.hero-text h1 { min-height: 1.1em; }
.hero-facts { list-style: none; display: grid; gap: 10px; margin-bottom: 32px; }
.hero-facts li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.hero-facts li::before { content: ''; width: 18px; height: 2px; background: var(--red-glow); box-shadow: 0 0 8px var(--red-glow); flex: none; }
.hero-classes { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.hero-classes-title { color: var(--text-dim); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.class-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.class-chip {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.class-chip:hover { border-color: var(--red); transform: translateY(-2px); }
.class-chip span { color: var(--red-glow); font-size: 13px; font-weight: 600; }

.lang-switch { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-switch button {
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.lang-switch button.on { background: var(--red); color: #fff; }
.lang-switch button:not(.on):hover { color: var(--text); }
[hidden] { display: none !important; }

.plans { display: grid; gap: 12px; margin: 16px 0 24px; }
.plan {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px;
  background: #25272e;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.plan:has(input:checked) { border-color: var(--red); box-shadow: 0 0 16px rgba(192, 57, 43, 0.25); }
.plan-rec { margin-top: 8px; }
.plan-badge {
  position: absolute;
  top: -10px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
}
.plan-head { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.plan-head input { accent-color: var(--red); }
.plan-price { font-weight: 700; color: var(--red-glow); }
.plan-deposit { color: var(--text-dim); font-size: 13px; }
.plan ul { margin: 6px 0 0 18px; color: var(--text-dim); font-size: 13px; line-height: 1.6; }
.terms-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13px; color: var(--text-dim); }
.terms-check input { accent-color: var(--red); margin-top: 2px; }
.terms-check a, .form-link { color: var(--red-glow); }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1000px; }
.tier-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.tier-card h2 { font-size: 24px; margin-bottom: 8px; }
.tier-price { color: var(--red-glow); font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.tier-price small { color: var(--text-dim); font-size: 14px; font-weight: 500; }
.tier-card ul { margin: 0 0 20px 18px; color: var(--text-dim); line-height: 1.8; }
.tier-note { color: var(--text-dim); font-size: 13px; margin-top: 10px; }
.car-card-img, .detail-image { position: relative; }
.car-card-img::after, .detail-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, transparent 55%, rgba(150, 24, 16, 0.14) 100%);
}
.prose-heading { display: block; color: var(--text); margin-top: 12px; font-size: 16px; }
.prose { white-space: pre-line; line-height: 1.7; color: var(--text-dim); max-width: 760px; }
.car-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.car-gallery img { width: 100%; height: 110px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; }

.hero-content { z-index: 3; }
.dp-wrap { position: relative; }
.dp-field { width: 100%; cursor: pointer; }
.dp-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 40;
  width: 280px;
  max-width: calc(100vw - 32px);
  padding: 12px;
  background: #151515;
  border: 1px solid #333;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}
.dp-pop.dp-left { left: auto; right: 0; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-head strong { font-size: 14px; text-transform: capitalize; }
.dp-head button { background: none; border: none; color: var(--text); font-size: 22px; line-height: 1; padding: 4px 12px; cursor: pointer; }
.dp-head button:hover { color: var(--red-glow); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-days small { color: var(--text-dim); font-size: 11px; text-align: center; padding: 4px 0; text-transform: capitalize; }
.dp-grid button {
  aspect-ratio: 1;
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.dp-grid button:hover:not(:disabled) { background: rgba(192, 57, 43, 0.3); }
.dp-grid button.on { background: var(--red); color: #fff; }
.dp-grid button:disabled { color: #444; cursor: not-allowed; }
.dp-grid button.taken { text-decoration: line-through; color: #7a3a33; }.z-right { text-align: right; }
.z-right .section-subtitle { margin-left: auto; }
.z-right .feature-card { text-align: left; }

.filter-bar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 32px;
}
.filter-bar .search-field { margin-bottom: 0; }
@media (max-width: 768px) { .filter-bar { grid-template-columns: 1fr; } }

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(27, 29, 34, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
}
.logo span { color: var(--red); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-auth { display: flex; gap: 12px; align-items: center; }
.nav-auth a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-auth a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-primary {
  background: linear-gradient(135deg, #ff4034, #c81a12);
  color: #fff;
  box-shadow: 0 6px 24px rgba(224, 36, 27, 0.45);
}
.btn-primary:hover {
  background: var(--red-glow);
  box-shadow: 0 6px 30px rgba(231, 76, 60, 0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}
.btn-sm { padding: 8px 20px; font-size: 13px; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(192,57,43,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(192,57,43,0.04) 0%, transparent 50%);
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero-text h1 span { color: var(--red); }
.hero-text p {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 16px; }

/* Search box on hero */
.hero-search {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hero-search h3 {
  color: var(--red);
  margin-bottom: 20px;
  font-size: 18px;
}
.search-field {
  margin-bottom: 16px;
}
.search-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.search-field input,
.search-field select {
  width: 100%;
  padding: 12px 16px;
  background: #1b1d22;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--red);
}
.search-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Sections */
.section {
  padding: 56px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title span { color: var(--red); }
.section-subtitle {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 640px;
}

/* Car cards */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.car-card:hover {
  border-color: var(--red-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(192, 57, 43, 0.15);
}
.car-card-img {
  height: 200px;
  background: #2c2f37;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.car-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.car-card-img .placeholder {
  font-size: 14px;
  color: var(--text-muted);
}
.car-card-body {
  padding: 20px;
}
.car-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.car-card-class {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(192,57,43,0.15);
  color: var(--red);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.car-card-specs {
  display: flex;
  gap: 16px;
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 16px;
}
.car-card-specs span { display: flex; align-items: center; gap: 4px; }
.car-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.car-card-price .amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
}
.car-card-price .per {
  color: var(--text-dim);
  font-size: 13px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: var(--red-dim);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(192,57,43,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

/* Pricing table */
.pricing-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.pricing-info table {
  width: 100%;
  border-collapse: collapse;
}
.pricing-info th {
  background: #2c2f37;
  padding: 14px 20px;
  text-align: left;
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-info td {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.pricing-info tr:hover td { background: #25272e; }

/* Footer */
.footer {
  background: #16181c;
  border-top: 1px solid var(--border);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  color: var(--red);
  font-size: 14px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer p, .footer a {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.8;
  text-decoration: none;
}
.footer a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

/* Auth pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
}
.auth-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 420px;
}
.auth-box h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.auth-box h2 span { color: var(--red); }
.auth-box .subtitle {
  color: var(--text-dim);
  margin-bottom: 32px;
  font-size: 14px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #1b1d22;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
.form-group input:focus {
  outline: none;
  border-color: var(--red);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.error-msg {
  color: var(--red-glow);
  font-size: 13px;
  margin-top: 8px;
}

/* Profile page */
.profile-page {
  padding-top: 100px;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  min-height: 100vh;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  background: rgba(192,57,43,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
}
.profile-info h2 { font-size: 24px; }
.profile-info p { color: var(--text-dim); font-size: 14px; }
.vip-badge {
  display: inline-block;
  padding: 4px 16px;
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 12px;
}
.booking-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.booking-card .car-name {
  font-weight: 700;
  font-size: 16px;
}
.booking-card .dates {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 4px;
}
.booking-card .status {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.status-confirmed { background: #27ae6033; color: #27ae60; }
.status-active { background: #2980b933; color: #2980b9; }
.status-completed { background: #7f8c8d33; color: #7f8c8d; }
.status-cancelled { background: #c0392b33; color: #c0392b; }

/* Detail page */
.detail-page {
  padding-top: 100px;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  min-height: 100vh;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.detail-image {
  background: #2c2f37;
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-info h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.spec-item {
  background: #25272e;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.spec-item .spec-label {
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.spec-item .spec-value {
  font-size: 16px;
  font-weight: 600;
  margin-top: 2px;
}

/* Extras checkboxes */
.extras-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.extra-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #25272e;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s;
}
.extra-item:hover { border-color: var(--red-dim); }
.extra-item input { accent-color: var(--red); }
.extra-item .extra-name { font-weight: 500; flex: 1; }
.extra-item .extra-price { color: var(--red); font-weight: 600; }

/* Booking summary */
.booking-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.booking-summary h3 {
  color: var(--red);
  margin-bottom: 16px;
  font-size: 18px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  font-size: 16px;
}
.summary-row.deposit { color: var(--red); font-weight: 600; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* Mobile */
@media (max-width: 768px) {
  .hero-content { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-search { padding: 20px; }
  .search-row { grid-template-columns: minmax(0, 1fr); }
  .nav-inner { gap: 8px; padding: 0 16px; }
  .nav-register { display: none; }
  .hero { padding-top: 132px; gap: 48px; }
  .logo { font-size: 18px; }
  .hero-cta { flex-wrap: wrap; }
  .class-strip { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero-text h1 { font-size: 29px; }
  .footer-inner { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .hamburger { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(27,29,34,0.98); padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .cars-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* Season indicator */
.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.season-regular { background: #27ae6022; color: #27ae60; }
.season-high { background: #e74c3c22; color: #e74c3c; }

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card { background: linear-gradient(160deg, #2b2e36, #22242a); border-top: 2px solid var(--red); }
.car-card-price .amount, .extra-price { color: var(--red-glow); }
.hero-classes .class-chip:hover, .feature-card:hover { box-shadow: 0 10px 32px rgba(224, 36, 27, 0.22); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { position: relative; padding: 24px; background: linear-gradient(160deg, #2b2e36, #22242a); border: 1px solid var(--border); border-radius: var(--radius); }
.step-number {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px;
  border-radius: 50%; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, #ff4034, #c81a12); box-shadow: 0 4px 16px rgba(224, 36, 27, 0.5);
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 20px; }
.faq details[open] { border-color: var(--red-dim); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
.faq summary:hover { color: var(--red-glow); }
.faq p { color: var(--text-dim); padding-bottom: 16px; line-height: 1.6; }

.cta-section { padding-top: 16px; }
.cta-band {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  padding: 32px; border-radius: var(--radius); margin-top: 32px;
  background: linear-gradient(120deg, #e0241b, #8d130d); box-shadow: 0 16px 48px rgba(224, 36, 27, 0.3);
}
.cta-section .cta-band { margin-top: 0; }
.cta-band h2 { font-size: 26px; margin-bottom: 4px; }
.cta-band p { color: rgba(255, 255, 255, 0.86); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-light { background: #fff; color: #b5170f; }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.page-main { max-width: 1200px; margin: 0 auto; padding: 104px 24px 56px; min-height: 70vh; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card {
  display: block; padding: 28px; border-radius: var(--radius); color: inherit; text-decoration: none;
  background: linear-gradient(160deg, #2b2e36, #22242a); border: 1px solid var(--border); border-top: 2px solid var(--red);
  transition: transform 0.2s, box-shadow 0.2s;
}
a.service-card:hover, .service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(224, 36, 27, 0.2); }
.service-card h2 { font-size: 20px; margin-bottom: 8px; }
.service-card p { color: var(--text-dim); line-height: 1.6; font-size: 15px; word-break: break-word; }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 12px; background: rgba(224, 36, 27, 0.16); }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--red-glow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.company-line { color: var(--text-dim); font-size: 13px; margin-top: 24px; }

.vip-page { max-width: 1100px; margin: 0 auto; padding: 96px 24px 56px; }
.vip-hero { text-align: center; padding: 16px 0 28px; }
.vip-eyebrow { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.vip-hero h1 { font-size: 44px; font-weight: 700; line-height: 1.1; margin-bottom: 12px; }
.vip-hero h1 span { background: linear-gradient(90deg, #f6d774, #e3b341); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vip-lead { color: var(--text-dim); max-width: 620px; margin: 0 auto; line-height: 1.6; }
.vip-status { color: var(--gold); margin-top: 10px; font-weight: 600; }
.tier-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: none; align-items: stretch; }
.tier-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px; background: linear-gradient(165deg, #2b2e36, #22242a); transition: transform 0.2s; }
.tier-card:hover { transform: translateY(-4px); }
.tier-club { border-color: var(--red); box-shadow: 0 14px 44px rgba(224, 36, 27, 0.28); }
.tier-vipplus { border-color: var(--gold); box-shadow: 0 14px 44px rgba(227, 179, 65, 0.22); background: linear-gradient(165deg, #332b16, #1f1b10); }
.tier-badge {
  position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #ff4034, #c81a12);
}
.tier-vipplus .tier-badge { color: #241b05; background: linear-gradient(135deg, #f6d774, #d7a52f); }
.tier-icon { width: 34px; height: 34px; margin-bottom: 10px; }
.tier-icon svg { width: 100%; height: 100%; fill: var(--text-dim); }
.tier-club .tier-icon svg { fill: var(--red-glow); }
.tier-vipplus .tier-icon svg { fill: var(--gold); }
.tier-vipplus .tier-price small { color: var(--gold); }
.tier-card ul { list-style: none; margin: 0 0 20px; flex: 1; color: #d5d5d5; }
.tier-card li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; line-height: 1.45; }
.tier-card li svg, .compare .yes svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--red-glow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tier-vipplus li svg { stroke: var(--gold); }
.tier-button { justify-content: center; }
.compare, .vip-steps { margin-top: 44px; }
.compare h2, .vip-steps h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; text-align: center; }
.compare h2 span, .vip-steps h2 span { color: var(--red-glow); }
.compare-scroll { overflow-x: auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 13px 16px; text-align: center; border-top: 1px solid var(--border); font-size: 14px; }
.compare thead th { border-top: 0; font-size: 15px; }
.compare thead th:last-child { color: var(--gold); }
.compare thead th:nth-child(2) { color: var(--red-glow); }
.compare tbody th { text-align: left; font-weight: 500; color: var(--text-dim); }
.compare .no { color: #666; }

@media (max-width: 768px) {
  .section { padding-top: 40px; padding-bottom: 40px; }
  .vip-hero h1 { font-size: 32px; }
  .cta-band { padding: 24px; }
  .page-main, .vip-page { padding-top: 88px; }
  .compare th, .compare td { padding: 11px 8px; font-size: 13px; }
  .hero-photo { filter: grayscale(0.2) brightness(0.8) contrast(1.08) saturate(1.1); }
}

body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
p, li, summary { letter-spacing: 0.1px; }
.section-subtitle, .hero-text p { color: var(--text-dim); }
.hero-text h1 { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45); }

.vip-page { position: relative; z-index: 1; }
.compare-scroll, .tier-card, .vip-steps .step { position: relative; }

.tier-grid { row-gap: 28px; }
.tier-card { padding-top: 34px; }
.tier-card h2 { min-height: 34px; }
.tier-price { min-height: 42px; display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.tier-button { width: 100%; justify-content: center; text-align: center; }
.tier-note { min-height: 0; }
.tier-vip { border-color: #aeb4c0; box-shadow: 0 14px 44px rgba(174, 180, 192, 0.16); background: linear-gradient(165deg, #363a44, #24262d); }
.tier-vip .tier-badge { color: #20232a; background: linear-gradient(135deg, #e8ebf1, #aeb4c0); }
.tier-vip .tier-icon svg { fill: #cfd4de; }
.tier-vip .tier-price { color: #dfe3ea; }
.tier-vip .tier-price small { color: #c3c8d2; }
.tier-vip li svg { stroke: #cfd4de; }
.tier-vipplus .tier-price { color: var(--gold); }
.tier-vip .btn-outline, .tier-vipplus .btn-outline { color: var(--text); }
.tier-vip .btn-outline:hover { border-color: #cfd4de; color: #fff; }
.tier-vipplus .btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.compare thead th:nth-child(3) { color: #cfd4de; }

.hero .hero-content { z-index: 5; }
.dp-wrap { z-index: 1; }

body { --bg: #0a0a0a; --bg-card: #161616; --bg-card-hover: #1e1e1e; --border: #2b2b2b; background: #0a0a0a; }
.navbar { background: rgba(10, 10, 10, 0.92); }
.footer { background: #050505; }
.hero-photo::after {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.55) 55%, rgba(120, 14, 10, 0.42) 100%),
    linear-gradient(180deg, transparent 55%, #0a0a0a 100%);
}
.feature-card, .step { background: linear-gradient(160deg, #1c1c1c, #131313); }
.hero-search { background: #141414; }
.search-field input, .search-field select { background: #0d0d0d; }
.class-chip { background: rgba(17, 17, 17, 0.88); }
.photo-band::after { background: linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.1) 60%, rgba(70, 10, 10, 0.25) 100%); }
.photo-band-mono::after { background: linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, rgba(110, 16, 12, 0.35) 100%); }
.car-card-img { background: #181818; }
@media (max-width: 768px) {
  .hero-photo::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0.62) 0%, rgba(10, 10, 10, 0.5) 100%); }
  .photo-band::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0.86) 0%, rgba(10, 10, 10, 0.25) 42%, transparent 62%, rgba(10, 10, 10, 0.55) 100%); }
  .photo-band-mono::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0.86) 0%, rgba(90, 16, 12, 0.18) 48%, rgba(10, 10, 10, 0.45) 100%); }
}

.service-card, .tier-card, .step { background: linear-gradient(160deg, #1c1c1c, #131313); }
.tier-vip { background: linear-gradient(165deg, #2b2d33, #17181b); }
.tier-vipplus { background: linear-gradient(165deg, #2a2312, #121008); }
.compare-scroll, .faq details { background: #161616; }
.form-group input, .form-group select, .form-group textarea, .dp-pop { background: #141414; }
.auth-box, .booking-summary, .booking-card, .spec-item, .extra-item, .plan { background: #161616; }

.hero-photo { filter: brightness(0.95) contrast(1.06) saturate(1.1); }
.hero-photo::after {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.42) 42%, rgba(10, 10, 10, 0.05) 75%, rgba(10, 10, 10, 0) 100%),
    linear-gradient(180deg, transparent 72%, #0a0a0a 100%);
}
.hero-search { background: rgba(20, 20, 20, 0.92); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65); }
.hero-facts li, .hero-text p { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75); }
.hero-text p { color: #e2e2e2; }
@media (max-width: 768px) {
  .hero-photo { filter: brightness(0.95) contrast(1.05) saturate(1.1); }
  .hero-photo::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.34) 100%); }
}

@media (max-width: 768px) {
  .hero { padding-top: 104px; gap: 24px; padding-bottom: 24px; }
  .hero-content { gap: 20px; }
  .hero-text h1 { font-size: 30px; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); }
  .hero-text p, .hero .hero-cta { display: none; }
  .hero-facts { margin-bottom: 0; gap: 6px; }
  .hero-facts li { font-size: 14px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); }
  .hero-photo { height: 640px; filter: brightness(0.92) contrast(1.05) saturate(1.05); background-position: 62% 30%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.62) 42%, rgba(10, 10, 10, 0.25) 75%, rgba(10, 10, 10, 0.35) 100%); }
  .hero-search { padding: 18px; background: rgba(20, 20, 20, 0.94); }
  .hero-search h3 { margin-bottom: 12px; }
  .search-field { margin-bottom: 12px; }
  .search-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .search-row .dp-field { padding: 11px 10px; font-size: 13px; }
  .search-row .dp-wrap:has(.dp-pop:not([hidden])) { position: static; }
  .search-row { position: relative; }
  .search-row .dp-pop { left: 0; right: auto; top: calc(100% - 6px); }
}

.cta-band { background: linear-gradient(160deg, #1c1c1c, #131313); border: 1px solid var(--border); border-left: 3px solid var(--red); box-shadow: none; }
.cta-band p { color: var(--text-dim); }
.btn-light { background: linear-gradient(135deg, #ff4034, #c81a12); color: #fff; box-shadow: 0 6px 20px rgba(224, 36, 27, 0.35); }
.btn-outline-light { color: var(--text); border-color: var(--border); }
.btn-outline-light:hover { background: transparent; border-color: var(--red); color: var(--red-glow); }

.dp-wrap:has(.dp-pop:not([hidden])) { z-index: 30; }

.profile-page { max-width: 1000px; padding-top: 96px; padding-bottom: 56px; }
.profile-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 24px;
  background: linear-gradient(160deg, #1c1c1c, #131313); border: 1px solid var(--border); border-top: 2px solid var(--red); border-radius: var(--radius);
}
.profile-card .profile-avatar { flex: none; background: linear-gradient(135deg, #ff4034, #c81a12); color: #fff; box-shadow: 0 6px 22px rgba(224, 36, 27, 0.4); }
.profile-card .profile-info { flex: 1; min-width: 200px; }
.profile-card h1 { font-size: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }
.profile-card .vip-badge { margin-left: 0; }
.profile-card p { color: var(--text-dim); font-size: 14px; word-break: break-word; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-notice { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid #27ae60; color: #6fdc9b; background: rgba(39, 174, 96, 0.1); }
.profile-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.stat { padding: 18px; text-align: center; background: #161616; border: 1px solid var(--border); border-radius: var(--radius); }
.stat strong { display: block; font-size: 28px; color: var(--red-glow); }
.stat span { color: var(--text-dim); font-size: 13px; }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 16px; }
.profile-panel { padding: 22px; background: #161616; border: 1px solid var(--border); border-radius: var(--radius); }
.profile-panel h2 { font-size: 18px; margin-bottom: 10px; }
.profile-panel p { color: var(--text-dim); font-size: 14px; }
.progress-track { height: 10px; margin-top: 14px; border-radius: 6px; overflow: hidden; background: #2a2a2a; }
.progress-fill { height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #c81a12, #ff4034, var(--gold)); transition: width 0.5s; }
.progress-marks { position: relative; display: flex; justify-content: space-between; margin-top: 6px; color: var(--text-dim); font-size: 12px; }
.progress-marks span:nth-child(2) { position: absolute; left: 60%; transform: translateX(-50%); }
.benefit-list { list-style: none; }
.benefit-list li { position: relative; padding: 3px 0 3px 18px; color: var(--text); font-size: 14px; }
.benefit-list li::before { content: ''; position: absolute; left: 0; top: 12px; width: 8px; height: 2px; background: var(--red-glow); }
.benefit-list li.muted { color: var(--text-dim); padding-left: 0; }
.benefit-list li.muted::before { display: none; }
.profile-heading { font-size: 24px; margin: 28px 0 14px; }
.booking-card { background: #161616; align-items: flex-start; gap: 14px; }
.booking-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }
.empty-state { padding: 32px; text-align: center; background: #161616; border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-state p { color: var(--text-dim); margin-bottom: 14px; }
@media (max-width: 768px) {
  .profile-page { padding-top: 84px; }
  .profile-actions, .profile-actions .btn { width: 100%; justify-content: center; }
  .profile-stats { gap: 8px; }
  .stat { padding: 14px 6px; }
  .stat strong { font-size: 22px; }
  .stat span { font-size: 11px; }
}

.vip-badge { display: inline-flex; align-items: center; gap: 6px; }
.level-crown { width: 15px; height: 15px; fill: currentColor; }
.level-member .vip-badge { background: #2a2a2a; color: var(--text-dim); }

.level-club .profile-card { box-shadow: 0 12px 36px rgba(224, 36, 27, 0.2); border-color: var(--red-dim); }

.level-vip .profile-card { background: linear-gradient(165deg, #2b2d33, #17181b); border-color: #aeb4c0; box-shadow: 0 12px 36px rgba(174, 180, 192, 0.14); }
.level-vip .profile-avatar { background: linear-gradient(135deg, #e8ebf1, #9aa1ae); color: #20232a; box-shadow: 0 6px 22px rgba(174, 180, 192, 0.35); }
.level-vip .vip-badge { background: linear-gradient(135deg, #e8ebf1, #aeb4c0); color: #20232a; }
.level-vip .stat strong { color: #dfe3ea; }
.level-vip .stat, .level-vip .profile-panel { border-color: #464a54; }
.level-vip .progress-fill { background: linear-gradient(90deg, #8a909c, #e8ebf1); }
.level-vip .benefit-list li::before { background: #cfd4de; }
.level-vip .btn-primary { background: linear-gradient(135deg, #e8ebf1, #aeb4c0); color: #20232a; box-shadow: 0 6px 20px rgba(174, 180, 192, 0.3); }

.level-vipplus .profile-card {
  position: relative; overflow: hidden; background: linear-gradient(165deg, #33290f, #120f07); border-color: var(--gold);
  box-shadow: 0 14px 44px rgba(227, 179, 65, 0.28);
}
.level-vipplus .profile-card::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(246, 215, 116, 0.14), transparent);
  animation: goldSweep 6s ease-in-out infinite;
}
@keyframes goldSweep { 0%, 55% { left: -60%; } 100% { left: 120%; } }
@media (prefers-reduced-motion: reduce) { .level-vipplus .profile-card::after { animation: none; } }
.level-vipplus .profile-avatar { background: linear-gradient(135deg, #f6d774, #d7a52f); color: #241b05; box-shadow: 0 6px 24px rgba(227, 179, 65, 0.5); }
.level-vipplus .vip-badge { background: linear-gradient(135deg, #f6d774, #d7a52f); color: #241b05; }
.level-vipplus .stat strong { color: var(--gold); }
.level-vipplus .stat, .level-vipplus .profile-panel { border-color: #5a4a1f; background: linear-gradient(165deg, #211b0c, #141109); }
.level-vipplus .progress-fill { background: linear-gradient(90deg, #d7a52f, #f6d774); }
.level-vipplus .benefit-list li::before { background: var(--gold); }
.level-vipplus .profile-heading span { color: var(--gold); }
.level-vipplus .btn-primary { background: linear-gradient(135deg, #f6d774, #d7a52f); color: #241b05; box-shadow: 0 6px 22px rgba(227, 179, 65, 0.4); }
.profile-card > * { position: relative; z-index: 1; }

.dp-menus { display: flex; gap: 6px; flex: 1; justify-content: center; }
.dp-menus select { background: #1d1d1d; color: var(--text); border: 1px solid #333; border-radius: 6px; padding: 5px 6px; font: inherit; font-size: 13px; text-transform: capitalize; }
.dp-years { grid-template-columns: repeat(4, 1fr); gap: 4px; }
.dp-years button { aspect-ratio: auto; padding: 10px 0; }
.dp-head button:disabled { color: #444; cursor: not-allowed; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 8px; }
.partner-grid .empty-state { grid-column: 1 / -1; }
.partner-card { background: var(--card, #161616); border: 1px solid #262626; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.partner-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(224, 36, 27, 0.2); }
.partner-img { height: 170px; background: #101010; display: flex; align-items: center; justify-content: center; }
.partner-img img { width: 100%; height: 100%; object-fit: cover; }
.partner-img span { font-size: 54px; font-weight: 800; color: var(--red-glow); }
.partner-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.partner-body .car-card-class { align-self: flex-start; }
.partner-body h2 { font-size: 20px; }
.partner-body p { color: var(--text-dim); line-height: 1.6; font-size: 15px; }
.partner-perk { border-left: 3px solid var(--red); padding-left: 10px; }
.partner-perk strong { color: var(--text); }
.partner-link { margin-top: auto; color: var(--red-glow); font-weight: 600; }
.partner-form-wrap { display: flex; justify-content: center; margin-top: 40px; }
.partner-form { max-width: 640px; width: 100%; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dp-pop.dp-birth { width: 310px; }
.dp-birth .dp-head button { padding: 4px 6px; }

/* Motion: staggered ease-in for card groups, tap feedback, photo swipe, car on the light line */
.rise:not(.visible) > * { opacity: 0; }
.rise.visible > * { animation: rise-in 0.5s ease both; animation-delay: var(--d, 0s); }
.rise > :nth-child(2) { --d: 0.07s; }
.rise > :nth-child(3) { --d: 0.14s; }
.rise > :nth-child(4) { --d: 0.21s; }
.rise > :nth-child(5) { --d: 0.28s; }
.rise > :nth-child(n+6) { --d: 0.35s; }
@keyframes rise-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

.step, .spec-item { transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.step:hover { transform: translateY(-3px); border-color: var(--red-dim); box-shadow: 0 10px 32px rgba(224, 36, 27, 0.2); }
:is(.car-card, .feature-card, .step, .service-card, .tier-card, .class-chip, .partner-card, .btn):active { scale: 0.98; }
.car-card-img img { transition: transform 0.5s ease; }
.car-card:hover .car-card-img img { transform: scale(1.05); }

.detail-image.swipe { display: block; }
.swipe-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.swipe-track::-webkit-scrollbar { display: none; }
.swipe-track img { flex: 0 0 100%; width: 100%; scroll-snap-align: center; scroll-snap-stop: always; user-select: none; }
.swipe-arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background 0.2s;
}
.swipe-arrow:hover { background: var(--red); }
.swipe-prev { left: 10px; }
.swipe-next { right: 10px; }
.swipe-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 7px; }
.swipe-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transition: background 0.2s, scale 0.2s; }
.swipe-dots span.on { background: var(--red-glow); scale: 1.3; }
.car-gallery img { opacity: 0.6; border: 2px solid transparent; transition: opacity 0.2s, border-color 0.2s; }
.car-gallery img.on, .car-gallery img:hover { opacity: 1; }
.car-gallery img.on { border-color: var(--red-glow); }
@media (hover: none) { .swipe-arrow { display: none; } }
@media (max-width: 768px) { .detail-image { height: 260px; } .car-gallery { grid-template-columns: repeat(4, 1fr); } .car-gallery img { height: 64px; } }

.z-car { position: absolute; top: 0; left: 0; z-index: 0; width: 30px; height: 15px; pointer-events: none; will-change: transform; filter: drop-shadow(0 0 7px rgba(255, 64, 52, 0.85)); }
.z-car svg { display: block; width: 100%; height: 100%; }
@media (max-width: 768px) { .z-car { width: 20px; height: 10px; } .z-track-glow { stroke-width: 30; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .rise:not(.visible) > * { opacity: 1; transform: none; transition: none; }
  .rise.visible > * { animation: none; }
  .car-card:hover .car-card-img img { transform: none; }
}

/* Cookie consent bar */
.consent-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; max-width: 720px; margin: 0 auto; display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 16px; background: #1b1b1b; border: 1px solid #3a3a3a; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font-size: 14px; }
.consent-bar p { margin: 0; color: #ddd; line-height: 1.45; }
.consent-bar a { color: #e74c3c; }
.consent-bar div { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 600px) { .consent-bar { flex-direction: column; align-items: stretch; } .consent-bar div { justify-content: flex-end; } }
