@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --black:      #080808;
  --dark:       #0f0f0f;
  --dark-2:     #161616;
  --dark-3:     #1e1e1e;
  --dark-4:     #262626;
  --dark-5:     #323232;
  --gray:       #888;
  --gray-light: #b0b0b0;
  --white:      #f5f0e8;
  --cream:      #ede8dc;

  /* SPIRIT Magazin Orange */
  --gold:       #E8570A;
  --gold-light: #F07030;
  --gold-dark:  #B33D00;
  --spirit:     #E8570A;
  --spirit-light: #F07030;
  --spirit-dark:  #B33D00;

  --red:        #c0392b;
  --red-light:  #e74c3c;

  --border:     rgba(232,87,10,0.2);
  --border-2:   rgba(255,255,255,0.06);
  --border-3:   rgba(232,87,10,0.1);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  --radius:    6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,0.6);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.75);
  --shadow-orange: 0 8px 32px rgba(232,87,10,0.25);
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  --glow: 0 0 40px rgba(232,87,10,0.15);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle orange grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─────────────────────────────── */
.display { font-family: var(--font-display); }
.heading  { font-family: var(--font-heading); }

h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }

.gold   { color: var(--gold); }
.spirit { color: var(--spirit); }
.red    { color: var(--red-light); }
.muted  { color: var(--gray); }

/* ─── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(232,87,10,0.15);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8,8,8,0.98);
  border-bottom-color: rgba(232,87,10,0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--spirit) 0%, var(--spirit-dark) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 13px;
  color: #fff;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(232,87,10,0.3);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: var(--white);
}

.nav-logo-claim {
  font-size: 9px;
  color: var(--spirit);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 6px 12px;
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gray);
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--spirit);
  border-radius: 2px;
}

.nav-links a.nav-gold {
  color: var(--spirit);
}

.nav-links a.nav-gold:hover {
  color: var(--spirit-light);
  background: rgba(232,87,10,0.08);
}

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

.nav-spirit {
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-spirit span {
  color: var(--spirit);
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: linear-gradient(135deg, var(--spirit) 0%, var(--spirit-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,87,10,0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--spirit-light) 0%, var(--spirit) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,87,10,0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(232,87,10,0.3);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--spirit);
  color: var(--spirit);
  background: rgba(232,87,10,0.06);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid var(--border-2);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.12);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-light);
}

.btn-sm { padding: 7px 16px; font-size: 11px; }
.btn-lg { padding: 14px 32px; font-size: 13px; }

/* ─── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.3);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,8,8,0.92) 0%,
    rgba(8,8,8,0.45) 50%,
    rgba(232,87,10,0.08) 100%
  );
}

.hero-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 300px;
  background: linear-gradient(0deg, var(--black) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
  margin-left: 8%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--spirit);
  margin-bottom: 1.5rem;
  padding: 8px 18px;
  background: rgba(232,87,10,0.12);
  border: 1px solid rgba(232,87,10,0.35);
  border-radius: 100px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title em {
  font-style: italic;
  color: var(--spirit);
}

.hero-claim {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(245,240,232,0.65);
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 6rem;
  right: 8%;
  display: flex;
  gap: 3rem;
  z-index: 2;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--spirit);
  line-height: 1;
  text-shadow: 0 0 30px rgba(232,87,10,0.4);
}

.hero-stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
  color: var(--gray);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--spirit) 0%, transparent 100%);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── SECTIONS ───────────────────────────────── */
.section {
  padding: 5rem 2rem;
}

.section-sm { padding: 3rem 2rem; }
.section-lg { padding: 8rem 2rem; }

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--spirit);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--spirit);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  color: var(--white);
}

.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--spirit) 0%, transparent 100%);
  margin: 0.75rem 0 0;
  width: 50px;
}

