/* =============================================
   IFTR 2026 — Premium UI/UX Stylesheet
   Color Palette: #2597b6 · #ea6e38 · #1f566d
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  --turquoise: #2597b6;
  --turquoise-light: #3bb5d4;
  --turquoise-glow: rgba(37, 151, 182, 0.35);
  --orange: #ea6e38;
  --orange-light: #f08a5a;
  --orange-glow: rgba(234, 110, 56, 0.3);
  --deep-teal: #1f566d;
  --deep-teal-light: #2a7a96;
  --ink: #12303c;
  --soft: #f3f7f5;
  --leaf: #18b96f;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.28);
  --glass-dark: rgba(18, 48, 60, 0.65);
  --shadow-sm: 0 4px 16px rgba(18, 48, 60, 0.08);
  --shadow-md: 0 12px 40px rgba(18, 48, 60, 0.14);
  --shadow-lg: 0 24px 80px rgba(18, 48, 60, 0.22);
  --shadow-glow-turquoise: 0 8px 32px rgba(37, 151, 182, 0.25);
  --shadow-glow-orange: 0 8px 32px rgba(234, 110, 56, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 320ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Keyframes ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 var(--orange-glow);
  }

  50% {
    box-shadow: 0 0 20px 6px var(--orange-glow);
  }
}

@keyframes ctaPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 16px var(--orange-glow);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 10px 28px rgba(234, 110, 56, 0.5);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes shineSweep {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

@keyframes floatGentle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes countPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

@keyframes borderGlow {

  0%,
  100% {
    border-color: rgba(37, 151, 182, 0.3);
  }

  50% {
    border-color: rgba(37, 151, 182, 0.7);
  }
}

@keyframes iconBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-6px);
  }

  60% {
    transform: translateY(-3px);
  }
}

@keyframes savePulse {

  0%,
  100% {
    transform: scale(1) rotate(-2deg);
  }

  50% {
    transform: scale(1.08) rotate(-2deg);
  }
}

@keyframes tickDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.4;
    transform: translateY(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Scroll Animation Utility ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.slide-left {
  transform: translateX(-40px);
}

.animate-on-scroll.slide-right {
  transform: translateX(40px);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* stagger children */
.stagger-children .animate-on-scroll:nth-child(1) {
  transition-delay: 0ms;
}

.stagger-children .animate-on-scroll:nth-child(2) {
  transition-delay: 120ms;
}

.stagger-children .animate-on-scroll:nth-child(3) {
  transition-delay: 240ms;
}

.stagger-children .animate-on-scroll:nth-child(4) {
  transition-delay: 360ms;
}

.stagger-children .animate-on-scroll:nth-child(5) {
  transition-delay: 480ms;
}

.stagger-children .animate-on-scroll:nth-child(6) {
  transition-delay: 600ms;
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Reset & Base ── */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

main {
  display: flex;
  flex-direction: column;
}

/* .hero-section {
  order: 1;
}

.race-section {
  order: 2;
}

.routes-section {
  order: 3;
}

.price-section {
  order: 4;
}

.visual-band {
  order: 5;
}

.rundown-section {
  order: 6;
}

.gear-section {
  order: 7;
}

.regulations-section {
  order: 8;
}

.register-section {
  order: 9;
}

.sponsorship-section {
  order: 10;
}

.info-section {
  order: 11;
} */

.fw-black {
  font-weight: 900;
}

/* ── Buttons ── */
.btn {
  align-items: center;
  border-radius: var(--radius-sm);
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: none;
}

.btn:hover::after {
  animation: shineSweep 0.6s ease forwards;
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), #d85b29);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.btn-orange:hover,
.btn-orange:focus {
  background: linear-gradient(135deg, #f08a5a, #c04e1f);
  border-color: #d85b29;
  color: var(--white);
  box-shadow: var(--shadow-glow-orange);
  transform: translateY(-2px);
}

.btn-pulse {
  animation: ctaPulse 2.4s ease-in-out infinite;
}

.btn-pulse:hover,
.btn-pulse:focus {
  animation: none;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px rgba(234, 110, 56, 0.6);
}

.btn-teal {
  background: linear-gradient(135deg, var(--deep-teal), #174454);
  border-color: var(--deep-teal);
  color: var(--white);
}

.btn-teal:hover,
.btn-teal:focus {
  background: linear-gradient(135deg, var(--deep-teal-light), var(--deep-teal));
  border-color: #174454;
  color: var(--white);
  box-shadow: var(--shadow-glow-turquoise);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   NAVBAR — Glassmorphism + Scroll Effect
   ══════════════════════════════════════════════ */
.event-navbar {
  background: rgba(255, 255, 255, 0.90);
  border-bottom: 1px solid rgba(31, 86, 109, 0.08);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: all var(--transition-slow);
  box-shadow: none;
}

.event-navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(37, 151, 182, 0.2);
  box-shadow: 0 4px 30px rgba(31, 86, 109, 0.1);
}

.navbar-brand {
  align-items: center;
  color: var(--deep-teal);
  display: flex;
  gap: 10px;
  letter-spacing: 0;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.06) rotate(-2deg);
}

.brand-mark {
  background: var(--turquoise);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.85rem;
  line-height: 1;
  padding: 8px 9px;
}

.nav-link {
  color: var(--deep-teal);
  font-weight: 700;
  position: relative;
  padding-bottom: 6px;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--orange), var(--turquoise));
  border-radius: 2px;
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--orange);
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 80%;
}

