html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.kf-body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #1f3556 0%, rgba(31, 53, 86, 0) 70%),
              radial-gradient(900px 520px at 85% -10%, #2b3d63 0%, rgba(43, 61, 99, 0) 65%),
              linear-gradient(180deg, #0b1426 0%, #111c31 45%, #17243f 100%);
  color: #1f2937;
  margin: 0;
  min-height: 100vh;
}

.kf-topbar {
  background: rgba(8, 17, 34, 0.86);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 50;
}

.kf-topnav {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 0.5rem;
}

.kf-top-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.kf-top-partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 2vw, 0.85rem);
  justify-self: center;
  grid-column: 2;
  max-width: min(52vw, 320px);
}

.kf-top-partner {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  opacity: 0.95;
  transition: opacity 0.15s ease;
}

.kf-top-partner:hover,
.kf-top-partner:focus-visible {
  opacity: 1;
}

.kf-top-partner:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
  border-radius: 4px;
}

.kf-top-partner--buyticket {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 3px 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.kf-top-partner-logo {
  display: block;
  height: 32px;
  width: auto;
  max-height: 32px;
  object-fit: contain;
}

.kf-top-partner-logo--lats {
  height: 32px;
  width: 32px;
  max-width: 32px;
}

.kf-top-partner-logo--bta {
  height: 28px;
  max-height: 28px;
  max-width: min(120px, 36vw);
  object-fit: contain;
  object-position: center;
}

.kf-top-logo {
  height: 44px;
  width: 44px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 6px;
  box-sizing: border-box;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.kf-top-link {
  grid-column: 3;
  justify-self: end;
  text-align: end;
  white-space: nowrap;
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.kf-top-link:hover,
.kf-top-link:focus-visible {
  color: #93c5fd;
  text-decoration: underline;
}

.kf-hero {
  background-image: var(--kf-hero-bg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 0;
  margin: 0.75rem 0.75rem 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 46px rgba(2, 8, 23, 0.45);
}

.kf-register-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.kf-hero-brand {
  display: block;
  width: min(100%, 520px);
  max-width: 100%;
  height: auto;
  margin: 0 auto 1rem;
}

.kf-register-heading {
  color: #ffffff;
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.kf-register-card {
  width: min(100%, 520px);
  margin-left: auto;
  margin-right: auto;
}

/* Promo-style registration form (black panel, uppercase, mint submit) */
.kf-form-dark {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: clamp(1.25rem, 4vw, 30px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.kf-form-dark__alert {
  border: 1px solid rgba(34, 197, 94, 0.5);
  background: rgba(22, 101, 52, 0.35);
  color: #ecfdf5;
  font-weight: 600;
  text-transform: none;
  font-size: 0.95rem;
}

.kf-form-dark__meta {
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.kf-form-dark__section-label {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.kf-form-dark__label {
  display: block;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}

.kf-form-dark__req {
  color: #9ca3af;
  font-weight: 700;
  text-transform: uppercase;
}

.kf-form-dark__phone-row {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  background-color: #cccccc;
}

.kf-phone-prefix {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.65rem 0.5rem 0.65rem 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
  background-color: #b8b8b8;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.kf-form-dark__input--phone-body {
  flex: 1;
  min-width: 0;
  border-radius: 0 !important;
}

.kf-form-dark__input {
  background-color: #cccccc !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 0.65rem 0.85rem !important;
  color: #111827 !important;
  font-weight: 600;
  text-transform: none;
  min-height: 46px;
}

.kf-form-dark__input::placeholder {
  color: #4b5563;
  font-weight: 600;
}

.kf-form-dark__input:focus {
  box-shadow: 0 0 0 3px rgba(162, 228, 184, 0.45) !important;
}

.kf-form-dark__select {
  background-color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 0.65rem 2.25rem 0.65rem 0.85rem !important;
  color: #000000 !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-height: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000000' d='M8 11L3 6h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.65rem center !important;
  background-size: 12px !important;
}

.kf-form-dark__select:focus {
  box-shadow: 0 0 0 3px rgba(162, 228, 184, 0.45) !important;
}

.kf-form-dark__row2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 1rem;
}

@media (min-width: 480px) {
  .kf-form-dark__row2 {
    grid-template-columns: 1fr 1fr;
  }
}

.kf-form-dark__consent-text {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.72rem;
  line-height: 1.45;
  margin: 0;
}

.kf-form-dark__yes-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kf-form-dark__check {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0 !important;
  border: none;
  border-radius: 4px;
  background-color: #d1d5db;
  flex-shrink: 0;
}

.kf-form-dark__check:checked {
  background-color: #a2e4b8;
  box-shadow: inset 0 0 0 2px #000;
}

.kf-form-dark__check:focus {
  box-shadow: 0 0 0 3px rgba(162, 228, 184, 0.55);
}

.kf-form-dark__yes-label {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
  cursor: pointer;
}

.kf-form-dark__submit {
  display: block;
  width: 100%;
  border: none;
  border-radius: 15px;
  padding: 0.85rem 1rem;
  background-color: #a2e4b8;
  color: #000000;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  margin-top: 0.25rem;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.kf-form-dark__submit:hover {
  background-color: #8fd9a8;
  color: #000000;
}

.kf-form-dark__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.kf-form-dark__error,
.kf-form-dark .text-danger,
.kf-form-dark__summary {
  color: #fca5a5 !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
}

.kf-form-dark__foot-note {
  color: #f87171;
  margin-top: 0.85rem;
}

.kf-video-full {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.kf-strip-full {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  padding: 1.75rem clamp(1rem, 4vw, 2.5rem);
}

.kf-strip-light {
  background: rgba(248, 250, 252, 0.98);
  color: #1f2937;
}

.kf-strip-media {
  padding: 0;
  line-height: 0;
  background: #0b1426;
}

/* Light band between video and banner: matches .kf-strip-light, ~2 lines tall, centered logo */
.kf-video-banner-sep {
  box-sizing: border-box;
  width: 100%;
  min-height: max(
    calc(2 * 1.65 * clamp(1rem, 2.2vw, 1.15rem)),
    7rem
  );
  padding: 0.65rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.98);
}

.kf-video-banner-sep__logo {
  height: 80px;
  width: 80px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 12px;
  box-sizing: border-box;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.kf-intro-text {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
  max-width: none;
  margin: 0;
}

.kf-intro-text--centered {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.kf-banner-full {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.kf-card {
  max-width: 520px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.25);
}

.kf-section .kf-card {
  max-width: 720px;
  background: rgba(255, 255, 255, 0.98);
}

.kf-card .form-label,
.kf-card .form-check-label {
  color: #111827;
  font-weight: 500;
}

.kf-card .form-control,
.kf-card .form-select {
  min-height: 44px;
  border-color: #cfd8e3;
}

.kf-card .form-text {
  color: #4b5563;
}

.kf-card .btn-primary {
  min-height: 48px;
  border-radius: 10px;
}

.kf-register-note {
  text-align: center;
  font-weight: 700;
  margin: 0.6rem 0 0;
  color: #b91c1c;
}

.kf-bio p {
  margin-bottom: 0.75rem;
  line-height: 1.65;
  color: #1f2937;
  max-width: none;
}

.kf-strip-full .kf-bio {
  max-width: none;
}

iframe {
  border: 0;
  border-radius: 0;
}

footer {
  border-top: 0;
  color: #cbd5e1 !important;
}

@media (max-width: 576px) {
  .kf-hero {
    margin: 0.5rem 0.5rem 0;
    border-radius: 14px;
  }

  .kf-register-card {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .kf-card {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 1.2rem 1rem;
  }

  .kf-topnav {
    min-height: 50px;
    column-gap: 0.35rem;
  }

  .kf-top-logo {
    height: 40px;
    width: 40px;
    padding: 5px;
  }

  .kf-top-partners {
    max-width: min(46vw, 260px);
    gap: 0.35rem;
  }

  .kf-top-partner-logo--lats {
    height: 28px;
    width: 28px;
    max-width: 28px;
  }

  .kf-top-partner-logo--bta {
    height: 24px;
    max-height: 24px;
    max-width: min(100px, 34vw);
  }

  .kf-top-partner--buyticket {
    padding: 2px 6px;
    border-radius: 6px;
  }

  .kf-top-link {
    font-size: 0.9rem;
  }
}