/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Logo color palette */
  --rust: #8B3A1A;
  --orange: #C2552A;
  --terracotta: #D97830;
  --peach: #E8A065;
  --dark-brown: #0F0F12;
  --cream: #FBF0E4;
  --tan: #F0D5B8;

  /* Semantic aliases */
  --accent: #E85D2A;
  --accent-light: #F09040;
  --accent-glow: rgba(232, 93, 42, 0.5);
  --section-dark: #0A0A0F;

  /* Modern additions */
  --surface: #141418;
  --surface-light: #1C1C22;
  --ember: #FF6B35;
  --amber: #FFB347;
  --warm-white: rgba(255, 255, 255, 0.92);

  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
  font-family: 'Inter', sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

/* ===================== */
/*    HERO SECTION       */
/* ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Video Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a0f;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero.loaded .hero-bg video {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,15,0.88) 0%, rgba(10,10,15,0.5) 50%, rgba(0,0,0,0.3) 100%),
    linear-gradient(to top, rgba(10,10,15,0.75) 0%, transparent 45%);
  z-index: 1;
}

/* Floating Particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 107, 53, 0.5);
  border-radius: 50%;
  animation: particleFloat linear infinite;
  box-shadow: 0 0 6px rgba(255, 107, 53, 0.3);
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

/* ===================== */
/*    ANIMATIONS         */
/* ===================== */
.anim-reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: reveal 1s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}

.anim-fade-down {
  opacity: 0;
  transform: translateY(-20px);
  filter: blur(4px);
  animation: fadeDown 0.8s var(--ease-out) forwards;
  animation-delay: var(--delay, 0.1s);
}

.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  animation: fadeUp 0.9s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}

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

@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Title line split animation */
.title-line {
  display: inline-block;
  overflow: hidden;
}

/* Ambient glow orbs */
.section-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0;
  transition: opacity 1.5s ease;
}

.visible .section-glow {
  opacity: 1;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 93, 42, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
}

/* Shimmer effect for cards */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Gradient border animation */
@keyframes borderGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ===================== */
/*    NAVBAR             */
/* ===================== */
.navbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
}

.nav-left .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.nav-center {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
  transition: opacity 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--ember), var(--amber));
  transition: width 0.4s var(--ease-out);
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  width: 100%;
}

.btn-schedule {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border: 1px solid rgba(255,107,53,0.4);
  border-radius: 100px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.btn-schedule::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
  border-radius: inherit;
  z-index: -1;
}

.btn-schedule:hover {
  border-color: var(--ember);
  box-shadow: 0 4px 20px rgba(255,107,53,0.25);
}

.btn-schedule:hover::before {
  transform: scaleX(1);
}

/* ===================== */
/*    HERO CONTENT       */
/* ===================== */
.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  padding-bottom: 40px;
  gap: 40px;
}

.hero-left {
  max-width: 540px;
}

/* Location Tag */
.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 53, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 107, 53, 0.15);
  position: relative;
  transition: background 0.5s;
}

.tag-pulse {
  position: relative;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--ember);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,107,53,0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(255,107,53,0); }
}

/* Title */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero-title .title-line {
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 50%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description */
.hero-description {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.65);
}

/* Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--ember) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-explore .btn-arrow {
  transition: transform 0.4s var(--ease-out);
  opacity: 0;
  width: 0;
}

.btn-explore:hover .btn-arrow {
  opacity: 1;
  width: 16px;
  transform: translateX(2px);
}

.btn-explore:hover {
  padding-right: 28px;
  background: linear-gradient(135deg, #FF8855 0%, var(--ember) 100%);
  box-shadow: 0 8px 40px rgba(255, 107, 53, 0.45);
  transform: translateY(-3px);
}

.btn-play {
  display: flex;
  align-items: center;
  gap: 12px;
}

.play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.play-ripple {
  position: absolute;
  inset: -2px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: playRipple 2s ease-out infinite;
}

@keyframes playRipple {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.btn-play:hover .play-icon {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
}

.btn-play span {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.btn-play:hover span {
  opacity: 1;
}

/* Magnetic button effect container */
.magnetic-btn {
  transition: transform 0.3s var(--ease-out);
}

/* ===================== */
/*    HERO CARD          */
/* ===================== */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
}

.hero-card {
  position: relative;
  width: 380px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 40px rgba(255,107,53,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 100px rgba(0,0,0,0.6), 0 0 60px rgba(255,107,53,0.1);
}

.hero-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 1s var(--ease-out);
}

.hero-card:hover .hero-card-bg {
  transform: scale(1.05);
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,15,0.95) 0%,
    rgba(10,10,15,0.7) 35%,
    rgba(10,10,15,0.25) 65%,
    transparent 100%
  );
}

.hero-card-content {
  position: relative;
  z-index: 1;
  padding: 200px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  width: fit-content;
}

.hero-card-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

.hero-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
}

.hero-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.hero-card-meta-item svg {
  opacity: 0.6;
}

.hero-card-countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}

.hero-cd-block {
  text-align: center;
}

.hero-cd-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.hero-cd-unit {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-cd-sep {
  font-size: 22px;
  color: rgba(255,107,53,0.35);
  align-self: flex-start;
  line-height: 1;
}

.hero-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 20px rgba(255,107,53,0.3);
  margin-top: 4px;
  width: 100%;
}

.hero-card-btn:hover {
  box-shadow: 0 8px 30px rgba(255,107,53,0.45);
  transform: translateY(-2px);
}

.hero-card-btn svg {
  transition: transform 0.4s var(--ease-out);
}

.hero-card-btn:hover svg {
  transform: translateX(3px);
}

/* ===================== */
/*    HERO CAROUSEL      */
/* ===================== */
.hero-carousel {
  position: relative;
  width: 460px;
  min-width: 460px;
  height: 420px;
}

.hero-carousel-track {
  position: relative;
  width: 320px;
  height: 100%;
  perspective: 800px;
}

/* Stacked cards */
.hero-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out), filter 0.7s var(--ease-out);
  transform-origin: center center;
  border-radius: 24px;
  will-change: transform, opacity;
}

/* Active card (front) */
.hero-carousel-slide[data-pos="0"] {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

/* Second card (behind right) */
.hero-carousel-slide[data-pos="1"] {
  transform: translateX(60px) translateY(12px) scale(0.92);
  opacity: 0.7;
  z-index: 2;
  pointer-events: none;
  filter: brightness(0.7);
}

/* Third card (behind second) */
.hero-carousel-slide[data-pos="2"] {
  transform: translateX(110px) translateY(24px) scale(0.84);
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0.5);
}

/* Hidden cards */
.hero-carousel-slide[data-pos="-1"],
.hero-carousel-slide[data-pos="hidden"] {
  transform: translateX(-40px) scale(0.9);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

/* Navigation dots */
.hero-carousel-nav {
  display: flex;
  gap: 8px;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.hero-carousel-dot {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  padding: 0;
}

.hero-carousel-dot:hover {
  background: rgba(255,255,255,0.4);
}

.hero-carousel-dot.active {
  background: var(--ember);
  width: 36px;
  box-shadow: 0 0 8px rgba(255,107,53,0.3);
}

/* Arrow button */
.hero-carousel-arrow {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
  padding: 0;
}

.hero-carousel-arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.08);
}

.hero-carousel-prev {
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
}

.hero-carousel-prev:hover {
  transform: translateY(-50%) scale(1.08);
}

.hero-carousel-next {
  top: 50%;
  right: 80px;
  transform: translateY(-50%);
}

.hero-carousel-next:hover {
  transform: translateY(-50%) scale(1.08);
}

/* Stacked card adjustments */
.hero-carousel .hero-card {
  width: 100%;
  height: 100%;
}

.hero-carousel .hero-card-bg {
  border-radius: 24px;
}

.hero-carousel .hero-card-overlay {
  border-radius: 24px;
}

/* Static stats for non-countdown cards */
.hero-cd-static {
  gap: 14px;
}

.hero-cd-static .hero-cd-value {
  font-size: 22px;
}

.hero-cd-static .hero-cd-unit {
  font-size: 8px;
  letter-spacing: 0.8px;
}

.hero-cd-static .hero-cd-sep {
  font-size: 16px;
  color: rgba(255,255,255,0.2);
}

/* ===================== */
/*    FEATURES BAR       */
/* ===================== */
.features-bar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 24px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10,10,15,0.3);
}

.feature {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-right: 48px;
  margin-right: 48px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.feature h4 {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--amber), var(--ember));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature p {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.6;
  line-height: 1.5;
  max-width: 220px;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.social-link {
  font-size: 13px;
  opacity: 0.5;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ===================== */
/*    CURSOR GLOW        */
/* ===================== */
/* Cursor canvas */
@media (min-width: 769px) {
  *, *::before, *::after { cursor: none !important; }
}
.cursor-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* ===================== */
/*    PARTNERS SECTION   */
/* ===================== */
.partners {
  background: var(--section-dark);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.3), rgba(255,179,71,0.2), transparent);
}

.partners::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at 40% 30%, rgba(255,107,53,0.035) 0%, transparent 60%),
              radial-gradient(ellipse at 65% 70%, rgba(255,179,71,0.025) 0%, transparent 55%);
  pointer-events: none;
  filter: blur(40px);
}

.partners-inner {
  position: relative;
  z-index: 1;
}

/* Header */
.partners-header {
  text-align: center;
  padding: 0 48px;
  margin-bottom: 64px;
}

.partners-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ember), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: all 0.8s var(--ease-out);
}

.partners-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--warm-white);
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: all 0.8s var(--ease-out) 0.1s;
}