/* ─── CARDS ──────────────────────────────────── */
.card {
  background: var(--dark-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,87,10,0.25);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(232,87,10,0.06);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--dark-3);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-4) 100%);
  color: var(--dark-5);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-gold    { background: var(--spirit); color: #fff; }
.badge-dark    { background: rgba(8,8,8,0.85); color: var(--spirit); border: 1px solid rgba(232,87,10,0.3); }
.badge-red     { background: rgba(192,57,43,0.9); color: var(--white); }
.badge-green   { background: rgba(39,174,96,0.9); color: var(--white); }
.badge-blue    { background: rgba(52,152,219,0.9); color: var(--white); }
.badge-purple  { background: rgba(155,89,182,0.9); color: var(--white); }

.card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 9px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-not-for-sale     { background: rgba(100,100,100,0.7); color: #ccc; }
.status-maybe            { background: rgba(232,87,10,0.2); color: var(--spirit-light); border: 1px solid rgba(232,87,10,0.4); }
.status-open-for-offers  { background: rgba(52,152,219,0.2); color: #5dade2; border: 1px solid rgba(52,152,219,0.4); }
.status-for-sale         { background: rgba(39,174,96,0.2); color: #58d68d; border: 1px solid rgba(39,174,96,0.4); }
.status-parts            { background: rgba(192,57,43,0.2); color: #e87464; border: 1px solid rgba(192,57,43,0.4); }

.card-body {
  padding: 1.25rem;
}

.card-tag {
  font-size: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--spirit);
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-text {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray);
}

/* ─── GRID LAYOUTS ───────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-masonry {
  columns: 3;
  gap: 1.5rem;
}

.grid-masonry > * {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

/* ─── FEED ───────────────────────────────────── */
.feed {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feed-post {
  background: var(--dark-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.feed-post:hover {
  border-color: rgba(232,87,10,0.15);
}

.feed-post-header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--dark-4);
  flex-shrink: 0;
  border: 2px solid rgba(232,87,10,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--spirit);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-sm { width: 32px; height: 32px; font-size: 11px; }
.avatar-lg { width: 64px; height: 64px; font-size: 20px; }
.avatar-xl { width: 100px; height: 100px; font-size: 32px; border-width: 3px; }

.feed-post-author strong {
  font-weight: 600;
  font-size: 14px;
}

.feed-post-time {
  font-size: 12px;
  color: var(--gray);
}

.feed-post-content {
  padding: 0 1.25rem 1rem;
  font-size: 14px;
  color: var(--white);
  line-height: 1.7;
}

.feed-post-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.feed-post-actions {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-2);
  display: flex;
  gap: 1.5rem;
}

.feed-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
}

.feed-action:hover { color: var(--spirit); background: rgba(232,87,10,0.08); }
.feed-action.liked  { color: var(--red-light); }

/* ─── MAGAZINE STORY ─────────────────────────── */
.story-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.story-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.3) 60%, transparent 100%);
}

.story-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.story-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.story-card:hover { transform: translateY(-4px); }

.story-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.story-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-card:hover .story-card-image img {
  transform: scale(1.05);
}

.story-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.story-card-tag {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--spirit);
  margin-bottom: 0.5rem;
}

.story-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.story-card-meta {
  font-size: 11px;
  color: var(--gray-light);
  margin-top: 0.5rem;
}

/* ─── PROFILE ────────────────────────────────── */
.profile-cover {
  height: 300px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
}

.profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-header {
  padding: 0 2rem;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.profile-avatar-wrap {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-info {
  padding-bottom: 0.5rem;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.profile-location {
  color: var(--gray);
  font-size: 14px;
  margin-top: 4px;
}

.profile-stats {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
}

.profile-stat {
  text-align: center;
}

.profile-stat-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--spirit);
}

.profile-stat-label {
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-2);
  margin-bottom: 2rem;
}

.profile-tab {
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
}

.profile-tab:hover, .profile-tab.active {
  color: var(--spirit);
  border-bottom-color: var(--spirit);
}

/* ─── VEHICLE STATUS BADGE ───────────────────── */
.vehicle-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.vehicle-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* ─── PARTNER CARD ───────────────────────────── */
.partner-card {
  background: var(--dark-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--spirit), transparent);
  opacity: 0;
  transition: var(--transition);
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,87,10,0.2);
  box-shadow: var(--shadow);
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 1rem;
  filter: brightness(0.9);
  transition: var(--transition);
}

.partner-card:hover .partner-logo {
  filter: brightness(1);
}

