/*
  TidyFactor Design — components.css
  Masr Motors (مصر موتورز) — Universal Reusable Component Library
  Zero inline styles on pages. Every visual pattern is defined here.
*/

/* ----------------------------------------------------
   1. Layout & Shell Grid System
---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.main-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-block: var(--space-6);
}

/* ----------------------------------------------------
   2. Header & Navigation Shell
---------------------------------------------------- */
/* Top Micro Utility Bar */
.top-utility-bar {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding-block: var(--space-1);
}

.utility-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.market-status-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 2px 8px;
  background-color: var(--color-accent-subtle);
  border: 1px solid rgba(255, 85, 34, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-weight: 700;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.utility-info-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Glassmorphism Main Site Header */
.site-header {
  background-color: var(--color-surface-overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--duration-base) var(--ease-out);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.brand-logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--color-primary), #FF7744);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-accent);
  transition: transform var(--duration-fast) var(--ease-out);
}

.brand-logo:hover .brand-logo-icon {
  transform: scale(1.05) rotate(-3deg);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading-ar);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Header Search Input */
.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: var(--space-2) var(--space-12) var(--space-2) var(--space-4);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

html[lang="en"] .search-input {
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-12);
}

.search-input:focus {
  border-color: var(--color-primary);
  background-color: var(--color-surface);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

html[dir="rtl"] .search-icon {
  right: 14px;
}

html[dir="ltr"] .search-icon {
  left: 14px;
}

.search-kbd-hint {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-subtle);
  background-color: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  padding: 2px 6px;
  pointer-events: none;
}

html[dir="rtl"] .search-kbd-hint {
  left: 12px;
}

html[dir="ltr"] .search-kbd-hint {
  right: 12px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.btn-add-ad {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  color: #FFFFFF;
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-accent);
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-add-ad:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-primary-glow);
}

.btn-add-ad:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: all var(--duration-fast) var(--ease-out);
}

.icon-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Category Navigation Bar */
.category-nav-bar {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border-subtle);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-content::-webkit-scrollbar {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-1);
}

.nav-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 3px 3px 0 0;
}

/* Breaking Ticker Bar with Continuous Infinite Marquee Animation */
.ticker-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  margin-top: var(--space-3);
  overflow: hidden;
  position: relative;
}

.badge-urgent {
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  color: #FFFFFF;
  font-size: var(--text-xs);
  font-weight: 800;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  box-shadow: 0 0 10px var(--color-primary-glow);
  z-index: 5;
  flex-shrink: 0;
}

.ticker-content-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.ticker-text-scroll {
  display: inline-flex;
  gap: 3rem;
  white-space: nowrap;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
  width: max-content;
  animation: marqueeRtl 25s linear infinite;
}

.ticker-bar:hover .ticker-text-scroll {
  animation-play-state: paused;
}

/* Arabic RTL natural reading motion: right to left */
@keyframes marqueeRtl {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(50%);
  }
}

/* English LTR natural reading motion: left to right */
html[dir="ltr"] .ticker-text-scroll {
  animation-name: marqueeLtr;
}

@keyframes marqueeLtr {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ----------------------------------------------------
   3. Hero Carousel Banner & Multi-Slide Animation
---------------------------------------------------- */
.hero-banner {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: #000;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 6s var(--ease-out);
}

.hero-slide.active .hero-image {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 20, 0.2) 0%, rgba(11, 14, 20, 0.88) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-8);
}

html[dir="rtl"] .hero-overlay {
  background: linear-gradient(90deg, rgba(11, 14, 20, 0) 25%, rgba(11, 14, 20, 0.88) 100%),
    linear-gradient(180deg, rgba(11, 14, 20, 0.1) 0%, rgba(11, 14, 20, 0.85) 100%);
}

html[dir="ltr"] .hero-overlay {
  background: linear-gradient(270deg, rgba(11, 14, 20, 0) 25%, rgba(11, 14, 20, 0.88) 100%),
    linear-gradient(180deg, rgba(11, 14, 20, 0.1) 0%, rgba(11, 14, 20, 0.85) 100%);
}

.hero-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  color: #FFFFFF;
}

/* Slide Content Entrance Animations */
.hero-slide .tag-exclusive,
.hero-slide .hero-title,
.hero-slide .hero-subtitle,
.hero-slide .hero-description,
.hero-slide .btn-hero-cta {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .tag-exclusive {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.hero-slide.active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-slide.active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.hero-slide.active .hero-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

.hero-slide.active .btn-hero-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}

.tag-exclusive {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  align-self: flex-start;
  box-shadow: 0 0 16px var(--color-primary-glow);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
}

.hero-subtitle {
  font-family: var(--font-heading-ar);
  font-size: 1.35rem;
  color: var(--color-primary);
  font-weight: 700;
}

.hero-description {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  color: #FFFFFF;
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  align-self: flex-start;
  margin-top: var(--space-2);
  box-shadow: var(--shadow-accent);
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-hero-cta:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px var(--color-primary-glow);
}

/* Carousel Prev / Next Nav Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(11, 14, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  opacity: 0;
  transition: all var(--duration-fast) var(--ease-out);
}

.hero-banner:hover .carousel-nav-btn {
  opacity: 1;
}

.carousel-nav-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-accent);
}

html[dir="rtl"] .carousel-prev {
  right: var(--space-4);
}

html[dir="rtl"] .carousel-next {
  left: var(--space-4);
}

html[dir="ltr"] .carousel-prev {
  left: var(--space-4);
}

html[dir="ltr"] .carousel-next {
  right: var(--space-4);
}

.carousel-dots {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.dot.active {
  width: 32px;
  background-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-glow);
}

/* ----------------------------------------------------
   4. Section Headers & Utility Titles
---------------------------------------------------- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.icon-fire {
  color: var(--color-primary);
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
}

.link-view-all {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
}

.link-view-all:hover {
  text-decoration: underline;
}

/* ----------------------------------------------------
   5. News Carousel Cards & Slider Track (أحدث الأخبار)
---------------------------------------------------- */
.news-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.news-carousel-track {
  display: flex;
  gap: var(--space-4);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.news-carousel-track .card-news {
  flex: 0 0 calc(25% - (var(--space-4) * 3 / 4));
  min-width: calc(25% - (var(--space-4) * 3 / 4));
}

@media (max-width: 1024px) {
  .news-carousel-track .card-news {
    flex: 0 0 calc(50% - (var(--space-4) / 2));
    min-width: calc(50% - (var(--space-4) / 2));
  }
}

@media (max-width: 640px) {
  .news-carousel-track .card-news {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

.news-nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.news-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.news-nav-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 0 12px var(--color-primary-glow);
}

.card-news {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.card-news:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: var(--color-surface-raised);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

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

.card-badge {
  position: absolute;
  top: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background-color: rgba(11, 14, 20, 0.82);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-sm);
}

html[dir="rtl"] .card-badge {
  left: var(--space-3);
}

html[dir="ltr"] .card-badge {
  right: var(--space-3);
}

.card-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.card-news-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-2);
}

/* ----------------------------------------------------
   6. 3-Column Section (Prices, Used Ads, Comparison)
---------------------------------------------------- */
.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 1024px) {
  .three-column-grid {
    grid-template-columns: 1fr;
  }
}

.surface-card {
  position: relative;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease-out);
}

.surface-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

/* Distinct Section Color Accents & Watermark Backgrounds */
.card-accent-prices {
  border-top: 3px solid #10B981;
}

.card-accent-prices::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 140px;
  height: 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310B981'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1' d='M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.card-accent-ads {
  border-top: 3px solid var(--color-primary);
}

.card-accent-ads::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 140px;
  height: 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23FF5522'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1' d='M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.card-accent-compare {
  border-top: 3px solid #0284C7;
}

.card-accent-compare::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 140px;
  height: 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230284C7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1' d='M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

/* ----------------------------------------------------
   Luxury Horizontal Card Design (Inspired by Reference Image)
---------------------------------------------------- */
.luxury-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.luxury-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.luxury-card-prices:hover {
  border-color: #10B981;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.luxury-card-ads:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px var(--color-primary-glow);
}

/* Image Thumbnail Container with Soft Gradient Feather Mask */
.luxury-thumb-wrap {
  position: relative;
  width: 115px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-surface-raised), var(--color-surface));
}

html[dir="rtl"] .luxury-thumb-wrap {
  mask-image: linear-gradient(to left, #000 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 65%, transparent 100%);
}

html[dir="ltr"] .luxury-thumb-wrap {
  mask-image: linear-gradient(to right, #000 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 65%, transparent 100%);
}

.luxury-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.luxury-card:hover .luxury-thumb-img {
  transform: scale(1.08);
}

.luxury-card-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.luxury-card-category {
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.3px;
}

.luxury-card-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.luxury-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.luxury-price-tag {
  font-weight: 800;
  color: #10B981;
}

.luxury-ad-price {
  font-weight: 800;
  color: var(--color-primary);
}

/* Car Price Item List with Clean Studio Image Wrappers */
.price-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  z-index: 2;
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.price-item:hover {
  border-color: #10B981;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}

.price-item-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand-badge-mini {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background-color: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-primary);
  flex-shrink: 0;
}

.car-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.car-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.car-price {
  font-size: var(--text-xs);
  font-weight: 700;
  color: #10B981;
}

.car-asset-thumb-wrap {
  width: 72px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.car-asset-thumb {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  transition: transform var(--duration-fast) var(--ease-out);
}

.price-item:hover .car-asset-thumb {
  transform: scale(1.1);
}

/* Used Ads Item with Real Photo Thumbnails & Location Badges */
.ad-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.ad-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--color-primary-glow);
}

.ad-thumb-wrap {
  width: 76px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--color-surface-raised);
  border: 1px solid var(--color-border-subtle);
  position: relative;
  flex-shrink: 0;
}