.partners-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 480px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out) 0.2s;
}

.partners.visible .partners-label,
.partners.visible .partners-title,
.partners.visible .partners-subtitle {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Marquee Wrapper */
.marquee-wrapper {
  position: relative;
  margin-bottom: 72px;
}

.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--section-dark), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--section-dark), transparent);
}

/* Marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
}

.marquee + .marquee {
  margin-top: 8px;
}

.marquee-track {
  display: inline-flex;
  gap: 24px;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}

.marquee[data-direction="right"] .marquee-track {
  animation-name: marqueeScrollReverse;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Partner Logo */
.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 32px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.35);
  transition: all 0.5s var(--ease-out);
  cursor: default;
}

.partner-logo svg {
  height: 28px;
  width: auto;
}

.partner-logo:hover {
  color: #fff;
  border-color: rgba(255,107,53,0.3);
  background: rgba(255,107,53,0.08);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,107,53,0.12), 0 0 0 1px rgba(255,107,53,0.15);
}

/* Stats */
.partners-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 0 48px;
}

.stat {
  text-align: center;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  filter: blur(4px);
  transition: all 0.7s var(--ease-out);
}

.partners.visible .stat:nth-child(1) { transition-delay: 0.3s; }
.partners.visible .stat:nth-child(3) { transition-delay: 0.45s; }
.partners.visible .stat:nth-child(5) { transition-delay: 0.6s; }
.partners.visible .stat:nth-child(7) { transition-delay: 0.75s; }

.partners.visible .stat {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 600;
  background: linear-gradient(135deg, #fff 30%, var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--ember), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
  letter-spacing: 0.3px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,107,53,0.25), transparent);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out) 0.5s;
}

.partners.visible .stat-divider {
  opacity: 1;
}

/* ===================== */
/*    RACES SECTION      */
/* ===================== */
.races {
  background: #E8DFD5;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.races::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,85,42,0.15), rgba(217,120,48,0.1), transparent);
}

.races::after {
  content: '';
  position: absolute;
  top: 30%;
  right: -100px;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255,107,53,0.04) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(50px);
}

.races-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

/* Header */
.races-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}

.races-header-left {
  max-width: 500px;
}

.races-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), var(--terracotta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: all 0.8s var(--ease-out);
}

.races-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  color: #1A1A1F;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: all 0.8s var(--ease-out) 0.1s;
}

.races-header-right {
  max-width: 360px;
  text-align: right;
}

.races-subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(26,26,31,0.5);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out) 0.15s;
}

.races-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out) 0.2s;
}

.races-view-all svg {
  transition: transform 0.4s var(--ease-out);
}

.races-view-all:hover {
  color: var(--rust);
}

.races-view-all:hover svg {
  transform: translateX(4px);
}

.races.visible .races-label,
.races.visible .races-title,
.races.visible .races-subtitle,
.races.visible .races-view-all {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Grid */
.races-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Race Card */
.race-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #F5F0EB;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.6s var(--ease-out);
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(4px);
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.races.visible .race-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.races.visible .race-card:nth-child(1) { transition-delay: 0.2s; }
.races.visible .race-card:nth-child(2) { transition-delay: 0.35s; }
.races.visible .race-card:nth-child(3) { transition-delay: 0.5s; }
.races.visible .race-card:nth-child(4) { transition-delay: 0.3s; }
.races.visible .race-card:nth-child(5) { transition-delay: 0.45s; }
.races.visible .race-card:nth-child(6) { transition-delay: 0.6s; }

.race-card:hover {
  border-color: rgba(194,85,42,0.15);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1), 0 0 40px rgba(255,107,53,0.05);
}

/* Card featured (first card spans 2 rows) */
.race-card.featured {
  grid-row: span 2;
}

/* Card Image */
.race-card-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.race-card.featured .race-card-image {
  height: 100%;
  position: absolute;
  inset: 0;
}

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

.race-card:hover .race-card-image img {
  transform: scale(1.06);
}

.race-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(245,240,235,0.95) 0%, rgba(245,240,235,0.2) 50%, transparent 100%);
}

.race-card.featured .race-card-image::after {
  background: linear-gradient(to top, rgba(20,20,24,0.9) 0%, rgba(20,20,24,0.3) 50%, transparent 100%);
}

/* Status Badge */
.race-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.race-badge.open {
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}

.race-badge.open::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

.race-badge.soon {
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
}

.race-badge.full {
  background: rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
}

/* Card Body */
.race-card-body {
  padding: 24px;
  position: relative;
  z-index: 2;
}

.race-card.featured .race-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
}

.race-date {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.race-location {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 8px;
}

.race-location a {
  color: rgba(0,0,0,0.45);
  transition: color 0.3s;
}

.race-location a:hover {
  color: var(--ember);
}

.race-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: #1A1A1F;
  margin-bottom: 6px;
  line-height: 1.3;
}

.race-card.featured .race-name {
  font-size: 28px;
  color: #fff;
}

.race-subtitle {
  font-size: 13px;
  color: rgba(26,26,31,0.5);
  margin-bottom: 10px;
}

.race-location {
  font-size: 13px;
  color: rgba(26,26,31,0.45);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 3-column equal race grid */
.races-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.races-grid-3 .race-card {
  opacity: 1;
  transform: none;
  filter: none;
}

.race-card.featured .race-location {
  color: rgba(255,255,255,0.5);
}

.race-location svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* Race Meta Tags */
.race-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.race-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(194,85,42,0.06);
  border: 1px solid rgba(194,85,42,0.1);
  color: rgba(26,26,31,0.55);
}

.race-card.featured .race-tag {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
}

.race-tag svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

/* Card Footer */
.race-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.race-spots {
  font-size: 12px;
  color: rgba(26,26,31,0.4);
}

.race-spots strong {
  color: var(--accent);
  font-weight: 600;
}

.race-card.featured .race-spots {
  color: rgba(255,255,255,0.4);
}

.race-card.featured .race-spots strong {
  color: var(--amber);
}

.race-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  padding: 8px 16px;
  border: 1px solid rgba(194,85,42,0.2);
  border-radius: 100px;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}

.race-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease-out);
}

.race-card:hover .race-cta {
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}

.race-card:hover .race-cta svg {
  transform: translateX(3px);
}

.race-card.featured .race-cta {
  color: var(--ember);
  border-color: rgba(255,107,53,0.25);
}

.race-card.featured .race-date {
  color: var(--amber);
}

/* Countdown (for featured card) */
.race-countdown {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.countdown-block {
  text-align: center;
}

.countdown-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.countdown-unit {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.countdown-sep {
  font-size: 24px;
  color: rgba(255,107,53,0.35);
  align-self: flex-start;
  line-height: 1;
}

/* ===================== */
/*    FACEBOOK FEED      */
/* ===================== */
.fb-feed {
  background: var(--section-dark);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.fb-feed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.2), rgba(255,179,71,0.15), transparent);
}

/* Decorative mesh gradient behind the section */
.fb-feed::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at 30% 40%, rgba(255,107,53,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(255,179,71,0.03) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(40px);
}

.fb-feed-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

/* Header */
.fb-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}

.fb-feed-header-left {
  max-width: 500px;
}

.fb-feed-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ember), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: all 0.8s var(--ease-out);
}

.fb-feed-label .fb-icon {
  -webkit-text-fill-color: initial;
  background: none;
}

.fb-feed-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--warm-white);
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: all 0.8s var(--ease-out) 0.1s;
}

.fb-feed-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 420px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out) 0.2s;
}

.fb-feed-header-right {
  flex-shrink: 0;
}

.fb-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--ember) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  box-shadow: 0 4px 20px rgba(255,107,53,0.25);
  position: relative;
  overflow: hidden;
}

.fb-follow-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FF8855 0%, var(--ember) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}

.fb-follow-btn:hover::before {
  opacity: 1;
}

.fb-follow-btn:hover {
  box-shadow: 0 8px 40px rgba(255,107,53,0.4);
  transform: translateY(-3px);
}

.fb-follow-btn svg,
.fb-follow-btn span {
  position: relative;
  z-index: 1;
}

.fb-feed.visible .fb-feed-label,
.fb-feed.visible .fb-feed-title,
.fb-feed.visible .fb-feed-subtitle,
.fb-feed.visible .fb-follow-btn {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Grid */
.fb-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Instagram Cards */
.ig-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s var(--ease-out);
  text-decoration: none;
  color: inherit;
}

.ig-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,53,0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 30px rgba(255,107,53,0.06);
}

.ig-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

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

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

.ig-card-play {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.ig-card:hover .ig-card-play {
  opacity: 1;
}

.ig-card-play svg {
  width: 18px;
  height: 18px;
}

.ig-card-body {
  padding: 16px 20px 20px;
}

.ig-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ig-card-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.ig-card-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.ig-card-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feed Card (legacy) */
.fb-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-light);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.6s var(--ease-out);
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(4px);
  display: flex;
  flex-direction: column;
}

.fb-feed.visible .fb-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.fb-feed.visible .fb-card:nth-child(1) { transition-delay: 0.2s; }
.fb-feed.visible .fb-card:nth-child(2) { transition-delay: 0.35s; }
.fb-feed.visible .fb-card:nth-child(3) { transition-delay: 0.5s; }

.fb-card:hover {
  border-color: rgba(255,107,53,0.15);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 50px rgba(255,107,53,0.05);
}

/* Subtle gradient line at top of card */
.fb-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.2), rgba(255,179,71,0.15), transparent);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s;
}

.fb-card:hover::before {
  opacity: 1;
}