/* ─── EVENT CARD ─────────────────────────────── */
.event-card {
  display: flex;
  gap: 1.5rem;
  background: var(--dark-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  align-items: flex-start;
}

.event-card:hover {
  border-color: rgba(232,87,10,0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 24px rgba(232,87,10,0.06);
}

.event-date-box {
  min-width: 70px;
  text-align: center;
  background: linear-gradient(135deg, var(--spirit) 0%, var(--spirit-dark) 100%);
  border-radius: var(--radius);
  padding: 10px 8px;
  flex-shrink: 0;
}

.event-date-day {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.event-date-month {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.event-info-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.event-info-meta {
  font-size: 12px;
  color: var(--gray);
  display: flex;
  gap: 1rem;
}

/* ─── SPIRIT BADGE ───────────────────────────── */
.spirit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(232,87,10,0.1);
  border: 1px solid rgba(232,87,10,0.25);
  border-radius: 100px;
  font-size: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--spirit);
}

.spirit-badge-icon {
  width: 18px;
  height: 18px;
  background: var(--spirit);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #fff;
  font-weight: 900;
}

/* ─── FORMS ──────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: rgba(232,87,10,0.5);
  background: var(--dark-4);
  box-shadow: 0 0 0 3px rgba(232,87,10,0.1);
}

.form-control::placeholder { color: var(--dark-5); }

textarea.form-control { resize: vertical; min-height: 100px; }

.form-hint { font-size: 12px; color: var(--gray); margin-top: 4px; }

.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 1rem;
}

.alert-error   { background: rgba(192,57,43,0.12); border: 1px solid rgba(192,57,43,0.3); color: #e87464; }
.alert-success { background: rgba(39,174,96,0.12); border: 1px solid rgba(39,174,96,0.3); color: #58d68d; }
.alert-info    { background: rgba(232,87,10,0.1); border: 1px solid rgba(232,87,10,0.25); color: var(--spirit-light); }

/* ─── SEARCH BAR ─────────────────────────────── */
.search-bar {
  display: flex;
  gap: 0;
  background: var(--dark-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.search-bar:focus-within {
  border-color: rgba(232,87,10,0.4);
  box-shadow: 0 0 0 3px rgba(232,87,10,0.08);
}

.search-bar input {
  flex: 1;
  padding: 14px 20px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
}

.search-bar input:focus { outline: none; }
.search-bar input::placeholder { color: var(--gray); }

.search-bar button {
  padding: 14px 20px;
  background: var(--spirit);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.search-bar button:hover { background: var(--spirit-light); }

/* ─── FILTER PILLS ───────────────────────────── */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--gray);
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: rgba(232,87,10,0.1);
  border-color: rgba(232,87,10,0.35);
  color: var(--spirit);
}

/* ─── GARAGE GRID ─────────────────────────────── */
.garage-vehicle {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: var(--dark-2);
}

.garage-vehicle:hover { transform: scale(1.02); box-shadow: var(--shadow-lg), 0 0 30px rgba(232,87,10,0.1); }

.garage-vehicle-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.garage-vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.garage-vehicle:hover .garage-vehicle-image img {
  transform: scale(1.05);
}

.garage-vehicle-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,8,8,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.garage-vehicle-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.garage-vehicle-year {
  font-size: 12px;
  color: var(--spirit);
}

/* ─── PAGE HEADER ─────────────────────────────── */
.page-header {
  padding: 8rem 2rem 3rem;
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--black) 100%);
  border-bottom: 1px solid var(--border-2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--spirit), transparent);
}

.page-header-mini {
  padding: 5rem 2rem 2rem;
  border-bottom: 1px solid var(--border-2);
}

/* ─── SIDEBAR ─────────────────────────────────── */
.sidebar-widget {
  background: var(--dark-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--spirit);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-2);
}

/* ─── FOOTER ──────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(232,87,10,0.1);
  padding: 5rem 2rem 2rem;
  margin-top: 6rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--spirit), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1240px;
  margin: 0 auto 3rem;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand-claim {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-spirit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--gray);
}

.footer-spirit a {
  color: var(--spirit);
  font-weight: 600;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--gray);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--spirit); }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--gray);
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero-content { margin-left: 0; }
  .section { padding: 3rem 1.25rem; }
  .section-lg { padding: 5rem 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .profile-stats { gap: 1rem; }
  .event-card { flex-direction: column; }
}

/* ─── MOBILE MENU ─────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(232,87,10,0.15);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

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

.mobile-menu a {
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--spirit); background: rgba(232,87,10,0.06); }

/* ─── ADMIN ───────────────────────────────────── */
.admin-sidebar {
  width: 240px;
  background: var(--dark-2);
  border-right: 1px solid var(--border-2);
  min-height: 100vh;
  padding: 1.5rem 0;
  position: fixed;
  top: 68px;
}

