:root {
  /* F1 Theme Color Tokens */
  --f1-red: #e10600;
  --f1-red-hover: #ff1a1a;
  --f1-dark-bg: #0b0b0e;
  --f1-card-bg: rgba(20, 20, 25, 0.7);
  --f1-text-primary: #ffffff;
  --f1-text-muted: rgba(255, 255, 255, 0.7);

  /* Typography Scale */
  --font-syne: "Syne", sans-serif;
  --font-space: "Space Grotesk", sans-serif;
  --font-teko: "Teko", sans-serif;

  /* Layout & Spacing Tokens */
  --container-max-width: 1400px;
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative;
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  word-break: keep-all;
  overflow-wrap: normal;
}

p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
a,
button,
label,
input,
select,
textarea,
div {
  max-width: 100%;
}

/* ── Global Container (auto-aligns all pages) ── */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  box-sizing: border-box;
  position: relative;
  z-index: 20;
}

/* ── Global Section Padding ── */
.section {
  padding: 80px 5%;
}

/* ── Global Paragraph Defaults ── */
p {
  line-height: 1.65;
  margin-bottom: 0.8rem;
}

/* ── Global Heading Spacing ── */
h1 {
  margin-bottom: 1rem;
}
h2 {
  margin-bottom: 0.8rem;
}
h3 {
  margin-bottom: 0.5rem;
}

:root {
  --bg-main: #0a0a0a;
  --bg-pure: #000000;
  --accent-red: #ff0000;
  --accent-red-rgb: 255, 0, 0;
  --text-main: #ffffff;
  --text-muted: #888888;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --navbar-height: 80px;
  --border-thick: 2px solid var(--accent-red);
}

.white-theme {
  --accent-red: #ffffff; /* Red becomes White */
  --accent-red-rgb: 255, 255, 255;
  --text-muted: #aaaaaa;
}

body {
  background-color: #000; /* Base pure black */
  color: var(--text-main);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
  width: 100%;
  line-height: 1.5;
  position: relative;
  cursor: auto !important;
}

a,
button,
select,
input[type="submit"],
input[type="button"],
.btn-glow,
.btn-primary-noir,
.unit-card,
.event-card,
.hover-pop {
  cursor: pointer !important;
}

#three-canvas-container {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#anime-bg-elements {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.section,
nav,
footer,
.theme-toggle {
  position: relative;
  z-index: 10;
}

/* ── Custom Cursor (Disabled) ── */
#custom-cursor,
#cursor-ring {
  display: none !important;
}

section {
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease !important;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.section-hidden {
  opacity: 0;
  transform: translateY(20px) scale(0.99);
}
.section-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Fast Card Transitions (Site-Wide) ── */
.intel-card,
.f1-carbon-card,
.unit-card,
.event-card,
.wing-flip-card,
.cmt-fan-card {
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

/* ── Noise Overlay ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 9999;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Syne", sans-serif;
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  -webkit-hyphens: none;
  hyphens: none;
}

/* ── Loader ── */
#brutalist-loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.loader-content {
  text-align: center;
  position: relative;
}
.loader-text {
  font-size: clamp(3rem, 10vw, 5rem);
  font-family: "Syne";
  font-weight: 950;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}
.loader-msg {
  font-size: 0.7rem;
  color: var(--accent-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-top: 2rem;
  opacity: 0;
}
.loader-progress {
  font-size: 15rem;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  font-family: "Syne";
  font-weight: 950;
}
.loader-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 0, 0, 0.1),
    transparent
  );
  height: 100px;
  animation: scan 2s linear infinite;
  pointer-events: none;
}
@keyframes scan {
  from {
    top: -100px;
  }
  to {
    top: 100%;
  }
}

/* ── Theme Toggle ── */
.theme-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.toggle-track {
  width: 40px;
  height: 20px;
  background: #333;
  border-radius: 20px;
  position: relative;
}
.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: var(--accent-red);
  border-radius: 50%;
  transition: 0.3s var(--ease);
}
body.white-mode .toggle-thumb {
  left: 22px;
  background: #fff;
}
.toggle-label {
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 5000;
  display: flex;
  align-items: center;
  transition: all 0.4s var(--ease);
}
.navbar.translucent {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 0, 0, 0.15);
}
.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo img {
  height: 36px;
  width: auto;
}
.logo-text {
  font-family: "Syne", sans-serif;
  font-weight: 950;
  color: #e10600;
  font-size: 1.2rem;
  letter-spacing: 1.5px;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}
.nav-join {
  background: var(--accent-red);
  color: #fff !important;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  border: 1px solid var(--accent-red);
}
.nav-join:hover {
  background: transparent;
  color: var(--accent-red) !important;
}

/* ── Red & Black Sections (Vice Versa) ── */
.section-black {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(5px);
}
.section-red {
  background: rgba(255, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  color: #000;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  transition: background 0.4s var(--ease);
}
.white-theme #custom-cursor {
  background: #fff;
}
.white-theme #cursor-ring {
  border-color: #fff;
}
.section-red h1,
.section-red h2,
.section-red .reveal {
  color: #000;
}
.section-red .btn-primary-noir {
  background: #000;
  color: #fff;
  border: 2px solid #000;
}
.section-red .btn-outline-noir {
  border: 2px solid #000;
  color: #000;
}

/* ── Committee Slide Card (Workforce Page) ── */
.unit-card {
  background: #0a0a0a;
  border: 2px solid var(--accent-red);
  padding: 2.5rem;
  border-radius: 0;
  transition: all 0.6s var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.unit-card h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem) !important;
  text-align: left !important;
  word-break: keep-all !important;
  line-height: 1.15;
}
.unit-card .unit-name {
  font-size: 2.5rem;
  transition: 0.5s var(--ease);
  color: #fff;
}
.unit-card .unit-desc {
  opacity: 0.8;
  margin-top: 1rem;
  transition: 0.5s var(--ease);
  color: #888;
}
.unit-card .unit-id {
  font-family: "Syne";
  font-weight: 900;
  color: rgba(255, 0, 0, 0.2);
  font-size: 4rem;
  position: absolute;
  bottom: -10px;
  right: 10px;
  transition: 0.5s var(--ease);
  pointer-events: none;
}

.unit-card:hover {
  background: var(--accent-red);
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 40px 80px rgba(255, 0, 0, 0.3);
  border-color: #000;
}
.unit-card:hover .unit-name {
  color: #000;
  transform: scale(1.2) translateY(-10px);
}
.unit-card:hover .unit-desc {
  color: #000;
  opacity: 1;
  transform: translateY(-5px);
}
.unit-card:hover .unit-id {
  color: rgba(0, 0, 0, 0.1);
  transform: scale(1.5) translate(-20px, -20px);
}
.unit-card:hover .unit-tag {
  background: #000;
  color: #fff;
}

/* ── Ticker Multi-Line ── */
.ticker-line {
  display: flex;
  white-space: nowrap;
  margin-bottom: -1rem;
  overflow: visible;
}
.ticker-item {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 950;
  text-transform: uppercase;
  display: flex;
  gap: 3rem;
  line-height: 0.9;
  white-space: nowrap;
  flex-shrink: 0;
  will-change: transform;
}
.ticker-line:nth-child(even) .ticker-item {
  color: var(--accent-red);
}
.ticker-line:nth-child(odd) .ticker-item {
  color: #fff;
}
.text-outline {
  -webkit-text-stroke: 1px currentColor;
  color: transparent !important;
}
.hero-noir {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 5%;
  text-align: center;
}
.hero-cat-wrap {
  position: relative;
  margin-bottom: 2rem;
}