.nav-register-btn {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* ══════════════════════════════════════════════
   HERO — Cinematic Depth
   ══════════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  overflow: hidden;
  padding: 150px 0 64px;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  background: url("assets/poster-early-bird-iftr-2026.jpg") center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 12s ease;
}

/* Slow ken-burns on load */
.hero-section:hover .hero-media {
  transform: scale(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(31, 86, 109, 0.97) 0%, rgba(31, 86, 109, 0.85) 45%, rgba(31, 86, 109, 0.25) 100%),
    linear-gradient(180deg, rgba(18, 48, 60, 0.5), rgba(18, 48, 60, 0.1)),
    linear-gradient(0deg, rgba(18, 48, 60, 0.95) 0%, rgba(18, 48, 60, 0) 45%);
}

/* Decorative gradient art */
.hero-gradient-art {
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 55%;
  max-width: 700px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  animation: floatGentle 8s ease-in-out infinite;
}

/* Pattern watermark */
.hero-pattern-watermark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("assets/pattern/pattern-putih.png") center / 600px repeat;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* Faint background logo on hero overlay left side */
.hero-bg-logo-left {
  position: absolute;
  top: 50%;
  left: 1%;
  transform: translateY(-50%);
  height: 85%;
  max-height: 720px;
  width: auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.15));
}

.hero-badge-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.hero-content {
  color: var(--white);
  position: relative;
  z-index: 1;
}

/* Hero entrance animations */
.hero-content .event-kicker {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.2s;
}

.hero-content h1 {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.4s;
}

.hero-content .hero-copy {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.6s;
}

.hero-content .hero-actions {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.8s;
}

.hero-content .quick-panel {
  animation: fadeUp 0.8s ease both;
  animation-delay: 1s;
}

.event-kicker {
  color: #bceffa;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.event-kicker.dark {
  color: var(--turquoise);
}

h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  max-width: 900px;
  background: linear-gradient(135deg, var(--white) 60%, #bceffa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.8rem);
}

.hero-copy {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.6;
  margin: 24px 0 30px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
}

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

/* ── Quick Panel (Glassmorphism) ── */
.quick-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0;
  padding: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  animation: borderGlow 4s ease-in-out infinite;
}

.quick-panel>div {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition-fast);
}

.quick-panel>div:last-child {
  border-bottom: none;
}

.quick-panel>div:hover {
  background: rgba(255, 255, 255, 0.06);
}

.quick-panel span,
.info-grid span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  opacity: 0.65;
  text-transform: uppercase;
}

.quick-panel strong,
.info-grid strong {
  display: block;
  font-size: 1.08rem;
  margin-top: 5px;
}

/* ── Countdown Timer ── */
.countdown-container {
  margin-top: 28px;
  padding: 20px 24px;
  background: rgba(234, 110, 56, 0.12);
  border: 1px solid rgba(234, 110, 56, 0.25);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 12px;
}

.countdown-timer {
  display: flex;
  gap: 14px;
}

.countdown-unit {
  text-align: center;
  min-width: 58px;
}

.countdown-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  animation: countPulse 2s ease-in-out infinite;
}

.countdown-unit:nth-child(2) .countdown-number {
  animation-delay: 0.2s;
}

.countdown-unit:nth-child(3) .countdown-number {
  animation-delay: 0.4s;
}

.countdown-unit:nth-child(4) .countdown-number {
  animation-delay: 0.6s;
}

