/* ==========================================
   RR2 MARKET
   Refined to match preview composition
   ========================================== */

:root {
  --bg-dark: #080713;
  --bg-panel: rgba(13, 11, 34, 0.84);
  --bg-card: rgba(15, 13, 41, 0.88);
  --bg-secondary: rgba(255, 255, 255, 0.04);
  --border-soft: rgba(255, 255, 255, 0.12);
  --border-pink: rgba(255, 42, 176, 0.45);
  --border-blue: rgba(46, 190, 255, 0.45);
  --border-gold: rgba(255, 186, 43, 0.45);
  --border-green: rgba(54, 248, 208, 0.45);
  --primary-pink: #ff2db7;
  --primary-purple: #8f4eff;
  --primary-yellow: #ffc62b;
  --accent-blue: #26d5ff;
  --accent-cyan: #26d5ff;
  --accent-green: #50f4d8;
  --text-white: #ffffff;
  --text-soft: #d6d8ef;
  --text-secondary: #d6d8ef;
  --text-muted: #999dbb;
  --gradient-buy: linear-gradient(135deg, #ff2db7 0%, #8f4eff 100%);
  --gradient-sell: linear-gradient(180deg, #fff5bf 0%, #ffd75d 32%, #ffb10b 100%);
  --gradient-hot: linear-gradient(135deg, #ff2db7 0%, #8f4eff 55%, #2ad4ff 100%);
  --gradient-gold: linear-gradient(180deg, #fff5bf 0%, #ffd75d 32%, #ffb10b 100%);
  --gradient-button: linear-gradient(135deg, #ff36c8 0%, #832dff 100%);
  --gradient-signup: linear-gradient(135deg, #ff33cb 0%, #ffc62b 100%);
  --glow-pink: 0 0 28px rgba(255, 45, 183, 0.38);
  --glow-gold: 0 0 30px rgba(255, 198, 43, 0.35);
  --glow-yellow: 0 0 30px rgba(255, 198, 43, 0.35);
  --glow-blue: 0 0 28px rgba(38, 213, 255, 0.28);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container-width: 1800px;
  --transition: 0.28s ease;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background:
    radial-gradient(circle at top center, rgba(144, 47, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #06050f 0%, #080713 42%, #06050d 100%);
  color: var(--text-white);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(8, 7, 19, 0.9);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.header-content {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  margin-left: 30px;
  margin-top: -28px;
  margin-bottom: -28px;
  flex-shrink: 0;
}

.logo-img {
  width: auto;
  height: 132px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-pink) 50%, transparent 100%);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
  box-shadow: var(--glow-pink);
}

.nav-link:hover::after,
.nav-link:first-child::after {
  transform: translateX(-50%) scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-login,
.btn-signup {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.btn-login {
  border: 1px solid rgba(191, 199, 255, 0.32);
  background: rgba(17, 16, 40, 0.72);
  color: var(--text-white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.btn-signup {
  border: 1px solid rgba(255, 233, 176, 0.4);
  background: var(--gradient-signup);
  color: #180b1f;
  box-shadow: 0 16px 30px rgba(255, 167, 42, 0.22);
}

.btn-login:hover,
.btn-signup:hover {
  transform: translateY(-2px);
}

.btn-login:hover {
  border-color: rgba(255, 48, 190, 0.45);
  box-shadow: var(--glow-pink);
}

.btn-signup:hover {
  box-shadow: 0 18px 34px rgba(255, 167, 42, 0.35);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 0;
  flex-direction: column;
  gap: 5px;
  padding: 8px 0;
  cursor: pointer;
  position: relative;
  z-index: 30;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  border-radius: 999px;
  background: white;
}

.hero {
  position: relative;
  padding: 88px 0 22px;
  overflow: hidden;
}

.hero-bg,
.hero-gradient {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: 1;
}

.hero-bg-image,
.hero-speed-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-speed-layer {
  opacity: 0.68;
  object-position: right bottom;
  inset: auto -2px 12% auto;
  width: min(44vw, 620px);
  height: auto;
  z-index: 2;
}

.hero-car-image {
  position: absolute;
  right: 11%;
  bottom: 18%;
  width: min(50vw, 860px);
  z-index: 3;
  filter: drop-shadow(0 24px 60px rgba(10, 6, 22, 0.72));
}

.hero-gradient {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 5, 15, 0.82) 0%, rgba(11, 8, 28, 0.48) 33%, rgba(11, 8, 28, 0.12) 62%, rgba(8, 7, 19, 0.3) 100%),
    linear-gradient(180deg, rgba(8, 7, 19, 0.06) 0%, rgba(8, 7, 19, 0.22) 100%);
}

.hero .container {
  position: relative;
  z-index: 4;
}

.hero-shell {
  position: relative;
  padding: 26px 0 14px;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 280px);
  align-items: start;
  gap: 30px;
  min-height: 450px;
}

.hero-left {
  max-width: 680px;
  position: relative;
  margin-top: -20px;
  margin-left: 40px;
}

.hero-tagline {
  position: relative;
  z-index: 4;
  margin-bottom: 6px;
  color: #dc5bff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-title {
  font-family: 'Teko', sans-serif;
  position: relative;
  z-index: 4;
  font-size: clamp(4.1rem, 6.3vw, 6.6rem);
  line-height: 0.8;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin-bottom: 6px;
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.hero-title-accent {
  display: inline-block;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 191, 39, 0.28));
}

.hero-subtitle {
  position: relative;
  z-index: 4;
  max-width: 460px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.28;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  position: relative;
  z-index: 4;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.trust-badge-item svg {
  color: #d15cff;
  flex-shrink: 0;
}

.trust-badge-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.22);
}

.hero-cta-buttons {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
  z-index: 5;
  margin-top: -6px;
  margin-left: -2px;
}

.cta-btn {
  background: transparent;
  border: 0;
  padding: 0;
  transition: transform var(--transition), filter var(--transition);
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.cta-btn img {
  width: min(100%, 338px);
  transition: transform var(--transition), filter var(--transition);
}

.cta-btn-buy img {
  filter: drop-shadow(0 10px 28px rgba(255, 45, 183, 0.38));
}

.cta-btn-sell img {
  filter: drop-shadow(0 10px 28px rgba(255, 198, 43, 0.35));
}

.cta-btn:hover {
  transform: translateY(-4px);
}

.cta-btn:hover img {
  transform: scale(1.015);
}

.cta-hover-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 24px);
  transform: translate(-50%, -50%) scale(0.9);
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 12, 35, 0.96), rgba(11, 8, 24, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.42);
  text-align: center;
  backdrop-filter: blur(10px);
  z-index: 3;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.cta-hover-price {
  display: block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.cta-hover-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-hover-badge-sell {
  background: linear-gradient(180deg, rgba(40, 27, 8, 0.9), rgba(24, 17, 6, 0.98));
  color: #ffe08e;
  border-color: rgba(255, 198, 43, 0.26);
}

.cta-hover-badge-sell .cta-hover-status {
  background: rgba(255, 198, 43, 0.14);
  border-color: rgba(255, 198, 43, 0.28);
}

.cta-btn:hover .cta-hover-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 18, 0.22) 0%, rgba(8, 6, 18, 0.62) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
  z-index: 2;
}

.cta-btn:hover::after {
  opacity: 1;
}

.hero-right {
  justify-self: end;
  align-self: start;
  padding-top: 8px;
  margin-right: -166px;
  position: relative;
  z-index: 4;
}

.trust-rating-badge {
  position: relative;
  min-width: 240px;
  padding: 54px 28px 28px;
  border-radius: 28px;
  border: 1px solid rgba(203, 124, 255, 0.34);
  background: linear-gradient(180deg, rgba(14, 12, 42, 0.94), rgba(11, 10, 31, 0.88));
  text-align: center;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.trust-shield {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 22px rgba(160, 71, 255, 0.5));
}

.trust-rating-label,
.trust-rating-subtext {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.trust-rating-number {
  margin: 12px 0 8px;
  font-family: 'Teko', sans-serif;
  font-size: 4.4rem;
  line-height: 0.9;
}

.trust-rating-text {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 700;
}

.trust-rating-stars {
  margin-bottom: 12px;
  color: var(--primary-yellow);
  font-size: 26px;
  letter-spacing: 0.12em;
  text-shadow: 0 0 18px rgba(255, 198, 43, 0.35);
}

.trust-rating-score {
  margin-bottom: 8px;
  font-family: 'Teko', sans-serif;
  font-size: 3.1rem;
  line-height: 1;
}

.score-number {
  color: white;
}

.score-divider,
.score-total {
  color: rgba(255, 255, 255, 0.72);
}

.hero-stats-bar {
  margin-top: 2px;
  padding: 20px 24px;
  border-radius: 24px;
  border: 1px solid rgba(58, 233, 255, 0.25);
  background: linear-gradient(90deg, rgba(24, 12, 46, 0.88) 0%, rgba(10, 15, 39, 0.84) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 20px;
  min-width: 0;
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-item svg {
  flex-shrink: 0;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.12));
}

.stat-number {
  font-family: 'Teko', sans-serif;
  font-size: 2.25rem;
  line-height: 0.9;
  letter-spacing: 0.03em;
}

.stat-label {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-soft);
}

.about-section {
  padding: 26px 0 80px;
}

.how-section {
  padding: 0 0 80px;
  scroll-margin-top: 150px;
}

.how-shell {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(71, 214, 255, 0.16);
  background: linear-gradient(180deg, rgba(10, 9, 26, 0.96), rgba(8, 8, 20, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), var(--glow-blue);
}

.how-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}

.how-header {
  max-width: 760px;
}

.how-title {
  margin-bottom: 10px;
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.how-text {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.5;
}

.how-media {
  justify-self: end;
  width: 100%;
  display: block;
}

.how-media-crop {
  width: 100%;
  overflow: hidden;
}

.how-media-crop-bottom {
  min-height: 320px;
  max-height: 360px;
}

.how-media-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center;
}

.how-media-image-bottom {
  min-height: 320px;
  height: 100%;
  object-position: center center;
  transform: translate(-3%, -4%) scale(1.25);
  transform-origin: center center;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.how-step-card {
  padding: 18px 16px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 15, 42, 0.94), rgba(12, 11, 28, 0.9));
  min-height: 100%;
}

.how-step-number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-cyan);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.how-step-title {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
}

.how-step-copy {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.about-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(0, 2fr);
  gap: 22px;
}

.about-right-stack {
  display: grid;
  gap: 18px;
}

.about-intro-card,
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(12, 10, 31, 0.95), rgba(10, 9, 23, 0.92));
  backdrop-filter: blur(16px);
}