.cat-massive {
  font-family: "Syne", sans-serif;
  font-weight: 950;
  font-size: clamp(8rem, 25vw, 18rem);
  line-height: 0.8;
  margin: 0;
  color: #fff;
  position: relative;
  z-index: 2;
}

.cat-massive .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(100px) rotate(10deg);
  transform-origin: bottom center;
}

/* ── Illustrations ── */
.hero-illustrations {
  position: absolute;
  inset: -50px;
  z-index: -1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
}
.shape-svg {
  width: 150px;
  height: 150px;
  opacity: 0.4;
  filter: drop-shadow(0 0 15px var(--accent-red));
  transition: opacity 0.5s var(--ease);
}
.shape-svg:hover {
  opacity: 0.8;
}

/* Staggered Animations for Hero Shapes */
.circle-svg {
  animation: float-shape 6s infinite alternate ease-in-out;
}
.triangle-svg {
  animation: float-shape 8s infinite alternate-reverse ease-in-out;
  animation-delay: 1s;
}
.lattice-svg {
  animation: float-shape 10s infinite alternate ease-in-out;
  animation-delay: 2s;
}

@keyframes float-shape {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(30px, -40px) rotate(15deg);
  }
}

.shape {
  position: absolute;
  opacity: 0;
  filter: blur(2px);
}
.shape.circle {
  width: 100px;
  height: 100px;
  border: 2px solid var(--accent-red);
  border-radius: 50%;
  top: 10%;
  left: 10%;
}
.shape.triangle {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid var(--accent-red);
  top: 60%;
  right: 10%;
}
.shape.square {
  width: 60px;
  height: 60px;
  background: var(--accent-red);
  top: 20%;
  right: 20%;
  opacity: 0.3 !important;
}
.cat-glow-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 60%;
  background: var(--accent-red);
  filter: blur(120px);
  opacity: 0.2;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}
.hero-subtitle {
  color: var(--accent-red);
  font-weight: 800;
  letter-spacing: 12px;
  text-transform: uppercase;
  margin-bottom: 4rem;
}
.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-subtitle {
  color: var(--accent-red);
  font-weight: 800;
  letter-spacing: 12px;
  text-transform: uppercase;
  margin-bottom: 4rem;
}
.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* ── Interactive Stagger Grid (Anime.js Homepage Replica) ── */
#anime-stagger-bg {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none; /* Make clickable via JS overlay or allow pointer-events */
}
.stagger-tile {
  background-color: transparent;
  border: 1px solid rgba(255, 0, 0, 0.05);
  pointer-events: auto;
  cursor: pointer;
  transition: background-color 0.1s;
}
.stagger-tile:hover {
  background-color: rgba(255, 0, 0, 0.1);
}

.cat-massive .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(100px);
}
.hero-subtitle,
.hero-cta-group a {
  opacity: 0;
  transform: translateY(20px);
}

/* ── Glass Buttons (Ported from React Component) ── */
.btn-primary-noir,
.btn-outline-noir {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 9999px; /* rounded-full */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.4s var(--ease);
  z-index: 1;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-primary-noir {
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.4);
  color: #fff;
  box-shadow:
    inset 0 0 20px rgba(255, 0, 0, 0.1),
    0 8px 32px rgba(255, 0, 0, 0.2);
}
.btn-outline-noir {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.02),
    0 8px 32px rgba(0, 0, 0, 0.5);
}

.btn-primary-noir::after,
.btn-outline-noir::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
  z-index: -1;
}

.btn-primary-noir:hover::after,
.btn-outline-noir:hover::after {
  transform: translateX(100%);
}
.btn-primary-noir:hover {
  background: rgba(255, 0, 0, 0.3);
  border-color: rgba(255, 0, 0, 0.8);
  transform: translateY(-5px);
  color: #fff;
}
.btn-outline-noir:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
  color: #fff;
}

/* ── Ticker (F1 Race Telemetry Style) ── */
#ticker-section {
  padding: 40px 0;
  background: #000000;
  overflow: hidden;
  border-top: 2px solid var(--accent-red);
  border-bottom: 2px solid var(--accent-red);
  position: relative;
}
.ticker-line {
  display: flex;
  white-space: nowrap;
  margin: 0.3rem 0;
  margin-left: -20vw;
  width: 150vw;
}
.ticker-item {
  font-family: "Arial Black", Impact, "Syne", sans-serif;
  font-style: italic;
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 900;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 2rem;
  line-height: 1;
  transform: skewX(-12deg);
}
.text-solid {
  color: #ffffff;
  letter-spacing: -2px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 68%,
    transparent 68%,
    transparent 74%,
    #ffffff 74%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-outline {
  color: transparent;
  -webkit-text-stroke: 2px #e10600;
  letter-spacing: -2px;
}
.ticker-slash {
  color: #e10600;
  font-weight: 900;
  opacity: 0.9;
  font-size: 0.8em;
  user-select: none;
}

/* ── Bento & Grid ── */
.bento-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.bento-item {
  transition: all 0.5s var(--ease);
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.bento-item:hover {
  transform: translateY(-10px);
  border-color: var(--accent-red) !important;
}

/* ── Committee Card Fan Deck (Index) ── */
.cmt-spread-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 380px;
  margin: 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cmt-explore-bg {
  position: absolute;
  font-family: "Syne", sans-serif;
  font-weight: 950;
  font-size: clamp(3rem, 7vw, 7.5rem);
  color: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  letter-spacing: -3px;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cmt-fan-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(240px, 22vw, 290px);
  height: clamp(280px, 32vh, 320px);
  background: rgba(10, 10, 10, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  will-change: transform;
  display: flex;
  flex-direction: column;
  padding: 2.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  box-sizing: border-box;
}

.cmt-fan-card h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.1;
  word-break: keep-all !important;
  margin-bottom: 0.5rem;
  font-family: "Syne", sans-serif;
  font-weight: 950;
}

/* Initial Stacked Deck State */
.cmt-fan-card:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-8deg) scale(0.96);
  z-index: 2;
  opacity: 0.85;
}
.cmt-fan-card:nth-child(3) {
  transform: translate(-50%, -50%) scale(1.04);
  z-index: 5;
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
  box-shadow: 0 0 35px rgba(225, 6, 0, 0.4);
}
.cmt-fan-card:nth-child(4) {
  transform: translate(-50%, -50%) rotate(8deg) scale(0.96);
  z-index: 2;
  opacity: 0.85;
}

/* Fanned Cards State on Hovering Deck */
.cmt-spread-wrap:hover .cmt-fan-card:nth-child(2) {
  transform: translate(calc(-50% - 290px), -50%) rotate(-14deg) scale(1.02);
  opacity: 1;
  z-index: 6;
  border-color: #ffffff;
}
.cmt-spread-wrap:hover .cmt-fan-card:nth-child(3) {
  transform: translate(-50%, -58%) scale(1.12);
  z-index: 10;
  border-color: #ffffff;
  box-shadow: 0 35px 80px rgba(225, 6, 0, 0.6);
}
.cmt-spread-wrap:hover .cmt-fan-card:nth-child(4) {
  transform: translate(calc(-50% + 290px), -50%) rotate(14deg) scale(1.02);
  opacity: 1;
  z-index: 6;
  border-color: #ffffff;
}

/* Focus Individual Card Hover */
.cmt-spread-wrap:hover .cmt-fan-card:nth-child(2):hover {
  transform: translate(calc(-50% - 310px), -58%) rotate(-10deg) scale(1.1) !important;
  z-index: 20 !important;
  border-color: var(--accent-red) !important;
  box-shadow: 0 30px 70px rgba(225, 6, 0, 0.5) !important;
}
.cmt-spread-wrap:hover .cmt-fan-card:nth-child(4):hover {
  transform: translate(calc(-50% + 310px), -58%) rotate(10deg) scale(1.1) !important;
  z-index: 20 !important;
  border-color: var(--accent-red) !important;
  box-shadow: 0 30px 70px rgba(225, 6, 0, 0.5) !important;
}