.countdown-text {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

.countdown-separator {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  padding-top: 2px;
  animation: tickDown 1s ease infinite;
}

.btn-outline-light {
  color: #fff;
  border-color: #fff;
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  box-shadow: none;
}

/* ══════════════════════════════════════════════
   SECTIONS — Base
   ══════════════════════════════════════════════ */
.section-strip,
.visual-band,
.register-section,
.gear-section,
.rundown-section,
.sponsorship-section,
.regulations-section,
.price-section,
.info-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-heading {
  margin: 0 0 44px;
  max-width: 760px;
}

.section-heading p {
  color: var(--orange);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.section-heading.light {
  color: var(--white);
}

.section-heading.light p {
  color: #ffb496;
}

/* ══════════════════════════════════════════════
   RACE CARDS — Interactive & Branded
   ══════════════════════════════════════════════ */
.race-section {
  background:
    url("assets/pattern/pattern-biru-muda.png") center / 500px repeat;
  background-color: var(--soft);
  position: relative;
}

.race-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(243, 247, 245, 0.92) 0%,
      rgba(243, 247, 245, 0.93) 50%,
      rgba(243, 247, 245, 0.95) 100%);
  z-index: 0;
}

.race-section>.container {
  position: relative;
  z-index: 1;
}

.race-card {
  border-radius: var(--radius-md);
  color: var(--white);
  min-height: 100%;
  overflow: hidden;
  padding: 32px;
  position: relative;
  transition: all var(--transition-base);
  cursor: default;
}

.race-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.race-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("assets/pattern/pattern-putih.png") center / 350px repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.race-card::after {
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  content: "";
  height: 200px;
  position: absolute;
  right: -80px;
  top: -80px;
  width: 200px;
  transition: all var(--transition-slow);
}

.race-card:hover::after {
  transform: scale(1.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Shine sweep on hover */
.race-card .shine-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.race-card .shine-layer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-15deg);
}

.race-card:hover .shine-layer::after {
  animation: shineSweep 0.7s ease forwards;
}

.race-card>i {
  font-size: 2.6rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-base);
}

.race-card:hover>i {
  animation: iconBounce 0.5s ease;
}

.race-card h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.race-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
  position: relative;
  z-index: 2;
}

.race-card dl div {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  transition: padding-left var(--transition-fast);
}

.race-card:hover dl div {
  padding-left: 4px;
}

.race-card dt {
  font-size: 0.78rem;
  opacity: 0.82;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.race-card dd {
  font-weight: 900;
  margin: 0;
  text-align: right;
}

.race-blue {
  background: linear-gradient(145deg, var(--turquoise), var(--deep-teal));
  box-shadow: 0 16px 40px rgba(37, 151, 182, 0.3);
}

.race-green {
  background: linear-gradient(145deg, var(--leaf), var(--deep-teal));
  box-shadow: 0 16px 40px rgba(24, 185, 111, 0.25);
}

.race-orange {
  background: linear-gradient(145deg, var(--orange), #b94120);
  box-shadow: 0 16px 40px rgba(234, 110, 56, 0.3);
}

/* ══════════════════════════════════════════════
   VISUAL BAND — The Trail
   ══════════════════════════════════════════════ */
.visual-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(234, 110, 56, 0.16), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(37, 151, 182, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 245, 0.97)),
    url("assets/pattern/pattern-orange.png") center / 520px repeat;
}

