:root {
      --bg: #05080e;
      --card: transparent;
      --line: rgba(255,255,255,.08);
      --text: #f5f7fb;
      --muted: rgba(255,255,255,.72);
      --accent: rgb(190, 230, 28);
      --accent-2: rgb(190, 230, 28);
      --max: 1120px;
    }

    @font-face {
      font-family: "Faster Stroker";
      src: url("../core/fonts/FasterStroker.otf") format("opentype");
      font-weight: normal;
      font-style: normal;
      font-display: swap;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    a {
      text-decoration: none;
    }

    .site-navbar {
      background: transparent;
      backdrop-filter: none;
      border-bottom: 1px solid transparent;
      transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
    }

    .site-navbar.is-scrolled {
      background: transparent;
      backdrop-filter: none;
      box-shadow: none;
      border-bottom-color: transparent;
    }

    .navbar-brand,
    .nav-link {
      color: var(--text) !important;
    }

    .nav-link {
      opacity: .78;
      position: relative;
      transition: opacity .2s ease;
    }

    .nav-link:hover,
    .nav-link.is-active {
      opacity: 1;
    }

    .nav-link.is-active::after {
      content: "";
      position: absolute;
      left: 12px;
      right: 12px;
      bottom: 6px;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--accent), var(--accent-2));
    }

    .page-section {
      padding: 96px 0;
      position: relative;
    }

    .page-section.soft {
      background: transparent;
    }

    .section-shell {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 20px;
    }

    .section-kicker {
      display: inline-block;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--muted);
      margin-bottom: 14px;
      font-weight: 700;
    }

    .section-title {
      font-size: clamp(2rem, 4vw, 3.5rem);
      line-height: 1.05;
      font-weight: 800;
      margin-bottom: 18px;
    }

    .section-text {
      font-size: 1.05rem;
      line-height: 1.8;
      color: var(--muted);
      max-width: 860px;
      margin: 0 auto;
    }

    .hero {
      min-height: auto;
      padding: 120px 0 80px;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      background:transparent;
    }

    .hero-grid {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 20px;
      width: 100%;
    }

    .hero-media {
      max-width: 980px;
      margin-top: 28px;
      border-radius: 0;
      overflow: visible;
      border: 0;
      box-shadow: none;
      background: transparent;
    }

    .hero-media img {
      width: 100%;
      height: auto;
      max-height: 420px;
      object-fit: contain;
      display: block;
      background: transparent;
    }

  @media (max-width: 768px) {
    .hero-media {
      max-width: 100%;
      margin-top: 24px;
      border-radius: 18px;
      border: 0;
      box-shadow: none;
      background: transparent;
    }

    .hero-media img {
        width: 100%;
        height: auto;
        max-height: 260px;
        object-fit: contain;
      }
  }

    .hero-title {
      font-family: "Faster Stroker", Inter, system-ui, sans-serif;
      font-style: italic;
      font-size: clamp(2.2rem, 7vw, 5rem);
      line-height: .9;
      font-weight: 400;
      margin-bottom: 16px;
      max-width: 12ch;
      letter-spacing: .02em;
    }

    .hero-subtitle {
      font-size: 1.12rem;
      line-height: 1.8;
      max-width: 760px;
      color: var(--muted);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 28px;
    }

    .btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgb(190, 230, 28);
    color: #000;
    font-weight: 800;
    border: 0;
    box-shadow: 0 12px 30px rgba(210,255,30,.18);
  }

    .btn-ghost,
    .pill-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 18px;
      border-radius: 999px;
      background: rgb(190, 230, 28);
      color: #000;
      font-weight: 800;
      border: 1px solid rgba(190, 230, 28,.45);
      transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    }

   

    .modern-card {
      padding: 24px;
      box-shadow: 0 10px 30px rgba(0,0,0,.18);
      transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    }

    .modern-card,
    .gallery-card,
    .pilot-card,
    .partner-card,
    .success-overlay-card {
      background: transparent;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      box-shadow: none;
    }

    .event-card-title,
    .pilot-card-title,
    .partner-card-title {
      font-size: 1.35rem;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .meta {
      color: var(--muted);
      font-size: .98rem;
      margin-bottom: 12px;
    }

    .card-text {
      color: var(--muted);
      line-height: 1.75;
      margin-bottom: 0;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 16px;
      margin-top: 34px;
    }

    .gallery-card {
      border-radius: 24px;
      overflow: hidden;
      border: 1px solid var(--line);
      background: var(--card);
      box-shadow: 0 10px 30px rgba(0,0,0,.18);
      transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    }

    .gallery-card img {
      width: 100%;
      height: 100%;
      min-height: 240px;
      object-fit: cover;
      display: block;
    }

    .gallery-card.large {
      grid-column: span 7;
    }

    .gallery-card.small {
      grid-column: span 5;
    }

    .pilot-list,
    .partner-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 34px;
    }

    .pilot-card,
    .partner-card {
      display: flex;
      gap: 22px;
      align-items: center;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 22px;
      padding: 18px;
      transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    }

    .pilot-card img,
    .partner-card img {
      width: 110px;
      height: 110px;
      object-fit: cover;
      border-radius: 20px;
      flex-shrink: 0;
    }

    .partner-card img {
      object-fit: contain;
      background: rgba(255,255,255,.04);
      padding: 12px;
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .7s ease, transform .7s ease;
      will-change: opacity, transform;
    }

    .reveal.in-view {
      opacity: 1;
      transform: translateY(0);
    }

    .footer {
      padding: 40px 20px 60px;
      color: var(--muted);
      text-align: center;
      border-top: 1px solid var(--line);
    }

    @media (max-width: 900px) {
      .gallery-card.large,
      .gallery-card.small {
        grid-column: span 12;
      }
    }

    @media (max-width: 768px) {
      .page-section {
        padding: 72px 0;
      }

      .hero {
        min-height: auto;
        padding: 120px 0 72px;
      }

      .pilot-card,
      .partner-card {
        align-items: flex-start;
      }

      .hero-title {
        max-width: none;
      }
    }
    .gallery-modal {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.88);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      z-index: 2000;
    }

    .gallery-modal.is-open {
      display: flex;
    }

    .gallery-modal-inner {
      position: relative;
      max-width: 92vw;
      max-height: 90vh;
    }

    .gallery-modal img {
      max-width: 92vw;
      max-height: 86vh;
      display: block;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0,0,0,.4);
    }

    .gallery-close,
    .gallery-prev,
    .gallery-next {
      position: absolute;
      border: 0;
      border-radius: 999px;
      background: rgba(255,255,255,.92);
      color: #111;
      width: 46px;
      height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      cursor: pointer;
    }

    .gallery-close {
      top: -56px;
      right: 0;
    }

    .gallery-prev {
      top: 50%;
      left: -60px;
      transform: translateY(-50%);
    }

    .gallery-next {
      top: 50%;
      right: -60px;
      transform: translateY(-50%);
    }

    @media (max-width: 768px) {
      .gallery-prev {
        left: 10px;
      }

      .gallery-next {
        right: 10px;
      }

      .gallery-close {
        top: 10px;
        right: 10px;
      }
    }
    .registration-form {
  display: grid;
  gap: 18px;
}