@media (max-width: 768px) {
  .cmt-spread-wrap {
    height: auto;
    perspective: none;
    margin: 2rem 0;
    flex-direction: column;
    gap: 1rem;
  }
  .cmt-fan-card {
    position: relative;
    top: 0;
    left: 0;
    transform: none !important;
    width: 100%;
    height: auto;
    opacity: 1 !important;
    border-radius: 20px;
  }
}

/* ── Canvas & Global Overlays ── */
#three-canvas-container {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.noir-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 5;
  pointer-events: none;
}

/* ── Glitch Fix: Initial State ── */
.letter,
.hero-subtitle,
.hero-cta-group a,
.shape {
  opacity: 0;
  visibility: hidden;
}

/* ── Standardized Mobile Layout ── */
@media (max-width: 768px) {
  .hero-noir {
    padding: 100px 5% 60px;
    min-height: 80vh;
  }
  .cat-massive {
    font-size: clamp(4rem, 18vw, 8rem);
    line-height: 1;
  }
  .hero-subtitle {
    letter-spacing: 5px;
    margin-bottom: 2rem;
    font-size: 0.8rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .hero-cta-group a {
    width: 100%;
    padding: 1.2rem;
  }

  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .section {
    padding: 80px 5% !important;
  }

  .cmt-spread-wrap {
    height: auto;
    perspective: none;
    margin: 2rem 0;
    flex-direction: column;
    gap: 1rem;
  }
  .cmt-fan-card {
    position: relative;
    width: 100%;
    height: auto;
    transform: none !important;
    opacity: 1 !important;
    border-radius: 20px;
  }

  #ticker-section {
    padding: 60px 0;
  }
  .ticker-item {
    font-size: 3rem;
    gap: 1.5rem;
  }

  .nav-links {
    display: none;
  }
  .mobile-bottom-nav {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  .navbar {
    height: 70px;
  }
}

/* ── Final Theme Sync ── */
.noir-theme {
  background: #000;
  color: #fff;
  overflow-x: hidden;
  font-family: "Space Grotesk", sans-serif;
}
.translucent {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.5);
}
.ambient-glow {
  position: fixed;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -4;
  opacity: 0.15;
  pointer-events: none;
}
.glow-red {
  top: -10%;
  right: -5%;
  background: var(--accent-red);
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  gap: 4px;
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ── SMOOTH SECTION SCROLL TRANSITIONS & GLOW DIVIDERS ── */
section {
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.section-hidden {
  opacity: 0.3;
  transform: translateY(20px) scale(0.99);
}
.section-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section-divider-glow {
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-red) 50%,
    transparent 100%
  );
  box-shadow: 0 0 25px var(--accent-red);
  position: relative;
  z-index: 5;
}

/* ── Click Rain & Global Icons ── */
.click-rain-icon {
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  width: 20px;
  height: 20px;
}

/* ── Hover Pop Utility ── */
.hover-pop {
  transition: all 0.4s var(--ease);
}
.hover-pop:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 0, 0, 0.15);
  filter: brightness(1.2);
}

/* ── Navbar Scrolled ── */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(25px);
  height: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .hero-noir {
    padding: 80px 5%;
  }
  .bento-grid {
    grid-template-columns: 1fr !important;
  }
  .section {
    padding: 60px 5% !important;
  }
  .mobile-bottom-nav {
    display: flex !important;
  }
}

/* ── RESPONSIVE TEXT & CARDS CONTAINER SAFETY ── */
.unit-card,
.event-card,
.bento-item,
.f1-carbon-card,
.unit-card * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.unit-card,
.event-card,
.bento-item,
.f1-carbon-card {
  height: auto !important;
  min-height: auto !important;
  box-sizing: border-box !important;
}

.unit-card .unit-name,
.event-card h3,
.bento-item h3,
.f1-carbon-card h3,
.f1-carbon-card h4 {
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.2 !important;
}

.unit-card .unit-desc,
.event-card p,
.bento-item p {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem) !important;
  line-height: 1.5 !important;
}