.visual-band-gradient-art {
  position: absolute;
  top: -10%;
  left: -8%;
  width: 45%;
  max-width: 550px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.visual-band>.container {
  position: relative;
  z-index: 1;
}

.visual-band p,
.register-section p {
  font-size: 1.08rem;
  line-height: 1.75;
}

.feature-image {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  transition: all var(--transition-slow);
  border: 3px solid transparent;
}

.feature-image:hover {
  box-shadow: var(--shadow-glow-turquoise);
  border-color: rgba(37, 151, 182, 0.3);
  transform: scale(1.02);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.feature-list span {
  align-items: center;
  background: linear-gradient(135deg, #e8f4f2, #ddf0ee);
  border-radius: var(--radius-sm);
  color: var(--deep-teal);
  display: inline-flex;
  font-weight: 800;
  font-size: 14px;
  gap: 8px;
  padding: 10px 14px;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.feature-list span:hover {
  background: linear-gradient(135deg, #d4ece8, #c7e8e4);
  border-color: rgba(37, 151, 182, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-list span i {
  color: var(--turquoise);
}

/* ══════════════════════════════════════════════
   ROUTES — Full Pattern Background
   ══════════════════════════════════════════════ */
.routes-section {
  background:
    linear-gradient(135deg, rgba(31, 86, 109, 0.08), rgba(234, 110, 56, 0.08)),
    radial-gradient(circle at 85% 15%, rgba(37, 151, 182, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(243, 247, 245, 0.93), rgba(243, 247, 245, 0.96)),
    url("assets/pattern/pattern-biru-muda.png") center / 500px repeat;
  position: relative;
}

.routes-watermark-logo {
  height: 52px;
  width: auto;
  opacity: 0.85;
  filter: drop-shadow(0 4px 8px rgba(31, 86, 109, 0.1));
  transition: transform var(--transition-base);
}

.routes-watermark-logo:hover {
  transform: scale(1.08) rotate(3deg);
}

.route-card-btn {
  background: var(--white);
  border: 2px solid rgba(31, 86, 109, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: all var(--transition-base);
  width: 100%;
  cursor: pointer;
  height: 100%;
}

.route-card-btn:hover,
.route-card-btn:focus {
  border-color: var(--turquoise);
  box-shadow: var(--shadow-glow-turquoise);
  transform: translateY(-6px);
}

.route-card-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fafcfb, #f0f6f4);
  border-bottom: 1px solid rgba(31, 86, 109, 0.08);
}

.route-pill {
  border-radius: 20px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 5px 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pill-blue {
  background: linear-gradient(135deg, var(--turquoise), var(--deep-teal-light));
}

.pill-green {
  background: linear-gradient(135deg, var(--leaf), #14a060);
}

.pill-orange {
  background: linear-gradient(135deg, var(--orange), #d85b29);
}

.route-zoom-hint {
  color: var(--turquoise);
  font-size: 0.82rem;
  font-weight: 800;
  transition: color var(--transition-fast);
}

.route-card-btn:hover .route-zoom-hint {
  color: var(--orange);
}

.route-card-btn:hover .route-zoom-hint i {
  animation: iconBounce 0.5s ease;
}

.route-thumb-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #0d2732;
}

.route-thumb-wrapper img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
  width: 100%;
}

.route-thumb-overlay {
  align-items: center;
  background: rgba(18, 48, 60, 0.5);
  backdrop-filter: blur(3px);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  position: absolute;
  transition: opacity var(--transition-base);
}

.route-card-btn:hover .route-thumb-wrapper img {
  transform: scale(1.08);
}

.route-card-btn:hover .route-thumb-overlay {
  opacity: 1;
}

.route-card-body {
  padding: 16px 18px;
  background: var(--white);
  width: 100%;
}

.route-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.route-specs div {
  background: linear-gradient(135deg, #f1f7f6, #e8f0ee);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
  font-size: 0.7rem;
  color: var(--deep-teal);
  font-weight: 800;
  transition: all var(--transition-fast);
}

.route-card-btn:hover .route-specs div {
  background: linear-gradient(135deg, #e4f2ef, #d8ece8);
}

.route-specs i {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--orange);
}

.route-specs strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.route-tile {
  background: var(--white);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(31, 86, 109, 0.14);
  display: block;
  overflow: hidden;
  padding: 0;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.route-tile img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 220ms ease;
  width: 100%;
}

.route-tile span {
  align-items: center;
  color: var(--deep-teal);
  display: flex;
  font-size: 1.2rem;
  font-weight: 900;
  justify-content: space-between;
  padding: 18px 20px;
}

.route-tile span::after {
  color: var(--orange);
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-size: 1rem;
  font-weight: 900;
}

.route-tile:hover img,
.route-tile:focus img {
  transform: scale(1.04);
}

/* ══════════════════════════════════════════════
   RUNDOWN — Timeline Enhancement
   ══════════════════════════════════════════════ */
.rundown-section {
  background:
    radial-gradient(circle at 16% 10%, rgba(37, 151, 182, 0.14), transparent 26%),
    radial-gradient(circle at 86% 88%, rgba(234, 110, 56, 0.16), transparent 30%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.92),
      rgba(245, 250, 248, 0.95)),
    url("assets/pattern/pattern-orange.png") center / 550px repeat;
  position: relative;
}

.rundown-section>.container {
  position: relative;
  z-index: 1;
}

.rundown-layout {
  display: grid;
  gap: 0;
  position: relative;
  padding-left: 32px;
}

/* Timeline vertical line */
.rundown-layout::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--turquoise), var(--orange));
  border-radius: 4px;
}

.rundown-card {
  background: #f7fbfa;
  border: 1px solid rgba(31, 86, 109, 0.1);
  border-radius: var(--radius-md);
  display: grid;
  gap: 22px;
  grid-template-columns: 180px 1fr;
  padding: 22px;
  position: relative;
  margin-bottom: 16px;
  transition: all var(--transition-base);
}

.rundown-card:last-child {
  margin-bottom: 0;
}

/* Timeline dot */
.rundown-card::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--turquoise);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px rgba(37, 151, 182, 0.3);
  z-index: 2;
  transition: all var(--transition-base);
}

.rundown-card:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 0 5px rgba(37, 151, 182, 0.4);
}

.rundown-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.rundown-card.featured {
  border-color: rgba(37, 151, 182, 0.3);
  background: linear-gradient(135deg, #f0fafb, #f7fbfa);
}

.rundown-card.featured::before {
  background: var(--turquoise-light);
  box-shadow: 0 0 0 3px rgba(37, 151, 182, 0.4);
}

.rundown-card.race-day {
  background:
    linear-gradient(135deg, rgba(31, 86, 109, 0.97), rgba(18, 48, 60, 0.97)),
    url("assets/pattern/pattern-orange.png") center / 400px repeat;
  color: var(--white);
  border-color: transparent;
}

.rundown-card.race-day::before {
  background: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.rundown-date {
  align-content: center;
  background: linear-gradient(145deg, var(--turquoise), var(--deep-teal));
  border-radius: var(--radius-sm);
  color: var(--white);
  display: grid;
  min-height: 116px;
  padding: 18px;
  transition: transform var(--transition-base);
}

.rundown-card:hover .rundown-date {
  transform: scale(1.03);
}

.rundown-card.race-day .rundown-date {
  background: linear-gradient(145deg, var(--orange), #d85b29);
}

.rundown-date span {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.rundown-date strong {
  font-size: 0.82rem;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rundown-items {
  display: grid;
  gap: 14px;
}

.rundown-items div {
  border-left: 4px solid var(--orange);
  padding-left: 16px;
  transition: all var(--transition-fast);
}

.rundown-items div:hover {
  border-left-width: 6px;
  padding-left: 18px;
}

.rundown-card.race-day .rundown-items div {
  border-left-color: #7cd7e9;
}

.rundown-items time {
  color: var(--orange);
  display: block;
  font-weight: 900;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.rundown-card.race-day .rundown-items time {
  color: #9beafa;
}

.rundown-items strong,
.rundown-items span {
  display: block;
}

.rundown-items strong {
  font-size: 1.05rem;
  line-height: 1.3;
}

.rundown-items span {
  color: #5b7a86;
  font-weight: 800;
  margin-top: 3px;
  font-size: 0.88rem;
}

.rundown-card.race-day .rundown-items span {
  color: rgba(255, 255, 255, 0.65);
}

.rundown-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ══════════════════════════════════════════════
   PRICE — Premium Dark with Patterns
   ══════════════════════════════════════════════ */
.price-section {
  background:
    linear-gradient(135deg, rgba(31, 86, 109, 0.97), rgba(18, 48, 60, 0.95)),
    url("assets/pattern/pattern-biru-tua.png") center / 500px repeat;
  position: relative;
}

.price-gradient-art {
  position: absolute;
  bottom: -10%;
  right: -8%;
  width: 40%;
  max-width: 500px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.price-section>.container {
  position: relative;
  z-index: 1;
}

.price-table {
  display: grid;
  gap: 16px;
}

.price-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 1fr 1fr;
  padding: 24px 28px;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.price-row:hover {
  border-color: var(--turquoise);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-turquoise);
}

/* Shine sweep on hover */
.price-row::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 151, 182, 0.08), transparent);
  pointer-events: none;
}

.price-row:hover::after {
  animation: shineSweep 0.7s ease forwards;
}

.price-row strong {
  color: var(--deep-teal);
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.price-row span {
  color: #527482;
  font-weight: 800;
}

.price-row del {
  color: #8aa4af;
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: line-through;
}

.price-row b {
  color: var(--orange);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  text-align: right;
}

.save-badge {
  position: absolute;
  top: 12px;
  right: 16px;
  background: linear-gradient(135deg, var(--orange), #d85b29);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  animation: savePulse 2s ease-in-out infinite;
  box-shadow: 0 4px 12px var(--orange-glow);
}

/* ══════════════════════════════════════════════
   REGISTER CTA
   ══════════════════════════════════════════════ */
.register-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 84%, rgba(37, 151, 182, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 244, 0.96)),
    url("assets/pattern/pattern-orange.png") center / 550px repeat;
}

.register-bg-watermark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 30px rgba(31, 86, 109, 0.15));
}

.register-gradient-art {
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 50%;
  max-width: 600px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1);
}

.register-section>.container {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════
   GEAR — Branded Background
   ══════════════════════════════════════════════ */
.gear-section {
  background:
    radial-gradient(circle at 86% 18%, rgba(234, 110, 56, 0.13), transparent 30%),
    radial-gradient(circle at 12% 76%, rgba(37, 151, 182, 0.16), transparent 32%),
    url("assets/pattern/pattern-putih.png") center / 600px repeat;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.gear-bg-watermark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 30px rgba(31, 86, 109, 0.15));
}

.gear-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(37, 151, 182, 0.06), rgba(255, 255, 255, 0.95)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(243, 247, 245, 0.98));
  z-index: 0;
}

.gear-section>.container {
  position: relative;
  z-index: 1;
}

.gear-card {
  background: var(--white);
  border: 1px solid rgba(31, 86, 109, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 100%;
  padding: 30px;
  transition: all var(--transition-base);
}

.gear-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 151, 182, 0.2);
}