.about-intro-card {
  padding: 28px 30px;
  border: 1px solid rgba(255, 45, 183, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), var(--glow-pink);
}

.section-kicker {
  margin-bottom: 12px;
  color: #df58ff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-title {
  margin-bottom: 18px;
  font-family: 'Teko', sans-serif;
  font-size: clamp(3.6rem, 6vw, 5.8rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.about-title span {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75em;
  font-style: italic;
  text-transform: none;
  color: #ff43c9;
  text-shadow: 0 0 18px rgba(255, 67, 201, 0.35);
}

.about-text {
  max-width: 560px;
  margin-bottom: 26px;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-soft);
}

.about-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 62px;
  padding: 0 28px;
  border-radius: 18px;
  border: 1px solid rgba(255, 48, 190, 0.48);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), var(--glow-pink);
  font-size: 20px;
  font-weight: 700;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 100%;
  padding: 14px 14px 12px;
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.feature-card:nth-child(1) {
  border-color: var(--border-pink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), var(--glow-pink);
}

.feature-card:nth-child(2) {
  border-color: var(--border-blue);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), var(--glow-blue);
}

.feature-card:nth-child(3) {
  border-color: var(--border-gold);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), var(--glow-gold);
}

.feature-card:nth-child(4) {
  border-color: var(--border-green);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 0 28px rgba(80, 244, 216, 0.22);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
  border: 1px solid currentColor;
}

