:root{
  --bg: #000000;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.02);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --muted-2: rgba(255, 255, 255, 0.54);
  --red: #ff0000;
  --red-2: #ff3b3b;
  --border: rgba(255, 255, 255, 0.10);
  --border-red: rgba(255, 0, 0, 0.45);
  --shadow: rgba(0, 0, 0, 0.65);
  --radius: 18px;
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.wrap{
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: 56px 18px 28px;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bg{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px circle at 15% 5%, rgba(255,0,0,0.20), transparent 55%),
    radial-gradient(700px circle at 80% 10%, rgba(255,0,0,0.14), transparent 52%),
    linear-gradient(#000000, #050505);
}

.bg-grid{
  position: absolute;
  inset: -40px;
  background:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.06;
  transform: translateZ(0);
}

.bg-glow{
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(46px);
  opacity: 0.65;
  animation: glowFloat 9s ease-in-out infinite;
}

.bg-glow--a{
  top: -140px;
  left: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(255,0,0,0.85), rgba(255,0,0,0) 60%);
}

.bg-glow--b{
  bottom: -220px;
  right: -220px;
  width: 640px;
  height: 640px;
  animation-delay: -2.5s;
  background: radial-gradient(circle at 30% 30%, rgba(255,59,59,0.65), rgba(255,59,59,0) 62%);
}

@keyframes glowFloat{
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  45% { transform: translate3d(20px, -18px, 0) scale(1.04); }
}

.hero{
  text-align: center;
  max-width: 760px;
  margin-bottom: 32px;
  padding-inline: 6px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
}

.brand__title{
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  font-family: "Orbitron", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 0.96;
  color: #ffffff;
  text-transform: none;
  text-shadow: 0 3px 14px rgba(0,0,0,0.55);
}

.brand__logo-r{
  position: relative;
  display: inline-block;
  margin-right: 0.04em;
  color: #ff0000;
  font-weight: 800;
  font-size: 1.08em;
  letter-spacing: 0;
  transform: skewX(-14deg) translateY(1px);
  text-shadow: 0 0 18px rgba(255,0,0,0.32), 0 0 38px rgba(255,0,0,0.16);
  background: linear-gradient(180deg, #ff5b5b 0%, #ff0000 52%, #b30000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoRGlow 4s ease-in-out infinite;
}

.brand__logo-r::before,
.brand__logo-r::after{
  content: "";
  position: absolute;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.36);
  transform: skewX(-22deg);
}

.brand__logo-r::before{
  width: 0.14em;
  height: 0.32em;
  top: 0.18em;
  left: 0.28em;
  opacity: 0.42;
}

.brand__logo-r::after{
  width: 0.12em;
  height: 0.24em;
  top: 0.44em;
  left: 0.58em;
  opacity: 0.34;
}

@keyframes logoRGlow{
  0%, 100%{
    filter: brightness(1);
    text-shadow: 0 0 18px rgba(255,0,0,0.32), 0 0 38px rgba(255,0,0,0.16);
  }
  50%{
    filter: brightness(1.08);
    text-shadow: 0 0 22px rgba(255,0,0,0.42), 0 0 42px rgba(255,0,0,0.2);
  }
}

.brand__word{
  color: rgba(245,245,245,0.96);
  font-weight: 700;
  letter-spacing: 0.028em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero__subtitle{
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.36;
  letter-spacing: 0.01em;
}

.hero__text{
  margin: 10px auto 0;
  max-width: 600px;
  color: rgba(255,255,255,0.6);
  font-size: 14.5px;
  line-height: 1.62;
  letter-spacing: 0.01em;
}

.main{
  width: 100%;
  display: flex;
  justify-content: center;
}

.panel{
  width: min(980px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  border: 1px solid rgba(255,0,0,0.26);
  border-radius: var(--radius);
  box-shadow: 0 20px 70px var(--shadow);
  backdrop-filter: blur(10px);
  padding: 24px;
  transform: translateZ(0);
}

.panel:hover{
  border-color: rgba(255,0,0,0.40);
}

.form{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.question{
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.group{
  margin: 0;
  padding: 0;
  border: 0;
}

.motorcycle-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.motorcycle-card{
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
}

.motorcycle-card__input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.motorcycle-card__visual{
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.09);
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.motorcycle-card__media{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 120% at 50% 85%, rgba(255, 0, 0, 0.16), rgba(255, 0, 0, 0) 62%),
    radial-gradient(95% 90% at 50% 30%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 -28px 45px rgba(0,0,0,0.42);
}

.motorcycle-card__media::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  /* Black -> transparent with subtle red tint for a consistent theme. */
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.14) 38%,
      rgba(0, 0, 0, 0) 70%
    ),
    linear-gradient(
      to bottom,
      rgba(255, 0, 0, 0.16) 0%,
      rgba(255, 0, 0, 0.06) 38%,
      rgba(255, 0, 0, 0) 70%
    );
  opacity: 0.86;
  transition: opacity 180ms ease, filter 180ms ease;
}

.motorcycle-card__media::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(80% 68% at 50% 62%, rgba(255, 0, 0, 0.22), rgba(255, 0, 0, 0) 72%);
  opacity: 0.55;
  transition: opacity 180ms ease;
}

.motorcycle-card__visual:hover{
  transform: translateY(-2px);
  border-color: rgba(255,0,0,0.28);
  background: rgba(255,255,255,0.035);
}

.motorcycle-card__image{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  padding: 4px 6px 2px;
  transform-origin: center;
  transition: transform 220ms ease;
  z-index: 1;
  position: relative;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 20px rgba(255, 0, 0, 0.12));
}