.gear-card.highlighted {
  background:
    linear-gradient(145deg, rgba(31, 86, 109, 0.97), rgba(18, 48, 60, 0.97)),
    url("assets/pattern/pattern-biru-tua.png") center / 400px repeat;
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(31, 86, 109, 0.35);
}

.gear-card.highlighted:hover {
  box-shadow: 0 30px 80px rgba(31, 86, 109, 0.45);
  border-color: rgba(37, 151, 182, 0.4);
}

.gear-card>i {
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 151, 182, 0.12), rgba(37, 151, 182, 0.06));
  border-radius: var(--radius-sm);
  color: var(--turquoise);
  display: inline-flex;
  font-size: 1.5rem;
  height: 48px;
  justify-content: center;
  margin-bottom: 22px;
  width: 48px;
  transition: transform var(--transition-base);
}

.gear-card:hover>i {
  animation: iconBounce 0.5s ease;
}

.gear-card.highlighted>i {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  color: #9beafa;
}

.gear-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.gear-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gear-card li {
  align-items: flex-start;
  display: flex;
  font-weight: 700;
  gap: 10px;
  line-height: 1.4;
  transition: padding-left var(--transition-fast);
}

.gear-card:hover li {
  padding-left: 2px;
}

.gear-card li::before {
  color: var(--orange);
  content: "\f00c";
  flex: 0 0 auto;
  font-family: "Font Awesome 6 Free";
  font-size: 0.82rem;
  font-weight: 900;
  margin-top: 3px;
}