.ad-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-fast) var(--ease-out);
}

.ad-item:hover .ad-thumb-img {
  transform: scale(1.1);
}

.ad-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.ad-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.ad-price {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-primary);
}

.ad-meta-tag {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Interactive Car Comparison Widget (Redesigned per Reference Image) */
.comparison-box {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.comparison-card-select {
  width: 100%;
  min-height: 84px;
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.comparison-card-select:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-primary-glow);
}

.comparison-select-info {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 700;
}

.comparison-select-chevron {
  color: var(--color-text-muted);
  transition: transform var(--duration-fast);
}

.comparison-card-select:hover .comparison-select-chevron {
  color: var(--color-primary);
  transform: translateY(2px);
}

.comparison-car-stage {
  width: 110px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.comparison-car-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s var(--ease-out);
}

.comparison-card-select:hover .comparison-car-img {
  transform: scale(1.12) translateY(-2px);
}

.badge-vs {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  font-style: italic;
  letter-spacing: -1px;
  color: var(--color-primary);
  text-shadow: 0 0 20px var(--color-primary-glow);
  line-height: 1;
  margin: -4px 0;
  user-select: none;
  animation: vsPulse 2.5s infinite ease-in-out;
}

@keyframes vsPulse {

  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 16px var(--color-primary-glow);
  }

  50% {
    transform: scale(1.12);
    text-shadow: 0 0 28px var(--color-primary-glow);
  }
}

.btn-compare {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  color: #FFFFFF;
  font-weight: 800;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 6px 20px var(--color-primary-glow);
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
}

.btn-compare:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--color-primary-glow);
  background: linear-gradient(135deg, #FF6633, #F04818);
}

/* ----------------------------------------------------
   7. 2-Column Section (Test Drive & Forum Discussions)
---------------------------------------------------- */
.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

@media (max-width: 900px) {
  .two-column-grid {
    grid-template-columns: 1fr;
  }
}

/* Test Drive Card */
.drive-feature-card {
  position: relative;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: #000;
}

.drive-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drive-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFFFFF;
}

.drive-rating-badge {
  position: absolute;
  bottom: var(--space-5);
  padding: var(--space-1) var(--space-3);
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-accent);
}

html[dir="rtl"] .drive-rating-badge {
  left: var(--space-5);
}

html[dir="ltr"] .drive-rating-badge {
  right: var(--space-5);
}

/* Forum Topics List */
.forum-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.forum-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.forum-item:hover {
  border-color: var(--color-primary);
}

.avatar-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.topic-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.topic-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.topic-author {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.badge-replies {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ----------------------------------------------------
   8. Popular Car Brands Grid (أشهر الماركات)
---------------------------------------------------- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-3);
}

@media (max-width: 900px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 500px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.brand-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: all var(--duration-fast) var(--ease-out);
}

.brand-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.brand-icon-wrapper {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
}

.brand-card-name {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------
   9. Stats Banner Grid (إحصائيات المنصة)
---------------------------------------------------- */
.stats-banner {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-raised) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.stats-grid-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  text-align: center;
}

.stats-grid-secondary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-6);
}

@media (max-width: 768px) {
  .stats-grid-primary {
    grid-template-columns: 1fr;
  }

  .stats-grid-secondary {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* ----------------------------------------------------
   10. Newsletter Card (اشترك في نشرتنا)
---------------------------------------------------- */
.newsletter-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .newsletter-card {
    flex-direction: column;
    text-align: center;
  }
}

.newsletter-info {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.newsletter-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.8rem;
}

.newsletter-form {
  display: flex;
  gap: var(--space-3);
  width: 100%;
  max-width: 480px;
}

.newsletter-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
}

.btn-subscribe {
  padding: var(--space-3) var(--space-6);
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: var(--radius-md);
  white-space: nowrap;
  box-shadow: var(--shadow-accent);
}

.btn-subscribe:hover {
  background-color: var(--color-primary-hover);
}

/* ----------------------------------------------------
   11. Footer Components
---------------------------------------------------- */
.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  position: relative;
  padding-top: var(--space-12);
  padding-bottom: 90px;
  /* Space for mobile bottom bar */
  margin-top: var(--space-12);
}

.footer-glowing-divider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color-border-subtle);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer-link:hover {
  color: var(--color-primary);
  transform: translateX(-3px);
}

html[dir="ltr"] .footer-link:hover {
  transform: translateX(3px);
}

.app-badge-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.app-badge-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.app-badge-btn:hover {
  border-color: var(--color-primary);
}

.social-pill-group {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.social-pill {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.social-pill:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
}

/* Premium Theme Toggle & Icon Buttons */
.btn-theme-toggle,
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-theme-toggle:hover,
.icon-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 14px var(--color-primary-glow);
  transform: scale(1.05);
}

.btn-mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-mobile-menu:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .btn-mobile-menu {
    display: flex;
  }

  .header-search {
    display: none;
  }

  /* Show inside drawer */

  /* Keep ONLY the premium Dark Mode Toggle and Mobile Menu on mobile header bar */
  .header-actions .btn-theme-toggle {
    display: inline-flex !important;
  }

  .header-actions .btn-add-ad,
  .header-actions .btn-lang-toggle,
  .header-actions .btn-notification,
  .header-actions .btn-profile {
    display: none !important;
  }
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

.mobile-nav-drawer.open {
  display: flex;
  opacity: 1;
}

.drawer-content {
  width: 88%;
  max-width: 360px;
  height: 100%;
  background-color: var(--color-surface);
  border-inline-end: 1px solid var(--color-border);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
}

/* Mobile Drawer User Card */
.drawer-user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.drawer-user-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.drawer-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), #FF7744);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.drawer-controls-row {
  display: flex;
  gap: var(--space-3);
}

.drawer-control-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.drawer-control-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Sticky Mobile Bottom Navigation Dock */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 66px;
  background-color: var(--color-surface-overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
  z-index: 9990;
  padding-inline: var(--space-2);
}

@media (max-width: 900px) {
  .mobile-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.bottom-nav-item.active {
  color: var(--color-primary);
  font-weight: 800;
}

.bottom-nav-item-cta {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--color-primary-glow);
  transform: translateY(-8px);
}

/* ----------------------------------------------------
   Blog & News Portal Components (Inspired by blog.png)
---------------------------------------------------- */
.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: var(--space-4);
  align-items: stretch;
}

@media (max-width: 992px) {
  .blog-hero-grid {
    grid-template-columns: 1fr;
  }
}

.category-pills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}

@media (max-width: 1024px) {
  .category-pills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .category-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-pill-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.category-pill-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.category-pill-info {
  display: flex;
  flex-direction: column;
}

.category-pill-title {
  font-size: var(--text-sm);
  font-weight: 700;
}

.category-pill-count {
  font-size: 11px;
  color: var(--color-text-muted);
}

.category-pill-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Most Read Ranked Component */
.ranked-most-read-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.ranked-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.ranked-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.ranked-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  width: 32px;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
}

.ranked-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.ranked-title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranked-meta {
  font-size: 10px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.ranked-thumb-wrap {
  width: 64px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

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

/* Video Grid Cards */
.video-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

@media (max-width: 900px) {
  .video-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .video-cards-grid {
    grid-template-columns: 1fr;
  }
}

.card-video {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-base) var(--ease-out);
}

.card-video:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  background-color: var(--color-surface-raised);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.35);
  transition: background-color var(--duration-fast);
}

.card-video:hover .video-play-overlay {
  background-color: rgba(0, 0, 0, 0.15);
}

.play-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform var(--duration-fast);
}

.card-video:hover .play-btn-circle {
  transform: scale(1.1);
}

.video-duration-badge {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  background-color: rgba(0, 0, 0, 0.8);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

html[dir="ltr"] .video-duration-badge {
  right: auto;
  left: var(--space-2);
}

/* Tags & Writers Cards */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag-pill {
  padding: var(--space-2) var(--space-3);
  background-color: var(--color-surface-raised);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--duration-fast);
}

.tag-pill:hover {
  background-color: var(--color-accent-subtle);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.writers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.writer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-base);
}

.writer-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.writer-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--color-primary);
}

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

.writer-name {
  font-size: var(--text-sm);
  font-weight: 700;
}

.writer-count {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------
   Mobile-First & Fully Responsive Blog Section Classes
---------------------------------------------------- */
.blog-hero-banner {
  margin-bottom: 0;
  min-height: 480px;
}

.blog-hero-content {
  max-width: 540px;
}

.blog-hero-title {
  font-size: 2.2rem;
  line-height: 1.25;
}

.blog-hero-side-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: space-between;
}

.blog-side-thumb {
  width: 130px;
  height: 95px;
}

.blog-split-news-most-read {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-5);
}

.blog-latest-news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-4);
}

.blog-latest-main-thumb {
  height: 240px;
}

.blog-latest-main-title {
  font-size: 1.2rem;
}

.blog-latest-sub-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.blog-latest-sub-thumb {
  height: 120px;
}

.blog-latest-sub-title {
  font-size: 0.95rem;
}

.blog-split-videos-newsletter {
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: var(--space-5);
}

.blog-newsletter-widget {
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
  box-shadow: 0 8px 24px var(--color-primary-glow);
}

.blog-newsletter-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.blog-newsletter-input {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: none;
  background: #FFFFFF;
  color: #0F172A;
  font: inherit;
  font-size: var(--text-sm);
  outline: none;
}

.blog-newsletter-submit {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: none;
  background: #0F172A;
  color: #FFFFFF;
  font: inherit;
  font-weight: 800;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: transform var(--duration-fast);
}