.admin-content {
  margin-left: 240px;
  padding: 2rem;
  min-height: 100vh;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 1.5rem;
  font-size: 13px;
  color: var(--gray);
  transition: var(--transition);
}

.admin-nav a:hover, .admin-nav a.active {
  color: var(--spirit);
  background: rgba(232,87,10,0.06);
  border-left: 2px solid var(--spirit);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--dark-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--spirit), transparent);
}

.stat-card:hover {
  border-color: rgba(232,87,10,0.2);
}

.stat-card-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--spirit);
  line-height: 1;
}

.stat-card-label {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── AUTH PAGES ──────────────────────────────── */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 1.5rem 3rem;
  background: radial-gradient(ellipse at 60% 20%, rgba(232,87,10,0.07) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(232,87,10,0.04) 0%, transparent 50%),
              var(--black);
}

.auth-box {
  width: 100%;
  max-width: 480px;
}

.auth-logo-mark {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--spirit) 0%, var(--spirit-dark) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 32px rgba(232,87,10,0.3);
}

.auth-form-wrap {
  background: var(--dark-2);
  border: 1px solid rgba(232,87,10,0.12);
  border-top: 2px solid var(--spirit);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.auth-spirit {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(232,87,10,0.05);
  border: 1px solid rgba(232,87,10,0.12);
  border-radius: var(--radius);
  text-align: center;
}

/* ─── UTILS ───────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.hidden { display: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 600;
  background: rgba(232,87,10,0.08);
  border: 1px solid rgba(232,87,10,0.15);
  color: var(--spirit-light);
}

.divider {
  border: none;
  height: 1px;
  background: var(--border-2);
  margin: 2rem 0;
}

.scroll-hint {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--dark-5) transparent;
}

.scroll-hint > * { flex-shrink: 0; }

/* ─── ORANGE ACCENT ELEMENTS ──────────────────── */
.orange-line {
  width: 40px;
  height: 3px;
  background: var(--spirit);
  border-radius: 2px;
  margin: 0.75rem 0;
}

.spirit-stripe {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--spirit);
}

.spirit-stripe::before,
.spirit-stripe::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}

/* ─── IMAGE UPLOAD WIDGET ─────────────────────── */
.img-upload-wrap { width: 100%; }

.img-upload-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-3);
}

.img-upload-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.img-upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(8,8,8,0.8);
  border: 1px solid var(--border-2);
  color: var(--white);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.img-upload-remove:hover { background: rgba(192,57,43,0.8); border-color: #c0392b; }

.img-upload-dropzone {
  border: 2px dashed var(--border-2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}
.img-upload-dropzone.drag-over {
  border-color: var(--spirit);
  background: rgba(232,87,10,0.05);
}

.img-upload-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(232,87,10,0.1);
  border: 1px solid rgba(232,87,10,0.2);
  color: var(--spirit);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.img-upload-label { font-size: 13px; font-weight: 600; color: var(--white); }
.img-upload-hint  { font-size: 12px; color: var(--gray); }

.img-upload-url-row { display: flex; align-items: center; }

.img-upload-progress { text-align: center; padding: 1.5rem; }
.img-upload-bar {
  height: 3px;
  background: var(--border-2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.img-upload-fill {
  height: 100%;
  background: var(--spirit);
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0%;
}
.img-upload-status { font-size: 12px; color: var(--gray); }

/* ─── ADMIN DASHBOARD IMPROVEMENTS ───────────────── */
.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.dash-kpi {
  background: var(--dark-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.dash-kpi:hover { border-color: var(--spirit); }
.dash-kpi::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--spirit);
  opacity: 0.4;
}
.dash-kpi-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.dash-kpi-num  { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); color: var(--white); line-height: 1; }
.dash-kpi-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray); margin-top: 0.25rem; font-family: var(--font-heading); }

.activity-feed { display: flex; flex-direction: column; gap: 0; }
.activity-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-2);
  align-items: flex-start;
  font-size: 13px;
  transition: background 0.15s;
}
.activity-item:hover { background: rgba(255,255,255,0.02); }
.activity-item:last-child { border-bottom: none; }
.activity-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.activity-text { flex: 1; line-height: 1.4; color: var(--gray-light); }
.activity-text strong { color: var(--white); }
.activity-time { font-size: 11px; color: var(--gray); white-space: nowrap; }

.superadmin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(232,87,10,0.1));
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  font-family: var(--font-heading);
}