/* Card Header (profile) */
.fb-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 0;
}

.fb-card-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,107,53,0.15);
  transition: border-color 0.4s;
}

.fb-card:hover .fb-card-avatar {
  border-color: rgba(255,107,53,0.35);
}

.fb-card-author {
  flex: 1;
  min-width: 0;
}

.fb-card-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fb-verified {
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.fb-card-time {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fb-card-time .fb-platform-icon {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

.fb-card-menu {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  transition: all 0.3s;
}

.fb-card:hover .fb-card-menu {
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.04);
}

/* Card Text */
.fb-card-text {
  padding: 14px 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.fb-card-text .fb-hashtag {
  color: var(--amber);
  font-weight: 500;
  transition: color 0.3s;
}

.fb-card:hover .fb-card-text .fb-hashtag {
  color: var(--ember);
}

/* Card Image */
.fb-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

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

/* Warm gradient overlay on image bottom */
.fb-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(28,28,34,0.5), transparent);
  pointer-events: none;
}

/* Card Engagement */
.fb-card-engagement {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fb-card-reactions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fb-reaction-icons {
  display: flex;
}

.fb-reaction-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-right: -4px;
  border: 2px solid var(--surface-light);
  position: relative;
}

.fb-reaction-icon.like { background: #1877F2; }
.fb-reaction-icon.love { background: #E4405F; }
.fb-reaction-icon.fire { background: var(--ember); }

.fb-reaction-count {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-left: 4px;
}

.fb-card-comments-count {
  font-size: 11.5px;
  color: rgba(255,255,255,0.25);
}

/* Card Actions */
.fb-card-actions {
  display: flex;
  padding: 6px 14px;
  margin-top: auto;
}

.fb-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  transition: all 0.3s var(--ease-out);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.fb-action:hover {
  background: rgba(255,107,53,0.06);
  color: var(--amber);
}

.fb-action svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===================== */
/*    REGISTRATION CTA   */
/* ===================== */
.register {
  background: #E8DFD5;
  padding: 120px 0;
  overflow: hidden;
  position: relative;
}

.register::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,85,42,0.15), rgba(217,120,48,0.1), transparent);
}

/* Decorative radial warmth */
.register::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at 50% 40%, rgba(194,85,42,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.register-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 64px;
}

/* Giant background "100" watermark */
.register-bg-text {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 340px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, rgba(194,85,42,0.08) 0%, rgba(194,85,42,0.02) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out) 0.2s;
}

.register.visible .register-bg-text {
  opacity: 1;
}

.register-content {
  position: relative;
  z-index: 1;
  text-align: left;
  flex: 1;
}

.register-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), var(--terracotta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: all 0.8s var(--ease-out);
}

.register-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
  color: #1A1A1F;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: all 0.8s var(--ease-out) 0.1s;
}

.register-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(26,26,31,0.5);
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out) 0.2s;
}

.register.visible .register-label,
.register.visible .register-title,
.register.visible .register-desc {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Feature pills — vertical stack on left side */
.register-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.register-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 18px 22px;
  border-radius: 16px;
  background: #F5F0EB;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  max-width: 420px;
  opacity: 0;
  transform: translateX(-30px);
  filter: blur(4px);
  transition: all 0.6s var(--ease-out);
}

.register.visible .register-feature:nth-child(1) { transition-delay: 0.25s; }
.register.visible .register-feature:nth-child(2) { transition-delay: 0.4s; }
.register.visible .register-feature:nth-child(3) { transition-delay: 0.55s; }

.register.visible .register-feature {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.register-feature:hover {
  border-color: rgba(194,85,42,0.15);
  box-shadow: 0 8px 30px rgba(194,85,42,0.08);
  transform: translateX(6px);
}

.register-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,53,0.2);
}

.register-feature h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1F;
  margin-bottom: 2px;
}

.register-feature p {
  font-size: 12.5px;
  color: rgba(26,26,31,0.45);
  line-height: 1.4;
}

/* CTA */
.register-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out) 0.5s;
}

.register.visible .register-actions {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.register-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 24px rgba(255,107,53,0.25);
  position: relative;
  overflow: hidden;
}

.register-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FF8855, var(--ember));
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}

.register-btn:hover::before {
  opacity: 1;
}

.register-btn:hover {
  box-shadow: 0 8px 44px rgba(255,107,53,0.4);
  transform: translateY(-3px);
}

.register-btn span,
.register-btn svg {
  position: relative;
  z-index: 1;
}

.register-btn svg {
  transition: transform 0.4s var(--ease-out);
}

.register-btn:hover svg {
  transform: translateX(4px);
}

.register-note {
  font-size: 13px;
  color: rgba(26,26,31,0.35);
}

.register-note strong {
  color: var(--accent);
  font-weight: 600;
}

/* ===================== */
/*    FOOTER             */
/* ===================== */
.footer {
  background: var(--section-dark);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.2), rgba(255,179,71,0.12), transparent);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Top section */
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 80px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Brand column */
.footer-brand {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out);
}

.footer.visible .footer-brand {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.35);
  max-width: 280px;
  margin-bottom: 24px;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 14px;
  transition: background 0.3s;
}
.footer-email:hover {
  background: rgba(255,255,255,0.1);
}
.footer-email svg {
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.footer-email a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.footer-email a:hover {
  color: #fff;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  transition: all 0.4s var(--ease-out);
}

.footer-social:hover {
  color: #fff;
  background: rgba(255,107,53,0.1);
  border-color: rgba(255,107,53,0.25);
  transform: translateY(-2px);
}

/* Link columns */
.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out);
}

.footer.visible .footer-links-group:nth-child(2) { transition-delay: 0.1s; }
.footer.visible .footer-links-group:nth-child(3) { transition-delay: 0.2s; }
.footer.visible .footer-links-group:nth-child(4) { transition-delay: 0.3s; }

.footer.visible .footer-links-group {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.footer-links-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: all 0.3s var(--ease-out);
  position: relative;
  width: fit-content;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ember);
  transition: width 0.4s var(--ease-out);
}

.footer-link:hover {
  color: rgba(255,255,255,0.8);
}

.footer-link:hover::after {
  width: 100%;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out) 0.4s;
}

.footer.visible .footer-bottom {
  opacity: 1;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.5);
}

/* Made by credit */
.footer-made-by {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-made-by a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out);
}

.footer-made-by a:hover {
  color: #fff;
}

.footer-made-by svg {
  opacity: 0.7;
  transition: opacity 0.3s var(--ease-out);
}

.footer-made-by a:hover svg {
  opacity: 1;
}

/* ===================== */
/*    MOBILE MENU        */
/* ===================== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 11;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open .mobile-menu-overlay {
  opacity: 1;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.mobile-menu-close:hover {
  color: #fff;
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.2);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mobile-menu-link {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 14px 16px;
  border-radius: 12px;
  transition: all 0.3s var(--ease-out);
}

.mobile-menu-link:hover {
  color: #fff;
  background: rgba(255, 107, 53, 0.08);
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 20px;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.25);
}

.mobile-menu-cta:hover {
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.mobile-menu-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.mobile-menu-socials a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  transition: all 0.3s var(--ease-out);
}

.mobile-menu-socials a:hover {
  color: #fff;
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.25);
}

/* ===================== */
/*    RESPONSIVE         */
/* ===================== */