.blog-newsletter-submit:hover {
  transform: translateY(-2px);
}

.blog-split-footer-widgets {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--space-5);
}

.blog-socials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.blog-social-card {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.blog-writer-avatar-text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1C2232;
  color: var(--color-primary);
  font-weight: 800;
}

/* Mobile-First Responsive Breakpoints */
@media (max-width: 992px) {
  .blog-hero-banner {
    min-height: 340px;
  }

  .blog-hero-title {
    font-size: 1.5rem;
  }

  .blog-split-news-most-read,
  .blog-split-videos-newsletter,
  .blog-split-footer-widgets {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .blog-latest-news-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero-side-stack {
    gap: var(--space-3);
  }

  .blog-side-thumb {
    width: 100px;
    height: 75px;
  }
}

@media (max-width: 600px) {
  .writers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  .writer-card {
    padding: var(--space-2);
  }

  .writer-avatar {
    width: 42px;
    height: 42px;
  }

  .writer-name {
    font-size: 12px;
  }

  .category-pill-card {
    padding: var(--space-2) var(--space-3);
  }
}

/* Helper Semantic Utility Classes for Clean HTML Markup */
.flex-center-gap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.flex-center-gap-sm {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.text-xs-bold {
  font-size: var(--text-xs);
  font-weight: 800;
}

.brand-title-drawer {
  font-size: 1.2rem;
}

.btn-no-border {
  border: none !important;
}

.nav-links-column {
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
}

.thumb-fallback-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1C2232, #262E40);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.text-color-primary {
  color: var(--color-primary) !important;
}

.text-wrap-normal {
  white-space: normal !important;
}

.bg-primary {
  background: var(--color-primary) !important;
}

.bg-info {
  background: #0284C7 !important;
}

.card-news-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.padding-sm {
  padding: var(--space-3) !important;
}

.card-video-info {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-video-title {
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.35;
}

.card-video-time {
  font-size: 10px;
  color: var(--color-text-muted);
}

.newsletter-title {
  font-size: 1.15rem;
  font-weight: 800;
}

.newsletter-subtitle {
  font-size: var(--text-xs);
  opacity: 0.9;
}

.social-icon-tiktok {
  color: #000000;
}

.social-icon-instagram {
  color: #E1306C;
}

.social-icon-youtube {
  color: #FF0000;
}

.social-icon-facebook {
  color: #1877F2;
}

.social-count {
  font-size: 1.1rem;
  font-weight: 900;
}

.social-label {
  font-size: 10px;
  color: var(--color-text-muted);
}

.writer-articles-badge {
  font-size: 10px;
  color: var(--color-primary);
  font-weight: 700;
}

.footer-desc-text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.app-badge-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-badge-sub {
  font-size: 9px;
  color: var(--color-text-muted);
}

.app-badge-main {
  font-size: 11px;
  font-weight: 700;
}

/* ----------------------------------------------------
   Netflix & Video Platform Components (Inspired by video.png)
---------------------------------------------------- */
.video-filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scrollbar-width: none;
}

.video-filter-bar::-webkit-scrollbar {
  display: none;
}

.video-filter-pill {
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--duration-fast);
}

.video-filter-pill.active,
.video-filter-pill:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--color-primary-glow);
}

/* Netflix Cinema Hero Stage */
.video-hero-cinema {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
  .video-hero-cinema {
    grid-template-columns: 1fr;
  }
}

.cinema-stage {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background-color: #000000;
}

@media (max-width: 600px) {
  .cinema-stage {
    min-height: 320px;
  }
}

.cinema-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.6s var(--ease-out);
}

.cinema-stage:hover .cinema-bg-img {
  transform: scale(1.04);
}

.cinema-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 14, 20, 0.95) 0%, rgba(11, 14, 20, 0.4) 50%, rgba(11, 14, 20, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-6);
}

.cinema-play-center {
  margin: auto;
}

.cinema-play-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out);
  padding-left: 4px;
}

html[dir="rtl"] .cinema-play-btn {
  padding-left: 0;
  padding-right: 4px;
}

.cinema-play-btn:hover {
  transform: scale(1.15);
  background: #FFFFFF;
}

.cinema-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 580px;
}

.cinema-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
}

@media (max-width: 600px) {
  .cinema-title {
    font-size: 1.3rem;
  }
}

.cinema-desc {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.cinema-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.btn-watch-now {
  padding: var(--space-3) var(--space-5);
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font: inherit;
  font-weight: 800;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  box-shadow: 0 4px 16px var(--color-primary-glow);
  transition: all var(--duration-fast);
}

.btn-watch-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-primary-glow);
}

.btn-add-playlist {
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  font: inherit;
  font-weight: 700;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.btn-add-playlist:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Playlist Sidebar Queue */
.cinema-playlist-queue {
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface-raised);
  border-inline-start: 1px solid var(--color-border);
}

.queue-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
  cursor: pointer;
  transition: background-color var(--duration-fast);
}

.queue-item:hover {
  background-color: var(--color-bg);
}

.queue-item.active {
  background-color: rgba(255, 85, 34, 0.12);
  border-inline-start: 3px solid var(--color-primary);
}

.queue-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-text-muted);
  width: 24px;
  flex-shrink: 0;
}

.queue-item.active .queue-num {
  color: var(--color-primary);
}

.queue-thumb {
  width: 76px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

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

.queue-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.queue-title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-meta {
  font-size: 10px;
  color: var(--color-text-muted);
}

/* Continue Watching Progress Cards */
.video-progress-bar-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
}

.video-progress-fill {
  height: 100%;
  background-color: var(--color-primary);
}

/* Shorts Vertical Reels Track */
.shorts-container {
  position: relative;
  width: 100%;
}

.shorts-track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-block: var(--space-2);
  scrollbar-width: none;
}

.shorts-track::-webkit-scrollbar {
  display: none;
}

.shorts-card {
  width: 155px;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background-color: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}

.shorts-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px var(--color-primary-glow);
}

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

.shorts-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-3);
}

.shorts-title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.shorts-views {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
}

/* YouTube Subscription Banner Card */
.youtube-banner-card {
  background: linear-gradient(135deg, #181C26, #0F131C);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .youtube-banner-card {
    flex-direction: column;
    text-align: center;
  }
}

.youtube-info-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

@media (max-width: 600px) {
  .youtube-info-group {
    flex-direction: column;
  }
}

.youtube-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: #FF0000;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.4);
  flex-shrink: 0;
}

.youtube-stats-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

@media (max-width: 600px) {
  .youtube-stats-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
  }
}

.youtube-stat-item {
  display: flex;
  flex-direction: column;
}

.youtube-stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #FFFFFF;
}

.youtube-stat-label {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------
   Reviews & Test Drives Components (.review-card, .score-badge, etc.)
---------------------------------------------------- */
.review-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.review-rating-badge.rating-high {
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.review-hero-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
  .review-hero-card {
    grid-template-columns: 1fr;
  }
}

.review-hero-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background-color: #0B0E14;
}

@media (max-width: 600px) {
  .review-hero-media {
    min-height: 300px;
  }
}

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

.review-hero-content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  background-color: var(--color-surface-raised);
}

.review-score-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(255, 85, 34, 0.12);
  border: 1px solid rgba(255, 85, 34, 0.3);
  color: var(--color-primary);
  font-weight: 800;
  font-size: var(--text-sm);
  width: fit-content;
}

.review-score-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
}

.review-metrics-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.review-metric-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  font-weight: 700;
}

.review-metric-bar {
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface-raised);
  overflow: hidden;
}

.review-metric-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-primary), #FF7744);
}

/* Cards Grid for Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.card-review {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-base) var(--ease-out);
}

.card-review:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.card-review-thumb-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background-color: var(--color-surface-raised);
}

.card-review-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.card-review:hover .card-review-thumb-wrap img {
  transform: scale(1.05);
}

.card-review-score-tag {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
}

html[dir="ltr"] .card-review-score-tag {
  right: auto;
  left: var(--space-3);
}

.pros-cons-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.pro-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.con-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Verified Owner Reviews Cards */
.owner-reviews-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.owner-review-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--duration-fast);
}

.owner-review-card:hover {
  border-color: var(--color-primary);
}

.owner-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.owner-badge-verified {
  font-size: 10px;
  font-weight: 800;
  color: #10B981;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
}

/* ----------------------------------------------------
   17. Supercar Coming Soon & Car Styling Engine Components
---------------------------------------------------- */
.coming-soon-wrapper {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #06080C;
  overflow: hidden;
  color: #FFFFFF;
}

/* Carbon Fiber Texture Overlay & Glow Grids */
.carbon-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 30%, rgba(255, 85, 34, 0.15) 0%, transparent 65%),
    linear-gradient(rgba(18, 22, 32, 0.75) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 32, 0.75) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.video-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background-image:
    radial-gradient(circle at 50% 40%, rgba(255, 85, 34, 0.25) 0%, rgba(6, 8, 12, 0.8) 65%, #06080C 100%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.82) 0%, rgba(6, 8, 12, 0.6) 50%, rgba(6, 8, 12, 0.92) 100%),
    url("https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExbDBpdHhiZWo0dWszeGVseWI4cGl6ZjZib2E0bDVxc2wyY20wcWprMiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/XKKa6o1IuDrHxT2QqQ/giphy.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gif-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.65) contrast(1.25) saturate(1.2);
  mix-blend-mode: luminosity;
  transition: opacity 0.8s ease;
}

.video-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: brightness(0.7) contrast(1.2) saturate(1.2);
  transition: opacity 1s ease;
}