.feature-icon-pink {
  color: #ff4fc6;
  background: radial-gradient(circle, rgba(255, 79, 198, 0.18), transparent 70%);
}

.feature-icon-blue {
  color: #47d6ff;
  background: radial-gradient(circle, rgba(71, 214, 255, 0.15), transparent 70%);
}

.feature-icon-gold {
  color: #ffc62b;
  background: radial-gradient(circle, rgba(255, 198, 43, 0.15), transparent 70%);
}

.feature-icon-green {
  color: #57f4d9;
  background: radial-gradient(circle, rgba(87, 244, 217, 0.15), transparent 70%);
}

.feature-title {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
}

.feature-description {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.4;
}

.cars-sale-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 198, 43, 0.24);
  background: linear-gradient(135deg, rgba(13, 11, 36, 0.98), rgba(18, 15, 48, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), var(--glow-gold);
}

.cars-sale-title {
  margin-bottom: 10px;
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cars-sale-text {
  max-width: 540px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.45;
}

.cars-sale-btn {
  margin-top: 16px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 198, 43, 0.45);
  background: var(--gradient-gold);
  color: #140d04;
  font-size: 16px;
  font-weight: 800;
  box-shadow: var(--glow-gold);
}

.cars-sale-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.cars-sale-actions-row .cars-sale-btn {
  margin-top: 0;
}