/* ---------- Tablet (max 1100px) ---------- */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
  }

  /* Hide carousel on tablet — hero becomes full-screen text */
  .hero-right {
    display: none;
  }

  .hero-content {
    justify-content: flex-end;
  }

  .hero-left {
    max-width: 560px;
  }

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

  .race-card.featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .race-card.featured .race-card-image {
    position: relative;
    height: 260px;
  }

  .race-card.featured .race-card-body {
    position: relative;
    padding: 24px;
  }

  .race-card.featured .race-name {
    color: #1A1A1F;
  }

  .race-card.featured .race-location {
    color: rgba(26,26,31,0.45);
  }

  .race-card.featured .race-tag {
    background: rgba(194,85,42,0.06);
    border-color: rgba(194,85,42,0.1);
    color: rgba(26,26,31,0.55);
  }

  .race-card.featured .race-spots {
    color: rgba(26,26,31,0.4);
  }

  .race-card.featured .race-spots strong {
    color: var(--accent);
  }

  .race-card.featured .race-date {
    color: var(--accent);
  }

  .race-card.featured .race-cta {
    color: var(--accent);
    border-color: rgba(194,85,42,0.2);
  }

  .race-card.featured .race-card-image::after {
    background: linear-gradient(to top, rgba(245,240,235,0.95) 0%, rgba(245,240,235,0.2) 50%, transparent 100%);
  }

  .countdown-value {
    color: #1A1A1F;
  }

  .countdown-unit {
    color: rgba(26,26,31,0.4);
  }

  .countdown-sep {
    color: rgba(194,85,42,0.3);
  }

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

  .fb-card:nth-child(3) {
    grid-column: span 2;
  }

  .register-inner {
    flex-direction: column;
    text-align: center;
    max-width: 700px;
  }

  .register-content {
    text-align: center;
  }

  .register-title {
    font-size: 38px;
  }

  .register-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .register-features {
    align-items: center;
  }

  .register-feature {
    max-width: 100%;
  }

  .register-actions {
    justify-content: center;
  }

  .register-bg-text {
    font-size: 220px;
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* ---------- Mobile (max 768px) ---------- */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    padding: 16px 20px;
  }

  .nav-center {
    display: none;
  }

  .nav-right .btn-schedule {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hero — full-screen text hero on mobile */
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 0 28px;
    padding-bottom: 40px;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-title {
    font-size: 42px;
    margin-bottom: 16px;
  }

  .hero-title .title-line {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-description {
    font-size: 15px;
    max-width: 440px;
    line-height: 1.7;
    margin-bottom: 32px;
  }

  .hero-actions {
    gap: 16px;
  }

  .btn-explore {
    padding: 14px 32px;
    font-size: 14px;
  }

  .btn-play span {
    font-size: 13px;
  }

  .play-icon {
    width: 42px;
    height: 42px;
  }

  /* Hide carousel on mobile */
  .hero-right {
    display: none;
  }

  /* Features bar */
  .features-bar {
    padding: 20px 20px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .feature {
    padding-right: 24px;
    margin-right: 24px;
  }

  .feature:last-of-type {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }

  /* Cursor */
  .cursor-canvas {
    display: none;
  }

  /* Partners */
  .partners {
    padding: 64px 0;
  }

  .partners-header {
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .partners-title {
    font-size: 28px;
  }

  .partners-subtitle {
    font-size: 14px;
  }

  .partners-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 20px;
  }

  .stat-number,
  .stat-suffix {
    font-size: 32px;
  }

  .stat-divider {
    display: none;
  }

  /* Races */
  .races {
    padding: 64px 0;
  }

  .races-inner {
    padding: 0 20px;
  }

  .races-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .races-header-right {
    text-align: left;
  }

  .races-title {
    font-size: 28px;
  }

  .races-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .race-card.featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .race-card.featured .race-card-image {
    position: relative;
    height: 220px;
  }

  .race-card.featured .race-card-image::after {
    background: linear-gradient(to top, rgba(245,240,235,0.95) 0%, rgba(245,240,235,0.2) 50%, transparent 100%);
  }

  .race-card.featured .race-card-body {
    position: relative;
    padding: 20px;
  }

  .race-card.featured .race-name {
    font-size: 22px;
    color: #1A1A1F;
  }

  .race-card.featured .race-location {
    color: rgba(26,26,31,0.45);
  }

  .race-card.featured .race-tag {
    background: rgba(194,85,42,0.06);
    border-color: rgba(194,85,42,0.1);
    color: rgba(26,26,31,0.55);
  }

  .race-card.featured .race-spots {
    color: rgba(26,26,31,0.4);
  }

  .race-card.featured .race-spots strong {
    color: var(--accent);
  }

  .race-card.featured .race-cta {
    color: var(--accent);
    border-color: rgba(194,85,42,0.2);
  }

  .race-card.featured .race-date {
    color: var(--accent);
  }

  .countdown-value {
    font-size: 22px;
    color: #1A1A1F;
  }

  .countdown-unit {
    color: rgba(26,26,31,0.4);
  }

  .countdown-sep {
    color: rgba(194,85,42,0.3);
  }

  .race-card-body {
    padding: 20px;
  }

  .race-card-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  /* FB Feed */
  .fb-feed {
    padding: 64px 0;
  }

  .fb-feed-inner {
    padding: 0 20px;
  }

  .fb-feed-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .fb-feed-title {
    font-size: 28px;
  }

  .fb-feed-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fb-card:nth-child(3) {
    grid-column: span 1;
  }

  .fb-card-text {
    font-size: 13px;
  }

  /* Register */
  .register {
    padding: 64px 0;
  }

  .register-inner {
    padding: 0 20px;
    flex-direction: column;
    text-align: center;
  }

  .register-content {
    text-align: center;
  }

  .register-title {
    font-size: 28px;
  }

  .register-desc {
    max-width: 100%;
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
  }

  .register-bg-text {
    font-size: 140px;
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .register-features {
    align-items: stretch;
  }

  .register-feature {
    max-width: 100%;
    text-align: left;
  }

  .register-actions {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .register-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
  }

  /* Footer */
  .footer-inner {
    padding: 0 20px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 0 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px 0;
  }

  .footer-bottom-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ---------- Small Phone (max 480px) ---------- */
@media (max-width: 480px) {
  .navbar {
    padding: 14px 16px;
  }

  .logo span {
    font-size: 15px;
  }

  .logo-img {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 0 20px;
    padding-bottom: 32px;
  }

  .hero-title {
    font-size: 34px;
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 14px;
    width: 100%;
  }

  .btn-explore {
    flex: 1;
    justify-content: center;
    padding: 14px 24px;
    font-size: 14px;
  }

  .btn-play {
    gap: 8px;
  }

  .btn-play span {
    display: none;
  }

  .location-tag {
    font-size: 10px;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  /* Partners */
  .partners {
    padding: 48px 0;
  }

  .partners-header {
    padding: 0 16px;
    margin-bottom: 32px;
  }

  .partners-title {
    font-size: 24px;
  }

  .partners-subtitle {
    font-size: 13px;
  }

  .partners-stats {
    gap: 16px;
    padding: 0 16px;
  }

  .stat-number,
  .stat-suffix {
    font-size: 28px;
  }

  .stat-label {
    font-size: 11px;
  }

  .partner-logo {
    padding: 0 20px;
    height: 52px;
  }

  .partner-logo svg {
    height: 22px;
  }

  /* Races */
  .races {
    padding: 48px 0;
  }

  .races-inner {
    padding: 0 16px;
  }

  .races-title {
    font-size: 24px;
  }

  .races-grid {
    gap: 16px;
  }

  .race-card-image {
    height: 170px;
  }

  .race-card.featured .race-card-image {
    height: 190px;
  }

  .race-name {
    font-size: 19px;
  }

  .race-card.featured .race-name {
    font-size: 19px;
  }

  .race-meta {
    gap: 6px;
  }

  .race-tag {
    padding: 4px 10px;
    font-size: 10px;
  }

  .race-cta {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }

  /* FB Feed */
  .fb-feed {
    padding: 48px 0;
  }

  .fb-feed-inner {
    padding: 0 16px;
  }

  .fb-feed-title {
    font-size: 24px;
  }

  .fb-feed-grid {
    gap: 16px;
  }

  .fb-card-text {
    padding: 12px 16px;
    font-size: 12.5px;
  }

  .fb-card-header {
    padding: 16px 16px 0;
  }

  .fb-card-engagement {
    padding: 10px 16px;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .fb-action {
    font-size: 11px;
    padding: 8px;
  }

  .fb-follow-btn {
    padding: 12px 22px;
    font-size: 12px;
  }

  /* Register */
  .register {
    padding: 48px 0;
  }

  .register-inner {
    padding: 0 16px;
  }

  .register-title {
    font-size: 24px;
  }

  .register-desc {
    font-size: 13px;
    margin-bottom: 28px;
  }

  .register-features {
    gap: 12px;
    margin-bottom: 28px;
  }

  .register-feature {
    padding: 14px 16px;
    gap: 12px;
  }

  .register-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .register-feature h4 {
    font-size: 13px;
  }

  .register-feature p {
    font-size: 11.5px;
  }

  .register-bg-text {
    font-size: 100px;
  }

  .register-btn {
    font-size: 14px;
    padding: 13px 24px;
  }

  .register-note {
    font-size: 12px;
  }

  /* Footer */
  .footer-inner {
    padding: 0 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 32px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-links-title {
    font-size: 11px;
  }

  .footer-link {
    font-size: 12.5px;
  }

  .footer-copy {
    font-size: 11px;
  }

  .footer-bottom-links a {
    font-size: 11px;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  /* Glow orbs smaller on mobile */
  .glow-1 {
    width: 250px;
    height: 250px;
  }

  .glow-2 {
    width: 200px;
    height: 200px;
  }
}

/* ============================================= */
/*    ABOUT PAGE                                  */
/* ============================================= */

/* ---------- About Hero ---------- */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.5) 50%, rgba(0,0,0,0.2) 100%),
    linear-gradient(to top, rgba(10,10,15,0.8) 0%, transparent 50%);
  z-index: 1;
}

.about-hero .navbar {
  position: relative;
  z-index: 10;
}

.about-hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 48px 80px;
}

.about-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ember), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.about-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
  max-width: 700px;
}

.about-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
}

/* ---------- About Story ---------- */
.about-story {
  background: #E8DFD5;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.about-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,85,42,0.15), rgba(217,120,48,0.1), transparent);
}

.about-story-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story-text {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out);
}

.about-story.visible .about-story-text {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.about-section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), var(--terracotta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.about-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  color: #1A1A1F;
  margin-bottom: 24px;
}

.about-section-title-light {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--warm-white);
  margin-bottom: 16px;
}

.about-story-paragraph {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(26,26,31,0.55);
  margin-bottom: 16px;
}

.about-story-paragraph:last-child {
  margin-bottom: 0;
}

.about-story-image {
  position: relative;
  opacity: 0;
  transform: translateX(40px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out) 0.2s;
}

.about-story.visible .about-story-image {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.about-story-image img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
}

.about-story-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  opacity: 0.15;
  z-index: -1;
}

/* ---------- About Gallery ---------- */
.about-gallery {
  background: var(--section-dark);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.about-gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.2), rgba(255,179,71,0.15), transparent);
}

.about-gallery-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.about-gallery-header {
  text-align: center;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out);
}

.about-gallery.visible .about-gallery-header {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.about-gallery-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 480px;
  margin: 12px auto 0;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.about-gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  filter: blur(4px);
  transition: all 0.6s var(--ease-out);
}

