/* ===== FORD MUSTANG SHELBY GT500 PAGE STYLING ===== */

:root {
  --mustang-red: #ef4444;
  --mustang-dark-red: #b91c1c;
  --mustang-blue: #0284c7;
  --mustang-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%);
  --tachometer-bg: #0f172a;
}

/* Gradient Text for Mustang */
.text-gradient-mustang {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Racing Stripes Background Accent */
.mustang-hero {
  background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.08) 0%, transparent 70%);
}

.racing-stripes {
  position: absolute;
  top: 0;
  right: 15%;
  width: 120px;
  height: 100%;
  pointer-events: none;
  opacity: 0.15;
  background: repeating-linear-gradient(
      90deg,
      #ef4444,
      #ef4444 40px,
      transparent 40px,
      transparent 60px,
      #ef4444 60px,
      #ef4444 100px
  );
  transform: skewX(-15deg);
}

[data-bs-theme="dark"] .racing-stripes {
  opacity: 0.25;
}

/* Cobra Badge Box */
.cobra-badge-box {
  max-width: 280px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.cobra-badge-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--mustang-gradient);
}

.cobra-badge-box:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px -10px rgba(239, 68, 68, 0.3) !important;
}

.cobra-icon {
  filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.4));
  transition: transform 0.3s ease;
}

.cobra-badge-box:hover .cobra-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Cockpit Panel */
.cockpit-panel {
  background: var(--card-bg);
  border-color: var(--card-border);
  position: relative;
}

/* Tachometer Gauge */
.gauge-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
}

.gauge-dial {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 80%, #020617 100%);
  border: 6px solid #334155;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8), 0 10px 25px -5px rgba(239, 68, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Redline Sector (6500 - 8000 RPM) */
.gauge-dial::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #ef4444;
  border-right-color: #ef4444;
  transform: rotate(20deg);
  pointer-events: none;
}

/* Gauge Needle */
.gauge-needle {
  position: absolute;
  bottom: 50%;
  left: calc(50% - 2px);
  width: 4px;
  height: 95px;
  background: linear-gradient(to top, #ef4444, #ff8080);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom center;
  transform: rotate(-120deg);
  transition: transform 0.08s ease-out;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
  z-index: 5;
}

.gauge-needle.revving {
  animation: needleShake 0.05s infinite alternate;
}

@keyframes needleShake {
  0% { transform: rotate(115deg); }
  100% { transform: rotate(122deg); }
}

/* Gauge Center Cap */
.gauge-center-cap {
  position: absolute;
  width: 90px;
  height: 90px;
  background: #0f172a;
  border: 3px solid #ef4444;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.rpm-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.rpm-label {
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: #ef4444;
  font-weight: 700;
}

/* Mini Stats Grid */
.stats-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1rem;
}

.mini-stat-item {
  background: var(--bg-color);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--card-border);
}

/* Roadmap Cards */
.roadmap-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.roadmap-card.completed {
  border-color: rgba(34, 197, 94, 0.3) !important;
  background: rgba(34, 197, 94, 0.03) !important;
}

.roadmap-card:hover {
  transform: translateY(-3px);
}

/* Spec Cards */
.spec-card {
  background: var(--card-bg);
  border-color: var(--card-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -10px rgba(0, 0, 0, 0.15) !important;
}

/* Tier Cards */
.tier-card {
  background: var(--card-bg);
  border-color: var(--card-border);
  position: relative;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tier-card:hover,
.tier-card.active {
  transform: translateY(-4px);
  border-color: var(--mustang-red) !important;
  box-shadow: 0 10px 30px -10px rgba(239, 68, 68, 0.25);
}

.tier-card.popular {
  border-color: rgba(239, 68, 68, 0.5);
}

/* Donation Box */
.donation-box {
  background: var(--card-bg) !important;
  border-color: var(--card-border) !important;
}