.video-dark-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(6, 8, 12, 0.35) 0%, rgba(6, 8, 12, 0.85) 75%, #06080C 100%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.6) 0%, transparent 40%, rgba(6, 8, 12, 0.9) 100%);
  pointer-events: none;
}

.video-controls-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

html[dir="rtl"] .video-controls-badge {
  left: auto;
  right: 24px;
}

.btn-hud-control {
  background: rgba(14, 18, 26, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 85, 34, 0.3);
  color: #FFFFFF;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--duration-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.btn-hud-control:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-accent);
}

.btn-hud-control.active-sound {
  border-color: #10B981;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
}

/* Automotive HUD Header & Top Status Bar */
.hud-top-bar {
  position: relative;
  z-index: 10;
  padding-block: var(--space-4);
  border-bottom: 1px solid rgba(255, 85, 34, 0.15);
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.9) 0%, rgba(6, 8, 12, 0) 100%);
}

.hud-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.car-brand-emblem {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.car-emblem-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #FF5522, #FF2200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 0 25px rgba(255, 85, 34, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hud-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: rgba(255, 85, 34, 0.12);
  border: 1px solid rgba(255, 85, 34, 0.4);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hud-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
  animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Hero Content & Supercar Tachometer Section */
.coming-hero-content {
  position: relative;
  z-index: 5;
  padding-block: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-8);
  max-width: 900px;
  margin-inline: auto;
}

.supercar-badge-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(20, 24, 34, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #94A3B8;
}

.coming-headline {
  font-family: var(--font-heading-ar);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(180deg, #FFFFFF 30%, #94A3B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.coming-headline span {
  background: linear-gradient(135deg, #FF5522 0%, #FF8844 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coming-subtext {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  line-height: 1.6;
}

/* Digital Tachometer & Ignition Centerpiece */
.car-dash-centerpiece {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-block: var(--space-4);
}

.tachometer-gauge-box {
  position: relative;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(20, 24, 34, 0.9) 0%, rgba(6, 8, 12, 0.95) 100%);
  border: 2px solid rgba(255, 85, 34, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(255, 85, 34, 0.25), inset 0 0 25px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.tachometer-gauge-box.revving {
  border-color: #FF5522;
  box-shadow: 0 0 60px rgba(255, 85, 34, 0.6), inset 0 0 30px rgba(255, 85, 34, 0.3);
}

.rpm-svg-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.rpm-circle-bg {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 10;
  fill: none;
}

.rpm-circle-val {
  stroke: var(--color-primary);
  stroke-width: 10;
  fill: none;
  stroke-dasharray: 565;
  stroke-dashoffset: 420;
  /* 0 to 565 range */
  transition: stroke-dashoffset 0.15s ease-out;
  stroke-linecap: round;
}

.rpm-display-number {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.rpm-unit-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* Engine Ignition Start Button & Pulse Ring */
.ignition-trigger-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.engine-start-ring {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--color-primary), #FF7744, #FF2200, var(--color-primary));
  padding: 4px;
  box-shadow: 0 0 30px rgba(255, 85, 34, 0.4);
  animation: spinGlow 10s linear infinite;
  cursor: pointer;
}

@keyframes spinGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.btn-engine-start {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #1C2232, #0B0E14);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  box-shadow: inset 0 4px 10px rgba(255, 255, 255, 0.1), 0 10px 20px rgba(0, 0, 0, 0.6);
}

.btn-engine-start:hover {
  transform: scale(0.96);
  background: linear-gradient(145deg, #FF5522, #D03300);
  border-color: #FFFFFF;
  box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 40px var(--color-primary-glow);
}

.btn-engine-start:active {
  transform: scale(0.92);
}

.start-btn-icon {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  transition: color 0.2s;
}

.btn-engine-start:hover .start-btn-icon {
  color: #FFFFFF;
}

.start-btn-text {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Rev Pedal Audio Trigger Card */
.rev-pedal-card {
  background: rgba(20, 24, 34, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 85, 34, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  cursor: pointer;
  user-select: none;
  transition: all var(--duration-fast);
}

.rev-pedal-card:hover {
  background: rgba(255, 85, 34, 0.15);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 85, 34, 0.2);
}

.pedal-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 85, 34, 0.2);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pedal-text-group {
  display: flex;
  flex-direction: column;
  text-align: right;
}

html[dir="ltr"] .pedal-text-group {
  text-align: left;
}

.pedal-title {
  font-size: var(--text-sm);
  font-weight: 800;
  color: #FFFFFF;
}

.pedal-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Automotive Countdown Timer Grid */
.countdown-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.countdown-box {
  background: rgba(20, 24, 34, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.countdown-number {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.countdown-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: #94A3B8;
  margin-top: 4px;
}

.countdown-colon {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
}

/* Teaser Feature Cards Grid */
.teaser-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  width: 100%;
  margin-top: var(--space-6);
}

@media (max-width: 900px) {
  .teaser-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .teaser-features-grid {
    grid-template-columns: 1fr;
  }
}

.teaser-feature-card {
  background: rgba(20, 24, 34, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  text-align: right;
  transition: all var(--duration-fast);
}

html[dir="ltr"] .teaser-feature-card {
  text-align: left;
}

.teaser-feature-card:hover {
  border-color: rgba(255, 85, 34, 0.4);
  background: rgba(20, 24, 34, 0.9);
  transform: translateY(-3px);
}

.teaser-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 85, 34, 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.teaser-title {
  font-size: var(--text-sm);
  font-weight: 800;
  color: #FFFFFF;
}

.teaser-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* VIP Newsletter Subscription Section */
.vip-subscribe-box {
  width: 100%;
  max-width: 560px;
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-2);
  background: rgba(20, 24, 34, 0.9);
  border: 1px solid rgba(255, 85, 34, 0.3);
  border-radius: var(--radius-full);
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.input-vip-email {
  flex: 1;
  background: transparent;
  border: none;
  padding-inline: var(--space-4);
  color: #FFFFFF;
  font-size: var(--text-sm);
  outline: none;
}

.input-vip-email::placeholder {
  color: #64748B;
}

.btn-vip-submit {
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  color: #FFFFFF;
  font-weight: 800;
  font-size: var(--text-sm);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-vip-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px var(--color-primary-glow);
}

/* Creative Reloading Screen Modal Overlay */
.reloading-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  color: #FFFFFF;
}

.reloading-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.reloading-card {
  background: #141822;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 520px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  box-shadow: 0 0 60px var(--color-primary-glow);
  text-align: center;
}

.reload-progress-bar {
  width: 100%;
  height: 8px;
  background: #1C2232;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.reload-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), #FF8844);
  box-shadow: 0 0 12px var(--color-primary);
  transition: width 0.1s linear;
}

.reload-step-text {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 700;
}

.hud-bottom-footer {
  position: relative;
  z-index: 10;
  padding-block: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 8, 12, 0.95);
  font-size: var(--text-xs);
  color: #64748B;
}

.footer-hud-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.preview-home-link {
  color: var(--color-primary);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.preview-home-link:hover {
  text-decoration: underline;
}

/* ----------------------------------------------------
   18. One-Fold (100vh) Cinematic Porsche Supercar Layout (Matching intro.png)
---------------------------------------------------- */
.onefold-screen-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #06080C;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 85, 34, 0.12) 0%, rgba(6, 8, 12, 0.75) 55%, #06080C 100%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.65) 0%, rgba(6, 8, 12, 0.35) 45%, rgba(6, 8, 12, 0.95) 100%),
    url('../intro.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  box-sizing: border-box;
}

/* Audio Equalizer Pill in Top Header (Matching intro.png top left/right) */
.sound-equalizer-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 18, 26, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  user-select: none;
  transition: all var(--duration-fast);
}

.sound-equalizer-pill:hover {
  border-color: var(--color-primary);
  background: rgba(255, 85, 34, 0.15);
}

.eq-bars-group {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.eq-bar {
  width: 2px;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 1px;
  animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.eq-bar:nth-child(2) {
  animation-delay: 0.2s;
}

.eq-bar:nth-child(3) {
  animation-delay: 0.4s;
}

.eq-bar:nth-child(4) {
  animation-delay: 0.1s;
}

.eq-bar:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes eqBounce {
  0% {
    height: 25%;
  }

  100% {
    height: 100%;
  }
}

.sound-equalizer-pill.muted .eq-bar {
  animation: none;
  height: 25%;
  background-color: #64748B;
}

.sound-icon-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--color-primary-glow);
}

/* One-Fold Main Grid Layout */
.onefold-main-grid {
  position: relative;
  z-index: 5;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-8);
  padding-inline: var(--space-10);
  max-width: 1440px;
  margin-inline: auto;
  width: 100%;
}

.onefold-text-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 580px;
}

.onefold-heading {
  font-family: var(--font-heading-ar);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.18;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.onefold-heading span {
  color: var(--color-primary);
  display: block;
}

.onefold-subtext {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Trigger Controls Row (Pedal + Engine Start) */
.onefold-triggers-row {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-2);
}

/* Accelerator Pedal Card (Matching intro.png) */
.pedal-box-intro {
  background: rgba(14, 18, 26, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 220px;
  cursor: pointer;
  user-select: none;
  transition: all var(--duration-fast);
}

.pedal-box-intro:hover {
  border-color: var(--color-primary);
  background: rgba(255, 85, 34, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 85, 34, 0.25);
}

.pedal-header-intro {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.btn-pedal-cta-intro {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 6px var(--space-4);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--duration-fast);
}

.pedal-box-intro:hover .btn-pedal-cta-intro {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Engine Start Button (Matching intro.png double glowing ring) */
.engine-start-wrap-intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.engine-start-ring-outer {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, var(--color-primary), #FF8844, #FF2200, var(--color-primary));
  box-shadow: 0 0 30px rgba(255, 85, 34, 0.5);
  animation: rotateGlow 8s linear infinite;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.btn-start-intro {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #1C2232, #0B0E14);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.btn-start-intro:hover {
  transform: scale(0.96);
  background: linear-gradient(145deg, #FF5522, #D03300);
  border-color: #FFFFFF;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 35px var(--color-primary-glow);
}

/* Porsche Top Right HUD Tachometer Widget (Matching intro.png) */
.hud-tacho-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

html[dir="ltr"] .hud-tacho-column {
  align-items: flex-start;
}

.rpm-widget-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

html[dir="ltr"] .rpm-widget-intro {
  align-items: flex-start;
}

.rpm-ticks-header {
  font-size: 10px;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 1px;
}

.rpm-ticks-scale {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-block: 4px;
}

.tick-mark {
  width: 12px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.tick-mark.active {
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}

.rpm-num-intro {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 85, 34, 0.4);
}

/* Bottom One-Fold Deck (Matching intro.png) */
.onefold-bottom-deck {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-10);
  background: linear-gradient(180deg, rgba(6, 8, 12, 0) 0%, rgba(6, 8, 12, 0.92) 30%, rgba(6, 8, 12, 0.98) 100%);
  max-width: 1440px;
  margin-inline: auto;
  width: 100%;
}

.bottom-deck-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* Countdown Outlined Timer Box (Matching intro.png) */
.countdown-outlined-box {
  border: 1px solid rgba(255, 85, 34, 0.35);
  background: rgba(14, 18, 26, 0.65);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.countdown-digits-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--color-primary);
}

.countdown-digits-row span {
  display: inline-block;
  min-width: 36px;
  text-align: center;
}

.countdown-labels-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 10px;
  font-weight: 700;
  color: #94A3B8;
  padding-inline: 4px;
}

/* 4 Feature Pills Row (Matching intro.png) */
.features-pills-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(14, 18, 26, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  flex: 1;
}

.feature-pill-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

html[dir="rtl"] .feature-pill-item:last-child {
  border-left: none;
}

html[dir="ltr"] .feature-pill-item:last-child {
  border-right: none;
}

html[dir="ltr"] .feature-pill-item {
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-pill-icon {
  color: var(--color-primary);
  margin-bottom: 2px;
}

.feature-pill-title {
  font-size: var(--text-xs);
  font-weight: 800;
  color: #FFFFFF;
}

.feature-pill-sub {
  font-size: 10px;
  color: #94A3B8;
}

/* Bottom Footer Row (Social, VIP Subscribe, Contact) */
.bottom-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-3);
}

.social-links-intro {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.social-icon-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Newsletter Subscription Bar (Matching intro.png) */
.intro-subscribe-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 4px;
  width: 100%;
  max-width: 440px;
}

.intro-email-input {
  flex: 1;
  background: transparent;
  border: none;
  padding-inline: var(--space-3);
  color: #FFFFFF;
  font-size: var(--text-xs);
  outline: none;
}

.btn-intro-submit {
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  color: #FFFFFF;
  font-weight: 800;
  font-size: var(--text-xs);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--duration-fast);
}

.btn-intro-submit:hover {
  transform: scale(1.03);
}

.contact-email-intro {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
}

.contact-email-intro:hover {
  color: var(--color-primary);
}

/* Light Mode Theme Overrides for One-Fold Porsche Screen */
[data-theme="light"] .onefold-screen-wrapper {
  background-color: #F8FAFC;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 85, 34, 0.15) 0%, rgba(248, 250, 252, 0.8) 55%, #F8FAFC 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.6) 45%, rgba(248, 250, 252, 0.95) 100%),
    url('../intro.png');
  color: #0F172A;
}

[data-theme="light"] .onefold-heading {
  color: #0F172A;
}

[data-theme="light"] .onefold-subtext {
  color: #475569;
}

[data-theme="light"] .sound-equalizer-pill {
  background: rgba(255, 255, 255, 0.9);
  border-color: #CBD5E1;
  color: #0F172A;
}

[data-theme="light"] .pedal-box-intro {
  background: rgba(255, 255, 255, 0.9);
  border-color: #CBD5E1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .pedal-box-intro span {
  color: #0F172A !important;
}

[data-theme="light"] .btn-pedal-cta-intro {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
}

[data-theme="light"] .rpm-num-intro {
  color: #0F172A;
  text-shadow: 0 0 20px rgba(255, 85, 34, 0.25);
}

[data-theme="light"] .onefold-bottom-deck {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.92) 30%, rgba(248, 250, 252, 0.98) 100%);
}

