/* ─── RESET & BASE ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-grad: linear-gradient(90deg, #6ad742 0%, #33932d 100%);
  --text-grad: linear-gradient(
    141.29deg,
    rgba(255, 255, 255, 0.64) -13.81%,
    rgba(255, 255, 255, 0.7) 12.35%,
    rgba(255, 255, 255, 0.84) 48.75%,
    rgba(255, 255, 255, 0.49) 77.76%
  );
  --dark: #000;
  --opt-bg: #111;
  --opt-border: rgba(255, 255, 255, 0.08);
  --opt-hover: rgba(106, 215, 66, 0.08);
  --opt-active: rgba(106, 215, 66, 0.18);
  --opt-active-border: #6ad742;
}

@font-face {
  font-family: "Gilroy";

  src:
    local("Gilroy Regular"),
    local("Gilroy-Regular"),
    url("./fonts/Gilroy-Regular.woff2") format("woff2"),
    url("./fonts/Gilroy-Regular.woff") format("woff");

  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";

  src:
    local("Gilroy Extrabold Italic"),
    local("Gilroy-ExtraboldItalic"),
    url("./fonts/Gilroy-ExtraboldItalic.woff2") format("woff2"),
    url("./fonts/Gilroy-ExtraboldItalic.woff") format("woff");
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Bold"),
    local("Gilroy-Bold"),
    url("./fonts/Gilroy-Bold.woff2") format("woff2"),
    url("./fonts/Gilroy-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Black"),
    local("Gilroy-Black"),
    url("./fonts/Gilroy-Black.woff2") format("woff2"),
    url("./fonts/Gilroy-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Light"),
    local("Gilroy-Light"),
    url("./fonts/Gilroy-Light.woff2") format("woff2"),
    url("./fonts/Gilroy-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Semibold"),
    local("Gilroy-Semibold"),
    url("./fonts/Gilroy-Semibold.woff2") format("woff2"),
    url("./fonts/Gilroy-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Medium"),
    local("Gilroy-Medium"),
    url("./fonts/Gilroy-Medium.woff2") format("woff2"),
    url("./fonts/Gilroy-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Medium Italic"),
    local("Gilroy-MediumItalic"),
    url("./fonts/Gilroy-MediumItalic.woff2") format("woff2"),
    url("./fonts/Gilroy-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Black Italic"),
    local("Gilroy-BlackItalic"),
    url("./fonts/Gilroy-BlackItalic.woff2") format("woff2"),
    url("./fonts/Gilroy-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: "Gilroy";

  src:
    local("Gilroy UltraLight"),
    local("Gilroy-UltraLight"),
    url("./fonts/Gilroy-UltraLight.woff2") format("woff2"),
    url("./fonts/Gilroy-UltraLight.woff") format("woff");

  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Regular Italic"),
    local("Gilroy-RegularItalic"),
    url("./fonts/Gilroy-RegularItalic.woff2") format("woff2"),
    url("./fonts/Gilroy-RegularItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Semibold Italic"),
    local("Gilroy-SemiboldItalic"),
    url("./fonts/Gilroy-SemiboldItalic.woff2") format("woff2"),
    url("./fonts/Gilroy-SemiboldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Heavy Italic"),
    local("Gilroy-HeavyItalic"),
    url("./fonts/Gilroy-HeavyItalic.woff2") format("woff2"),
    url("./fonts/Gilroy-HeavyItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Extrabold"),
    local("Gilroy-Extrabold"),
    url("./fonts/Gilroy-Extrabold.woff2") format("woff2"),
    url("./fonts/Gilroy-Extrabold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Bold Italic"),
    local("Gilroy-BoldItalic"),
    url("./fonts/Gilroy-BoldItalic.woff2") format("woff2"),
    url("./fonts/Gilroy-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy UltraLight Italic"),
    local("Gilroy-UltraLightItalic"),
    url("./fonts/Gilroy-UltraLightItalic.woff2") format("woff2"),
    url("./fonts/Gilroy-UltraLightItalic.woff") format("woff");
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Light Italic"),
    local("Gilroy-LightItalic"),
    url("./fonts/Gilroy-LightItalic.woff2") format("woff2"),
    url("./fonts/Gilroy-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Heavy"),
    local("Gilroy-Heavy"),
    url("./fonts/Gilroy-Heavy.woff2") format("woff2"),
    url("./fonts/Gilroy-Heavy.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Thin"),
    local("Gilroy-Thin"),
    url("./fonts/Gilroy-Thin.woff2") format("woff2"),
    url("./fonts/Gilroy-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Thin Italic"),
    local("Gilroy-ThinItalic"),
    url("./fonts/Gilroy-ThinItalic.woff2") format("woff2"),
    url("./fonts/Gilroy-ThinItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
}

html,
body {
  width: 100%;
  height: 100%;
  background: var(--dark);
  font-family: "Gilroy", sans-serif;
  overflow: hidden;
}

.text-grad {
  background: linear-gradient(
    166deg,
    rgba(255, 255, 255, 0.67) 16.15%,
    rgba(255, 255, 255, 0.95) 40.1%,
    rgba(255, 255, 255, 0.74) 73.44%,
    rgba(255, 255, 255, 0.34) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── BACKGROUND COINS ─────────────────────────────────────── */
