:root {
  --bg: #0b0f1a;
  --bg-soft: #0f1422;
  --card: #12182a;
  --text: #e6ebff;
  --muted: #a6b0cf;
  --primary: #6ee7ff;
  --primary-2: #7c6bff;
  --accent: #ff69b4;
  --ok: #7af29b;
  --danger: #ff6b6b;
  --warning: #ffa500;
  --border: #253153;
  --shadow: 0 10px 30px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.02);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  background: radial-gradient(1200px 800px at 80% -10%, rgba(124,107,255,.15), transparent 60%),
              radial-gradient(800px 600px at 10% 10%, rgba(110,231,255,.12), transparent 50%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { width: min(1120px, 92%); margin: 0 auto; }
.narrow { width: min(760px, 92%); }
.center { text-align: center; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,15,26,.6);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(37,49,83,.6);
}
.site-header.sub { position: static; }
.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 14px 0; 
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }

.logo-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid transparent;
  animation: borderGlow 3s ease-in-out infinite;
}

.logo-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--accent), var(--primary));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderRotate 3s linear infinite;
  z-index: -1;
}

.logo-wrapper:hover::before {
  animation: borderRotate 1.5s linear infinite;
}

.brand-logo {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(124,107,255,.4));
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.footer-logo-wrapper {
  padding: 3px;
  border-radius: 10px;
}

.footer-logo-wrapper::before {
  border-radius: 10px;
}

.footer-logo {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(124,107,255,.4));
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

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

@keyframes borderGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(124,107,255,.3), 0 0 20px rgba(110,231,255,.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(124,107,255,.5), 0 0 30px rgba(110,231,255,.4);
  }
}

.brand-name { letter-spacing: .3px; }

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
  position: relative;
}

.burger-menu span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

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

.nav { 
  display: flex; 
  gap: 18px; 
  align-items: center; 
}

.nav a { 
  color: var(--muted); 
  text-decoration: none; 
  font-weight: 500; 
  transition: color 0.3s ease;
}

.nav a:hover { 
  color: var(--text); 
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border); color: var(--text); text-decoration: none; padding: 10px 14px; border-radius: 10px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.00)); box-shadow: var(--shadow); }
.btn:hover { transform: translateY(-1px); transition: .2s ease; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #0b0f1a; border: none; font-weight: 700; }
.btn-cta { background: linear-gradient(135deg, var(--accent), var(--primary-2)); border: none; color: #0b0f1a; font-weight: 800; padding: 14px 18px; border-radius: 12px; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 6px 10px; font-size: 14px; }

.hero { 
  padding: 80px 0 120px; 
  position: relative; 
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 28px; }
.hero-copy h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin: 0 0 12px; background: linear-gradient(135deg, #fff, #cdd9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { color: var(--muted); margin: 0 0 18px; }
.hero-cta { display: flex; gap: 12px; margin: 18px 0; }
.badges { display: flex; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.badges li { border: 1px solid var(--border); padding: 6px 10px; border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.03); }

.hero-art { position: relative; height: 500px; min-height: 500px; }
.runner { position: absolute; inset: 0; background:
  radial-gradient(90px 70px at 55% 40%, rgba(110,231,255,.45), transparent 70%),
  conic-gradient(from 200deg at 60% 50%, rgba(124,107,255,.8), rgba(110,231,255,.7), rgba(255,105,180,.6), rgba(124,107,255,.8));
  filter: blur(40px) saturate(120%);
  border-radius: 24px;
}
.glow { position: absolute; inset: 20px; border-radius: 24px; border: 1px solid rgba(110,231,255,.25); box-shadow: inset 0 0 0 1px rgba(124,107,255,.15); }

.section { padding: 56px 0; }
.section.alt { background: linear-gradient(180deg, rgba(18,24,42,.6), rgba(18,24,42,.2)); border-top: 1px solid rgba(37,49,83,.5); border-bottom: 1px solid rgba(37,49,83,.5); }

/* Event Promo Section */
.event-promo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(124,107,255,.2);
  border-bottom: 1px solid rgba(124,107,255,.2);
  overflow: hidden;
}

.event-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,13,46,.75), rgba(45,27,78,.65), rgba(58,15,92,.7));
  z-index: 0;
}

