:root {
  --bg1: #0f172a;
  --bg2: #111827;

  --glass: rgba(255, 255, 255, .08);
  --stroke: rgba(255, 255, 255, .14);

  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .65);

  --accent: #60a5fa;
  --accent2: #a78bfa;

  --yeti: #f8fafc;
  --yetiShadow: #e2e8f0;
  --yetiFace: #eef2f7;
  --ink: #0f172a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(1200px 900px at 20% 20%, #1e293b 0%, transparent 55%),
    radial-gradient(1200px 900px at 80% 80%, #312e81 0%, transparent 55%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
  /* overflow:hidden; */
}

/* Animated blobs */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  filter: blur(22px);
  opacity: .9;
}

.blob {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, .85), rgba(167, 139, 250, .20));
  animation: float 12s ease-in-out infinite;
  mix-blend-mode: screen;
}

.b1 {
  top: -70px;
  left: -70px;
  animation-duration: 13s;
}

.b2 {
  bottom: -90px;
  right: -90px;
  animation-duration: 15s;
  background: radial-gradient(circle at 30% 30%, rgba(167, 139, 250, .85), rgba(96, 165, 250, .20));
}

.b3 {
  top: 35%;
  left: 55%;
  width: 260px;
  height: 260px;
  opacity: .7;
  animation-duration: 11s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -25px) scale(1.06);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(420px, 94vw);
  background: rgba(10, 16, 30, .45);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 22px 22px 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
  animation: pop 700ms cubic-bezier(.2, .9, .2, 1) both;
}

.card_xl {
  width: min(620px, 94vw);
  background: rgba(10, 16, 30, .45);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 22px 22px 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
  animation: pop 700ms cubic-bezier(.2, .9, .2, 1) both;
  margin-left: auto;
  margin-right: auto;
}

.card_xxl {
  width: min(820px, 94vw);
  background: rgba(10, 16, 30, .45);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 22px 22px 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
  animation: pop 700ms cubic-bezier(.2, .9, .2, 1) both;
}