.motorcycle-card__content{
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 3;
}

.motorcycle-card__visual:hover .motorcycle-card__image{
  transform: scale(1.03);
}

.motorcycle-card__visual:hover .motorcycle-card__media::after{
  opacity: 1;
  filter: saturate(1.06);
}

.motorcycle-card__visual:hover .motorcycle-card__media::before{
  opacity: 0.78;
}

.motorcycle-card__name{
  font-weight: 780;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.95);
  line-height: 1.2;
}

.motorcycle-card__subtitle{
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.2;
}

.motorcycle-card__selected{
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,0,0,0.14);
  border: 1px solid rgba(255,0,0,0.35);
  color: rgba(255,255,255,0.95);
  font-size: 12px;
  font-weight: 750;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 160ms ease, transform 160ms ease;
  box-shadow: 0 0 30px rgba(255,0,0,0.18);
  pointer-events: none;
}

.motorcycle-card__input:checked + .motorcycle-card__visual{
  border-color: rgba(255,0,0,0.75);
  background: rgba(255,0,0,0.06);
  box-shadow: 0 0 0 4px rgba(255,0,0,0.14), 0 0 34px rgba(255,0,0,0.22), 0 18px 32px rgba(0,0,0,0.42);
  transform: translateY(-2px);
}

.motorcycle-card__input:checked + .motorcycle-card__visual .motorcycle-card__media::before{
  opacity: 0.9;
}

.motorcycle-card__input:checked + .motorcycle-card__visual .motorcycle-card__selected{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.motorcycle-card__input.invalid + .motorcycle-card__visual{
  border-color: rgba(255,0,0,0.85) !important;
}

.radio-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.radio-option{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.09);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
  user-select: none;
}

.radio-option:hover{
  transform: translateY(-2px);
  border-color: rgba(255,0,0,0.28);
  background: rgba(255,255,255,0.035);
}

.radio-option input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-ui{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.22);
  display: grid;
  place-items: center;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  flex: 0 0 auto;
}

.radio-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 120ms ease, transform 120ms ease;
}

.radio-option input:checked + .radio-ui{
  border-color: rgba(255,0,0,0.75);
  box-shadow: 0 0 0 4px rgba(255,0,0,0.18);
}

.radio-option input:checked + .radio-ui .radio-dot{
  opacity: 1;
  transform: scale(1);
}

.radio-text{
  font-weight: 620;
  letter-spacing: 0.01em;
}

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

label{
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}

.req{
  color: var(--red-2);
  font-weight: 700;
}