[data-theme="light"] .countdown-outlined-box {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 85, 34, 0.4);
}

[data-theme="light"] .features-pills-row {
  background: rgba(255, 255, 255, 0.9);
  border-color: #E2E8F0;
}

[data-theme="light"] .feature-pill-title {
  color: #0F172A;
}

[data-theme="light"] .feature-pill-sub {
  color: #64748B;
}

[data-theme="light"] .social-icon-btn {
  background: rgba(15, 23, 42, 0.06);
  border-color: #E2E8F0;
  color: #0F172A;
}

[data-theme="light"] .intro-subscribe-form {
  background: #FFFFFF;
  border-color: #CBD5E1;
}

[data-theme="light"] .intro-email-input {
  color: #0F172A;
}

[data-theme="light"] .contact-email-intro {
  color: #0F172A;
}

/* ----------------------------------------------------
   19. AAA Car Games & Epic Automotive Movie Preloader (Need For Speed / Gran Turismo style)
---------------------------------------------------- */
.car-game-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #04060A;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 85, 34, 0.2) 0%, rgba(4, 6, 10, 0.85) 60%, #04060A 100%),
    linear-gradient(rgba(18, 22, 32, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 32, 0.8) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px, 30px 30px;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  color: #FFFFFF;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  box-sizing: border-box;
}

.car-game-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-header-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}

.game-title-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-primary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-title-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
  animation: pulse 1s infinite alternate;
}

.preloader-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.preloader-car-emblem {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-primary), #FF2200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 0 40px rgba(255, 85, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: floatEmblem 3s ease-in-out infinite alternate;
}

@keyframes floatEmblem {
  0% {
    transform: translateY(0px) scale(1);
  }

  100% {
    transform: translateY(-8px) scale(1.05);
  }
}

.preloader-heading {
  font-family: var(--font-heading-ar);
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
}

.gear-hud-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 8px;
}

.gear-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  transition: all 0.2s ease;
}

.gear-pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 0 12px var(--color-primary-glow);
  transform: scale(1.1);
}

.preloader-track-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.preloader-fill-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), #FF8844);
  box-shadow: 0 0 15px var(--color-primary);
  transition: width 0.08s linear;
}

.preloader-status-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
}

.btn-launch-preloader {
  background: linear-gradient(135deg, var(--color-primary), #E04414);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
  padding: 12px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 25px var(--color-primary-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-launch-preloader:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--color-primary);
}

.preloader-footer-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  font-size: 11px;
  color: #64748B;
}

/* ----------------------------------------------------
   20. Interactive EV Electric Car Dashboard HUD & Blueprint Telemetry (Matching User Reference)
---------------------------------------------------- */
.ev-hud-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  gap: var(--space-4);
  flex: 1;
}

/* Top Cluster HUD Bar (Speed, Distance, Energy, Temp) */
.ev-cluster-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(8, 12, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 180, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-3) var(--space-6);
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.15);
  position: relative;
}

.ev-wing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 160px;
}

.ev-wing-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 1px;
}

.ev-wing-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
  color: #00E5FF;
}

/* Speedometer & Energy Gauge Center */
.ev-center-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ev-speed-readout {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.ev-speed-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 900;
  color: #FFB703;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 183, 3, 0.5);
}

.ev-speed-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #FF5522;
}

.ev-energy-bar-track {
  width: 260px;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 183, 3, 0.3);
  transform: skewX(-15deg);
}

.ev-energy-bar-fill {
  height: 100%;
  width: 85%;
  background: linear-gradient(90deg, #FF5522, #FFB703, #00E5FF);
  box-shadow: 0 0 15px #FFB703;
  transition: width 0.3s ease;
}

.ev-gear-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #64748B;
  margin-top: 2px;
}

.gear-mode-item.active {
  color: #00E5FF;
  font-size: 14px;
  text-shadow: 0 0 10px #00E5FF;
}

/* Blueprint Vehicle Telemetry Section */
.ev-blueprint-box {
  position: relative;
  width: 100%;
  background: rgba(6, 10, 18, 0.85);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 180, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  box-shadow: 0 0 50px rgba(0, 180, 255, 0.15);
}

.ev-car-hologram-wrap {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ev-car-vector-svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.6));
}

.ev-battery-pack-status {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: rgba(0, 180, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 6px var(--space-4);
  margin-top: var(--space-2);
}

.ev-batt-bars {
  display: flex;
  gap: 4px;
}

.batt-bar-unit {
  width: 8px;
  height: 18px;
  background: #00E5FF;
  border-radius: 2px;
  box-shadow: 0 0 8px #00E5FF;
}

/* 4 Cyber Telemetry Cards surrounding the EV Car */
.ev-node-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 220px;
}

.ev-telemetry-card {
  background: rgba(10, 16, 28, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 180, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  user-select: none;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.ev-telemetry-card:hover,
.ev-telemetry-card.active-node {
  background: rgba(0, 229, 255, 0.15);
  border-color: #00E5FF;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
}

.ev-node-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.15);
  color: #00E5FF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ev-node-texts {
  display: flex;
  flex-direction: column;
}

.ev-node-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 1px;
}

.ev-node-sub {
  font-size: 10px;
  color: #94A3B8;
}