/* ── PREMIUM DESIGN SYSTEM UTILITIES ── */
.gradient-text {
  background: linear-gradient(135deg, #ff0000 0%, #ff6600 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card {
  background: rgba(15, 15, 15, 0.75) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  border-radius: 20px !important;
  transition: all 0.4s var(--ease) !important;
}
.glass-card:hover {
  border-color: var(--accent-red) !important;
  box-shadow: 0 25px 60px rgba(255, 0, 0, 0.25) !important;
  transform: translateY(-5px) !important;
}

.badge-neon {
  background: rgba(255, 0, 0, 0.15);
  color: #ff3333;
  border: 1px solid var(--accent-red);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.btn-glow {
  background: var(--accent-red) !important;
  color: #ffffff !important;
  border: 2px solid var(--accent-red) !important;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.4) !important;
  transition: all 0.3s var(--ease) !important;
}
.btn-glow:hover {
  box-shadow: 0 0 45px rgba(255, 0, 0, 0.7) !important;
  transform: translateY(-3px) scale(1.03) !important;
}

/* ── BOLD TACTILE TEXTURED HERO BUTTONS ── */
.hero-cta-group a {
  opacity: 1 !important;
  visibility: visible !important;
}

.btn-textured-red {
  background:
    linear-gradient(135deg, #ff0000 0%, #b30000 100%),
    repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.25) 0px,
      rgba(0, 0, 0, 0.25) 2px,
      transparent 2px,
      transparent 6px
    ) !important;
  background-blend-mode: overlay;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  padding: 1.4rem 3.2rem !important;
  border-radius: 12px !important;
  font-family: "Syne", sans-serif !important;
  font-weight: 950 !important;
  font-size: 1.3rem !important;
  letter-spacing: 1.5px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  box-shadow:
    0 10px 30px rgba(225, 6, 0, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.btn-textured-red:hover {
  transform: translateY(-4px) scale(1.04) !important;
  box-shadow:
    0 20px 45px rgba(225, 6, 0, 0.85),
    inset 0 2px 0 rgba(255, 255, 255, 0.6) !important;
  border-color: #ff3333 !important;
}

.btn-textured-dark {
  background:
    linear-gradient(135deg, #222222 0%, #080808 100%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 6px
    ) !important;
  background-blend-mode: overlay;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  padding: 1.4rem 3.2rem !important;
  border-radius: 12px !important;
  font-family: "Syne", sans-serif !important;
  font-weight: 950 !important;
  font-size: 1.3rem !important;
  letter-spacing: 1.5px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.9),
    inset 0 2px 0 rgba(255, 255, 255, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.btn-textured-dark:hover {
  transform: translateY(-4px) scale(1.04) !important;
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow:
    0 20px 45px rgba(255, 255, 255, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.9) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 5px;
  border: 2px solid #050505;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* ── AMBIENT RADIAL GLOW & GLASS V2 ── */
.ambient-radial-glow {
  background: radial-gradient(
    circle at 50% 0%,
    rgba(225, 6, 0, 0.15) 0%,
    rgba(10, 10, 10, 0.95) 75%
  ) !important;
}

.glass-card-v2 {
  background: rgba(18, 18, 18, 0.75) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.glass-card-v2:hover {
  border-color: #e10600 !important;
  box-shadow:
    0 25px 60px rgba(225, 6, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-6px) scale(1.02) !important;
}

.overline-tag {
  color: var(--accent-red);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.f1-intel-card:hover {
  transform: translateY(-10px) scale(1.03) !important;
  box-shadow:
    0 30px 80px rgba(225, 6, 0, 0.65),
    inset 0 0 20px rgba(225, 6, 0, 0.2) !important;
  border-color: #ff3333 !important;
}

.recruitment-intel-card:hover {
  transform: translate(-6px, -6px) scale(1.03) !important;
  box-shadow:
    25px 25px 0 #e10600,
    0 30px 60px rgba(0, 0, 0, 0.3) !important;
  border-color: #000000 !important;
}

/* ── PERFORMANCE WINGS 3D FLIP CARD SYSTEM & MUTED PALETTE ── */
.wings-horizontal-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 2rem !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  padding: 1.5rem 0.5rem 2.5rem !important;
  perspective: 1000px !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.wings-horizontal-track::-webkit-scrollbar {
  display: none;
}

.wing-flip-card {
  flex: 0 0 340px !important;
  min-width: 340px !important;
  height: 340px !important;
  perspective: 1000px !important;
  cursor: pointer !important;
}

.wing-flip-card-inner {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  text-align: left !important;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform-style: preserve-3d !important;
}

.wing-flip-card:hover .wing-flip-card-inner {
  transform: rotateY(180deg) !important;
}

.wing-flip-card-front,
.wing-flip-card-back {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  border-radius: 20px !important;
  padding: 2.2rem 1.8rem !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  border: 2px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8) !important;
}

.wing-flip-card-back {
  transform: rotateY(180deg) !important;
}

.wing-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wing-badge {
  padding: 0.35rem 0.86rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.badge-red {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.badge-slate {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.wing-cat-tag {
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #ffffff;
  opacity: 0.9;
}

.wing-card-center {
  margin: auto 0;
  width: 100%;
}

.wing-title {
  font-family: "Syne", sans-serif !important;
  font-size: clamp(1.8rem, 2.2vw, 2.2rem) !important;
  font-weight: 950 !important;
  color: #ffffff !important;
  letter-spacing: -0.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-bottom: 0.5rem !important;
  width: 100% !important;
  display: block !important;
}

.wing-sub-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.wing-card-bottom {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.wing-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
  color: #dddddd;
  margin: 1.2rem 0;
}

.wing-explore-btn {
  color: #ffffff;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.event-card {
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.event-card h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem) !important;
  font-weight: 950 !important;
  font-family: "Syne", sans-serif !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.25 !important;
  max-width: 100% !important;
}

/* ── RICH TEXTURED BACKGROUND SYSTEMS (NO SOLID FLAT COLORS) ── */
.theme-dark-charcoal {
  background:
    linear-gradient(
      135deg,
      rgba(28, 28, 34, 0.96) 0%,
      rgba(12, 12, 15, 0.98) 100%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 2px,
      transparent 2px,
      transparent 8px
    ) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.85),
    inset 0 1px 1px rgba(255, 255, 255, 0.12) !important;
}

.theme-muted-crimson {
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 20, 20, 0.3) 0%,
      rgba(120, 4, 0, 0.95) 70%
    ),
    linear-gradient(135deg, #7a0400 0%, #3d0200 100%),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.15) 0px,
      rgba(0, 0, 0, 0.15) 2px,
      transparent 2px,
      transparent 6px
    ) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow:
    0 12px 35px rgba(122, 4, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

.theme-dark-carbon {
  background:
    linear-gradient(135deg, rgba(22, 22, 26, 0.98) 0%, rgba(8, 8, 10, 1) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 6px
    ) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.9),
    inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
}

.theme-slate-gunmetal {
  background:
    radial-gradient(
      circle at bottom left,
      rgba(225, 6, 0, 0.2) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, #262930 0%, #121317 100%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 2px,
      transparent 2px,
      transparent 8px
    ) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.85),
    inset 0 1px 1px rgba(255, 255, 255, 0.12) !important;
}

.unit-card {
  background:
    linear-gradient(
      135deg,
      rgba(22, 22, 28, 0.96) 0%,
      rgba(8, 8, 12, 0.98) 100%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 2px,
      transparent 2px,
      transparent 8px
    ) !important;
  border: 2px solid rgba(225, 6, 0, 0.7) !important;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.85),
    inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
}

.accent-border-red {
  border-left: 5px solid #e10600 !important;
}
.accent-border-white {
  border-left: 5px solid #ffffff !important;
}

.wing-icon-box {
  margin-bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.wing-nav-dot {
  background: #161618;
  color: #888888;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wing-nav-dot.active,
.wing-nav-dot:hover {
  background: #e10600;
  color: #ffffff;
  border-color: #e10600;
  box-shadow: 0 0 15px rgba(225, 6, 0, 0.5);
}

/* ── 21ST.DEV STYLE SPOTLIGHT & GLOWING SHIMMER BEAM ── */
.intel-card {
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.intel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(225, 6, 0, 0.18),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.intel-card:hover::after {
  opacity: 1;
}

/* ── FOOTER GRID RESPONSIVE ── */
#cat-footer-grid {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1.2fr;
}

/* ══════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE SYSTEM
   ══════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 4%;
  }
  .section {
    padding: 70px 4% !important;
  }
  .wing-flip-card {
    flex: 0 0 280px !important;
    min-width: 280px !important;
    height: 280px !important;
  }
  #cat-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* ── Global Overflow Protections ── */
  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  * {
    box-sizing: border-box !important;
  }

  /* Make sure images scale down, but allow logos to stay small */
  img,
  video,
  iframe {
    max-width: 100% !important;
  }
  .logo img,
  .navbar img,
  img[src*="cat_logo"] {
    max-height: 38px !important;
    width: auto !important;
  }

  /* Catch massive clamp sizes that overflow - make them small enough to fit one line */
  [style*="clamp("] {
    font-size: clamp(1.2rem, 7vw, 2.8rem) !important;
    line-height: 1.1 !important;
  }

  /* Footer Stack */
  #cat-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  #cat-footer-grid > div:first-child {
    grid-column: span 2;
  }

  /* ── Core layout ── */
  .container {
    padding: 0 5% !important;
    max-width: 100vw !important;
  }
  .section {
    padding: 60px 5% !important;
  }

  /* ── Hero sections ── */
  .hero-noir {
    padding: 125px 6% 65px !important;
    min-height: auto !important;
  }
  .cat-massive {
    font-size: clamp(3.2rem, 15vw, 6.5rem) !important;
    line-height: 1 !important;
  }
  .hero-subtitle {
    font-size: 0.75rem !important;
    letter-spacing: 5px !important;
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 1.2rem !important;
    margin-top: 2rem !important;
  }
  .hero-cta-group a,
  .hero-cta-group button {
    width: 100% !important;
    padding: 1.1rem 1.5rem !important;
    font-size: 0.95rem !important;
    border-radius: 14px !important;
  }

  /* ── Buttons ── */
  .btn-textured-red,
  .btn-textured-dark {
    padding: 1.1rem 2rem !important;
    font-size: 0.95rem !important;
    width: 100% !important;
  }

  /* ── Grids ── */
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 1.8rem !important;
  }

  /* ── Telemetry / 4-col grids → 2-col on mobile ── */
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* ── Ticker ── */
  #ticker-section {
    padding: 28px 0 !important;
    margin: 2rem 0 !important;
  }
  .ticker-line {
    margin-bottom: 0 !important;
  }
  .ticker-item {
    font-size: 2.2rem !important;
    gap: 1.5rem !important;
  }

  /* ── Fan/spread cards ── */
  .cmt-spread-wrap {
    height: auto !important;
    perspective: none !important;
    margin: 1.5rem 0 !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .cmt-fan-card {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    opacity: 1 !important;
    border-radius: 20px !important;
  }

  /* ── Flip cards (events/committees) ── */

  /* ── Cards sizing ── */
  .unit-card,
  .event-card,
  .bento-item,
  .f1-carbon-card {
    border-radius: 16px !important;
  }
  .unit-card .unit-name,
  .event-card h3,
  .bento-item h3 {
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
  }

  /* ── Countdown box ── */
  .pantheon-countdown-box {
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(225, 6, 0, 0.85);
    border-radius: 20px;
    padding: 2rem 3.5rem;
    display: inline-block;
    box-shadow: 0 0 40px rgba(225, 6, 0, 0.4);
    position: relative;
    backdrop-filter: blur(4px);
    max-width: 100%;
  }
  .pantheon-countdown-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #e10600;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 4px;
    padding: 0.3rem 1.2rem;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap !important;
  }

  @media (max-width: 768px) {
    .pantheon-countdown-box {
      padding: 1.8rem 0.8rem !important;
      width: 100% !important;
    }
    .pantheon-countdown-tag {
      font-size: 0.55rem !important;
      letter-spacing: 2px !important;
      padding: 0.25rem 0.8rem !important;
    }
    #pantheon-countdown {
      display: grid !important;
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 0.2rem !important;
      margin-top: 0.5rem !important;
    }
    #pantheon-countdown .cd-colon {
      display: none !important;
    }
    #pantheon-countdown > div span {
      font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    }

    /* ── Circuit Category Filters Mobile Horizontal Swipe Track ── */
    #event-filters,
    .circuit-filter-track {
      display: flex !important;
      flex-wrap: nowrap !important;
      overflow-x: auto !important;
      justify-content: flex-start !important;
      padding: 0.4rem 0.2rem 0.8rem 0.2rem !important;
      gap: 0.5rem !important;
      margin-bottom: 2rem !important;
      -webkit-overflow-scrolling: touch !important;
      scrollbar-width: none !important;
    }
    #event-filters::-webkit-scrollbar,
    .circuit-filter-track::-webkit-scrollbar {
      display: none !important;
    }
    #event-filters .filter-pill,
    .circuit-filter-track .filter-pill {
      flex: 0 0 auto !important;
      white-space: nowrap !important;
      padding: 0.6rem 1.1rem !important;
      font-size: 0.72rem !important;
    }
  }

  /* ── Navbar ── */
  .nav-links {
    display: none !important;
  }
  .mobile-bottom-nav {
    display: flex !important;
  }
  .navbar {
    height: 64px !important;
    padding: 0 5% !important;
  }

  /* ── Bottom nav safe area ── */
  .mobile-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    height: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
  }
  /* Add space above mobile bottom nav so content isn't hidden under it */
  body {
    padding-bottom: 80px !important;
  }

  /* ── Footer Mobile Grid Optimization ── */
  .cat-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.8rem !important;
  }
  .cat-footer-grid > div {
    grid-column: span 1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.2rem;
  }
  .cat-footer-grid > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  #cat-footer {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
  }
  #cat-footer h4 {
    letter-spacing: 1.5px !important;
    font-size: 0.8rem !important;
    word-break: normal !important;
  }

  /* ── Sections near bottom of page ── */
  section:last-of-type {
    padding-bottom: 100px !important;
  }

  /* ── Modal / overlay ── */
  .recruitment-modal-inner,
  .pass-modal-inner {
    padding: 2rem 1.2rem !important;
    margin: 1rem !important;
    border-radius: 16px !important;
  }

  /* ── Header Single-Line Guard ── */
  h1,
  h2,
  h3,
  h4,
  .cat-brand-one-line {
    font-size: clamp(1.4rem, 6.5vw, 2.8rem) !important;
    letter-spacing: -0.5px !important;
    line-height: 1.15 !important;
  }

  /* ── Performance Wings Mobile Compact 70px Rectangle Bars ── */
  .wings-horizontal-track {
    display: flex !important;
    flex-direction: column !important;
    overflow-x: visible !important;
    gap: 0.8rem !important;
    padding: 0.5rem 0 1.5rem 0 !important;
  }
  .wing-flip-card {
    flex: none !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 70px !important;
    margin-bottom: 0 !important;
    perspective: none !important;
    position: relative !important;
  }
  .wing-flip-card-inner {
    transform: none !important;
    height: 70px !important;
    position: relative !important;
  }
  .wing-flip-card-front {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 70px !important;
    padding: 0 1.2rem !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.85) !important;
  }
  .wing-flip-card-back,
  .wing-card-top,
  .wing-sub-tag {
    display: none !important;
  }
  .wing-card-center {
    display: flex !important;
    align-items: center !important;
  }
  .wing-title {
    font-size: 1.2rem !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
  .wing-explore-btn {
    font-size: 0.75rem !important;
    font-weight: 900 !important;
  }
}