.cars-sale-btn-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  box-shadow: none;
}

.cars-sale-media {
  justify-self: end;
  width: 100%;
}

.cars-sale-image {
  width: 100%;
  max-width: 360px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-overlay,
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 12, 0.74);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  max-height: min(88vh, 720px);
  overflow-y: auto;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 198, 43, 0.34);
  background: linear-gradient(180deg, rgba(14, 13, 36, 0.98), rgba(10, 10, 27, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), var(--glow-gold);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 198, 43, 0.45) rgba(255, 255, 255, 0.04);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 28px;
}

.modal-header {
  margin-bottom: 14px;
  padding-right: 52px;
}

.modal-title {
  font-family: 'Teko', sans-serif;
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.modal-subtitle,
.form-label {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.form-section + .form-section,
.price-summary {
  margin-top: 12px;
}

.modal-sell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.modal-sell-grid .price-summary,
.modal-sell-grid .modal-sell-payout-group {
  margin-top: 0;
}

.modal-sell-payout-group[hidden] {
  display: none;
}

.modal-sell-payout-group {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 198, 43, 0.18);
  background: rgba(255, 198, 43, 0.05);
}

.modal-select {
  width: 100%;
  min-height: 38px;
  margin-top: 6px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.modal-select:focus {
  outline: none;
  border-color: rgba(255, 198, 43, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 198, 43, 0.12);
}

.modal-helper-text {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.25;
}

.amount-buttons,
.currency-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: nowrap;
}

.section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.slider-amount-display {
  color: var(--primary-yellow);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.amount-slider-wrap {
  margin-top: 10px;
  padding: 12px 14px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.amount-slider {
  width: 100%;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 198, 43, 0.95) 0%, rgba(255, 198, 43, 0.95) var(--slider-progress, 0%), rgba(255, 255, 255, 0.12) var(--slider-progress, 0%), rgba(255, 255, 255, 0.12) 100%);
  outline: none;
}

.amount-slider::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-yellow);
  box-shadow: 0 0 0 4px rgba(255, 198, 43, 0.16), 0 0 22px rgba(255, 198, 43, 0.5);
  border: 0;
}

.amount-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-yellow);
  box-shadow: 0 0 0 4px rgba(255, 198, 43, 0.16), 0 0 22px rgba(255, 198, 43, 0.5);
  border: 0;
}

.amount-slider-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.amount-btn,
.currency-btn,
.btn-primary {
  min-height: 44px;
  border-radius: 14px;
}

.amount-btn,
.currency-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-size: 15px;
  font-weight: 700;
  min-width: 72px;
  padding: 0 12px;
  flex: 1 0 auto;
}

.amount-btn.active,
.currency-btn.active {
  border-color: rgba(255, 198, 43, 0.55);
  background: rgba(255, 198, 43, 0.12);
  box-shadow: var(--glow-gold);
}

.price-summary {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.price-row + .price-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.price-total .price-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-yellow);
}

.modal-info-card {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(38, 213, 255, 0.18);
  background: rgba(38, 213, 255, 0.08);
}