.gear-card.highlighted li::before {
  color: #ffb496;
}

.gear-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Sponsorship */
.sponsorship-section {
  background:
    linear-gradient(135deg, rgba(31, 86, 109, 0.98), rgba(18, 48, 60, 0.94)),
    url("assets/pattern/pattern-biru-tua.png") center / 560px repeat;
  color: var(--white);
}

.sponsorship-section>.container {
  position: relative;
  z-index: 1;
}

.sponsor-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.sponsor-stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.sponsor-stat-grid div,
.sponsor-package {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.sponsor-stat-grid div {
  padding: 18px;
}

.sponsor-stat-grid strong {
  color: #fff;
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.sponsor-stat-grid span,
.sponsor-package span {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1px;
  margin-top: 8px;
  text-transform: uppercase;
}

.proposal-preview-stack {
  min-height: 480px;
  position: relative;
}

.proposal-preview {
  border-radius: var(--radius-md);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  width: 88%;
}

.main-preview {
  display: block;
  margin-left: auto;
}

.floating-preview {
  bottom: 0;
  left: 0;
  position: absolute;
  width: 56%;
}

.sponsor-package-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
}

.sponsor-package {
  padding: 22px;
  transition: all var(--transition-base);
}

.sponsor-package:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-5px);
}

.sponsor-package strong {
  color: var(--white);
  display: block;
  font-size: 1.35rem;
  margin-top: 8px;
}

.sponsor-package p {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
  margin: 12px 0 0;
}

/* Regulations */
.regulations-section {
  background:
    radial-gradient(circle at 14% 22%, rgba(37, 151, 182, 0.14), transparent 28%),
    radial-gradient(circle at 86% 82%, rgba(234, 110, 56, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 245, 0.98)),
    url("assets/pattern/pattern-putih.png") center / 560px repeat;
}

.regulations-section>.container {
  position: relative;
  z-index: 1;
}