.about-gallery.visible .about-gallery-item:nth-child(1) { transition-delay: 0.1s; }
.about-gallery.visible .about-gallery-item:nth-child(2) { transition-delay: 0.2s; }
.about-gallery.visible .about-gallery-item:nth-child(3) { transition-delay: 0.3s; }
.about-gallery.visible .about-gallery-item:nth-child(4) { transition-delay: 0.4s; }
.about-gallery.visible .about-gallery-item:nth-child(5) { transition-delay: 0.5s; }

.about-gallery.visible .about-gallery-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.about-gallery-item--tall {
  grid-row: span 2;
}

.about-gallery-item--wide {
  grid-column: span 2;
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.about-gallery-item:hover img {
  transform: scale(1.06);
}

.about-gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.about-gallery-item:hover .about-gallery-item-overlay {
  opacity: 1;
}

.about-gallery-item-overlay span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

/* ---------- About Values ---------- */
.about-values {
  background: #E8DFD5;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.about-values::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,85,42,0.15), rgba(217,120,48,0.1), transparent);
}

.about-values-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.about-values-header {
  text-align: center;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out);
}

.about-values.visible .about-values-header {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-value-card {
  padding: 32px 28px;
  border-radius: 20px;
  background: #F5F0EB;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  text-align: center;
  transition: all 0.6s var(--ease-out);
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
}

.about-values.visible .about-value-card:nth-child(1) { transition-delay: 0.15s; }
.about-values.visible .about-value-card:nth-child(2) { transition-delay: 0.25s; }
.about-values.visible .about-value-card:nth-child(3) { transition-delay: 0.35s; }
.about-values.visible .about-value-card:nth-child(4) { transition-delay: 0.45s; }

.about-values.visible .about-value-card {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.about-value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(194,85,42,0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08), 0 0 30px rgba(255,107,53,0.04);
}

.about-value-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,107,53,0.2);
}

.about-value-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: #1A1A1F;
  margin-bottom: 10px;
}

.about-value-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(26,26,31,0.5);
}

/* ---------- About Team ---------- */
.about-team {
  background: var(--section-dark);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.about-team::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,0.2), rgba(255,179,71,0.15), transparent);
}

.about-team-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.about-team-header {
  text-align: center;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out);
}

.about-team.visible .about-team-header {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.about-team-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 480px;
  margin: 12px auto 0;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-team-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 20px;
  background: var(--surface-light);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.6s var(--ease-out);
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
}

.about-team.visible .about-team-card:nth-child(1) { transition-delay: 0.15s; }
.about-team.visible .about-team-card:nth-child(2) { transition-delay: 0.25s; }
.about-team.visible .about-team-card:nth-child(3) { transition-delay: 0.35s; }
.about-team.visible .about-team-card:nth-child(4) { transition-delay: 0.45s; }

.about-team.visible .about-team-card {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.about-team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,107,53,0.15);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 40px rgba(255,107,53,0.05);
}

.about-team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid rgba(255,107,53,0.2);
  transition: border-color 0.4s;
}

.about-team-card:hover .about-team-photo {
  border-color: rgba(255,107,53,0.5);
}

.about-team-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,107,53,0.08);
  color: rgba(255,255,255,0.3);
}

.about-story-author {
  margin-top: 24px;
  font-style: italic;
  color: rgba(26,26,31,0.5);
  font-size: 14px;
}

.about-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}

.about-team-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 12px;
}

.about-team-bio {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.4);
}

/* ---------- About CTA ---------- */
.about-cta {
  background: #E8DFD5;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.about-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,85,42,0.15), rgba(217,120,48,0.1), transparent);
}

.about-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 48px;
}

.about-cta-content {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out);
}

.about-cta.visible .about-cta-content {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.about-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.2;
  color: #1A1A1F;
  margin-bottom: 16px;
}

.about-cta-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(26,26,31,0.5);
  margin-bottom: 36px;
}

.about-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.about-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: all 0.3s var(--ease-out);
}

.about-cta-link svg {
  transition: transform 0.4s var(--ease-out);
}

.about-cta-link:hover {
  color: var(--rust);
}

.about-cta-link:hover svg {
  transform: translateX(4px);
}

/* ---------- About Page Responsive ---------- */

/* Tablet */
@media (max-width: 1100px) {
  .about-hero-title {
    font-size: 42px;
  }

  .about-story-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-story-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  .about-gallery-item--tall {
    grid-row: span 2;
  }

  .about-gallery-item--wide {
    grid-column: span 2;
  }

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

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

/* Mobile */
@media (max-width: 768px) {
  .about-hero {
    min-height: 50vh;
  }

  .about-hero-content {
    padding: 20px 20px 48px;
  }

  .about-hero-title {
    font-size: 32px;
  }

  .about-hero-desc {
    font-size: 14px;
  }

  .about-story {
    padding: 64px 0;
  }

  .about-story-inner {
    padding: 0 20px;
    gap: 32px;
  }

  .about-section-title,
  .about-section-title-light {
    font-size: 28px;
  }

  .about-story-paragraph {
    font-size: 14px;
  }

  .about-gallery {
    padding: 64px 0;
  }

  .about-gallery-inner {
    padding: 0 20px;
  }

  .about-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .about-gallery-item--tall {
    grid-row: span 1;
  }

  .about-gallery-item--wide {
    grid-column: span 2;
  }

  .about-gallery-item-overlay {
    opacity: 1;
  }

  .about-values {
    padding: 64px 0;
  }

  .about-values-inner {
    padding: 0 20px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-value-card {
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
  }

  .about-value-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .about-team {
    padding: 64px 0;
  }

  .about-team-inner {
    padding: 0 20px;
  }

  .about-team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .about-cta {
    padding: 64px 0;
  }

  .about-cta-inner {
    padding: 0 20px;
  }

  .about-cta-title {
    font-size: 28px;
  }

  .about-cta-desc {
    font-size: 14px;
  }

  .about-cta-actions {
    flex-direction: column;
    gap: 16px;
  }
}

/* Small Phone */
@media (max-width: 480px) {
  .about-hero {
    min-height: 45vh;
  }

  .about-hero-content {
    padding: 16px 16px 40px;
  }

  .about-hero-title {
    font-size: 26px;
  }

  .about-hero-desc {
    font-size: 13px;
  }

  .about-story {
    padding: 48px 0;
  }

  .about-story-inner {
    padding: 0 16px;
  }

  .about-section-title,
  .about-section-title-light {
    font-size: 24px;
  }

  .about-gallery {
    padding: 48px 0;
  }

  .about-gallery-inner {
    padding: 0 16px;
  }

  .about-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .about-gallery-item--tall {
    grid-row: span 1;
  }

  .about-gallery-item--wide {
    grid-column: span 1;
  }

  .about-values {
    padding: 48px 0;
  }

  .about-values-inner {
    padding: 0 16px;
  }

  .about-value-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
  }

  .about-value-icon {
    margin: 0 auto;
  }

  .about-team {
    padding: 48px 0;
  }

  .about-team-inner {
    padding: 0 16px;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-cta {
    padding: 48px 0;
  }

  .about-cta-inner {
    padding: 0 16px;
  }

  .about-cta-title {
    font-size: 24px;
  }
}

/* ============================================= */
/*    GALLERY PAGE                                */
/* ============================================= */

/* ---------- Gallery Hero ---------- */
.gallery-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gallery-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gallery-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.5) 50%, rgba(0,0,0,0.2) 100%),
    linear-gradient(to top, rgba(10,10,15,0.8) 0%, transparent 50%);
  z-index: 1;
}

.gallery-hero .navbar {
  position: relative;
  z-index: 10;
}

.gallery-hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 48px 80px;
}

/* ---------- Year Filter Tabs ---------- */
.gallery-filter {
  background: var(--section-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gallery-filter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: center;
}

.gallery-filter-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-filter-tabs::-webkit-scrollbar {
  display: none;
}

.gallery-tab {
  padding: 10px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
  font-family: inherit;
}

.gallery-tab:hover {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,107,53,0.2);
  background: rgba(255,107,53,0.05);
}

.gallery-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}

/* ---------- Gallery Main ---------- */
.gallery-main {
  background: var(--section-dark);
  padding: 48px 0 100px;
  min-height: 60vh;
}

.gallery-main-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Year Section */
.gallery-year-section {
  display: none;
}

.gallery-year-section.active {
  display: block;
}

.gallery-year-header {
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}

.gallery-year-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 600;
  background: linear-gradient(135deg, #fff 30%, var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.gallery-year-info {
  font-size: 14px;
  color: rgba(255,255,255,0.3);
}

/* Photo Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.gallery-photo--tall {
  grid-row: span 2;
}

.gallery-photo--wide {
  grid-column: span 2;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery-photo:hover img {
  transform: scale(1.06);
}

.gallery-photo:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 30px rgba(255,107,53,0.06);
}

.gallery-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.75) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.gallery-photo:hover .gallery-photo-overlay {
  opacity: 1;
}

.gallery-photo-overlay span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

/* ---------- Load More ---------- */
.gallery-load-more {
  display: flex;
  justify-content: center;
  padding: 48px 0 0;
}

.gallery-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 4px 20px rgba(255,107,53,0.3);
}

.gallery-load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,107,53,0.4);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), visibility 0s 0.4s;
}

.lightbox.open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.4s var(--ease-out), visibility 0s;
}

.lightbox *, .lightbox *::before, .lightbox *::after,
.lightbox {
  cursor: auto !important;
}

.lightbox-close,
.lightbox-nav {
  cursor: pointer !important;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,5,8,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s var(--ease-out);
}

.lightbox-close:hover {
  background: rgba(255,107,53,0.15);
  border-color: rgba(255,107,53,0.3);
  color: #fff;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s var(--ease-out);
}