/* Extra small screens */
@media (max-width: 550px) {
  .container {
    padding: 0 4% !important;
  }
  .section {
    padding: 40px 4% !important;
  }

  /* Telemetry grid on mobile -> single column so metrics don't get squished */
  .pantheon-telemetry-grid,
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }
  .pantheon-telemetry-grid > div {
    border-right: none !important;
    border-bottom: 1px solid rgba(225, 6, 0, 0.3) !important;
    padding: 1.5rem 0.5rem !important;
  }
  .pantheon-telemetry-grid > div:last-child {
    border-bottom: none !important;
  }

  .ticker-item {
    font-size: 2rem !important;
  }
  .wing-flip-card {
    flex: none !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 70px !important;
  }
}

/* ── Mobile Animation & Performance Optimizations ── */
@media (max-width: 768px) {
  .reveal,
  .reveal.active {
    transition:
      transform 0.25s ease-out,
      opacity 0.25s ease-out !important;
  }
  .f1-carbon-card,
  .unit-card,
  .event-card {
    transition:
      transform 0.2s ease,
      border-color 0.2s ease !important;
  }
}

.netflix-row::-webkit-scrollbar {
  height: 6px;
}
.netflix-row::-webkit-scrollbar-track {
  background: transparent;
}
.netflix-row::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 0, 0.5);
  border-radius: 10px;
}
.netflix-row::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 0, 0, 0.8);
}