@keyframes pop {
  from {
    transform: translateY(18px) scale(.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.title {
  text-align: center;
  margin: 6px 0 14px;
}

.title h1 {
  font-size: 1.35rem;
}

.title p {
  color: var(--muted);
  margin-top: 6px;
  font-size: .92rem;
}

/* Form */
.form {
  margin-top: 8px;
}

label {
  display: block;
  font-size: .9rem;
  color: rgba(255, 255, 255, .85);
  margin: 12px 0 8px;
  font-weight: 600;
}
select {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: #1e293b;
  color: white;
}
input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(15, 23, 42, .35);
  color: var(--text);
  outline: none;
  font-size: 1rem;
  transition: 180ms ease;
}

input::placeholder {
  color: rgba(255, 255, 255, .35);
}

input:focus {
  border-color: rgba(96, 165, 250, .70);
  box-shadow: 0 0 0 4px rgba(96, 165, 250, .18);
}

button {
  width: 100%;
  height: 56px;
  margin-top: 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  transition: 180ms ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

button:active {
  transform: translateY(0);
}

.hint {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}

/* =======================
     YETI (CSS drawing)
     ======================= */
.yeti {
  display: grid;
  place-items: center;
  height: 170px;
  margin: 4px auto 6px;
}

.head {
  width: 150px;
  height: 140px;
  background: var(--yeti);
  border-radius: 70px 70px 60px 60px;
  position: relative;
  box-shadow: inset 0 -8px 0 var(--yetiShadow);
  transform-origin: 50% 100%;
  animation: bob 3.2s ease-in-out infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.ear {
  width: 36px;
  height: 36px;
  background: var(--yeti);
  border-radius: 50%;
  position: absolute;
  top: 18px;
  box-shadow: inset 0 -6px 0 var(--yetiShadow);
}

.ear.left {
  left: -10px;
}

.ear.right {
  right: -10px;
}

.face {
  position: absolute;
  inset: 34px 18px 18px 18px;
  background: var(--yetiFace);
  border-radius: 60px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
}

.eyes {
  display: flex;
  justify-content: space-between;
  padding: 22px 18px 0;
}

.eye {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 -3px 0 rgba(15, 23, 42, .06);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

/* blink */
.eye::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yetiFace);
  transform: translateY(-110%);
  animation: blink 4.2s infinite;
}

.eye:nth-child(2)::after {
  animation-delay: .18s;
}

@keyframes blink {

  0%,
  92%,
  100% {
    transform: translateY(-110%);
  }

  94%,
  96% {
    transform: translateY(0%);
  }
}

.pupil {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nose {
  width: 26px;
  height: 18px;
  background: rgba(15, 23, 42, .10);
  border-radius: 14px;
  margin: 10px auto 0;
}

.mouth {
  width: 42px;
  height: 14px;
  border: 3px solid rgba(15, 23, 42, .25);
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0 0 20px 20px;
  margin: 8px auto 0;
}

/* hands */
.hand {
  width: 56px;
  height: 40px;
  background: var(--yeti);
  border-radius: 24px;
  position: absolute;
  top: 70px;
  box-shadow: inset 0 -6px 0 var(--yetiShadow);
  transition: transform 280ms cubic-bezier(.2, .9, .2, 1);
}

.hand.left {
  left: -10px;
  transform: rotate(10deg) translateY(34px);
}

.hand.right {
  right: -10px;
  transform: rotate(-10deg) translateY(34px);
}

/* =======================
     Interaction (NO JS)
     ======================= */

/* Small attention when any input is focused */
.card:focus-within .pupil {
  transform: translate(1px, 1px);
}

/* Best: cover ONLY when password focused (needs :has support) */
@supports selector(.card:has(input:focus)) {
  .card:has(#password:focus) .hand.left {
    transform: rotate(20deg) translate(26px, -16px);
  }

  .card:has(#password:focus) .hand.right {
    transform: rotate(-20deg) translate(-26px, -16px);
  }

  .card:has(#password:focus) .pupil {
    transform: translate(0, 6px) scale(.9);
    opacity: .2;
  }
}

/* Fallback: if :has isn't supported, cover on any focus within card */
@supports not selector(.card:has(input:focus)) {
  .card:focus-within .hand.left {
    transform: rotate(18deg) translate(20px, -10px);
  }

  .card:focus-within .hand.right {
    transform: rotate(-18deg) translate(-20px, -10px);
  }
}

/* wrapper */
.radio-wrapper {
  max-width: 520px;
  margin: 30px auto;
}

/* LABEL */
.group-label {
  display: block;
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: .3px;
}

/* container */
.radio-group {
  display: grid;
  /* gap:16px; */
}

/* card */
.radio-card {
  position: relative;
  /* display:flex; */
  align-items: center;
  gap: 16px;

  padding: 18px;
  border-radius: 14px;

  cursor: pointer;

  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);

  transition: .25s;
}

/* hide default */
.radio-card input {
  position: absolute;
  opacity: 0;
}

/* custom radio */
.radio-custom {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s;
}

/* dot */
.radio-custom::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #60a5fa;
  transform: scale(0);
  transition: .2s;
}

/* checked */
.radio-card input:checked+.radio-custom {
  border-color: #60a5fa;
}

.radio-card input:checked+.radio-custom::after {
  transform: scale(1);
}

/* highlight card */
.radio-card:has(input:checked) {
  border: 1px solid #60a5fa;
  background: rgba(96, 165, 250, .12);
  transform: translateY(-2px);
}

/* hover */
.radio-card:hover {
  border-color: #60a5fa;
}

/* text */
.radio-content h3 {
  color: white;
  margin: 0;
}

.radio-content p {
  color: #94a3b8;
  margin: 4px 0 0;
}