/* Home Page Specific Styles */

body {
  background-image:
    radial-gradient(circle at 16% 12%, rgba(24, 225, 255, 0.08), transparent 26%),
    radial-gradient(circle at 86% 8%, rgba(255, 106, 32, 0.07), transparent 22%),
    radial-gradient(circle at 50% 0%, #1a2025 0%, #0b0f12 60%);
  background-attachment: fixed;
}

.hero-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 0;
  min-height: clamp(280px, 52vw, 460px);
  background: linear-gradient(145deg, rgba(14, 19, 25, 0.92), rgba(9, 13, 18, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  isolation: isolate;
}

.hero-marquee::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(24, 225, 255, 0.12), transparent 32%),
              radial-gradient(circle at 82% 18%, rgba(255, 106, 32, 0.12), transparent 30%);
  z-index: 0;
}

.hero-marquee::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 18, 0.15) 0%, rgba(11, 15, 18, 0.82) 55%, rgba(11, 15, 18, 0.94) 100%);
  z-index: 1;
}

.hero-images { position: absolute; inset: 0; height: 100%; overflow: hidden; z-index: 0; filter: saturate(1.05); }
.hero-images picture { position: absolute; inset: 0; }
.hero-images img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease-in-out; }
.hero-images img.is-active { opacity: 1; }
.hero-content { position: relative; z-index: 2; padding: clamp(18px, 3vw, 32px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr); gap: clamp(16px, 3vw, 24px); align-items: stretch; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
  max-width: 720px; 
  align-items: center; 
  text-align: center; 
  margin: 0 auto; 
}
.hero-labels { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.hero-labels .badge { background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(24, 225, 255, 0.25); border-radius: 999px; padding: 6px 12px; font-size: 0.75rem; letter-spacing: 0.02em; color: #ffffff; }
.hero-labels .badge.alt { background: rgba(0, 0, 0, 0.5); border-color: rgba(255, 255, 255, 0.12); color: #ffffff; }

.tagline { 
  font-family: 'Bebas Neue', sans-serif; 
  font-size: clamp(1.9rem, 5vw, 2.9rem); 
  letter-spacing: 0.08em; 
  margin: 0; 
  text-transform: uppercase;
  background: linear-gradient(90deg, #18e1ff 0%, #fff 25%, #18e1ff 50%, #fff 75%, #18e1ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 12s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.hero-subhead { 
  margin: 0; 
  font-size: 1.05rem; 
  color: #e8eef0;
  font-weight: 500;
  line-height: 1.5;
  -webkit-text-stroke: 0.5px #ff8c4a;
  text-stroke: 0.5px #ff8c4a;
  text-shadow: 
    0 0 8px rgba(255, 106, 32, 0.4),
    inset 0 0 3px #000,
    0 0 1px #000 inset;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.8));
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; justify-content: center; }
.chip { background: rgba(0, 0, 0, 0.5); color: #e9f3f6; padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; border: 1px solid rgba(255, 255, 255, 0.12); }
.scan-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 14px; }
.scan-buttons .btn { 
  min-height: 48px; 
  font-weight: 600; 
  display: flex;
  justify-content: center; 
  align-items: center;
  width: 100%;
  text-align: center;
}
.scan-buttons .btn-primary { background: linear-gradient(160deg, rgba(24, 225, 255, 0.2), rgba(24, 225, 255, 0.08)); border-color: rgba(24, 225, 255, 0.35); color: #e9f9fb; }
.scan-buttons .btn-secondary { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.scan-buttons .btn-tertiary { background: rgba(24, 225, 255, 0.08); color: var(--teal, #00c8b4); border-color: rgba(24, 225, 255, 0.15); }

@media (max-width: 640px) {
  .scan-buttons {
    display: flex;
    justify-content: center;
  }
  .scan-buttons .btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 16px;
  }
}

.hero-side-card { background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 16px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; gap: 12px; }
.hero-side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; color: #e9f3f6; }
.hero-pill { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(24, 225, 255, 0.12); border: 1px solid rgba(24, 225, 255, 0.3); color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.hero-side-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.hero-stat { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; gap: 2px; }
.hero-stat .num { font-size: 1.6rem; font-weight: 700; color: var(--teal, #00c8b4); }
.hero-stat .label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-side-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
.steps-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 8px; }
.step-item { text-align: center; padding: 16px; background: rgba(255,255,255,0.03); border-radius: 12px; }
.step-icon { 
  width: 72px; 
  height: 72px; 
  margin: 0 auto 16px; 
  background: linear-gradient(135deg, var(--teal), #0ea5e9);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(24, 225, 255, 0.4);
}
.step-icon svg { width: 36px; height: 36px; }
.step-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.step-desc { font-size: 0.875rem; color: var(--muted, #9db2bf); }
.stat { text-align: center; padding: 12px; }
.stat .num { font-size: 1.75rem; font-weight: 700; color: var(--teal, #00c8b4); }
.car-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

/* Car Card Overrides for Home Page */
.car-card .thumb {
  margin: 4px;
  border-radius: 12px;
  overflow: hidden;
}
.car-card .thumb img {
  border-bottom: none;
  height: 130px;
}
.car-card .body {
  padding: 8px 10px 10px;
}
.car-card h3 {
  font-size: 15px;
  margin-bottom: 2px;
}
.car-card .meta {
  font-size: 12px;
  margin: 4px 0 8px;
}

.feed-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
/* @media (min-width: 640px) { .feed-grid { grid-template-columns: repeat(2, 1fr); } } */
/* @media (min-width: 1024px) { .feed-grid { grid-template-columns: repeat(4, 1fr); } } */
/* Quick Filters Section */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-toggle { 
    cursor: pointer; 
    padding: 8px 16px; 
    border-radius: 20px; 
    background: rgba(255,255,255,0.08); 
    font-size: 0.85rem; 
    transition: all 0.2s; 
    border: 1px solid transparent; 
    color: var(--foreground); 
}

.chip-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.chip-toggle.is-active { 
    background: var(--teal, #00c8b4); 
    color: #000; 
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 200, 180, 0.4);
}
.banner-ad { background: linear-gradient(90deg, rgba(0,200,180,0.1), rgba(0,200,180,0.05)); border: 1px dashed rgba(0,200,180,0.3); }
.banner-ad__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; gap: 8px; }
.banner-ad__label { font-size: 0.75rem; color: var(--muted, #9db2bf); }
.banner-ad__cta { font-size: 0.875rem; color: var(--teal, #00c8b4); }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 6px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.skeleton-card { background: rgba(255,255,255,0.03); border-radius: 12px; overflow: hidden; }
.skeleton-img { height: 140px; }
.skeleton-body { padding: 12px; }
.skeleton-title { height: 16px; margin-bottom: 8px; width: 80%; }
.skeleton-meta { height: 12px; width: 60%; margin-bottom: 8px; }
.skeleton-btn { height: 32px; width: 100%; margin-top: 12px; }
.skeleton-list { display: flex; flex-direction: column; gap: 12px; }
.skeleton-row { display: flex; justify-content: space-between; align-items: center; }
.skeleton-text { height: 14px; }
.skeleton-text.lg { width: 180px; margin-bottom: 4px; }
.skeleton-text.sm { width: 120px; }
.skeleton-badge { height: 24px; width: 60px; }
blockquote { 
  border-left: 3px solid var(--teal, #00c8b4); 
  padding-left: 12px; 
  font-style: italic;
  transition: all 0.15s ease;
  position: relative;
}

blockquote:hover {
  border-left-color: var(--accent, #ff6a20);
  transform: translateX(4px);
}

/* Live Feed Hero Style Overrides */
.feed-item {
  display: block;
  padding: 0;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.feed-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feed-item:hover .feed-hero-img {
  transform: scale(1.05);
}

.feed-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.feed-item .btn-glass {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.feed-item:hover .btn-glass {
    background: var(--teal);
    color: #000;
    border-color: var(--teal);
}

.location-info {
    margin-left: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    font-style: italic;
    opacity: 0.8;
}

/* Quick Action Overrides for Home Page */
.quick-action.glass-action {
  background: rgba(17, 22, 28, 0.6) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.08) !important;
  position: relative;
  overflow: hidden;
}

.quick-action.glass-action .action-emblem {
  position: absolute;
  top: -10px;
  right: -10px;
  opacity: 0.15;
  pointer-events: none;
  color: var(--teal);
  transition: opacity 0.2s ease;
  transform: rotate(15deg);
}

.quick-action.glass-action:hover .action-emblem {
  opacity: 0.3;
}