.bg-coins {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ─── LOGO ─────────────────────────────────────────────────── */
.logo {
  position: fixed;
  top: clamp(16px, 5vw, 40px);
  left: clamp(16px, 5vw, 40px);
  z-index: 50;
  width: clamp(160px, 20vw, 210px);
}

.logo img {
  width: 100%;
  height: auto;
}

/* ─── SCREENS ──────────────────────────────────────────────── */
.screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  overflow-y: auto;
  /* 🔥 додаємо */
  padding: 20px;
  /* щоб не прилипало до країв */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.screen.active {
  opacity: 1;
  pointer-events: all;
}

/* ─── MAIN PAGE ────────────────────────────────────────────── */
#screen-main {
  background: url("./images/bg-main.webp") no-repeat center;
  background-size: cover;
}

@media (max-width: 768px) {
  #screen-main {
    background: url("./images/bg-main-mob.webp") no-repeat center bottom;
    background-size: cover;
  }
}

.screen {
  background: url("./images/4-bg.webp") no-repeat center;
  background-size: cover;
}

#screen-form {
  align-items: flex-start;
  background: url(./images/form-bg.webp) no-repeat top left / cover;
}

/* #screen-form::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  background: url('./images/form-bg.webp') no-repeat top left / cover;
  z-index: -1;
} */

@media (max-width: 768px) {
  #screen-form {
    background: url("./images/form-mob-bg.webp") no-repeat top left / cover;
  }
}

#screen-q1 {
  background: url("./images/2-bg.webp") no-repeat center center;
  background-size: cover;
}

#screen-version-a {
  background: url("./images/3-bg.webp") no-repeat center center;
  background-size: cover;
}

/* Мобільний фон через медіа-запит */
@media (max-width: 768px) {
  .screen {
    background: url("./images/4-bg-mob.webp") no-repeat center bottom;
    background-size: cover;
  }

  #screen-q1 {
    background: url("./images/2-bg-mob.webp") no-repeat center center;
    background-size: cover;
  }

  #screen-version-a {
    background: url("./images/3-bg-mob.webp") no-repeat center center;
    background-size: cover;
  }
}

.main-content {
  position: relative;
  text-align: center;
  padding: 0 20px;
  max-width: 1230px;
  z-index: 200;
}

.main-title {
  font-family: "Gilroy", "Oswald", sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 6vw, 120px);
  line-height: 1.05;
  background: var(--text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.7s ease both;
}