.regulations-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.regulation-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 86, 109, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  transition: all var(--transition-base);
}

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

.regulation-card i {
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 151, 182, 0.14), rgba(234, 110, 56, 0.12));
  border-radius: var(--radius-sm);
  color: var(--deep-teal);
  display: inline-flex;
  font-size: 1.35rem;
  height: 48px;
  justify-content: center;
  margin-bottom: 20px;
  width: 48px;
}

.regulation-card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.regulation-card p {
  color: #496a76;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
}

.regulations-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* ══════════════════════════════════════════════
   INFO GRID & FOOTER
   ══════════════════════════════════════════════ */
.info-section {
  background:
    linear-gradient(180deg, rgba(31, 86, 109, 0.98), rgba(18, 48, 60, 0.98)),
    url("assets/pattern/pattern-biru-tua.png") center / 500px repeat;
  color: var(--white);
}

.info-grid {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(5, 1fr);
}

.info-grid>div {
  background: rgba(255, 255, 255, 0.06);
  min-height: 160px;
  padding: 28px;
  transition: all var(--transition-base);
  border-radius: 2px;
}

.info-grid>div:hover {
  background: rgba(37, 151, 182, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.info-grid i {
  color: #7cd7e9;
  font-size: 1.8rem;
  margin-bottom: 22px;
  transition: transform var(--transition-base);
}

.info-grid>div:hover i {
  transform: scale(1.15);
  color: var(--orange-light);
}

.info-grid a {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-fast);
}

.info-grid a:hover {
  color: #9beafa;
  text-decoration-color: #9beafa;
}

footer {
  background: linear-gradient(180deg, #0f2a36, #0a1f28);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
  padding: 32px 0;
  position: relative;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--turquoise), var(--orange), var(--turquoise)) 1;
}

.footer-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: all var(--transition-base);
}

.footer-logo:hover {
  opacity: 1;
  transform: scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(37, 151, 182, 0.4));
}

/* ══════════════════════════════════════════════
   ROUTE MODAL (Lightbox)
   ══════════════════════════════════════════════ */
.route-modal .modal-content {
  background:
    linear-gradient(180deg, rgba(15, 43, 54, 0.98), rgba(8, 27, 34, 0.98)),
    url("assets/pattern/pattern-biru-tua.png") center / cover repeat;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.route-modal .carousel-inner {
  overflow: visible;
}

.route-modal .carousel-item {
  overflow: visible;
}

.route-modal .carousel-control-next {
  right: 20px;
}

.modal-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.zoom-level-badge {
  background: rgba(37, 151, 182, 0.25);
  border: 1px solid rgba(37, 151, 182, 0.4);
  border-radius: 6px;
  color: #7cd7e9;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 6px 12px;
  margin-right: 4px;
}

.route-modal .modal-header {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  gap: 16px;
}

.route-modal .modal-title {
  color: var(--white);
  flex: 0 0 auto;
  font-weight: 900;
}

.route-tools {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.route-tool {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.route-tool:hover,
.route-tool:focus {
  background: var(--orange);
  color: var(--white);
}

.route-open {
  background: var(--orange);
}

.route-modal .modal-body {
  padding: 0;
}

.route-modal .carousel-item {
  background: #081b22;
}

.route-zoom-frame {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 0;
  max-height: none;

  overflow-x: auto;
  overflow-y: auto;

  padding: 24px;

  background: #06151b;
  background-image: radial-gradient(rgba(37, 151, 182, 0.14) 1px,
      transparent 0);
  background-size: 24px 24px;

  display: block;
  user-select: none;
  cursor: default;

  scrollbar-width: auto;
  scrollbar-color: var(--orange) #071921;
}

.route-zoom-frame::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

.route-zoom-frame::-webkit-scrollbar-track {
  background: #071921;
}

.route-zoom-frame::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 8px;
  border: 2px solid #071921;
}

.route-zoom-frame::-webkit-scrollbar-thumb:hover {
  background: #ff854d;
}

.route-zoom-frame.is-zoomed {
  cursor: grab;
  overflow: auto !important;
  text-align: left;
}

.route-zoom-frame {
  cursor: grab;
}

.route-zoom-frame.is-dragging {
  cursor: grabbing !important;
}

.route-zoom-frame::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

.route-zoom-frame::-webkit-scrollbar-track {
  background: #071921;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.route-zoom-frame::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 8px;
  border: 2px solid #071921;
  box-shadow: 0 0 10px rgba(234, 110, 56, 0.5);
}

.route-zoom-frame::-webkit-scrollbar-thumb:hover {
  background: #ff854d;
}

.route-zoom-wrapper {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  text-align: center;
}

.route-zoom-frame.is-zoomed .route-zoom-wrapper {
  display: block;
  width: max-content;
  min-width: 0;
  margin: 0;
  text-align: left;
}

.route-zoom-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;

  max-height: 68vh;

  margin: 0 auto;

  object-fit: contain;

  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.route-zoom-frame.is-zoomed .route-zoom-image {
  max-width: none;
  max-height: none;
  margin: 0;
  border-radius: 0;
}

.route-caption {
  align-items: center;
  background: rgba(31, 86, 109, 0.94);
  bottom: 20px;
  opacity: 0.75;
  color: var(--white);
  display: flex;
  gap: 14px;
  font-weight: 900;
  justify-content: space-between;
  left: 0;
  padding: 14px 20px;
  position: absolute;
  right: 0;
  backdrop-filter: blur(8px);
}

.route-scroll-hint {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .event-navbar .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin: 0 -12px;
    padding: 12px 16px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(31, 86, 109, 0.98), rgba(31, 86, 109, 0.82)),
      linear-gradient(180deg, rgba(18, 48, 60, 0.45), rgba(18, 48, 60, 0.16)),
      linear-gradient(0deg, rgba(18, 48, 60, 0.95), rgba(18, 48, 60, 0.2));
  }

  .hero-gradient-art {
    width: 70%;
    opacity: 0.12;
  }

  .hero-bg-logo-left {
    height: 60%;
    left: -12%;
    opacity: 0.05;
  }

  .gear-bg-watermark {
    height: 60%;
    right: -10%;
    opacity: 0.05;
  }

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

  .sponsor-stat-grid,
  .sponsor-package-row,
  .regulations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proposal-preview-stack {
    min-height: 420px;
  }

  .route-modal .modal-header {
    align-items: flex-start;
  }

  .route-tools {
    justify-content: flex-start;
  }

  .countdown-timer {
    gap: 10px;
  }

  .countdown-number {
    font-size: 1.6rem;
  }
}