.event-promo .container {
  position: relative;
  z-index: 1;
}

.promo-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.promo-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #fff, #cdd9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.promo-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
}

/* Countdown Timer */
.countdown-container {
  margin: 32px 0 40px;
}

.countdown-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 80px;
  box-shadow: var(--shadow);
}

.countdown-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.countdown-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Categories Pricing */
.categories-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0 24px;
}

.category-block {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.category-block:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.category-distance {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.category-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.category-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-2);
  line-height: 1;
}

/* Early Bird */
.early-bird {
  margin: 24px 0 32px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(124,107,255,.15), rgba(110,231,255,.1));
  border: 1px solid var(--border);
  border-radius: 12px;
}

.early-bird-text {
  font-size: 18px;
  color: var(--text);
  margin: 0;
}

.early-bird-text strong {
  color: var(--primary);
  font-size: 22px;
}

/* Promo CTA */
.promo-cta {
  margin-top: 32px;
}

.btn-promo {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #0b0f1a;
  border: none;
  font-weight: 800;
  font-size: 18px;
  padding: 16px 32px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(124,107,255,.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124,107,255,.4);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.card.highlight { background: linear-gradient(180deg, rgba(124,107,255,.10), rgba(124,107,255,.02)); border-color: rgba(124,107,255,.35); }

.list { padding-left: 18px; margin: 10px 0; color: var(--muted); }
.list.check { list-style: none; padding-left: 0; }
.list.check li { padding-left: 26px; position: relative; }
.list.check li:before { content: '✓'; color: var(--ok); position: absolute; left: 0; }

.route-card { display: grid; grid-template-columns: 1fr 220px; gap: 18px; align-items: flex-start; }
.route-map { 
  width: 100%; 
  height: 400px; 
  border-radius: 14px; 
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.route-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.route-legend { display: grid; gap: 10px; color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; margin-right: 8px; }
.dot.km5 { background: var(--primary); }
.dot.km10 { background: var(--primary-2); }
.dot.fam { background: var(--accent); }

.timeline { display: grid; gap: 12px; margin: 18px 0; }
.time-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.time-item span { font-weight: 700; color: #fff; }
.time-item p { margin: 0; color: var(--muted); }

.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); }

.site-footer { padding: 24px 0; border-top: 1px solid rgba(37,49,83,.6); background: rgba(11,15,26,.6); }
.footer-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 18px; 
  flex-wrap: wrap;
}
.footer-brand { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  color: var(--muted); 
}
.footer-links { 
  display: flex; 
  gap: 14px; 
  align-items: center; 
  flex-wrap: wrap;
}
.footer-links a { 
  color: var(--muted); 
  text-decoration: none; 
  transition: color 0.3s ease;
}
.footer-links a:hover { 
  color: var(--text); 
}

/* Form */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field.checkbox { display: flex; align-items: center; gap: 10px; }
label { font-weight: 600; }
input, select, textarea { 
  width: 100%; 
  padding: 12px 12px; 
  border-radius: 10px; 
  border: 1px solid var(--border); 
  background: rgba(255,255,255,.02); 
  color: var(--text); 
  outline: none; 
  font-family: inherit;
  font-size: 14px;
}
input:focus, select:focus, textarea:focus { 
  border-color: rgba(110,231,255,.6); 
  box-shadow: 0 0 0 4px rgba(110,231,255,.12); 
}
input[type="file"] {
  padding: 12px;
  border: 2px dashed var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  cursor: pointer;
  transition: all 0.3s ease;
}
input[type="file"]:hover {
  border-color: var(--primary);
  background: rgba(124,107,255,.05);
}
input[type="file"]:focus {
  border-color: rgba(110,231,255,.6);
  box-shadow: 0 0 0 4px rgba(110,231,255,.12);
}
input[type="date"] {
  color-scheme: dark;
}
.err { color: var(--danger); min-height: 16px; }
.muted { color: var(--muted); font-size: 13px; }
.form-actions { 
  display: flex; 
  gap: 12px; 
  justify-content: flex-end; 
  margin-top: 8px;
}
.payment-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.form-actions.center { justify-content: center; }