/* ----------------------------------------------------
   21. Enhanced Cockpit HUD Pixel-Perfect Component System (Matching intro-enhanced.png)
---------------------------------------------------- */
.enhanced-hud-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background-color: #05070B;
  background-image:
    radial-gradient(circle at 50% 45%, rgba(255, 85, 34, 0.18) 0%, rgba(5, 7, 11, 0.9) 65%, #05070B 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.6) 0%, rgba(5, 7, 11, 0.95) 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 24px;
  box-sizing: border-box;
  font-family: var(--font-body-ar);
}

/* Cockpit HUD Outer Frame Overlay */
.cockpit-frame-border {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 85, 34, 0.25);
  border-radius: 24px;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.cockpit-frame-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #FF5522;
}

.corner-tl {
  top: -2px;
  right: -2px;
  border-bottom: none;
  border-left: none;
}

.corner-tr {
  top: -2px;
  left: -2px;
  border-bottom: none;
  border-right: none;
}

.corner-bl {
  bottom: -2px;
  right: -2px;
  border-top: none;
  border-left: none;
}

.corner-br {
  bottom: -2px;
  left: -2px;
  border-top: none;
  border-right: none;
}

/* Enhanced Top Header Navigation Bar */
.enhanced-header-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-block: 4px;
}

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

.nav-link-item {
  color: #94A3B8;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link-item:hover,
.nav-link-item.active {
  color: #FFFFFF;
}

.nav-link-item.active::after {
  content: '';
  position: absolute;
  top: -8px;
  width: 24px;
  height: 2px;
  background: #FF5522;
  box-shadow: 0 0 8px #FF5522;
}

/* Center Cockpit Stage Layout */
.cockpit-main-stage {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 290px 1fr 290px;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  flex: 1;
  max-height: 380px;
}

/* Round Dial Gauges (Speedometer & Tachometer) */
.dial-gauge-box {
  position: relative;
  background: rgba(10, 14, 22, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 85, 34, 0.25);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 320px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 85, 34, 0.05);
}

.dial-circle-svg-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dial-center-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dial-big-num {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 0.95;
  letter-spacing: -1px;
}

.dial-unit-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

/* Sidebar Icon Controls inside Gauge Boxes */
.gauge-sidebar-icons {
  position: absolute;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gauge-sidebar-left {
  right: 10px;
}

.gauge-sidebar-right {
  left: 10px;
}

.hud-side-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #94A3B8;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hud-side-icon-btn:hover,
.hud-side-icon-btn.active {
  color: #FF5522;
}

.hud-side-icon-btn svg {
  width: 18px;
  height: 18px;
}

/* Bottom Telemetry inside Gauge Box */
.gauge-bottom-telemetry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #94A3B8;
  padding-inline: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
}

/* Center Stage (Supercar & Hero Text) */
.cockpit-center-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  text-align: center;
  position: relative;
}

.badge-electric-future {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  color: #FF5522;
  letter-spacing: 2px;
  padding: 2px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 85, 34, 0.4);
  background: rgba(255, 85, 34, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.enhanced-hero-heading {
  font-family: var(--font-heading-ar);
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
  margin-block: 4px;
}

.enhanced-hero-heading span {
  color: #FF5522;
  text-shadow: 0 0 25px rgba(255, 85, 34, 0.5);
}

.enhanced-hero-subtext {
  font-size: 11px;
  color: #94A3B8;
  max-width: 520px;
  line-height: 1.4;
  margin-bottom: 6px;
}

/* Explore Future CTA Button */
.btn-explore-future {
  background: rgba(10, 14, 22, 0.85);
  border: 1px solid #FF5522;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 22px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 85, 34, 0.3);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-explore-future:hover {
  background: #FF5522;
  box-shadow: 0 0 35px #FF5522;
  transform: scale(1.04);
}

/* Center Supercar Image Container (Truly Transparent & Seamless) */
.porsche-center-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-top: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent !important;
}

.porsche-rear-img {
  width: 100%;
  max-width: 380px;
  height: 160px;
  object-fit: contain;
  background: transparent !important;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 25px rgba(255, 85, 34, 0.5));
}

.gear-select-row {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
  color: #64748B;
  margin-top: 4px;
}

.gear-mode-item.highlight-red {
  color: #FF2200;
  text-shadow: 0 0 12px #FF2200;
  font-size: 16px;
}

/* Bottom Deck: Single Horizontal Row of 7 Feature & Countdown Cards */
.enhanced-deck-row {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
}

.enhanced-feature-card {
  background: rgba(10, 14, 22, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.enhanced-feature-card:hover {
  border-color: #FF5522;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 85, 34, 0.25);
}

.deck-card-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 85, 34, 0.12);
  color: #FF5522;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-card-title {
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
}

.deck-card-sub {
  font-size: 9px;
  color: #94A3B8;
}

/* Special Countdown Card inside Deck Row */
.enhanced-countdown-card {
  background: rgba(10, 14, 22, 0.85);
  border: 1px solid rgba(255, 85, 34, 0.4);
  border-radius: 14px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255, 85, 34, 0.15);
}

.countdown-digits-enhanced {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
  color: #FF5522;
  text-shadow: 0 0 12px rgba(255, 85, 34, 0.5);
  line-height: 1;
  margin-block: 4px;
}

/* Enhanced Footer Row (Socials, VIP Subscribe, Contact) */
.enhanced-footer-row {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-top: 4px;
}

.enhanced-subscribe-form {
  display: flex;
  align-items: center;
  background: rgba(10, 14, 22, 0.85);
  border: 1px solid rgba(255, 85, 34, 0.3);
  border-radius: 999px;
  padding: 3px;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.enhanced-email-input {
  flex: 1;
  background: none;
  border: none;
  padding: 8px 16px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 11px;
  outline: none;
}

.btn-enhanced-submit {
  background: linear-gradient(135deg, #FF5522, #E04414);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 15px rgba(255, 85, 34, 0.4);
}

/* ====================================================
   Interactive Supercar Cockpit (One-Fold 100dvh Layout)
   Zero-Scroll Architecture for Desktop & Mobile
   ==================================================== */

.cockpit-one-fold {
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--color-bg, #08090b);
  color: var(--color-text, #f3f4f2);
  position: relative;
}

/* One-Fold Header */
.cockpit-header {
  height: clamp(52px, 8vh, 64px);
  padding-inline: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-subtle, rgba(255,255,255,0.1));
  background: var(--color-surface-overlay, rgba(10,12,18,0.92));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-shrink: 0;
  z-index: 100;
}

.cockpit-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
}

.cockpit-brand-mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, var(--color-primary, #ff5227));
  transition: color 0.5s ease;
}

.cockpit-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.cockpit-brand-text b {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-heading-ar, 'El Messiri', sans-serif);
}