.registration-form p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.registration-form label,
.form-label {
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}

.registration-form input,
.registration-form textarea,
.registration-form select,
.form-control {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.registration-form textarea {
  min-height: 140px;
  resize: vertical;
}

.registration-form input:focus,
.registration-form textarea:focus,
.registration-form select:focus,
.form-control:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(139,92,246,.18);
  background: rgba(255,255,255,.08);
  color: var(--text);
}

.registration-form input::placeholder,
.registration-form textarea::placeholder {
  color: rgba(255,255,255,.45);
}

.registration-form .helptext,
.form-text {
  color: var(--muted) !important;
  font-size: .86rem;
}

.registration-form ul.errorlist {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(239,68,68,.14);
  border: 1px solid rgba(239,68,68,.28);
  color: #fecaca;
  list-style: none;
  font-weight: 700;
}

.registration-form input[type="file"] {
  cursor: pointer;
  padding: 10px;
}

.registration-form input[type="file"]::file-selector-button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  margin-right: 12px;
  background: rgb(210,255,30);
  color: #000;
  font-weight: 800;
  cursor: pointer;
}

.registration-form input[type="number"] {
  appearance: textfield;
}

.registration-form input[type="number"]::-webkit-inner-spin-button,
.registration-form input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.registration-submit-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.registration-card-header {
  margin-bottom: 22px;
}

.registration-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(190, 230, 28, 0.08);
  border: 1px solid rgba(190, 230, 28, 0.28);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(190, 230, 28, 0.06);
}
.registration-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: auto;
  padding: 0;
  margin: 0 8px 0 0;
  accent-color: rgb(210,255,30);
  cursor: pointer;
}

.registration-form ul#id_attendance_days {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.registration-form ul#id_attendance_days li {
  margin: 0;
}