/* Success */
.checkmark { width: 54px; height: 54px; border-radius: 999px; background: linear-gradient(135deg, var(--ok), #5be588); color: #0b0f1a; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 32px; box-shadow: 0 10px 30px rgba(90, 240, 150, .25); }
.summary { text-align: left; margin: 18px auto 0; width: min(680px, 100%); background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.summary .row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 8px 6px; border-bottom: 1px dashed rgba(37,49,83,.6); }
.summary .row:last-child { border-bottom: 0; }
.summary .key { color: var(--muted); }
.summary .val { color: #fff; font-weight: 600; }

/* Mobile Navigation */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }
  
  .brand-name {
    font-size: 12px;
    display: none;
  }
  
  .brand {
    gap: 8px;
  }
  
  .logo-wrapper {
    padding: 3px;
  }
  
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 0;
    transition: right 0.3s ease;
    z-index: 99;
    box-shadow: -4px 0 20px rgba(0,0,0,.3);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  
  .nav a:last-child {
    border-bottom: none;
    margin-top: 16px;
    width: 100%;
    text-align: center;
  }
  
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 98;
    pointer-events: none;
  }
  
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
}

@media (max-width: 920px) {
  .hero { 
    min-height: 90vh;
    padding: 60px 0 80px;
  }
  
  .hero-inner { 
    grid-template-columns: 1fr; 
    gap: 24px;
  }
  
  .hero-art { 
    height: 400px; 
    min-height: 400px;
  }
  
  .route-card { 
    grid-template-columns: 1fr; 
    gap: 16px; 
  }
  
  .route-map { 
    height: 300px; 
  }
  
  .grid-2 { 
    grid-template-columns: 1fr; 
  }
  
  .time-item { 
    grid-template-columns: 80px 1fr; 
  }
  
  .promo-title { 
    font-size: 28px; 
  }
  
  .promo-subtitle { 
    font-size: 16px; 
  }
  
  .countdown { 
    gap: 12px; 
  }
  
  .countdown-item { 
    min-width: 70px; 
    padding: 12px 16px; 
  }
  
  .countdown-number { 
    font-size: 28px; 
  }
  
  .categories-pricing { 
    grid-template-columns: 1fr; 
    gap: 16px; 
  }
  
  .category-distance { 
    font-size: 40px; 
  }
  
  .category-price { 
    font-size: 24px; 
  }
  
  .btn-promo { 
    font-size: 16px; 
    padding: 14px 28px; 
  }
  
  .hero-copy h1 {
    font-size: 32px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero { 
    min-height: 85vh;
    padding: 40px 0 60px;
  }
  
  .hero-art { 
    height: 300px; 
    min-height: 300px;
  }
  
  .hero-copy h1 {
    font-size: 28px;
  }
  
  .promo-title { 
    font-size: 24px; 
  }
  
  .countdown { 
    gap: 8px; 
  }
  
  .countdown-item { 
    min-width: 60px; 
    padding: 10px 12px; 
  }
  
  .countdown-number { 
    font-size: 24px; 
  }
  
  .countdown-label {
    font-size: 10px;
  }
  
  .category-distance { 
    font-size: 36px; 
  }
  
  .category-price { 
    font-size: 20px; 
  }
  
  .early-bird-text {
    font-size: 16px;
  }
  
  .early-bird-text strong {
    font-size: 18px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .footer-links {
    justify-content: center;
    gap: 10px;
  }
  
  .footer-brand {
    justify-content: center;
  }
  
  .footer-brand span {
    font-size: 14px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .payment-section {
    margin-top: 20px;
    padding-top: 20px;
  }
  
  .payment-section h3 {
    font-size: 20px;
  }
}