.lightbox-nav:hover {
  background: rgba(255,107,53,0.15);
  border-color: rgba(255,107,53,0.3);
  color: #fff;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 100px rgba(0,0,0,0.6);
}

.lightbox-caption {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

/* ---------- Gallery Responsive ---------- */

/* Tablet */
@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  .gallery-year-title {
    font-size: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-hero {
    min-height: 45vh;
  }

  .gallery-hero-content {
    padding: 20px 20px 48px;
  }

  .gallery-filter-inner {
    padding: 0 20px;
  }

  .gallery-tab {
    padding: 8px 20px;
    font-size: 13px;
  }

  .gallery-main {
    padding: 32px 0 64px;
  }

  .gallery-main-inner {
    padding: 0 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    gap: 12px;
  }

  .gallery-photo--tall {
    grid-row: span 1;
  }

  .gallery-photo--wide {
    grid-column: span 2;
  }

  .gallery-photo-overlay {
    opacity: 1;
  }

  .gallery-year-title {
    font-size: 32px;
  }

  .gallery-year-info {
    font-size: 12px;
  }

  .gallery-year-header {
    flex-direction: column;
    gap: 8px;
  }

  /* Lightbox mobile */
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }

  .lightbox-content img {
    max-height: 70vh;
    border-radius: 8px;
  }

  .lightbox-caption {
    font-size: 13px;
  }
}

/* Small Phone */
@media (max-width: 480px) {
  .gallery-hero {
    min-height: 40vh;
  }

  .gallery-hero-content {
    padding: 16px 16px 36px;
  }

  .gallery-filter-inner {
    padding: 0 16px;
  }

  .gallery-tab {
    padding: 7px 16px;
    font-size: 12px;
  }

  .gallery-main-inner {
    padding: 0 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 12px;
  }

  .gallery-photo--tall {
    grid-row: span 1;
  }

  .gallery-photo--wide {
    grid-column: span 1;
  }

  .gallery-year-title {
    font-size: 28px;
  }

  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close { top: 8px; right: 8px; }
}

/* ============================================= */
/*    REGISTRATION PAGE                           */
/* ============================================= */

/* ---------- Reg Hero ---------- */
.reg-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.reg-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.reg-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.reg-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.5) 50%, rgba(0,0,0,0.2) 100%),
    linear-gradient(to top, rgba(10,10,15,0.85) 0%, transparent 50%);
  z-index: 1;
}

.reg-hero .navbar {
  position: relative;
  z-index: 10;
}

.reg-hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 48px 80px;
}

/* ---------- Form Section ---------- */
.reg-form-section {
  background: #E8DFD5;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.reg-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,85,42,0.15), rgba(217,120,48,0.1), transparent);
}

.reg-form-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: all 0.8s var(--ease-out);
}

.reg-form-section.visible .reg-form-inner {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- Form Card ---------- */
.reg-form-card {
  background: #F5F0EB;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 40px;
}

.reg-form-header {
  margin-bottom: 32px;
}

.reg-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 500;
  color: #1A1A1F;
  margin-bottom: 8px;
}

.reg-form-subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(26,26,31,0.45);
}

/* ---------- Form Fields ---------- */
.reg-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.reg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reg-field--full {
  grid-column: span 2;
}

.reg-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(26,26,31,0.6);
  letter-spacing: 0.3px;
}

.reg-form input[type="text"],
.reg-form input[type="email"],
.reg-form input[type="tel"],
.reg-form input[type="date"],
.reg-form select,
.reg-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1A1A1F;
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.reg-form input::placeholder,
.reg-form textarea::placeholder {
  color: rgba(26,26,31,0.25);
}

.reg-form input:focus,
.reg-form select:focus,
.reg-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,93,42,0.1);
}

.reg-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* Select wrapper */
.reg-select-wrap {
  position: relative;
}

.reg-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.reg-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(26,26,31,0.3);
  pointer-events: none;
}

/* Checkbox */
.reg-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(26,26,31,0.55);
  line-height: 1.5;
}

.reg-checkbox-label input[type="checkbox"] {
  display: none;
}

.reg-checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.reg-checkbox-label input:checked + .reg-checkbox-custom {
  background: linear-gradient(135deg, var(--ember), var(--accent));
  border-color: transparent;
}

.reg-checkbox-label input:checked + .reg-checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.reg-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}

.reg-link:hover {
  color: var(--rust);
}

/* Error states */
.reg-error {
  border-color: #E53E3E !important;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.1) !important;
}

.reg-error-msg {
  font-size: 11px;
  color: #E53E3E;
  margin-top: 2px;
}

/* Submit button */
.reg-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 24px rgba(255,107,53,0.25);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.reg-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FF8855, var(--ember));
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}

.reg-submit:hover::before {
  opacity: 1;
}

.reg-submit:hover {
  box-shadow: 0 8px 44px rgba(255,107,53,0.4);
  transform: translateY(-3px);
}

.reg-submit span,
.reg-submit svg {
  position: relative;
  z-index: 1;
}

.reg-submit svg {
  transition: transform 0.4s var(--ease-out);
}

.reg-submit:hover svg {
  transform: translateX(4px);
}

.reg-submit.loading {
  pointer-events: none;
  opacity: 0.7;
}

.reg-submit.loading span::after {
  content: '...';
  animation: loadDots 1s steps(3) infinite;
}

@keyframes loadDots {
  0% { content: '.'; }
  33% { content: '..'; }
  66% { content: '...'; }
}

/* ---------- Success Message ---------- */
.reg-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  gap: 16px;
}

.reg-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(255,107,53,0.25);
  margin-bottom: 8px;
}

.reg-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  color: #1A1A1F;
}

.reg-success-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(26,26,31,0.5);
  max-width: 400px;
}

.reg-success-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  margin-top: 8px;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 20px rgba(255,107,53,0.25);
}

.reg-success-btn:hover {
  box-shadow: 0 8px 40px rgba(255,107,53,0.4);
  transform: translateY(-3px);
}

/* ---------- Sidebar ---------- */
.reg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.reg-sidebar-card {
  background: #F5F0EB;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 32px;
}

.reg-sidebar-card--dark {
  background: var(--surface);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.reg-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: #1A1A1F;
  margin-bottom: 24px;
}

.reg-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reg-perk {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease-out);
}

.reg-perk:hover {
  transform: translateX(4px);
}

.reg-perk-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,107,53,0.15);
}

.reg-perk strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1F;
  margin-bottom: 2px;
}

.reg-perk span {
  font-size: 12px;
  color: rgba(26,26,31,0.45);
  line-height: 1.4;
}

.reg-sidebar-question {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.reg-sidebar-answer {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
}

.reg-link-light {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}

.reg-link-light:hover {
  color: var(--ember);
}

/* ---------- Reg Page Responsive ---------- */

/* Tablet */
@media (max-width: 1100px) {
  .reg-form-inner {
    grid-template-columns: 1fr;
    max-width: 700px;
  }

  .reg-sidebar {
    position: static;
    flex-direction: row;
    gap: 20px;
  }

  .reg-sidebar-card {
    flex: 1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .reg-hero {
    min-height: 40vh;
  }

  .reg-hero-content {
    padding: 20px 20px 48px;
  }

  .reg-form-section {
    padding: 48px 0 64px;
  }

  .reg-form-inner {
    padding: 0 20px;
  }

  .reg-form-card {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .reg-form-title {
    font-size: 26px;
  }

  .reg-form {
    grid-template-columns: 1fr;
  }

  .reg-field--full {
    grid-column: span 1;
  }

  .reg-sidebar {
    flex-direction: column;
  }

  .reg-sidebar-card {
    padding: 24px;
  }

  .reg-sidebar-title {
    font-size: 20px;
    margin-bottom: 18px;
  }
}

/* Small Phone */
@media (max-width: 480px) {
  .reg-hero {
    min-height: 35vh;
  }

  .reg-hero-content {
    padding: 16px 16px 36px;
  }

  .reg-form-section {
    padding: 36px 0 48px;
  }

  .reg-form-inner {
    padding: 0 16px;
  }

  .reg-form-card {
    padding: 24px 18px;
  }

  .reg-form-title {
    font-size: 22px;
  }

  .reg-submit {
    font-size: 14px;
    padding: 14px 24px;
  }
}

/* ===================== */
/*   RESULTS PAGE        */
/* ===================== */

/* ---------- Hero ---------- */
.results-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.results-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.results-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.results-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.5) 50%, rgba(0,0,0,0.2) 100%),
    linear-gradient(to top, rgba(10,10,15,0.85) 0%, transparent 50%);
  z-index: 1;
}

.results-hero .navbar {
  position: relative;
  z-index: 10;
}

.results-hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 48px 80px;
}

/* ---------- Year Filter ---------- */
.results-filter {
  background: var(--section-dark);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.results-filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: center;
}

.results-filter-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 0;
}

.results-tab {
  padding: 10px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  transition: all 0.4s var(--ease-out);
  letter-spacing: 0.3px;
}

.results-tab:hover {
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.04);
}

.results-tab.active {
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,107,53,0.25);
}

/* ---------- Race Cards Grid ---------- */
.results-main {
  background: #E8DFD5;
  padding: 60px 0 100px;
  position: relative;
  overflow: hidden;
}

.results-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,85,42,0.15), rgba(217,120,48,0.1), transparent);
}

.results-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* ---------- Race Card ---------- */
.results-race-card {
  background: #F5F0EB;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.results-race-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.results-race-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

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

.results-race-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.results-race-date {
  font-size: 13px;
  color: rgba(26,26,31,0.4);
  font-weight: 500;
}

.results-race-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 500;
  color: #1A1A1F;
  line-height: 1.2;
}

