:root {
  --green-900: #053b24;
  --green-800: #075c35;
  --green-700: #009f43;
  --green-600: #18b64b;
  --green-500: #55bd2d;
  --lime-500: #a4d700;
  --mint-100: #eaffef;
  --mint-50: #f6fff8;
  --ink: #123127;
  --muted: #587166;
  --white: #ffffff;
  --danger: #d93535;
  --shadow: 0 24px 70px rgba(5, 59, 36, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 14%, rgba(164, 215, 0, 0.28), transparent 26%),
    radial-gradient(circle at 85% 18%, rgba(0, 159, 67, 0.18), transparent 24%),
    linear-gradient(145deg, #f7fff8 0%, #e9f9ef 52%, #f9fff2 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  inset: auto -8vw -22vh -8vw;
  height: 44vh;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(0, 159, 67, 0.18) 8% 8.3%, transparent 8.3% 18%),
    repeating-linear-gradient(90deg, rgba(5, 59, 36, 0.16) 0 1px, transparent 1px 84px);
  transform: perspective(520px) rotateX(63deg);
  transform-origin: bottom;
}

body::after {
  top: 80px;
  right: 7vw;
  width: 160px;
  height: 160px;
  border: 28px solid rgba(164, 215, 0, 0.2);
  border-left-color: rgba(0, 159, 67, 0.14);
  border-radius: 50%;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.logo {
  display: block;
  width: min(250px, 52vw);
  max-height: 210px;
  margin: 0 auto 26px;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(5, 59, 36, 0.18));
}

.card {
  position: relative;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 159, 67, 0.2);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, var(--lime-500), var(--green-600), var(--green-800));
}

.center {
  text-align: center;
}

.hidden {
  display: none !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(164, 215, 0, 0.22);
  border: 1px solid rgba(0, 159, 67, 0.22);
  border-radius: 999px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  color: var(--green-900);
  font-size: clamp(36px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  color: var(--green-900);
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 18px;
  max-width: 680px;
  margin: 30px auto 0;
  text-align: left;
}

.label {
  display: block;
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 18px;
  background: var(--white);
  border: 1px solid rgba(0, 159, 67, 0.26);
  border-radius: 18px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(164, 215, 0, 0.12);
}

.input:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(24, 182, 75, 0.16);
}

.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.check input {
  width: 21px;
  height: 21px;
  accent-color: var(--green-600);
}

.btn {
  min-height: 64px;
  padding: 0 28px;
  color: #062714;
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(135deg, var(--lime-500), #78d100 45%, var(--green-600));
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(0, 159, 67, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0, 159, 67, 0.3);
}

.btn:disabled {
  cursor: progress;
  filter: grayscale(0.5);
  opacity: 0.72;
}

.error {
  color: var(--danger);
  font-weight: 900;
}

.video-frame {
  overflow: hidden;
  background: #062714;
  border: 1px solid rgba(0, 159, 67, 0.25);
  border-radius: 24px;
  box-shadow: 0 22px 44px rgba(5, 59, 36, 0.18);
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.progress {
  height: 14px;
  overflow: hidden;
  background: rgba(0, 159, 67, 0.12);
  border-radius: 999px;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green-600), var(--lime-500));
  border-radius: inherit;
}

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

.tile {
  min-height: 116px;
  padding: 24px;
  color: var(--green-900);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 255, 239, 0.88)),
    linear-gradient(90deg, var(--green-600), var(--lime-500));
  border: 1px solid rgba(0, 159, 67, 0.2);
  border-left: 8px solid var(--green-600);
  border-radius: 20px;
}

.quiz-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.timer {
  display: grid;
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  place-items: center;
  color: var(--green-900);
  font-size: 30px;
  font-weight: 1000;
  background:
    radial-gradient(circle at center, var(--white) 58%, transparent 60%),
    conic-gradient(var(--green-600) calc(var(--timer-progress) * 1%), rgba(0, 159, 67, 0.14) 0);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(5, 59, 36, 0.16);
}

.situation {
  padding: 22px;
  color: var(--green-900);
  background: rgba(234, 255, 239, 0.72);
  border: 1px solid rgba(0, 159, 67, 0.16);
  border-radius: 20px;
}

.options {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.option {
  width: 100%;
  padding: 20px 22px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  background: var(--white);
  border: 1px solid rgba(0, 159, 67, 0.22);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(5, 59, 36, 0.08);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.option:hover {
  transform: translateX(4px);
  border-color: var(--green-600);
  box-shadow: 0 14px 28px rgba(5, 59, 36, 0.12);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin: 12px;
  padding: 0 22px;
  color: var(--green-900);
  font-size: 18px;
  font-weight: 1000;
  background: rgba(164, 215, 0, 0.28);
  border: 1px solid rgba(0, 159, 67, 0.25);
  border-radius: 999px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 22px, 1120px);
    padding-top: 22px;
  }

  .logo {
    width: min(210px, 54vw);
  }

  .card {
    border-radius: 22px;
  }

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

  .tile {
    min-height: 96px;
  }

  .quiz-head {
    display: grid;
  }

  .timer {
    width: 76px;
    height: 76px;
    font-size: 24px;
  }

  .btn {
    width: 100%;
  }
}