.modal-info-card h3 {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.modal-info-card p {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.btn-primary {
  margin-top: 12px;
  border: 0;
  background: var(--gradient-signup);
  color: #180b1f;
  font-size: 17px;
  font-weight: 800;
}

.btn-full {
  width: 100%;
}

.modal-action-bar {
  position: sticky;
  bottom: -20px;
  margin-top: 10px;
  padding-top: 10px;
  padding-bottom: 2px;
  background: linear-gradient(180deg, rgba(10, 10, 27, 0) 0%, rgba(10, 10, 27, 0.9) 28%, rgba(10, 10, 27, 0.98) 100%);
}

.cars-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cars-modal.active {
  display: flex;
}

.faq-modal {
  position: fixed;
  inset: 0;
  z-index: 1275;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.faq-modal.active {
  display: flex;
}

.faq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 12, 0.78);
  backdrop-filter: blur(10px);
}

.faq-modal-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: min(88vh, 880px);
  overflow-y: auto;
  padding: 26px 24px 22px;
  border-radius: 28px;
  border: 1px solid rgba(38, 213, 255, 0.18);
  background: linear-gradient(180deg, rgba(12, 10, 31, 0.98), rgba(9, 8, 24, 0.96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

.faq-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 28px;
}

.faq-modal-header {
  margin-bottom: 18px;
  padding-right: 52px;
}

.faq-modal-title {
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faq-modal-subtitle {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.faq-question {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
}

.faq-answer {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.auth-modal,
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal.is-hidden,
.account-modal.is-hidden {
  display: none;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 12, 0.78);
  backdrop-filter: blur(10px);
}

.auth-modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 28px 24px 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(14, 13, 36, 0.98), rgba(10, 10, 27, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.account-modal-card {
  width: min(720px, 100%);
  max-height: min(86vh, 900px);
  overflow-y: auto;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 28px;
}

.auth-title {
  font-family: 'Teko', sans-serif;
  font-size: 2.5rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-subtitle {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.5;
}

.auth-panel.is-hidden {
  display: none;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-size: 15px;
}

.auth-field input:focus {
  outline: none;
  border-color: rgba(255, 198, 43, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 198, 43, 0.12);
}

.auth-message {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 91, 91, 0.12);
  border: 1px solid rgba(255, 91, 91, 0.2);
  color: #ffb0b0;
  font-size: 14px;
}

.auth-message.is-hidden {
  display: none;
}

.auth-message.is-success {
  background: rgba(80, 244, 216, 0.12);
  border-color: rgba(80, 244, 216, 0.22);
  color: #9ef8e8;
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.auth-submit-btn,
.auth-switch-btn {
  min-height: 50px;
}

.auth-busy {
  opacity: 0.7;
  pointer-events: none;
}

.account-summary {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.account-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.account-label {
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-value {
  font-size: 15px;
  font-weight: 700;
  color: white;
  text-align: right;
}

.account-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(38, 213, 255, 0.08);
  border: 1px solid rgba(38, 213, 255, 0.15);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.account-p2p-section {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.account-orders-section {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.account-p2p-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.account-p2p-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.account-p2p-copy {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.account-p2p-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.account-orders-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.account-order-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.account-order-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.account-order-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.account-order-meta {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.account-order-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-order-status.is-pending {
  background: rgba(255, 198, 43, 0.14);
  color: #ffd978;
}

.account-order-status.is-contacted {
  background: rgba(0, 229, 255, 0.14);
  color: #87f4ff;
}

.account-order-status.is-progress {
  background: rgba(178, 75, 243, 0.16);
  color: #dfb5ff;
}

.account-order-status.is-completed {
  background: rgba(80, 244, 216, 0.14);
  color: #9ef8e8;
}

.account-order-status.is-cancelled {
  background: rgba(255, 91, 91, 0.14);
  color: #ffb0b0;
}

.account-order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.account-order-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-order-grid strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.account-order-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.account-order-view-btn {
  min-height: 42px;
  padding-inline: 16px;
}

.account-p2p-empty {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 14px;
}

.site-footer {
  padding: 34px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(8, 7, 19, 0.92), rgba(6, 6, 15, 0.98));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.7fr));
  gap: 22px;
  align-items: start;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  width: auto;
  height: 76px;
  margin-bottom: 10px;
}

.footer-copy {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.footer-links-group {
  display: grid;
  gap: 8px;
}

.footer-heading {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-yellow);
}

.footer-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-powered,
.footer-meta {
  color: var(--text-muted);
  font-size: 13px;
}

.seo-trust-section {
  padding: 0 0 48px;
}

.seo-trust-card {
  display: grid;
  gap: 18px;
  padding: 28px 24px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(12,10,31,.96), rgba(8,8,20,.92));
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}

.seo-trust-title {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.seo-trust-copy {
  margin: 0;
  max-width: 72ch;
  color: var(--text-soft);
  line-height: 1.7;
}

.seo-trust-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seo-trust-link {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.seo-trust-link:hover,
.seo-trust-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 198, 43, 0.28);
  background: rgba(255,255,255,.06);
}

.seo-trust-link strong {
  color: var(--text-white);
  font-size: 1rem;
}

.seo-trust-link span {
  color: var(--text-soft);
  line-height: 1.55;
}

.cars-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 12, 0.78);
  backdrop-filter: blur(10px);
}

.cars-modal-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: min(88vh, 920px);
  overflow-y: auto;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 198, 43, 0.24);
  background: linear-gradient(180deg, rgba(12, 10, 31, 0.98), rgba(9, 8, 24, 0.96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

.cars-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 28px;
}

.cars-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 18px;
  padding-right: 52px;
}

.cars-modal-title {
  font-family: 'Teko', sans-serif;
  font-size: 3.1rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cars-modal-subtitle {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 15px;
}

.cars-modal-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.cars-modal-tab {
  min-width: 120px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cars-modal-tab.is-active {
  background: linear-gradient(135deg, rgba(255, 198, 43, 0.18), rgba(255, 45, 149, 0.18));
  border-color: rgba(255, 198, 43, 0.3);
}

.cars-modal-tab.is-disabled,
.cars-modal-tab:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.78);
}

.cars-modal-tab span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.6);
}

.cars-modal-panel.is-hidden {
  display: none;
}

.cars-modal-panel {
  display: block;
  width: 100%;
}

.p2p-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.p2p-banner-title {
  margin: 4px 0 6px;
  font-family: 'Teko', sans-serif;
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.p2p-banner-copy {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.p2p-banner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.p2p-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.p2p-flow-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.p2p-flow-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.p2p-flow-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.p2p-flow-list li + li {
  margin-top: 6px;
}

.p2p-listing-form {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.p2p-listing-form.is-hidden {
  display: none;
}

.p2p-listing-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.p2p-listing-summary {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 198, 43, 0.08);
  border: 1px solid rgba(255, 198, 43, 0.18);
  color: #ffe694;
  font-size: 14px;
  font-weight: 700;
}

.p2p-listing-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.p2p-my-listings {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.p2p-my-listings.is-hidden {
  display: none;
}

.p2p-my-listings-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.p2p-my-listings-grid {
  display: grid;
  gap: 14px;
}

.p2p-manage-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.p2p-manage-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.p2p-manage-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.p2p-manage-meta {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.p2p-status-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 198, 43, 0.12);
  border: 1px solid rgba(255, 198, 43, 0.2);
  color: #ffe694;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.p2p-manage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.p2p-manage-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.p2p-manage-note {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.cars-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.cars-modal-grid.is-sections-layout {
  display: block;
  width: 100%;
}

.cars-modal-grid-secondary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
  width: 100%;
}

.garage-section-block {
  display: block;
  width: 100%;
}

.garage-section-block + .garage-section-block {
  margin-top: 24px;
}

.garage-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.garage-section-title {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 1;
}

.garage-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
  align-items: stretch;
  width: 100%;
}

.garage-feature-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(19, 16, 44, 0.95), rgba(12, 11, 29, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.garage-feature-card.category-normal {
  box-shadow: 0 24px 50px rgba(59, 130, 246, 0.14), inset 0 0 0 1px rgba(96, 165, 250, 0.12);
}

.garage-feature-card.category-rare {
  box-shadow: 0 24px 50px rgba(168, 85, 247, 0.16), inset 0 0 0 1px rgba(216, 180, 254, 0.12);
}

.garage-feature-card.category-trophy {
  box-shadow: 0 24px 50px rgba(245, 158, 11, 0.18), inset 0 0 0 1px rgba(253, 224, 71, 0.14);
}

.garage-feature-card.is-empty {
  min-height: 240px;
}

.garage-feature-image-wrap {
  aspect-ratio: 1600 / 684;
  background: rgba(255, 255, 255, 0.04);
}

.garage-feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.garage-feature-copy {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 10px;
  padding: 16px;
}

.garage-feature-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.garage-feature-title {
  margin: 0;
  font-size: 24px;
  line-height: 1;
}

.garage-feature-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.garage-feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
}

.garage-feature-count {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.garage-feature-meta .car-sale-price-stack,
.garage-feature-meta .car-sale-price {
  flex-shrink: 0;
}

.car-sale-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(19, 16, 44, 0.95), rgba(12, 11, 29, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.car-sale-image-wrap {
  position: relative;
  aspect-ratio: 1600 / 684;
  background: rgba(255, 255, 255, 0.04);
}

.car-sale-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-sale-stamp {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d4d, #ff9f1a);
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(255, 89, 89, 0.28);
}

.car-sale-body {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 10px;
  padding: 14px;
}

.car-sale-topline {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.car-sale-pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.car-sale-category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 198, 43, 0.12);
  color: var(--primary-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.garage-feature-card.category-normal .car-sale-category {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.12));
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.24);
}

.garage-feature-card.category-rare .car-sale-category {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(217, 70, 239, 0.12));
  color: #e9d5ff;
  border: 1px solid rgba(216, 180, 254, 0.24);
}

.garage-feature-card.category-trophy .car-sale-category {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(250, 204, 21, 0.18));
  color: #fff4b5;
  border: 1px solid rgba(253, 224, 71, 0.32);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.22);
}