/* F1 Telemetry CTA Button */
.f1-cta-btn {
  background: var(--f1-red, #e10600);
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 0.6rem 1.4rem;
  font-weight: 900;
  font-family: "Teko", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  cursor: pointer;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 1;
}

.f1-cta-btn:hover {
  transform: skewX(-5deg) translateY(-2px);
  background: #ff1a1a;
  box-shadow: 0 4px 15px rgba(225, 6, 0, 0.4);
}

/* ── TELEMETRY SKELETON LOADING SYSTEM ── */
.skeleton-box {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.skeleton-box::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(225, 6, 0, 0.15) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: skeleton-shimmer 1.8s infinite;
  content: "";
}

.white-mode .skeleton-box {
  background-color: rgba(0, 0, 0, 0.06);
}

.white-mode .skeleton-box::after {
  background-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0.06) 20%,
    rgba(225, 6, 0, 0.1) 60%,
    rgba(0, 0, 0, 0)
  );
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Skeleton Card Components */
.skeleton-card {
  min-height: 320px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.2rem;
  background: rgba(20, 20, 25, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.skeleton-card .sk-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.skeleton-card .sk-tag {
  width: 35%;
  height: 20px;
  border-radius: 4px;
}
.skeleton-card .sk-pill {
  width: 30%;
  height: 20px;
  border-radius: 4px;
}
.skeleton-card .sk-title {
  width: 75%;
  height: 32px;
  margin-bottom: 1rem;
  border-radius: 6px;
}
.skeleton-card .sk-line {
  width: 100%;
  height: 16px;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}
.skeleton-card .sk-line-short {
  width: 60%;
  height: 16px;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.skeleton-card .sk-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skeleton-card .sk-loc {
  width: 40%;
  height: 18px;
  border-radius: 4px;
}
.skeleton-card .sk-btn {
  width: 45%;
  height: 36px;
  border-radius: 4px;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
}

/* ── 3D F1 RACING HERO GAME UI ── */
#f1-hero-game-wrapper {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  background: #0b0b0e;
  overflow: hidden;
  border-bottom: 2px solid rgba(225, 6, 0, 0.4);
}

#f1-game-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#f1-game-canvas-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Mood Indigo Style Controls Box */
.f1-hud-controls-box {
  position: absolute;
  top: 100px;
  left: 5%;
  z-index: 10;
  background: rgba(15, 15, 20, 0.75);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(225, 6, 0, 0.5);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  color: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  max-width: 280px;
}

.f1-hud-title {
  font-family: "Syne", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #e10600;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.f1-key-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.f1-key-badge {
  background: #1e1e24;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.75rem;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.2);
}

/* Live Telemetry Speedometer & Score HUD */
.f1-telemetry-hud {
  position: absolute;
  top: 100px;
  right: 5%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.f1-speedometer-box {
  background: rgba(15, 15, 20, 0.8);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  text-align: right;
}

.f1-speed-num {
  font-family: "Syne", sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.f1-speed-unit {
  font-size: 0.8rem;
  color: #e10600;
  font-weight: 800;
  letter-spacing: 1px;
}

.f1-hero-cta-overlay {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  width: 90%;
  max-width: 600px;
}

.f1-hero-cta-overlay h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 950;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.f1-mobile-touch-pads {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 12;
  justify-content: space-between;
  padding: 0 5%;
}

@media (max-width: 768px) {
  .f1-hud-controls-box {
    display: none;
  }
  .f1-mobile-touch-pads {
    display: flex;
  }
}

/* ── MOOD INDIGO STYLE F1 VIRTUAL WORLD UI ── */
#f1-world-wrapper {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 650px;
  background: #0b0b0e;
  overflow: hidden;
  border-bottom: 3px solid #e10600;
}

#f1-world-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: grab;
}

#f1-world-canvas-container:active {
  cursor: grabbing;
}

#f1-world-canvas-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Mood Indigo Left Controls HUD Box */
.mood-controls-hud {
  position: absolute;
  top: 100px;
  left: 4%;
  z-index: 10;
  background: rgba(12, 12, 16, 0.8);
  backdrop-filter: blur(16px);
  border: 2px solid #e10600;
  border-radius: 20px;
  padding: 1.4rem;
  color: #fff;
  box-shadow:
    0 10px 30px rgba(225, 6, 0, 0.3),
    inset 0 0 15px rgba(225, 6, 0, 0.15);
  max-width: 240px;
}

.mood-hud-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.mood-hud-row:last-child {
  margin-bottom: 0;
}

.mood-wasd-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.mood-wasd-row {
  display: flex;
  gap: 3px;
}

.mood-key-badge {
  background: #181820;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: "VT323", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  box-shadow: 0 3px 0 rgba(225, 6, 0, 0.6);
}

.mood-key-space {
  width: 60px;
}

.mood-hud-label {
  font-family: "Jersey 10", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #ff3333;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Mood Indigo Bottom Floating Navigation Pills */
.mood-bottom-pills-bar {
  position: absolute;
  bottom: 25px;
  left: 4%;
  z-index: 10;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.mood-pill {
  background: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 2px solid #e10600;
  color: #fff;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-family: "Syne", sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.mood-pill:hover {
  background: #e10600;
  color: #fff;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 25px rgba(225, 6, 0, 0.5);
}

/* Mood Indigo Giant Register Ticket Badge (Bottom Right) */
.mood-register-ticket {
  position: absolute;
  bottom: 25px;
  right: 4%;
  z-index: 10;
  background: linear-gradient(135deg, #e10600 0%, #800000 100%);
  border: 2px solid #ff4d4d;
  color: #fff;
  padding: 1rem 2.2rem;
  font-family: "Jersey 10", sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(225, 6, 0, 0.6);
  animation: mood-ticket-pulse 2s infinite alternate;
}

.mood-register-ticket:hover {
  transform: scale(1.06) translateY(-4px) rotate(-1deg);
  background: linear-gradient(135deg, #ff1a1a 0%, #b30000 100%);
  box-shadow: 0 15px 40px rgba(225, 6, 0, 0.8);
}

@keyframes mood-ticket-pulse {
  0% {
    box-shadow: 0 0 15px rgba(225, 6, 0, 0.4);
  }
  100% {
    box-shadow: 0 0 35px rgba(225, 6, 0, 0.9);
  }
}

/* Mood Indigo Top Navigation Bar Overhaul */
.mood-top-navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 14, 0.9) 0%,
    rgba(11, 11, 14, 0) 100%
  );
}

.mood-nav-menu {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.mood-nav-link {
  color: #fff;
  font-family: "Syne", sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mood-nav-link:hover,
.mood-nav-link.active {
  color: #e10600;
  text-shadow: 0 0 10px rgba(225, 6, 0, 0.6);
}

/* Mobile Controls */
.mood-mobile-dpad {
  display: none;
  position: absolute;
  bottom: 85px;
  left: 4%;
  z-index: 15;
  gap: 6px;
}

@media (max-width: 900px) {
  .mood-controls-hud {
    display: none;
  }
  .mood-mobile-dpad {
    display: flex;
  }
  .mood-top-navbar .mood-nav-menu {
    display: none;
  }
  .mood-register-ticket {
    font-size: 1.1rem;
    padding: 0.8rem 1.4rem;
  }
}

/* ── 3D F1 WORLD LOADER OVERLAY ── */
#f1-world-loader {
  position: absolute;
  inset: 0;
  z-index: 25;
  background: #0a0a0e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

#f1-world-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.f1-loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(225, 6, 0, 0.2);
  border-top: 4px solid #e10600;
  border-radius: 50%;
  animation: f1-spin 0.8s linear infinite;
}

@keyframes f1-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.f1-loader-title {
  font-family: "Jersey 10", sans-serif;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 2px;
}

.f1-loader-sub {
  font-family: "VT323", monospace;
  font-size: 1.1rem;
  color: #00f0ff;
}

.f1-loader-bar {
  width: 260px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.f1-loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #e10600, #00f0ff);
  transition: width 0.3s ease;
}

/* ── 3D F1 WORLD OVERRIDE (NEVER HIDDEN BY INTERSECTION OBSERVER) ── */
#f1-world-wrapper,
#f1-world-canvas-container,
#f1-world-canvas-container canvas {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* ── F1 WORLD CANVAS Z-INDEX OVERRIDE (SOLVES BACKGROUND OVERLAP) ── */
#f1-world-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 85vh !important;
  min-height: 600px !important;
  background: #0a0a0e !important;
  overflow: hidden !important;
  z-index: 100 !important;
}

#f1-world-canvas-container {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 5 !important;
  background: #0a0a0e !important;
}

#f1-world-canvas-container canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 6 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.mood-controls-hud,
.mood-bottom-pills-bar,
.mood-register-ticket,
.mood-mobile-dpad {
  z-index: 30 !important;
}

/* ── MASTER F1 WORLD GAME CANVAS STYLING ── */
#f1-world-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 85vh !important;
  min-height: 620px !important;
  background: #0a0a0e !important;
  overflow: hidden !important;
  z-index: 100 !important;
}