.cockpit-brand-text span {
  font-size: 10.5px;
  color: var(--color-text-muted, #9aa0a6);
  font-weight: 500;
}

.cockpit-header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.cockpit-header-nav a {
  color: var(--color-text-muted, #9aa0a6);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.cockpit-header-nav a:hover,
.cockpit-header-nav a.active {
  color: var(--accent, var(--color-primary, #ff5227));
}

.cockpit-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Mobile dropdown menu panel */
.cockpit-menu-panel {
  position: absolute;
  top: clamp(52px, 8vh, 64px);
  left: var(--space-4);
  right: var(--space-4);
  z-index: 200;
  background: rgba(10,11,15,0.97);
  border: 1px solid var(--color-border, rgba(255,255,255,0.12));
  border-radius: var(--radius-lg, 16px);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform-origin: top center;
  transform: scaleY(0.8);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.2s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

.cockpit-menu-panel.open {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.cockpit-menu-panel a {
  color: var(--color-text-muted, #9aa0a6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-md, 10px);
  transition: all 0.2s ease;
}

.cockpit-menu-panel a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--color-text, #fff);
}

/* Main 1-Fold Content Shell */
.cockpit-main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

/* Background Skyline SVG Graphic */
.cockpit-bg-city {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cockpit-bg-city #cityBuildings {
  animation: cityDriveScroll 35s linear infinite;
  will-change: transform;
}

@keyframes cityDriveScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-460px);
  }
}

.cockpit-bg-city rect { fill: #15171c; }
.cockpit-bg-city .win { fill: rgba(255, 200, 150, 0.3); }

.cockpit-ambient-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 30%, rgba(var(--accent-rgb, 255, 82, 39), 0.18), transparent 70%),
    radial-gradient(50% 40% at 20% 80%, rgba(var(--accent-rgb, 255, 82, 39), 0.08), transparent 60%);
  transition: background 0.8s ease;
}

/* Layout Grid Container */
.cockpit-grid {
  position: relative;
  z-index: 5;
  height: 100%;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-inline: var(--space-8);
  gap: var(--space-8);
}

/* Showcase Hero Side (Column 1) */
.cockpit-hero-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
  position: relative;
}

.cockpit-dots {
  position: absolute;
  inset-inline-start: -28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.cockpit-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.35s ease;
  border: none;
  padding: 0;
}

.cockpit-dot.active {
  background: var(--accent, #ff5227);
  width: 8px;
  height: 22px;
  border-radius: 5px;
}

.cockpit-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent, #ff5227);
  font-family: var(--font-mono, 'Rajdhani', sans-serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.5s ease;
}

.cockpit-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.cockpit-headline {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin: 0;
  font-family: var(--font-heading-ar, 'El Messiri', 'Tajawal', sans-serif);
}

.cockpit-headline .line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: cockpitLineIn 0.6s ease forwards;
}

.cockpit-headline .line.accented {
  color: var(--accent, #ff5227);
  transition: color 0.5s ease;
}

@keyframes cockpitLineIn {
  to { opacity: 1; transform: translateY(0); }
}

.cockpit-subtext {
  color: var(--color-text-muted, #9aa0a6);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.8;
  max-width: 90%;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  animation: cockpitLineIn 0.6s ease forwards;
  animation-delay: 0.3s;
}

.cockpit-cta-btn {
  margin-top: 8px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full, 999px);
  position: relative;
  background: rgba(var(--accent-rgb, 255,82,39), 0.08);
  border: 1.5px solid var(--accent, #ff5227);
  color: var(--accent, #ff5227);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 10px 26px -10px rgba(var(--accent-rgb, 255,82,39), 0.5);
  opacity: 0;
  animation: cockpitLineIn 0.6s ease forwards;
  animation-delay: 0.45s;
}

.cockpit-cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full, 999px);
  box-shadow: inset 0 0 10px rgba(var(--accent-rgb, 255,82,39), 0.25);
  pointer-events: none;
  transition: all 0.35s ease;
}

.cockpit-cta-btn:hover {
  background: rgba(var(--accent-rgb, 255,82,39), 0.18);
  box-shadow: 0 0 24px -2px rgba(var(--accent-rgb, 255,82,39), 0.7);
}

.cockpit-cta-btn svg { transition: transform 0.3s ease; }
.cockpit-cta-btn:hover svg { transform: translateX(-4px); }

/* Dashboard Controls Side (Column 2) */
.cockpit-dash-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.4vh, 12px);
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

/* Lower Buttons Section Frame Box */
.cockpit-controls-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vh, 18px);
  background: rgba(15, 17, 22, 0.68);
  border: 1px solid var(--color-border, rgba(255,255,255,0.12));
  border-radius: var(--radius-xl, 24px);
  padding: clamp(16px, 2.2vh, 24px) clamp(16px, 2.5vw, 28px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  width: 100%;
}

.cockpit-gauge-wrap {
  position: relative;
  width: clamp(245px, 38vh, 305px);
  height: clamp(245px, 38vh, 305px);
  touch-action: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spherical-eq-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 138%;
  height: 138%;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  filter: drop-shadow(0 0 28px rgba(0, 217, 255, 0.42)) drop-shadow(0 0 15px rgba(180, 0, 255, 0.32));
  transition: filter 0.5s ease;
}

.cockpit-gauge-wrap svg {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cockpit-gauge-wrap .tick { stroke: #565a61; stroke-width: 2; }
.cockpit-gauge-wrap .tick.major { stroke: #8b8f96; stroke-width: 2.5; }
.cockpit-gauge-wrap .tick-label { fill: #7d818a; font-family: var(--font-mono, 'Rajdhani', sans-serif); font-size: 15px; font-weight: 600; }
.cockpit-gauge-wrap .rim { fill: none; stroke: rgba(255,255,255,0.22); stroke-width: 6; }
.cockpit-gauge-wrap .redline { fill: none; stroke-linecap: round; transition: stroke 0.5s ease; filter: drop-shadow(0 0 6px currentColor); }
.cockpit-gauge-wrap .needle-line { stroke: #e8e9eb; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); }
.cockpit-gauge-wrap .needle-hub { fill: #1b1d21; stroke: #3a3d42; stroke-width: 2; }

.cockpit-gauge-center {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cockpit-gauge-center .rpm-word {
  font-family: var(--font-mono, 'Rajdhani', sans-serif);
  color: #8b8f96;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 600;
}

.cockpit-rpm-value {
  font-family: var(--font-mono, 'Rajdhani', sans-serif);
  font-weight: 700;
  font-size: clamp(44px, 5.8vh, 58px);
  line-height: 1;
  color: #f4f5f4;
  letter-spacing: 1px;
  margin: 2px 0;
  text-shadow: 0 0 18px rgba(255,255,255,0.15);
}

.cockpit-status {
  margin-top: 4px;
  font-family: var(--font-mono, 'Rajdhani', sans-serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  color: #5a5e64;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.4s ease;
}

.cockpit-status::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: currentColor;
  opacity: 0.5;
  border-radius: 2px;
}

.cockpit-status.ready {
  color: var(--color-success, #33e08a);
  animation: cockpitPulseGlow 1.8s ease-in-out infinite;
}

@keyframes cockpitPulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.cockpit-revhint {
  text-align: center;
  font-size: 10px;
  color: #7d818a;
  font-family: var(--font-mono, 'Rajdhani', sans-serif);
  letter-spacing: 1.5px;
  opacity: 0;
  transition: opacity 0.4s ease;
  margin-top: 10px;
  position: relative;
  z-index: 5;
}

.cockpit-revhint.show { opacity: 1; }

/* Drive Modes & Engine Start Row */
.cockpit-modes-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}

.cockpit-mode-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #7d818a;
  cursor: pointer;
  padding: 8px 2px;
  border-radius: var(--radius-md, 12px);
  font-family: var(--font-mono, 'Rajdhani', sans-serif);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
}

.cockpit-mode-btn svg { width: 20px; height: 20px; transition: all 0.3s ease; }
.cockpit-mode-btn:hover { color: #c7cad0; }
.cockpit-mode-btn.active { color: var(--accent, #ff5227); }
.cockpit-mode-btn.active svg {
  filter: drop-shadow(0 0 6px rgba(var(--accent-rgb, 255,82,39), 0.6));
  transform: translateY(-2px);
}

.cockpit-start-btn {
  width: clamp(70px, 11vh, 84px);
  height: clamp(70px, 11vh, 84px);
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
  background: radial-gradient(circle at 50% 40%, #202226, #131417 70%);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

.cockpit-start-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb, 255,82,39), 0.35);
  border-top-color: var(--accent, #ff5227);
  transition: border-color 0.4s ease;
}

.cockpit-start-btn.on::before { animation: cockpitSpin 3s linear infinite; }
@keyframes cockpitSpin { to { transform: rotate(360deg); } }
.cockpit-start-btn.on { box-shadow: 0 0 30px rgba(var(--accent-rgb, 255,82,39), 0.45); }

.cockpit-start-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 4px;
  box-sizing: border-box;
}

.cockpit-start-inner svg {
  display: block;
  margin: 0 0 2px 0;
  color: var(--accent, #ff5227);
  transition: color 0.3s ease;
}

.cockpit-start-inner .lbl {
  font-family: var(--font-mono, 'Rajdhani', sans-serif);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.1px;
  color: #d8dade;
  line-height: 1.15;
  margin: 0;
}

.cockpit-start-inner .sub-lbl {
  font-family: var(--font-mono, 'Rajdhani', sans-serif);
  font-weight: 600;
  font-size: 9px;
  color: var(--accent, #ff5227);
  letter-spacing: 1.1px;
  line-height: 1.15;
  margin: 0;
}

/* Telemetry Stats Bar */
.cockpit-stats-bar {
  display: flex;
  width: 100%;
  border-top: 1px solid var(--color-border-subtle, rgba(255,255,255,0.1));
  padding-top: 12px;
}

.cockpit-stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cockpit-stat-item + .cockpit-stat-item {
  border-right: 1px solid var(--color-border-subtle, rgba(255,255,255,0.1));
}

.cockpit-stat-item .top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #e6e7e8;
  font-family: var(--font-mono, 'Rajdhani', sans-serif);
  font-weight: 700;
  font-size: 14px;
}

.cockpit-stat-item .top svg { color: var(--color-text-muted, #9aa0a6); }
.cockpit-stat-item .label { font-size: 10px; color: var(--color-text-muted, #9aa0a6); }

/* ====================================================
   Mobile Responsive One-Fold Scaling ($\le 899\text{px}$)
   ==================================================== */
@media (max-width: 899px) {
  .cockpit-header {
    padding-inline: var(--space-3);
    height: 54px;
  }

  .cockpit-header-nav { display: none; }

  .cockpit-brand-text span {
    display: none;
  }

  .cockpit-brand-text b {
    font-size: 13.5px;
  }

  .cockpit-brand-mark {
    width: 30px;
    height: 30px;
  }

  .cockpit-header-actions {
    gap: 4px;
  }

  .cockpit-mp3-player {
    padding: 2px 6px 2px 3px;
    gap: 3px;
    margin-inline-end: 2px;
  }

  .mp3-btn {
    width: 25px;
    height: 25px;
  }

  .mp3-track-info {
    max-width: 85px;
  }

  .mp3-track-name {
    font-size: 10px;
    max-width: 68px;
  }

  .cockpit-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(6px, 1.5vh, 12px) var(--space-4);
    gap: clamp(10px, 1.8vh, 18px);
    max-width: 460px;
  }

  .cockpit-dots {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 4px;
  }

  .cockpit-dot.active {
    width: 20px;
    height: 6px;
  }

  .cockpit-hero-side {
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .cockpit-eyebrow {
    direction: ltr;
    margin-bottom: 2px;
    font-size: 10.5px;
  }

  .cockpit-headline {
    font-size: clamp(20px, 5vw, 26px);
  }

  .cockpit-subtext {
    font-size: 12px;
    line-height: 1.5;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cockpit-cta-btn {
    align-self: center;
    padding: 9px 20px;
    font-size: 12px;
    margin-top: 4px;
  }

  .cockpit-dash-side {
    padding: clamp(10px, 1.8vh, 16px);
    gap: clamp(6px, 1vh, 10px);
    border-radius: var(--radius-lg, 18px);
  }

  .cockpit-gauge-wrap {
    width: clamp(170px, 26vh, 210px);
    height: clamp(170px, 26vh, 210px);
  }

  .cockpit-rpm-value {
    font-size: clamp(34px, 4.5vh, 42px);
  }

  .cockpit-start-btn {
    width: clamp(62px, 9vh, 72px);
    height: clamp(62px, 9vh, 72px);
  }
}

@media (max-width: 440px) {
  .mp3-track-name {
    display: none;
  }
  .mp3-track-info {
    max-width: fit-content;
  }
}


/* ====================================================
   Light Mode Theme Refinements for Cockpit One-Fold
   ==================================================== */
[data-theme="light"] .cockpit-one-fold {
  background: var(--color-bg, #F8FAFC);
  color: var(--color-text, #0F172A);
}

[data-theme="light"] .cockpit-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(226, 232, 240, 0.9);
}

[data-theme="light"] .cockpit-brand-text b {
  color: #0F172A;
}

[data-theme="light"] .cockpit-brand-text span {
  color: #64748B;
}

[data-theme="light"] .cockpit-header-nav a {
  color: #475569;
}

[data-theme="light"] .cockpit-header-nav a:hover,
[data-theme="light"] .cockpit-header-nav a.active {
  color: var(--accent, #FF5522);
}

[data-theme="light"] .cockpit-menu-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: #E2E8F0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .cockpit-menu-panel a {
  color: #475569;
}

[data-theme="light"] .cockpit-menu-panel a:hover {
  background: #F1F5F9;
  color: #0F172A;
}

[data-theme="light"] .cockpit-bg-city {
  opacity: 0.75;
}

[data-theme="light"] .cockpit-bg-city rect {
  fill: #CBD5E1;
}

[data-theme="light"] .cockpit-bg-city .win {
  fill: #94A3B8;
}

[data-theme="light"] .cockpit-ambient-glow {
  background:
    radial-gradient(60% 50% at 75% 30%, rgba(var(--accent-rgb, 255, 82, 39), 0.12), transparent 70%),
    radial-gradient(50% 40% at 20% 80%, rgba(var(--accent-rgb, 255, 82, 39), 0.05), transparent 60%);
}

[data-theme="light"] .cockpit-dot {
  background: #CBD5E1;
}

[data-theme="light"] .cockpit-dot.active {
  background: var(--accent, #FF5522);
}

[data-theme="light"] .cockpit-headline {
  color: #0F172A;
}

[data-theme="light"] .cockpit-subtext {
  color: #475569;
}

[data-theme="light"] .cockpit-cta-btn {
  background: rgba(var(--accent-rgb, 255,82,39), 0.08);
  border-color: var(--accent, #FF5522);
  color: var(--accent, #FF5522);
  box-shadow: 0 10px 24px -8px rgba(var(--accent-rgb, 255,82,39), 0.35);
}

[data-theme="light"] .cockpit-cta-btn:hover {
  background: rgba(var(--accent-rgb, 255,82,39), 0.16);
  box-shadow: 0 0 20px -2px rgba(var(--accent-rgb, 255,82,39), 0.5);
}

/* Light Mode Cockpit Dashboard Card */
[data-theme="light"] .cockpit-dash-side {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09), 0 4px 14px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .cockpit-gauge-wrap .rim {
  stroke: rgba(148, 163, 184, 0.4);
}

[data-theme="light"] .cockpit-gauge-wrap .tick {
  stroke: #94A3B8;
}

[data-theme="light"] .cockpit-gauge-wrap .tick.major {
  stroke: #475569;
}

[data-theme="light"] .cockpit-gauge-wrap .tick-label {
  fill: #475569;
}

[data-theme="light"] .cockpit-gauge-wrap .needle-line {
  stroke: #0F172A;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.3));
}

[data-theme="light"] .cockpit-gauge-wrap .needle-hub {
  fill: #FFFFFF;
  stroke: #475569;
}

[data-theme="light"] .cockpit-gauge-center .rpm-word {
  color: #64748B;
}

[data-theme="light"] .cockpit-rpm-value {
  color: #0F172A;
  text-shadow: none;
}

[data-theme="light"] .cockpit-status {
  color: #64748B;
}

[data-theme="light"] .cockpit-revhint {
  color: #64748B;
}

[data-theme="light"] .cockpit-mode-btn {
  color: #64748B;
}

[data-theme="light"] .cockpit-mode-btn:hover {
  color: #0F172A;
}

[data-theme="light"] .cockpit-mode-btn.active {
  color: var(--accent, #FF5522);
}

[data-theme="light"] .cockpit-start-btn {
  background: radial-gradient(circle at 50% 40%, #1E293B, #0F172A 70%);
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
}

[data-theme="light"] .cockpit-start-inner .lbl {
  color: #F8FAFC;
}

[data-theme="light"] .cockpit-stats-bar {
  border-top-color: #E2E8F0;
}

[data-theme="light"] .cockpit-stat-item + .cockpit-stat-item {
  border-right-color: #E2E8F0;
}

[data-theme="light"] .cockpit-stat-item .top {
  color: #0F172A;
}

[data-theme="light"] .cockpit-stat-item .top svg {
  color: #64748B;
}

[data-theme="light"] .cockpit-stat-item .label {
  color: #64748B;
}

/* ====================================================
   Header MP3 Player Component
   ==================================================== */
.cockpit-mp3-player {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border, rgba(255,255,255,0.12));
  border-radius: var(--radius-full, 999px);
  padding: 3px 10px 3px 4px;
  margin-inline-end: 4px;
  transition: all 0.3s ease;
}

.cockpit-mp3-player:hover {
  border-color: rgba(var(--accent-rgb, 255,82,39), 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.mp3-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: var(--color-text, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.mp3-btn:hover {
  background: var(--accent, #ff5227);
  border-color: var(--accent, #ff5227);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(var(--accent-rgb, 255,82,39), 0.5);
}

.mp3-btn.playing {
  background: var(--accent, #ff5227);
  color: #ffffff;
  border-color: var(--accent, #ff5227);
}

.mp3-track-info {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 130px;
  overflow: hidden;
  white-space: nowrap;
}

.mp3-note-icon {
  font-size: 11px;
  animation: mp3Pulse 1.5s ease-in-out infinite;
}

@keyframes mp3Pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

.mp3-track-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted, #9aa0a6);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 105px;
}

/* Light mode overrides for MP3 Player */
[data-theme="light"] .cockpit-mp3-player {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(226, 232, 240, 0.9);
}

[data-theme="light"] .mp3-btn {
  background: #FFFFFF;
  border-color: #E2E8F0;
  color: #0F172A;
}

[data-theme="light"] .mp3-btn:hover,
[data-theme="light"] .mp3-btn.playing {
  background: var(--accent, #FF5522);
  color: #FFFFFF;
  border-color: var(--accent, #FF5522);
}

[data-theme="light"] .mp3-track-name {
  color: #475569;
}


[data-theme="light"] .cockpit-stat-item .label {
  color: #64748B;
}

/* ====================================================
   Mouse Hover Light Glow Effect System
   ==================================================== */

/* Cursor Follow Light Glow */
.cockpit-cursor-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb, 255, 82, 39), 0.16) 0%, rgba(var(--accent-rgb, 255, 82, 39), 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease, background 0.6s ease;
  opacity: 0;
}

.cockpit-main:hover .cockpit-cursor-glow {
  opacity: 1;
}

/* Card Mouse Spotlight Hover Layer */
.cockpit-dash-side,
.cockpit-hero-side {
  position: relative;
  overflow: hidden;
}

.cockpit-dash-side::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--accent-rgb, 255,82,39), 0.15), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.cockpit-dash-side:hover::after {
  opacity: 1;
}

/* Tachometer Dial Hover Glow */
.cockpit-gauge-wrap {
  transition: filter 0.35s ease, transform 0.35s ease;
}

.cockpit-gauge-wrap:hover {
  filter: drop-shadow(0 0 25px rgba(var(--accent-rgb, 255, 82, 39), 0.45));
  transform: scale(1.02);
}

/* Start Engine Ignition Button Glow Light */
.cockpit-start-btn {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cockpit-start-btn:hover {
  box-shadow: 0 0 35px rgba(var(--accent-rgb, 255, 82, 39), 0.65), inset 0 0 15px rgba(var(--accent-rgb, 255, 82, 39), 0.3);
  transform: scale(1.07);
  border-color: var(--accent, #ff5227);
}

.cockpit-start-btn:hover .cockpit-start-inner svg {
  filter: drop-shadow(0 0 8px rgba(var(--accent-rgb, 255, 82, 39), 0.8));
}

/* Drive Mode Buttons Glow */
.cockpit-mode-btn {
  transition: all 0.3s ease;
}

.cockpit-mode-btn:hover {
  color: var(--accent, #ff5227);
  text-shadow: 0 0 12px rgba(var(--accent-rgb, 255, 82, 39), 0.6);
}

.cockpit-mode-btn:hover svg {
  filter: drop-shadow(0 0 10px rgba(var(--accent-rgb, 255, 82, 39), 0.8));
  transform: translateY(-3px) scale(1.1);
}

/* CTA Button Hover Glow */
.cockpit-cta-btn:hover {
  background: rgba(var(--accent-rgb, 255, 82, 39), 0.22);
  box-shadow: 0 0 30px rgba(var(--accent-rgb, 255, 82, 39), 0.75), 0 10px 26px -10px rgba(var(--accent-rgb, 255, 82, 39), 0.6);
  transform: translateY(-2px);
}

/* Header Buttons Glow */
.icon-btn:hover,
.mp3-btn:hover {
  box-shadow: 0 0 16px rgba(var(--accent-rgb, 255, 82, 39), 0.5);
  transform: translateY(-1px);
}

/* Dot Indicators Hover Glow */
.cockpit-dot:hover {
  background: var(--accent, #ff5227);
  box-shadow: 0 0 10px rgba(var(--accent-rgb, 255, 82, 39), 0.7);
  transform: scale(1.3);
}