.car-sale-price {
  color: var(--primary-yellow);
  font-size: 22px;
  font-weight: 800;
}

.car-sale-price-stack {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.car-sale-compare-price {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: line-through;
}

.car-sale-stockline {
  margin-top: -2px;
}

.car-sale-stockline.is-hidden {
  display: none;
}

.car-sale-stock {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.car-sale-stock.is-soldout {
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}

.car-sale-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.car-sale-titlebar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.car-sale-heading {
  display: grid;
  gap: 4px;
  flex: 1;
}

.car-sale-titlebar .car-sale-title {
  flex: 1;
  margin: 0;
}

.car-sale-subtitle {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.car-sale-description {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.car-sale-description.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.car-sale-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.car-sale-actions-single {
  grid-template-columns: 1fr;
  margin-top: auto;
  justify-items: start;
}

.car-sale-seller {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.car-sale-view-btn,
.car-sale-buy-btn {
  min-height: 44px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
}

.car-sale-view-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.car-sale-buy-btn {
  border: 0;
  background: var(--gradient-gold);
  color: #140d04;
}

.car-sale-card.is-compact .car-sale-actions-single .car-sale-buy-btn {
  width: auto;
  min-width: 124px;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 13px;
  justify-self: start;
}

.car-sale-buy-btn-compact {
  flex-shrink: 0;
  width: auto;
  min-width: 112px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 13px;
}

.car-sale-card.is-compact .car-sale-body {
  grid-template-rows: auto auto auto;
  gap: 8px;
  padding: 14px 14px 10px;
}

.car-sale-card.is-compact .car-sale-title {
  font-size: 17px;
  line-height: 1.05;
}

.car-sale-card.is-compact .car-sale-subtitle {
  font-size: 13px;
  line-height: 1.35;
  margin-top: 0;
  margin-bottom: 0;
}

.car-sale-card.is-compact .car-sale-description {
  font-size: 12px;
  line-height: 1.4;
}

.car-sale-card.is-compact .car-sale-price {
  font-size: 18px;
}

.car-sale-card.is-compact .car-sale-category,
.car-sale-card.is-compact .car-sale-stock {
  min-height: 24px;
  padding: 0 9px;
  font-size: 10px;
}

.car-sale-buy-btn.is-disabled,
.car-sale-buy-btn:disabled {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  cursor: not-allowed;
}

.car-sale-card.is-compact .car-sale-image-wrap {
  aspect-ratio: 1600 / 684;
}

@media (max-width: 1400px) {
  .hero-wrapper {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 0;
  }

  .stat-item:nth-child(3) {
    border-right: 0;
  }

  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cars-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .garage-feature-grid {
    grid-template-columns: 1fr;
  }

  .p2p-banner,
  .p2p-listing-actions,
  .p2p-banner-actions,
  .p2p-my-listings-head,
  .account-p2p-head,
  .account-order-head,
  .p2p-manage-head,
  .cars-modal-header {
    flex-direction: column;
    align-items: stretch;
  }

  .p2p-flow-grid,
  .p2p-listing-form-grid {
    grid-template-columns: 1fr;
  }

  .p2p-manage-grid {
    grid-template-columns: 1fr;
  }

  .account-order-grid {
    grid-template-columns: 1fr;
  }

  .account-order-actions {
    justify-content: stretch;
  }

  .account-order-view-btn {
    width: 100%;
  }

  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .seo-trust-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header.mobile-menu-open .header-content {
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 14px;
  }

  .header.mobile-menu-open .main-nav,
  .header.mobile-menu-open .header-actions {
    display: flex;
  }

  .header.mobile-menu-open .header-content {
    flex-wrap: wrap;
  }

  .header.mobile-menu-open .main-nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(17, 16, 40, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header.mobile-menu-open .nav-link {
    width: 100%;
    padding: 8px 0;
  }

  .header.mobile-menu-open .nav-link::after,
  .header.mobile-menu-open .nav-link:first-child::after {
    display: none;
  }

  .header.mobile-menu-open .header-actions {
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
  }

  .header.mobile-menu-open .btn-login,
  .header.mobile-menu-open .btn-signup {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-shell {
    padding: 22px 0 14px;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-right {
    justify-self: start;
  }

  .hero-car-image {
    right: -6%;
    width: min(72vw, 640px);
    opacity: 0.58;
    bottom: 16%;
  }

  .hero-speed-layer {
    inset: auto -2px 12% auto;
    width: min(50vw, 380px);
  }

  .about-showcase {
    grid-template-columns: 1fr;
  }

  .how-top {
    grid-template-columns: 1fr;
  }

  .cars-sale-banner {
    grid-template-columns: 1fr;
  }

  .cars-sale-media {
    justify-self: start;
  }

  .cars-sale-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .how-shell {
    padding: 22px;
  }

  .how-media {
    justify-self: start;
  }

  .how-media-crop-bottom {
    min-height: 280px;
    max-height: 320px;
  }

  .how-media-image-bottom {
    min-height: 280px;
    height: 100%;
    transform: translate(-2.5%, -3.5%) scale(1.2);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 70px 0 12px;
  }

  .hero-shell {
    padding: 14px 0 8px;
  }

  .hero-wrapper {
    gap: 10px;
  }

  .logo-img {
    height: 96px;
  }

  .logo {
    margin-left: 12px;
    margin-top: -18px;
    margin-bottom: -18px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .hero-left {
    margin-left: 18px;
    margin-top: -4px;
  }

  .hero-subtitle,
  .about-text {
    font-size: 18px;
  }

  .feature-description {
    font-size: 13px;
  }

  .cars-sale-text {
    font-size: 14px;
  }

  .hero-trust-badges {
    gap: 10px;
  }

  .trust-badge-divider {
    display: none;
  }

  .hero-cta-buttons {
    justify-content: space-between;
    gap: 4px;
    margin-left: -10px;
  }

  .cta-btn img {
    width: 100%;
  }

  .cta-btn {
    flex: 1 1 0;
  }

  .cta-hover-badge {
    display: none;
  }

  .stats-grid,
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .cars-modal-grid {
    grid-template-columns: 1fr;
  }

  .cars-modal-grid-secondary {
    grid-template-columns: 1fr;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .cars-modal {
    padding: 12px;
  }

  .faq-modal {
    padding: 12px;
  }

  .cars-modal-content {
    padding: 20px 14px 16px;
  }

  .car-sale-card.is-compact .car-sale-image {
    object-fit: cover;
    object-position: center;
  }

  .car-sale-buy-btn-compact {
    min-width: 126px;
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
    border-radius: 13px;
  }

  .faq-modal-content {
    padding: 20px 14px 16px;
  }

  .cars-modal-title {
    font-size: 2.4rem;
  }

  .faq-modal-title {
    font-size: 2.4rem;
  }

  .how-title {
    font-size: 2.35rem;
  }

  .how-text,
  .how-step-copy {
    font-size: 14px;
  }

  .site-footer {
    padding: 24px 0 20px;
  }

  .footer-logo {
    height: 56px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal {
    padding: 12px;
    align-items: flex-start;
  }

  .modal-content {
    margin-top: 74px;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    padding: 18px 14px 16px;
  }

  .modal-sell-grid {
    grid-template-columns: 1fr;
  }

  .modal-action-bar {
    bottom: -16px;
  }

  .modal-title {
    font-size: 2.2rem;
  }

  .amount-buttons,
  .currency-buttons {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .stat-item {
    border-right: 0 !important;
    padding: 8px 10px;
  }

  .hero-right {
    display: none;
  }

  .hero-stats-bar {
    margin-top: 6px;
    padding: 12px 12px;
    border-radius: 18px;
  }

  .about-section {
    padding: 14px 0 42px;
  }

  .how-section {
    padding: 0 0 42px;
  }

  .how-media-crop-bottom {
    min-height: 220px;
    max-height: 250px;
  }

  .how-media-image-bottom {
    min-height: 220px;
    height: 100%;
    transform: translate(-2%, -3%) scale(1.14);
  }

  .hero-speed-layer {
    width: min(60vw, 280px);
    inset: auto -2px 11% auto;
    opacity: 0.62;
  }
}

@media (max-width: 520px) {
  .hero-cta-buttons {
    flex-wrap: wrap;
  }

  .cta-btn {
    width: 100%;
  }

  .car-sale-titlebar {
    gap: 10px;
  }

  .car-sale-buy-btn-compact {
    min-width: 120px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }
}