input, textarea{
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  color: var(--text);
  padding: 12px 14px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

textarea{
  resize: vertical;
  min-height: 96px;
  max-height: 240px;
}

input::placeholder, textarea::placeholder{
  color: rgba(255,255,255,0.35);
}

input:focus, textarea:focus{
  border-color: rgba(255,0,0,0.55);
  box-shadow: 0 0 0 4px rgba(255,0,0,0.18);
}

/* Keep browser autofill consistent with dark theme fields. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus{
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0px 1000px rgba(255,255,255,0.02) inset;
  box-shadow: 0 0 0px 1000px rgba(255,255,255,0.02) inset;
  border: 1px solid rgba(255,255,255,0.10);
  transition: background-color 9999s ease-out 0s;
}

.invalid{
  border-color: rgba(255,0,0,0.7) !important;
  box-shadow: 0 0 0 4px rgba(255,0,0,0.16) !important;
}

.error{
  min-height: 18px;
  margin: 0;
  font-size: 13px;
  color: rgba(255, 60, 60, 0.95);
}

.grid-2{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.grid-2-span{
  grid-column: 1 / -1;
}

.actions{
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.consent-block{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.consent-item{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
}

.consent-item input[type="checkbox"]{
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: #ff0000;
  cursor: pointer;
}

.legal-info,
.rights-info{
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.rights-info{
  margin-top: 10px;
}

.legal-info p,
.rights-info p{
  margin: 0 0 9px 0;
  color: rgba(255,255,255,0.68);
  font-size: 13.5px;
  line-height: 1.5;
}

.legal-info p:last-child,
.rights-info p:last-child{
  margin-bottom: 0;
}

.rights-info h3{
  margin: 0 0 8px 0;
  font-family: "Orbitron", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.9);
}

.legal-info a,
.rights-info a,
.footer-links a,
.modal__content a{
  color: #ff6a6a;
  text-decoration: none;
}

.legal-info a:hover,
.rights-info a:hover,
.footer-links a:hover,
.modal__content a:hover{
  color: #ff8a8a;
}

.btn{
  width: 240px;
  max-width: 100%;
  border: 1px solid rgba(255,0,0,0.55);
  background: linear-gradient(135deg, rgba(255,0,0,1), rgba(255,0,0,0.45));
  border-radius: 14px;
  color: #0b0b0b;
  font-weight: 800;
  padding: 14px 16px;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 30px rgba(255,0,0,0.18);
}

.btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 45px rgba(255,0,0,0.22);
}

.btn:active{
  transform: translateY(0);
}

.btn:disabled{
  opacity: 0.7;
  cursor: not-allowed;
}

.success{
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,0,0,0.35);
  background: rgba(255,0,0,0.10);
  color: rgba(255,255,255,0.92);
  animation: popIn 220ms ease-out;
}

@keyframes popIn{
  from{ opacity: 0; transform: translateY(6px) scale(0.98); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

.form-error{
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 70, 70, 0.32);
  background: rgba(255, 0, 0, 0.08);
  color: rgba(255, 225, 225, 0.96);
  animation: popIn 220ms ease-out;
}

.footer{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  align-items: center;
  margin-top: 18px;
  color: rgba(255,255,255,0.45);
  font-size: 12.5px;
}

.footer-links{
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.modal{
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
}

.modal[hidden]{
  display: none;
}

.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
}

.modal__panel{
  position: relative;
  width: min(760px, calc(100vw - 22px));
  max-height: min(84vh, 860px);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,0,0,0.36);
  background: linear-gradient(180deg, rgba(20,20,20,0.96), rgba(10,10,10,0.96));
  box-shadow: 0 24px 70px rgba(0,0,0,0.62), 0 0 36px rgba(255,0,0,0.12);
  padding: 20px 18px 18px;
  animation: modalIn 170ms ease-out;
}

.modal__close{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.86);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal__panel h2{
  margin: 0 0 14px 0;
  font-family: "Orbitron", ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.modal__content h3{
  margin: 14px 0 6px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

.modal__content p{
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  font-size: 14px;
}

@keyframes modalIn{
  from{ opacity: 0; transform: translateY(8px) scale(0.985); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

@media (max-width: 720px){
  .panel{
    padding: 18px;
  }

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

  .motorcycle-card__content{
    padding: 9px 11px 11px;
  }

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

  .grid-2-span{
    grid-column: auto;
  }

  .actions{
    justify-content: stretch;
  }

  .btn{
    width: 100%;
  }

  .footer{
    flex-direction: column;
    gap: 8px;
  }

  .footer-links{
    gap: 10px;
  }

  .modal__panel{
    padding: 18px 14px 14px;
  }
}

@media (prefers-reduced-motion: reduce){
  .bg-glow, .brand__logo-r{
    animation: none;
  }
  .radio-option, .motorcycle-card__visual, .motorcycle-card__selected, .btn{
    transition: none;
  }
  .success, .form-error{
    animation: none;
  }
  .modal__panel{
    animation: none;
  }
}