.results-race-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(26,26,31,0.45);
}

.results-race-location svg {
  color: var(--accent);
  flex-shrink: 0;
}

.results-race-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.results-race-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.results-race-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1F;
}

.results-race-stat-label {
  font-size: 11px;
  color: rgba(26,26,31,0.4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-race-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(0,0,0,0.08);
}

.results-race-winner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,107,53,0.06);
  border-radius: 14px;
  border: 1px solid rgba(255,107,53,0.1);
}

.results-race-winner-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.results-race-winner-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: rgba(26,26,31,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-race-winner-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1F;
}

.results-race-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: #1A1A1F;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  font-family: inherit;
  transition: all 0.4s var(--ease-out);
  margin-top: auto;
}

.results-race-btn:hover {
  background: var(--accent);
  box-shadow: 0 8px 32px rgba(255,107,53,0.3);
  transform: translateY(-2px);
}

.results-race-btn svg {
  transition: transform 0.4s var(--ease-out);
}

.results-race-btn:hover svg {
  transform: translateX(4px);
}

/* ---------- Results Modal ---------- */
.results-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
}

.results-modal.open {
  opacity: 1;
  visibility: visible;
}

.results-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.results-modal-panel {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  background: #F5F0EB;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
}

.results-modal.open .results-modal-panel {
  transform: translateY(0) scale(1);
}

.results-modal *, .results-modal *::before, .results-modal *::after,
.results-modal {
  cursor: auto !important;
}

.results-modal-close,
.results-modal button {
  cursor: pointer !important;
}

.results-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 36px 20px;
  gap: 16px;
}

.results-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  color: #1A1A1F;
  line-height: 1.2;
}

.results-modal-meta {
  font-size: 14px;
  color: rgba(26,26,31,0.45);
  margin-top: 4px;
  display: block;
}

.results-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.05);
  color: rgba(26,26,31,0.5);
  transition: all 0.3s var(--ease-out);
  flex-shrink: 0;
}

.results-modal-close:hover {
  background: rgba(0,0,0,0.1);
  color: #1A1A1F;
}

/* Modal Stats */
.results-modal-stats {
  display: flex;
  gap: 0;
  margin: 0 36px 20px;
  background: rgba(255,107,53,0.06);
  border-radius: 16px;
  border: 1px solid rgba(255,107,53,0.1);
  overflow: hidden;
}

.results-modal-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 16px 12px;
}

.results-modal-stat + .results-modal-stat {
  border-left: 1px solid rgba(255,107,53,0.1);
}

.results-modal-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1F;
}

.results-modal-stat-label {
  font-size: 11px;
  color: rgba(26,26,31,0.4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Modal Table */
.results-modal-table-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 0 36px 32px;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.results-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.results-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(26,26,31,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #F5F0EB;
  border-bottom: 2px solid rgba(0,0,0,0.08);
}

.results-table td {
  padding: 12px 16px;
  color: #1A1A1F;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.results-table tbody tr {
  transition: background 0.2s;
}

.results-table tbody tr:hover {
  background: rgba(255,107,53,0.04);
}

.results-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  background: rgba(0,0,0,0.04);
  color: rgba(26,26,31,0.6);
}

.results-rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,165,0,0.3);
}

.results-rank-2 {
  background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
  color: #fff;
  box-shadow: 0 2px 8px rgba(160,160,160,0.3);
}

.results-rank-3 {
  background: linear-gradient(135deg, #CD7F32, #A0522D);
  color: #fff;
  box-shadow: 0 2px 8px rgba(205,127,50,0.3);
}

.results-name-cell {
  font-weight: 600;
}

.results-time-cell {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent) !important;
}

.results-category {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.results-category-m {
  background: rgba(59,130,246,0.1);
  color: #3B82F6;
}

.results-category-z {
  background: rgba(236,72,153,0.1);
  color: #EC4899;
}

/* ---------- Results Page Responsive ---------- */

/* Tablet */
@media (max-width: 1100px) {
  .results-main-inner {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .results-hero {
    min-height: 40vh;
  }

  .results-hero-content {
    padding: 20px 20px 48px;
  }

  .results-filter-inner {
    padding: 0 20px;
  }

  .results-filter-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }

  .results-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .results-tab {
    padding: 8px 20px;
    font-size: 13px;
    white-space: nowrap;
  }

  .results-main {
    padding: 40px 0 64px;
  }

  .results-main-inner {
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .results-race-card {
    padding: 24px;
  }

  .results-race-name {
    font-size: 22px;
  }

  .results-race-stat-value {
    font-size: 18px;
  }

  /* Modal mobile */
  .results-modal {
    padding: 12px;
  }

  .results-modal-panel {
    max-height: 90vh;
    border-radius: 20px;
  }

  .results-modal-header {
    padding: 24px 20px 16px;
  }

  .results-modal-title {
    font-size: 22px;
  }

  .results-modal-stats {
    margin: 0 20px 16px;
    flex-wrap: wrap;
  }

  .results-modal-stat {
    min-width: 45%;
    padding: 12px 8px;
  }

  .results-modal-stat-value {
    font-size: 17px;
  }

  .results-modal-table-wrap {
    padding: 0 20px 24px;
  }

  .results-table th,
  .results-table td {
    padding: 10px 10px;
    font-size: 13px;
  }

  .results-table th:nth-child(3),
  .results-table td:nth-child(3) {
    display: none;
  }
}

/* Small Phone */
@media (max-width: 480px) {
  .results-hero {
    min-height: 35vh;
  }

  .results-hero-content {
    padding: 16px 16px 36px;
  }

  .results-main {
    padding: 32px 0 48px;
  }

  .results-main-inner {
    padding: 0 16px;
  }

  .results-race-card {
    padding: 20px;
  }

  .results-race-name {
    font-size: 20px;
  }

  .results-modal {
    padding: 8px;
  }

  .results-modal-header {
    padding: 20px 16px 12px;
  }

  .results-modal-title {
    font-size: 20px;
  }

  .results-modal-stats {
    margin: 0 16px 12px;
  }

  .results-modal-table-wrap {
    padding: 0 16px 20px;
  }

  .results-table th,
  .results-table td {
    padding: 8px 6px;
    font-size: 12px;
  }

  .results-table th:nth-child(4),
  .results-table td:nth-child(4) {
    display: none;
  }
}

/* ===================== */
/*   PROPOZICE LISTING   */
/* ===================== */

/* ---------- Hero ---------- */
.prop-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.prop-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.prop-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.prop-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.5) 50%, rgba(0,0,0,0.2) 100%),
    linear-gradient(to top, rgba(10,10,15,0.85) 0%, transparent 50%);
  z-index: 1;
}

.prop-hero .navbar { position: relative; z-index: 10; }

.prop-hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 48px 80px;
}

/* ---------- Race Listing Cards ---------- */
.prop-races {
  background: #E8DFD5;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.prop-races::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,85,42,0.15), rgba(217,120,48,0.1), transparent);
}

.prop-races-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.prop-race-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  background: #F5F0EB;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.5s var(--ease-out);
  opacity: 0;
  transform: translateY(24px);
}

.prop-race-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.prop-race-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  transform: translateY(-6px);
}

.prop-race-img {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.prop-race-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.prop-race-card:hover .prop-race-img img {
  transform: scale(1.05);
}

.prop-race-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
}

.prop-race-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.prop-race-badge {
  padding: 5px 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.prop-race-badge--date {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.prop-race-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prop-race-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(26,26,31,0.45);
}

.prop-race-location svg { color: var(--accent); flex-shrink: 0; }

.prop-race-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 500;
  color: #1A1A1F;
  line-height: 1.2;
}

.prop-race-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(26,26,31,0.55);
}

.prop-race-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 0;
}

.prop-race-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(26,26,31,0.55);
}

.prop-race-meta-item svg { color: var(--accent); flex-shrink: 0; }

.prop-race-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
  transition: gap 0.3s var(--ease-out);
}

.prop-race-card:hover .prop-race-cta { gap: 14px; }

/* ---------- Prop Listing Responsive ---------- */
@media (max-width: 1100px) {
  .prop-race-card {
    grid-template-columns: 320px 1fr;
  }
}

@media (max-width: 768px) {
  .prop-hero { min-height: 40vh; }
  .prop-hero-content { padding: 20px 20px 48px; }

  .prop-races { padding: 48px 0 64px; }
  .prop-races-inner { padding: 0 20px; gap: 24px; }

  .prop-race-card { grid-template-columns: 1fr; }
  .prop-race-img { min-height: 200px; }
  .prop-race-body { padding: 24px; }
  .prop-race-title { font-size: 24px; }
}

@media (max-width: 480px) {
  .prop-hero { min-height: 35vh; }
  .prop-hero-content { padding: 16px 16px 36px; }
  .prop-races { padding: 36px 0 48px; }
  .prop-races-inner { padding: 0 16px; }
  .prop-race-body { padding: 20px; }
  .prop-race-title { font-size: 22px; }
  .prop-race-meta { gap: 10px; }
}


/* ===================== */
/*   PROPOZICE DETAIL    */
/* ===================== */

/* ---------- Detail Hero ---------- */
.propd-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.propd-hero-bg { position: absolute; inset: 0; z-index: 0; }
.propd-hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.propd-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.5) 50%, rgba(0,0,0,0.2) 100%),
              linear-gradient(to top, rgba(10,10,15,0.85) 0%, transparent 50%);
}
.propd-hero .navbar { position: relative; z-index: 10; }