@media (max-width: 767.98px) {

  .section-strip,
  .visual-band,
  .register-section,
  .gear-section,
  .rundown-section,
  .price-section,
  .info-section {
    padding: 70px 0;
  }

  .hero-actions .btn,
  .cta-group .btn {
    width: 100%;
  }

  .hero-media {
    transform: none;
  }

  .hero-gradient-art {
    display: none;
  }

  .hero-bg-logo-left {
    display: none;
  }

  .gear-bg-watermark {
    display: none;
  }

  h1 {
    -webkit-text-fill-color: var(--white);
    background: none;
  }

  .visual-band .row,
  .register-section .row {
    --bs-gutter-x: 0;
  }

  .visual-band-gradient-art,
  .register-gradient-art,
  .price-gradient-art {
    display: none;
  }

  .price-row {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .price-row b {
    text-align: left;
  }

  .save-badge {
    position: static;
    display: inline-block;
    margin-top: 8px;
  }

  .rundown-layout {
    padding-left: 24px;
  }

  .rundown-layout::before {
    left: 8px;
  }

  .rundown-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .rundown-card::before {
    left: -20px;
    width: 12px;
    height: 12px;
    top: 24px;
  }

  .rundown-date {
    min-height: auto;
  }

  .route-tools {
    order: 3;
    width: 100%;
  }

  .route-open {
    flex: 1 1 100%;
  }

  .route-zoom-frame {
    min-height: 62vh;
    padding: 18px 18px 76px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-stat-grid,
  .sponsor-package-row,
  .regulations-grid {
    grid-template-columns: 1fr;
  }

  .proposal-preview-stack {
    min-height: auto;
  }

  .proposal-preview,
  .floating-preview {
    position: static;
    width: 100%;
  }

  .floating-preview {
    margin-top: 16px;
  }

  .countdown-timer {
    gap: 8px;
  }

  .countdown-unit {
    min-width: 48px;
  }

  .countdown-number {
    font-size: 1.4rem;
  }

  .countdown-separator {
    font-size: 1.3rem;
  }
}

/* ══════════════════════════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #d85b29);
  color: var(--white);
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(234, 110, 56, 0.4);
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all var(--transition-base);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover,
.back-to-top:focus {
  background: linear-gradient(135deg, #f08a5a, var(--orange));
  color: var(--white);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 32px var(--orange-glow);
}

@media (max-width: 767.98px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}