.main-sub {
  margin: 32px 0 60px;
  font-size: clamp(16px, 1.4vw, 24px);
  background: var(--text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: fadeUp 0.7s 0.15s ease both;
}

/* ─── BUTTONS ──────────────────────────────────────────────── */

/* ─── QUIZ BOX ─────────────────────────────────────────────── */
.quiz-box {
  padding: clamp(16px, 3.5vw, 42px);
  width: min(885px, 92vw);
  position: relative;
  z-index: 9999;
}

.quiz-box::before {
  content: "";
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
  left: 0;
  width: 24px;
  height: 24px;
  background-image: url(./images/plus.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.6;
}

.quiz-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  transform: translate(-50%, 50%);
  left: 0;
  width: 24px;
  height: 24px;
  background-image: url(./images/plus.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.6;
}

/* Four corner crosshairs like in mockup */

.q-title {
  display: inline;
  font-family: "Gilroy", "Oswald", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2vw, 43px);
  line-height: 1.25;
  background: var(--text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

/* ─── OPTIONS ──────────────────────────────────────────────── */
.options {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.option {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  will-change: transform;
  padding: 14px;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
  position: relative;
  overflow: hidden;
}

.option:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.option.selected {
  background: rgba(255, 255, 255, 0.12);
}

.opt-letter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--green-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 2px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(90deg, #6ad742 0%, #33932d 100%);
  font-weight: 600;
  font-size: 24px;
  font-family: "Gilroy", "Oswald", sans-serif;
}

.option.selected .opt-letter {
  background: var(--green-grad);
  /* фон кружка */
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: transparent;
  /* ховаємо основний текст */
  color: transparent;
  position: relative;
}

.option.selected .opt-letter::after {
  content: attr(data-letter) !important;
  /* або просто текст */
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--text-grad);
  /* текст градієнт */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.opt-text {
  font-family: "Gilroy", "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.2vw, 24px);
  background: var(--text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

/* ─── VERSION A SCREEN ─────────────────────────────────────── */
.version-a-content {
  text-align: center;
  max-width: 1240px;
  padding: 0 24px;
  margin-left: auto;
  margin-right: auto;
}

.version-title {
  font-family: "Gilroy", "Oswald", sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 3.5vw, 70px);
  line-height: 1;
  text-transform: uppercase;
  background: var(--text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .version-title {
    margin-bottom: 24px;
  }
}

.version-title span {
  color: #6ad742;
  -webkit-text-fill-color: #6ad742;
}

.version-sub {
  font-size: clamp(11px, 1.2vw, 15px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.7;
  margin-bottom: 38px;
}

/* ─── FORM ─────────────────────────────────────────────────── */
.form-box {
  background: rgba(0, 0, 0, 1);
  width: min(1140px, 96vw);
  padding: clamp(24px, 3vw, 42px);
  position: relative;
  z-index: 20;
  border: none !important;
}

.form-title {
  font-family: "Gilroy", "Oswald", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.2vw, 42px);
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2%;
  background: var(--text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: clamp(24px, 5vw, 66px);
}

.form-fields {
  display: flex;
  flex-direction: column;
}

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

.field-wrap + .field-wrap {
  margin-top: 44px;
}

.field-wrap label {
  font-family: "Gilroy", "Oswald", sans-serif;
  font-size: clamp(16px, 2.5vw, 24px);
  background: var(--text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-left: 8px;
  text-transform: uppercase;
}

.field-wrap textarea {
  resize: vertical !important;
  min-height: 120px;
  padding-top: 30px;
  max-height: 200px;
  overflow-y: auto;
}

.field-wrap input,
.field-wrap textarea {
  background:
    linear-gradient(#fff, #fff) bottom center/100% 1px no-repeat,
    linear-gradient(#fff, #fff) left bottom/1px 20px no-repeat,
    linear-gradient(#fff, #fff) right bottom/1px 20px no-repeat;
  border: none;
  color: #fff;
  font-family: "Gilroy", "Oswald", sans-serif;
  font-size: clamp(16px, 2.5vw, 24px);
  padding: 12px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  resize: none;
}

.field-wrap input:focus,
.field-wrap textarea:focus {
  background:
    linear-gradient(#6ad742, #6ad742) bottom center/100% 1px no-repeat,
    linear-gradient(#6ad742, #6ad742) left bottom/1px 20px no-repeat,
    linear-gradient(#6ad742, #6ad742) right bottom/1px 20px no-repeat;
}

.form-note {
  font-size: 16px;
  background: var(--text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  padding-top: 16px;
}

.btn-submit {
  align-self: flex-start;
  animation: none;
  margin-top: clamp(24px, 5vw, 64px);
}

/* ─── PHONE ─────────────────────────────────────────────────── */
.field-wrap--phone {
  position: relative;
}

.form-phone {
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(#fff, #fff) bottom center/100% 1px no-repeat,
    linear-gradient(#fff, #fff) left bottom/1px 20px no-repeat,
    linear-gradient(#fff, #fff) right bottom/1px 20px no-repeat;
}

.form-phone:has(.form-phone__input:focus) {
  background:
    linear-gradient(#6ad742, #6ad742) bottom center/100% 1px no-repeat,
    linear-gradient(#6ad742, #6ad742) left bottom/1px 20px no-repeat,
    linear-gradient(#6ad742, #6ad742) right bottom/1px 20px no-repeat;
}

.form-phone__select {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  padding: 12px 8px 12px 12px;
  flex-shrink: 0;
}

.form-phone__selected {
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-phone__code {
  font-family: "Gilroy", "Oswald", sans-serif;
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.form-phone__arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
  opacity: 0.6;
  color: #fff;
}

.form-phone__select.open .form-phone__arrow {
  transform: rotate(180deg);
}

.form-phone__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #111;
  border: 1px solid #434343;
  min-width: 130px;
}

.form-phone__select.open .form-phone__dropdown {
  display: block;
}

.form-phone__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-family: "Gilroy", "Oswald", sans-serif;
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 600;
  color: #fff;
}

.form-phone__option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.form-phone__input {
  flex: 1;
  background: transparent !important;
  min-width: 0;
}
/* ─── POPUP ────────────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.01);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(24px);
}

.popup-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.popup {
  background: rgba(0, 0, 0, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: min(800px, 92vw);
  padding: 42px;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.2s;
}

.popup-close:hover {
  opacity: 1;
}

.popup-stat {
  font-family: "Gilroy", "Oswald", sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 12vw, 220px);
  background: var(--green-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.popup-desc {
  font-family: "Gilroy", "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 24px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.quiz-box_inner {
  z-index: 200;
  background: rgba(0, 0, 0, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  margin-top: 80px;
  margin-bottom: 20px;
}

.quiz-box_inner::before {
  content: "";
  position: absolute;
  bottom: 0;
  transform: translate(50%, 50%);
  right: 0;
  width: 24px;
  height: 24px;
  background-image: url(./images/plus.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.6;
}

.quiz-box_inner::after {
  content: "";
  position: absolute;
  top: 0;
  transform: translate(50%, -50%);
  right: 0;
  width: 24px;
  height: 24px;
  background-image: url(./images/plus.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.6;
}

/* ─── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeUp 0.45s ease both;
}

.animate-popup {
  animation: popIn 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.82);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .options {
    gap: 16px;
  }

  .opt-letter {
    font-size: 16px;
  }

  .quiz-box {
    padding: 16px;
  }

  .form-box {
    padding: 16px;
  }

  .opt-letter {
    width: 28px;
    height: 28px;
  }

  .btn-primary,
  .btn-submit {
    padding: 12px 36px;
  }

  .coin-br {
    width: 260px;
  }

  .coin-tr {
    width: 90px;
  }
}

.btn {
  position: relative;
  font-family: inherit;
  width: 100%;
  max-width: 384px;
  padding: 12px 14px;
  border-top: 1px solid rgba(106, 215, 66, 0.6);
  border-bottom: 1px solid rgba(106, 215, 66, 0.6);
  cursor: pointer;
  letter-spacing: -1%;
  -webkit-transition: all 350ms ease-in-out;
  transition: all 350ms ease-in-out;
  background: transparent;
  color: #fff;
}

.btn::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 32px;
  height: 32px;
  pointer-events: none;
  border-bottom: 4px solid #6ad742;
  border-left: 4px solid #6ad742;
  -webkit-transition: all 350ms ease-in-out;
  transition: all 350ms ease-in-out;
}

.btn::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 32px;
  height: 32px;
  pointer-events: none;
  border-bottom: 4px solid #6ad742;
  border-right: 4px solid #6ad742;
  -webkit-transition: all 350ms ease-in-out;
  transition: all 350ms ease-in-out;
}

.btn span {
  display: block;
  padding: 18px 30px;
  background: -webkit-gradient(linear, right top, left top, from(#6ad742), to(#33932d));
  background: linear-gradient(270deg, #6ad742 0%, #33932d 100%);
  width: 100%;
  font-weight: 800;
  font-size: 26px;
  line-height: 116%;
  letter-spacing: -0.01em;
  text-align: center;
}

.btn span::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 32px;
  height: 32px;
  pointer-events: none;
  border-top: 4px solid #6ad742;
  border-left: 4px solid #6ad742;
  -webkit-transition: all 350ms ease-in-out;
  transition: all 350ms ease-in-out;
}

.btn span::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 32px;
  height: 32px;
  pointer-events: none;
  border-top: 4px solid #6ad742;
  border-right: 4px solid #6ad742;
  -webkit-transition: all 350ms ease-in-out;
  transition: all 350ms ease-in-out;
}

@media (min-width: 430px) {
  .btn span {
    padding: 20px 34px;
    font-size: 30px;
  }
}

@media (min-width: 1024px) {
  .btn {
    padding: 12px 18px;
  }
}

.btn:hover::before,
.btn:focus::before {
  -webkit-box-shadow: -3px 3px 4px 1px #6ad742;
  box-shadow: -3px 3px 4px 1px #6ad742;
}

.btn:hover::after,
.btn:focus::after {
  -webkit-box-shadow: 3px 3px 4px 1px #6ad742;
  box-shadow: 3px 3px 4px 1px #6ad742;
}

.btn:hover span::before,
.btn:focus span::before {
  -webkit-box-shadow: -3px -3px 4px 1px #6ad742;
  box-shadow: -3px -3px 4px 1px #6ad742;
}

.btn:hover span::after,
.btn:focus span::after {
  -webkit-box-shadow: 3px -3px 4px 1px #6ad742;
  box-shadow: 3px -3px 4px 1px #6ad742;
}

.btn:active {
  -webkit-transform: scale(0.98);
  transform: scale(0.98);
}

.quiz-box_inner-form {
  border: none !important;
  max-width: 1050px;
  width: 100%;
  margin-top: 60px;
}

.quiz-box_inner-form .form-box {
  width: 100%;
  height: max-content;
}

.quiz-box_inner-form::before,
.quiz-box_inner-form::after {
  display: none;
}

.field-wrap {
  position: relative;
}

.field-wrap label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
  pointer-events: none;
  transition: 0.3s ease;
}

/* коли фокус */
.field-wrap input:focus+label,
.field-wrap textarea:focus+label,
/* коли є текст */
.field-wrap input:not(:placeholder-shown)+label,
.field-wrap textarea:not(:placeholder-shown)+label {
  top: -6px;
  transform: translateY(-50%) scale(0.7);
}

@media (max-height: 630px) {
  .screen {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    justify-content: flex-start;
  }

  .screen .logo {
    position: relative;
    top: 0;
    left: 0;
  }

  .screen .quiz-box_inner {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .main-content {
    margin-left: auto;
    margin-right: auto;
  }

  .version-a-content {
    margin-top: 60px;
  }
}

@media (max-height: 500px) and (min-width: 660px) {
  /* 
  .logo {
    display: none;
  }

  .screen {
    align-items: flex-start;
  }

  .quiz-box_inner {
    margin-top: 30px;
  } */

  .options {
    gap: 16px;
  }

  .main-sub {
    margin-bottom: 32px;
  }
}

@media (max-width: 400px) {
  .btn span {
    font-size: 24px;
    line-height: 1;
  }
}

/* контейнер */
.coins-layer {
  position: fixed;
  width: 100%;
  height: 40vh;
  bottom: 0;
  overflow: hidden;
  left: 0;
  padding-top: 30px;
}

/* монета */
.coin {
  position: absolute;
  width: clamp(40px, 6vw, 90px);
  height: clamp(40px, 6vw, 90px);
  background-size: contain;
  background-repeat: no-repeat;
  will-change: transform;
  pointer-events: none;

  /* преміум ефект */
  filter: drop-shadow(0 10px 20px rgba(0, 255, 100, 0.25));
  transition: filter 0.3s ease;
}

.coin.blur {
  filter: blur(2px) brightness(0.8);
  opacity: 0.6;
}

.coin.sharp {
  filter: drop-shadow(0 15px 30px rgba(0, 255, 100, 0.35));
}

/* легкий glow знизу */
.coins-scene::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 0;
  width: 100%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 255, 120, 0.25), transparent 70%);
  pointer-events: none;
}

/* ===== LANG SWITCHER ===== */
.lang-block {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.lang-btn-current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s;
  backdrop-filter: blur(8px);
}

.lang-btn-current:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-btn-current svg {
  transition: transform 0.2s;
}

.header__lang-wrapper {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px;
  backdrop-filter: blur(12px);
  min-width: 80px;
}

.header__lang-wrapper.active {
  display: flex;
}

.header__lang-wrapper button {
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: left;
  opacity: 0.6;
  transition:
    background 0.15s,
    opacity 0.15s;
}

.header__lang-wrapper button:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1 !important;
}

.header__lang-wrapper button[aria-current="true"] {
  opacity: 1;
}