.propd-hero-content {
  position: relative; z-index: 10; flex: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 20px 48px 80px;
}

.propd-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px;
  transition: color 0.3s;
}
.propd-back-link:hover { color: var(--amber); }

.propd-hero-title {
  font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 500;
  background: linear-gradient(135deg, #fff 0%, var(--amber) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.15; margin-bottom: 12px;
}

.propd-hero-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; color: rgba(255,255,255,0.6);
}
.propd-hero-meta-sep { opacity: 0.3; }

/* ---------- Stats Bar ---------- */
.propd-stats-bar {
  background: var(--surface);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.propd-stats-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: flex; justify-content: space-between;
}

.propd-stat {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 8px;
  color: rgba(255,255,255,0.5);
}

.propd-stat svg { flex-shrink: 0; }
.propd-stat-value { display: block; font-size: 16px; font-weight: 700; color: #fff; }
.propd-stat-label { display: block; font-size: 11px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------- Content Area ---------- */
.propd-content {
  background: #E8DFD5;
  padding: 60px 0 80px;
  position: relative;
}

.propd-content::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,85,42,0.15), rgba(217,120,48,0.1), transparent);
}

.propd-content-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start;
}

/* ---------- Main Sections ---------- */
.propd-section {
  background: #F5F0EB;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 36px;
  margin-bottom: 24px;
}

.propd-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 500; color: #1A1A1F;
  margin-bottom: 16px;
}

.propd-section-text {
  font-size: 15px; line-height: 1.8; color: rgba(26,26,31,0.6);
  margin-bottom: 20px;
}

.propd-highlights {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
}

.propd-highlights li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(26,26,31,0.65); line-height: 1.5;
}

.propd-highlights li svg { flex-shrink: 0; margin-top: 2px; }

/* Timeline */
.propd-timeline {
  display: flex; flex-direction: column; gap: 0;
}

.propd-timeline-item {
  display: grid; grid-template-columns: 120px 20px 1fr; gap: 12px;
  align-items: center; padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.propd-timeline-item:last-child { border-bottom: none; }

.propd-timeline-time {
  font-size: 13px; font-weight: 600; color: var(--accent);
  text-align: right; font-variant-numeric: tabular-nums;
}

.propd-timeline-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
  justify-self: center;
}

.propd-timeline-event {
  font-size: 14px; color: rgba(26,26,31,0.7);
}

/* Aid Stations */
.propd-aid-stations { display: flex; flex-direction: column; gap: 12px; }

.propd-aid {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(255,107,53,0.04); border: 1px solid rgba(255,107,53,0.08);
  transition: all 0.3s var(--ease-out);
}

.propd-aid:hover { background: rgba(255,107,53,0.08); transform: translateX(4px); }

.propd-aid-km {
  min-width: 56px; padding: 6px 12px; border-radius: 10px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff; font-size: 12px; font-weight: 700; text-align: center;
  white-space: nowrap;
}

.propd-aid-info strong { display: block; font-size: 14px; color: #1A1A1F; margin-bottom: 2px; }
.propd-aid-info span { font-size: 12px; color: rgba(26,26,31,0.45); line-height: 1.4; }

/* Equipment */
.propd-equipment {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}

.propd-equipment li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: rgba(26,26,31,0.65); line-height: 1.5;
}

.propd-equipment li svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- Sidebar ---------- */
.propd-sidebar {
  display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: 100px;
}

.propd-sidebar-card {
  background: #F5F0EB; border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 32px;
}

.propd-sidebar-card--dark {
  background: var(--surface);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.propd-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 500; color: #1A1A1F;
  margin-bottom: 20px;
}

/* Pricing */
.propd-pricing { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.propd-price-tier {
  padding: 16px; border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06); background: #fff;
  transition: all 0.3s var(--ease-out);
}

.propd-price-tier:hover { border-color: rgba(255,107,53,0.2); box-shadow: 0 4px 16px rgba(255,107,53,0.08); }

.propd-price-tier-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.propd-price-name { font-size: 14px; font-weight: 600; color: #1A1A1F; }
.propd-price-amount { font-size: 18px; font-weight: 700; color: var(--accent); }
.propd-price-deadline { font-size: 12px; color: rgba(26,26,31,0.4); }

.propd-price-tier--secondary {
  opacity: 0.7;
}

.propd-pricing-note {
  font-size: 13px; line-height: 1.6; color: rgba(26,26,31,0.5);
  margin-top: 12px; margin-bottom: 16px;
}

.propd-merch {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}

.propd-merch-item {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(26,26,31,0.6);
  padding: 6px 0; border-bottom: 1px solid rgba(26,26,31,0.06);
}

.propd-hero-subtitle {
  margin-top: 4px; margin-bottom: 8px;
}

.propd-hero-subtitle-text {
  font-size: 18px; color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.propd-hero-csut {
  font-size: 14px; color: rgba(255,255,255,0.8);
  font-style: italic;
}

.propd-section-subtitle {
  font-size: 16px; font-weight: 600; color: rgba(26,26,31,0.7);
  margin-top: 24px; margin-bottom: 12px;
}

.propd-sidebar-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px 24px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff; font-size: 15px; font-weight: 600;
  border-radius: 100px; transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 24px rgba(255,107,53,0.25);
}

.propd-sidebar-btn:hover {
  box-shadow: 0 8px 44px rgba(255,107,53,0.4);
  transform: translateY(-3px);
}

/* Includes */
.propd-includes {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}

.propd-includes li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: rgba(26,26,31,0.6); line-height: 1.5;
}

.propd-includes li svg { flex-shrink: 0; margin-top: 2px; }

/* Dark card info */
.propd-sidebar-question {
  display: block; font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 12px;
}

.propd-info-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.propd-info-row {
  display: flex; justify-content: space-between;
  font-size: 13px; padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.propd-info-row span:first-child { color: rgba(255,255,255,0.4); flex-shrink: 0; }
.propd-info-row span:last-child { color: rgba(255,255,255,0.8); font-weight: 600; text-align: right; }

.propd-sidebar-contact {
  font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6;
  display: flex; justify-content: space-between; align-items: center;
}

/* ---------- CTA Section ---------- */
.propd-cta {
  background: var(--section-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.propd-cta-inner {
  max-width: 700px; margin: 0 auto; padding: 0 48px;
  position: relative; z-index: 1;
}

.propd-cta-bg-text {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif; font-size: 280px; font-weight: 700;
  background: linear-gradient(180deg, rgba(255,107,53,0.06) 0%, transparent 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; pointer-events: none; z-index: 0;
  line-height: 1;
}

.propd-cta-title {
  font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 500;
  background: linear-gradient(135deg, #fff, var(--amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 16px;
}

.propd-cta-desc {
  font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

.propd-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--ember), var(--accent));
  color: #fff; font-size: 15px; font-weight: 600;
  border-radius: 100px; transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 24px rgba(255,107,53,0.25);
}

.propd-cta-btn:hover {
  box-shadow: 0 8px 44px rgba(255,107,53,0.4);
  transform: translateY(-3px);
}

/* ---------- Propozice Detail Responsive ---------- */
@media (max-width: 1100px) {
  .propd-content-inner {
    grid-template-columns: 1fr;
    max-width: 800px;
  }

  .propd-sidebar {
    position: static;
    flex-direction: row; gap: 20px;
  }

  .propd-sidebar-card { flex: 1; }

  .propd-stats-bar-inner { flex-wrap: wrap; justify-content: center; gap: 8px; }
}

@media (max-width: 768px) {
  .propd-hero { min-height: 40vh; }
  .propd-hero-content { padding: 20px 20px 48px; }
  .propd-hero-title { font-size: 36px; }
  .propd-hero-meta { font-size: 14px; flex-wrap: wrap; justify-content: center; }

  .propd-stats-bar-inner { padding: 0 20px; }
  .propd-stat { padding: 14px 8px; }
  .propd-stat-value { font-size: 14px; }

  .propd-content { padding: 40px 0 60px; }
  .propd-content-inner { padding: 0 20px; }

  .propd-section { padding: 24px; border-radius: 20px; }
  .propd-section-title { font-size: 22px; }

  .propd-timeline-item { grid-template-columns: 90px 16px 1fr; gap: 8px; }
  .propd-timeline-time { font-size: 12px; }

  .propd-equipment { grid-template-columns: 1fr; }

  .propd-sidebar { flex-direction: column; }
  .propd-sidebar-card { padding: 24px; }

  .propd-cta { padding: 60px 0; }
  .propd-cta-inner { padding: 0 20px; }
  .propd-cta-title { font-size: 28px; }
  .propd-cta-bg-text { font-size: 180px; }
}

@media (max-width: 480px) {
  .propd-hero { min-height: 35vh; }
  .propd-hero-content { padding: 16px 16px 36px; }
  .propd-hero-title { font-size: 28px; }

  .propd-stats-bar-inner {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 4px; padding: 8px 16px;
  }

  .propd-stat { padding: 10px 4px; gap: 8px; }
  .propd-stat svg { width: 16px; height: 16px; }
  .propd-stat-value { font-size: 13px; }
  .propd-stat-label { font-size: 9px; }

  .propd-content { padding: 32px 0 48px; }
  .propd-content-inner { padding: 0 16px; }

  .propd-section { padding: 20px; }
  .propd-section-title { font-size: 20px; }

  .propd-timeline-item { grid-template-columns: 80px 12px 1fr; gap: 6px; padding: 10px 0; }

  .propd-cta-title { font-size: 24px; }
  .propd-cta-bg-text { font-size: 120px; }
}