#f1-world-canvas-container {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
  background: #0a0a0e !important;
}

#f1-world-canvas-container canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.mood-controls-hud,
.mood-bottom-pills-bar,
.mood-register-ticket,
.mood-mobile-dpad {
  z-index: 30 !important;
}

/* ── EXACT FEST LANDING HERO (CLEAN MATTE, NO NEON, MOTORSPORT TELEMETRY BG) ── */
#fest-hero-landing {
  position: relative !important;
  width: 100% !important;
  min-height: 80vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 100px 5% 60px !important;
  background: #0a0a0e url("../assets/images/motorsport_telemetry_bg.jpg")
    center/cover no-repeat !important;
  border-bottom: 2px solid #e10600 !important;
  overflow: hidden !important;
}

.fest-hero-content {
  position: relative !important;
  z-index: 10 !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

.fest-main-title {
  font-family: "Syne", sans-serif !important;
  font-size: clamp(3.5rem, 10vw, 7rem) !important;
  font-weight: 950 !important;
  line-height: 0.92 !important;
  letter-spacing: -2px !important;
  margin-bottom: 1rem !important;
  text-transform: uppercase !important;
}

.fest-main-title .text-white {
  color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
}

.fest-main-title .text-red {
  color: #e10600 !important;
  text-shadow: none !important;
  filter: none !important;
}

.fest-subtitle {
  font-family: "Space Grotesk", sans-serif !important;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
  color: #aaaaaa !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  margin: 0 auto 2.2rem !important;
  text-transform: uppercase !important;
}

.fest-cta-group {
  display: flex !important;
  gap: 1.2rem !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.fest-primary-cta {
  padding: 1rem 2.2rem !important;
  font-size: 1.15rem !important;
  box-shadow: none !important;
  border: 2px solid #e10600 !important;
  background: #e10600 !important;
  color: #ffffff !important;
}

.fest-secondary-cta {
  padding: 1rem 2rem !important;
  font-size: 1.05rem !important;
  border: 1px solid #333344 !important;
  background: #12121c !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  #fest-hero-landing {
    padding: 85px 1.2rem 40px !important;
    min-height: 75vh !important;
  }
  .fest-main-title {
    font-size: 3.4rem !important;
  }
  .fest-subtitle {
    font-size: 1.1rem !important;
    margin-bottom: 1.8rem !important;
  }
}

/* ── LENIS SMOOTH SCROLL & PARALLAX ENGINE ── */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* ── INFINITE MARQUEE TICKER BANNER ── */
.marquee-ticker-banner {
  width: 100%;
  background: #e10600;
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.8rem 0;
  border-top: 2px solid #ff3333;
  border-bottom: 2px solid #aa0000;
}
.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 22s linear infinite;
}
.marquee-track span {
  font-family: "Jersey 10", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 3px;
  padding-right: 2rem;
  text-transform: uppercase;
}
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── LIVE TELEMETRY STAT COUNTERS SECTION ── */
.telemetry-stats-section {
  padding: 80px 0;
  background: #0a0a0e;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}
.stat-card {
  background: #12121c;
  border: 1px solid #222233;
  padding: 2.2rem 1.8rem;
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease;
}
.stat-card:hover {
  border-color: #e10600;
  transform: translateY(-6px);
}
.stat-number-wrapper {
  font-family: "Syne", sans-serif;
  font-size: 3.4rem;
  font-weight: 950;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.stat-number {
  color: #e10600;
}
.stat-prefix {
  color: #ffffff;
  font-size: 2.6rem;
  margin-right: 0.2rem;
}
.stat-label {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.stat-sub {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  color: #888899;
}

/* ── 3D TILT CARDS & CURSOR SPOTLIGHT ── */
.spotlight-card {
  position: relative;
}
.spotlight-card::before {
  content: "";
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(225, 6, 0, 0.25) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.spotlight-card:hover::before {
  opacity: 1;
}

/* ── SMART AUTO-HIDE NAVBAR & REDUCED LOGO SIZE ── */
.navbar {
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease,
    border-color 0.3s ease !important;
}
.navbar.nav-hidden {
  transform: translateY(-100%) !important;
}
.navbar.nav-visible {
  transform: translateY(0) !important;
}

/* Reduced CAT Logo Size */
.navbar .logo img,
.logo img {
  height: 32px !important;
  width: auto !important;
  max-height: 32px !important;
  transition: transform 0.2s ease;
}

.navbar .logo .logo-text,
.logo .logo-text {
  font-size: 1.1rem !important;
  letter-spacing: 1px !important;
}

/* ── ULTIMATE FORCE FIX FOR NAVBAR SCROLL & SMALL LOGO ── */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease !important;
}

.navbar.nav-hidden {
  transform: translateY(-100%) !important;
}

.navbar.nav-visible {
  transform: translateY(0) !important;
}

/* Force Small Logo Size Across All Pages */
.logo img,
.navbar .logo img,
nav.navbar img,
.nav-container img {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
}

.logo .logo-text,
.navbar .logo-text {
  font-size: 1.05rem !important;
}

/* 3D Tilt & Spotlight Card Base Styling */
.spotlight-card,
.3d-tilt,
.event-card,
.wing-flip-card,
.unit-card {
  position: relative !important;
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

.spotlight-card::before,
.3d-tilt::before {
  content: "" !important;
  position: absolute !important;
  top: var(--mouse-y, 50%) !important;
  left: var(--mouse-x, 50%) !important;
  width: 250px !important;
  height: 250px !important;
  background: radial-gradient(
    circle,
    rgba(225, 6, 0, 0.35) 0%,
    transparent 70%
  ) !important;
  transform: translate(-50%, -50%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
  z-index: 5 !important;
}

.spotlight-card:hover::before,
.3d-tilt:hover::before {
  opacity: 1 !important;
}

/* ── GUARANTEED AUTO-HIDE NAVBAR SCROLL CSS ── */
header,
nav.navbar,
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

header.nav-hidden,
nav.navbar.nav-hidden,
.navbar.nav-hidden {
  transform: translateY(-100%) !important;
}

header.nav-visible,
nav.navbar.nav-visible,
.navbar.nav-visible {
  transform: translateY(0) !important;
}

/* ── FLOATING F1 WEB AUDIO TELEMETRY SOUND DOCK ── */
#f1-audio-dock {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 9999;
}
.f1-audio-btn {
  background: rgba(18, 18, 28, 0.9);
  backdrop-filter: blur(10px);
  border: 1.5px solid #e10600;
  color: #ffffff;
  font-family: "Jersey 10", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 8px 25px rgba(225, 6, 0, 0.4);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.f1-audio-btn:hover {
  transform: translateY(-3px);
  border-color: #00f0ff;
}
.audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}
.audio-bars .bar {
  width: 3px;
  background: #e10600;
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}
.f1-audio-btn.active .audio-bars .b1 {
  animation: soundBar 0.5s infinite alternate;
}
.f1-audio-btn.active .audio-bars .b2 {
  animation: soundBar 0.7s infinite alternate 0.2s;
}
.f1-audio-btn.active .audio-bars .b3 {
  animation: soundBar 0.6s infinite alternate 0.1s;
}
@keyframes soundBar {
  0% {
    height: 4px;
    background: #e10600;
  }
  100% {
    height: 14px;
    background: #00f0ff;
  }
}

/* ── F1 TELEMETRY RACE COUNTDOWN & SECTOR BAR ── */
.f1-telemetry-countdown-section {
  padding: 60px 0;
  background: #0d0d14;
  border-top: 1px solid #1f1f2e;
  border-bottom: 1px solid #1f1f2e;
  text-align: center;
}
.sector-status-bar {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.sector-badge {
  font-family: "VT323", monospace;
  font-size: 1.1rem;
  padding: 0.3rem 0.9rem;
  border-radius: 4px;
  letter-spacing: 1px;
}
.sector-badge.green {
  background: rgba(0, 255, 100, 0.15);
  color: #00ff64;
  border: 1px solid #00ff64;
}
.sector-badge.cyan {
  background: rgba(0, 240, 255, 0.15);
  color: #00f0ff;
  border: 1px solid #00f0ff;
}
.sector-badge.red {
  background: rgba(225, 6, 0, 0.15);
  color: #ff3333;
  border: 1px solid #e10600;
}

.countdown-header {
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.countdown-box {
  background: #141420;
  border: 1.5px solid #222235;
  padding: 1.2rem 1.8rem;
  border-radius: 8px;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cnt-val {
  font-family: "Syne", sans-serif;
  font-size: 2.8rem;
  font-weight: 950;
  color: #e10600;
  line-height: 1;
}
.cnt-lbl {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  color: #8888a0;
  letter-spacing: 1.5px;
  margin-top: 0.4rem;
}

/* ── HOLOGRAPHIC F1 VIP PADDOCK PASS GENERATOR MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-card {
  background: #101018;
  border: 2px solid #e10600;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(225, 6, 0, 0.5);
}
.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer !important;
}
.modal-header h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}
.modal-header p {
  color: #8888a0;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.pass-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.form-group label {
  font-family: "VT323", monospace;
  font-size: 1.1rem;
  color: #e10600;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.3rem;
}
.form-group input {
  width: 100%;
  background: #181824;
  border: 1px solid #333348;
  color: #ffffff;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.holographic-pass-card {
  position: relative;
  background: linear-gradient(135deg, #181828 0%, #0a0a14 100%);
  border: 2px solid #e10600;
  border-radius: 10px;
  padding: 1.4rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.holo-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(0, 240, 255, 0.25) 45%,
    rgba(225, 6, 0, 0.25) 55%,
    transparent 80%
  );
  pointer-events: none;
  animation: holoSweep 4s infinite linear;
}
@keyframes holoSweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.pass-logo {
  font-family: "Syne", sans-serif;
  font-weight: 950;
  color: #ffffff;
  font-size: 1.3rem;
}
.pass-badge {
  background: #e10600;
  color: #ffffff;
  font-family: "Jersey 10", sans-serif;
  font-size: 0.9rem;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  letter-spacing: 1px;
}
.pass-name {
  font-family: "Syne", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
}
.pass-usn {
  font-family: "VT323", monospace;
  font-size: 1.2rem;
  color: #00f0ff;
  margin-bottom: 1.2rem;
}
.pass-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #333348;
  padding-top: 0.8rem;
}
.pass-serial {
  font-family: "VT323", monospace;
  font-size: 1.1rem;
  color: #8888a0;
}

/* ── AWWWARDS-LEVEL VISUAL DESIGN SYSTEM OVERHAUL ── */

/* 1. Global Glassmorphism & Surface Tokens */
.unit-card,
.event-card,
.cmt-fan-card,
.wing-flip-card,
.intel-card,
.stat-card,
.f1-carbon-card {
  background: rgba(18, 18, 26, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.6) !important;
  border-radius: 8px !important;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease !important;
}

.unit-card:hover,
.event-card:hover,
.cmt-fan-card:hover,
.wing-flip-card:hover,
.intel-card:hover,
.stat-card:hover,
.f1-carbon-card:hover {
  border-color: rgba(225, 6, 0, 0.6) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 25px 50px rgba(225, 6, 0, 0.25) !important;
}

/* 2. Refined Typographic Hierarchy & Negative Tracking */
h1,
h2,
h3,
.section-title,
.hero-title,
.fest-main-title {
  font-family: "Syne", sans-serif !important;
  letter-spacing: -0.03em !important;
  line-height: 0.98 !important;
}

p,
.section-subtitle,
.fest-subtitle,
.stat-sub {
  font-family: "Space Grotesk", sans-serif !important;
  color: #a0a0b2 !important;
  line-height: 1.65 !important;
}

/* 3. Refined Navbar Glassmorphism */
nav.navbar,
.navbar {
  background: rgba(10, 10, 14, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* 4. Tactile Button Micro-Interactions */
.f1-cta-btn,
.btn-primary-noir {
  border-radius: 4px !important;
  font-family: "Syne", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s ease,
    background-color 0.2s ease !important;
}

.f1-cta-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(225, 6, 0, 0.5) !important;
}

.btn-textured-dark:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* 5. Clean Layout Whitespace */
.section {
  padding: 100px 0 !important;
}

/* ── REMOVE F1 AUDIO DOCK ── */
#f1-audio-dock {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
<<<<<<< HEAD

/* ── PRESERVE VIBRANT CARD COLORS & SLEEK DIMENSIONS ── */
.netflix-row .event-card,
.pantheon-event-card,
.event-card {
  flex: 0 0 300px !important;
  min-width: 300px !important;
  max-width: 320px !important;
  min-height: 420px !important;
  height: auto !important;
  max-height: none !important;
  padding: 1.8rem 1.5rem !important;
  border-radius: 16px !important;
}

.netflix-row {
  display: flex !important;
  overflow-x: auto !important;
  gap: 1.5rem !important;
  padding: 1rem 0.5rem 2rem 0.5rem !important;
  scroll-behavior: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e10600 #12121c;
}

.netflix-row::-webkit-scrollbar {
  height: 6px;
}
.netflix-row::-webkit-scrollbar-thumb {
  background: #e10600;
  border-radius: 10px;
}

/* ── FORCE AUTO SCROLL BEHAVIOR FOR INSTANT PROXIMITY SCROLLING ── */
.netflix-row,
.events-carousel-track,
.horizontal-scroll-container {
  scroll-behavior: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
=======
>>>>>>> parent of 4553a21 (feat: resize event cards to sleeker ~420px height and build cursor proximity horizontal auto-scroll engine)


/* ── PANTHEON GRAND PRIX CIRCUITS PROPER GRID STYLING ── */
.pantheon-row-wrapper {
  width: 100%;
  margin-bottom: 3.5rem;
}

.pantheon-circuits-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
  gap: 2rem !important;
  overflow: visible !important;
  padding: 1rem 0 !important;
}

.pantheon-circuits-grid .event-card {
  flex: none !important;
  width: 100% !important;
  background: #12121c !important;
  color: #ffffff !important;
  border: 1.5px solid #222235 !important;
  border-radius: 12px !important;
  padding: 2rem !important;
  position: relative !important;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease !important;
}

.pantheon-circuits-grid .event-card:hover {
  border-color: #e10600 !important;
  box-shadow: 0 15px 40px rgba(225, 6, 0, 0.35) !important;
}

.circuit-filter-track .filter-pill {
  transition: all 0.25s ease !important;
}
.circuit-filter-track .filter-pill:hover,
.circuit-filter-track .filter-pill.active {
  background: #e10600 !important;
  color: #ffffff !important;
  border-color: #e10600 !important;
}

/* ── COMPACT CIRCUITS GRID (REDUCES SCROLL FATIGUE) ── */
.pantheon-circuits-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 1.4rem !important;
}

.pantheon-circuits-grid .event-card {
  padding: 1.4rem !important;
  min-height: auto !important;
}