.registration-form ul#id_attendance_days label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(210,255,30,.35);
  background: rgba(210,255,30,.08);
  color: var(--text);
  cursor: pointer;
  line-height: 1;
}

.event-card-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.event-slider {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}

.event-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .8s ease, transform .8s ease;
}

.event-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Event poster layout: used for vertical event images/flyers */
.event-slider.event-slider-poster {
  width: min(100%, 430px);
  max-width: 430px;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 auto 24px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
  display: block;
}

.event-slider.event-slider-poster .event-slide {
  position: relative !important;
  display: none;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.event-slider.event-slider-poster .event-slide.active {
  display: block;
}

@media (max-width: 768px) {
  .event-slider.event-slider-poster {
    width: min(100%, 360px);
    max-width: 360px;
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .event-slider {
    height: 280px;
  }
}
.event-map-wrap {
  margin-top: 24px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.event-map {
  width: 100%;
  height: 360px;
}

.success-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
}

.success-overlay-card {
  width: min(680px, calc(100% - 32px));
  text-align: center;
  border-radius: 28px;
  padding: 42px 34px;
  background:
    radial-gradient(circle at top, rgba(34,197,94,.16), transparent 34%),
    var(--card);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 80px rgba(0,0,0,.38);
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,.18);
  color: #86efac;
  font-size: 42px;
  font-weight: 900;
  border: 1px solid rgba(34,197,94,.34);
}

.success-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 900;
  margin: 10px 0 16px;
}

.success-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

.success-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-background {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(5, 8, 14, 0.45),
      rgba(5, 8, 14, 0.62)
    ),
    url("../core/images/background-ncracing.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -10;
  pointer-events: none;
}

@media (max-width: 768px) {
  .site-background {
    background-image:
      linear-gradient(
        rgba(5, 8, 14, 0.34),
        rgba(5, 8, 14, 0.54)
      ),
      url("../core/images/background-ncracing.webp");
    background-position: center top;
  }
}

body {
  background: #05080e;
}
.navbar-toggler {
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(139,92,246,.25);
}

.navbar-toggler-icon {
  filter: invert(1);
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(5, 8, 14, .92);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
  }

  .navbar-nav {
    gap: 8px;
  }

  .nav-link {
    padding: 10px 12px !important;
    border-radius: 12px;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.is-active {
    background: rgba(255,255,255,.08);
  }
}

.registration-closed {
  background: rgba(210, 255, 30, .10);
  border: 1px solid rgba(210, 255, 30, .28);
  color: var(--muted);
}

.registration-closed strong {
  display: block;
  color: #d2ff1e;
  margin-bottom: 8px;
  font-weight: 900;
}

.registration-closed p {
  margin: 0 0 8px;
}

.registration-closed p:last-child {
  margin-bottom: 0;
}
/* =========================================================
   Mobile-friendly photo picker
   ========================================================= */

.photo-picker {
  margin-top: 18px;
}

.photo-picker__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.photo-picker__dropzone {
  display: flex;
  min-height: 132px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 20px;
  border: 2px dashed rgba(210, 255, 30, .38);
  border-radius: 20px;
  background: rgba(210, 255, 30, .06);
  color: #fff;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    border-color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.photo-picker__dropzone:hover,
.photo-picker__dropzone.is-dragging {
  border-color: #d2ff1e;
  background: rgba(210, 255, 30, .12);
}

.photo-picker__dropzone:active {
  transform: scale(.99);
}

.photo-picker__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #d2ff1e;
  color: #05070b;
  font-size: 27px;
  font-weight: 900;
}

.photo-picker__title {
  color: #d2ff1e;
  font-size: 17px;
  font-weight: 900;
}

.photo-picker__description,
.photo-picker__desktop-hint {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.photo-picker__summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
}

.photo-picker__clear {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.photo-picker__message {
  min-height: 24px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 750;
}

.photo-picker__message--error {
  color: #ff8b8b;
}

.photo-picker__message--success {
  color: #d2ff1e;
}

.photo-picker__preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.photo-picker__preview-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}

.photo-picker__preview-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-picker__preview-number {
  position: absolute;
  bottom: 6px;
  left: 6px;
  min-width: 25px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(5, 7, 11, .82);
  color: #d2ff1e;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.photo-picker__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 7, 11, .88);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 699px) {
  .photo-picker__desktop-hint {
    display: none;
  }

  .photo-picker__dropzone {
    min-height: 116px;
  }

  .photo-picker__summary {
    align-items: flex-start;
  }
}

@media (min-width: 700px) {
  .photo-picker__preview {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
}