  :root {
    --bg-main: #031f15;
    --bg-deep: #02150e;
    --bg-card: rgba(8, 12, 10, 0.72);
    --bg-input: rgba(12, 16, 14, 0.88);
    --text-main: #f5f1e8;
    --text-soft: rgba(245, 241, 232, 0.72);
    --text-muted: rgba(245, 241, 232, 0.46);
    --gold: #c8a35f;
    --gold-soft: rgba(200, 163, 95, 0.18);
    --border: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(200, 163, 95, 0.35);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius: 22px;
    --radius-sm: 14px;
    --transition: 0.3s ease;
  }

  a {
    color: var(--text-main);
    text-decoration-color: rgba(245, 241, 232, 0.4);
    transition: color var(--transition), text-decoration-color var(--transition);
  }

  a:hover {
    color: var(--gold);
    text-decoration-color: var(--gold);
  }

  * {
    box-sizing: border-box;
    font-family: 'IBM Plex Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
  }

  html {
    scroll-behavior: smooth;
    min-height: 100%;
    background-color: var(--bg-deep);
  }

  body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    color: var(--text-main);
    background:
      radial-gradient(circle at top center, rgba(200, 163, 95, 0.12) 0%, transparent 28%),
      linear-gradient(180deg, #05311f 0%, #031f15 42%, #02150e 100%);
    background-repeat: no-repeat;
    background-color: var(--bg-deep);
    position: relative;
    overflow-x: hidden;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.18;
    z-index: 0;
  }

  body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 45%, rgba(0,0,0,0.18) 100%);
    z-index: 0;
  }
  
  
        .quiz {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 760px;
            margin: 0 auto;
            padding: 58px 20px 70px;
            text-align: center;
        }

  .quiz__imgbox {
	  width: 200px;
	  height: 150px;
	  border-radius: 0;
	  background: transparent;
	  border: none;
	  box-shadow: none;
	  margin: 0 auto 17px auto;
	  overflow: visible;
	  backdrop-filter: none;
  }
  .quiz__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

        .eyebrow {
            margin: 0 0 8px;
            color: var(--text-soft);
            font-size: 13px;
            letter-spacing: .13em;
            text-transform: uppercase;
        }

        .main-title {
            max-width: 620px;
            margin: 0 auto;
            font-size: clamp(25px, 5vw, 34px);
            line-height: 1.25;
            font-weight: 400;
            letter-spacing: -.04em;
        }

        .amount {
            margin: 13px 0 0;
            font-size: clamp(54px, 10vw, 68px);
            line-height: 1.1;
            letter-spacing: -.05em;
        }

        .subtitle {
            margin: 8px auto 0;
            color: var(--text-soft);
            font-size: 19px;
            line-height: 1.45;
        }

        .steps {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin: 27px 0 26px;
        }

        .step-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255,255,255,.25);
            transition: var(--transition);
        }

        .step-dot.active {
            width: 25px;
            border-radius: 10px;
            background: #eee;
        }

        .screen {
            display: none;
            animation: fadeIn .25s ease;
        }

        .screen.active { display: block; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(7px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .screen-title {
            max-width: 560px;
            margin: 0 auto 22px;
            color: var(--text-soft);
            font-size: 18px;
            line-height: 1.5;
        }

        .quiz__textinput {
            display: block;
            width: min(440px, 100%);
            height: 62px;
            margin: 18px auto 0;
            padding: 0 20px;
            border: 1px solid var(--border);
            border-radius: 18px;
            outline: none;
            color: var(--text-main);
            background: linear-gradient(180deg, #1d1d1d 0%, #101010 100%);
            box-shadow: 0 12px 30px rgba(0,0,0,.25);
            font-size: 18px;
            transition: var(--transition);
        }

        .quiz__textinput::placeholder { color: var(--text-muted); }

        .quiz__textinput:focus {
            border-color: var(--border-strong);
            box-shadow: 0 0 0 4px rgba(255,255,255,.05), 0 12px 30px rgba(0,0,0,.3);
            transform: translateY(-1px);
        }

        .consent {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            width: min(440px, 100%);
            margin: 25px auto 0;
            color: var(--text-soft);
            font-size: 13px;
            line-height: 1.5;
            text-align: left;
        }

        .consent input {
            flex: 0 0 auto;
            width: 17px;
            height: 17px;
            margin: 2px 2px 0 0;
            accent-color: #cfcfcf;
            cursor: pointer;
        }

        .consent a { text-decoration: underline; text-underline-offset: 3px; }

        .action-wrap {
            position: relative;
            min-height: 190px;
            padding-top: 30px;
        }

        .button {
            position: relative;
            z-index: 2;
            display: flex;
            width: 140px;
            height: 140px;
            margin: 0 auto;
            align-items: center;
            justify-content: center;
            border: 0;
            border-radius: 50%;
            color: #111;
			background: linear-gradient(180deg, #ecd19a 0%, #c8a35f 100%);
            box-shadow:
                inset 0 2px 4px rgba(255,255,255,.45),
                inset 0 -6px 12px rgba(0,0,0,.12),
                0 18px 40px rgba(0,0,0,.35),
                0 8px 20px rgba(255,255,255,.06);
            cursor: pointer;
            font-size: 18px;
            line-height: 1.15;
            letter-spacing: -.04em;
            text-align: center;
            transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
        }

        .button:hover:not(:disabled) {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 24px 48px rgba(0,0,0,.38), 0 12px 24px rgba(255,255,255,.08);
        }

        .button:disabled {
            opacity: .35;
            cursor: not-allowed;
        }

        .button__circle {
            position: absolute;
            inset: 0;
            z-index: -1;
            border-radius: 50%;
            background: radial-gradient(circle at center, rgba(255,255,255,.18) 0%, transparent 70%);
        }

        .back-link {
            display: block;
            margin: 5px auto 0;
            padding: 8px 12px;
            border: 0;
            color: rgba(255,255,255,.65);
            background: transparent;
            cursor: pointer;
            font-size: 14px;
        }

        .back-link:hover { color: #fff; }

        .messenger-list {
            display: grid;
            width: min(440px, 100%);
            gap: 12px;
            margin: 24px auto 15px;
        }

        .messenger {
            display: flex;
            min-height: 76px;
            align-items: center;
            gap: 14px;
            padding: 13px 17px;
            border: 1px solid rgba(255,255,255,.16);
            border-radius: 17px;
            color: #fff;
            background: linear-gradient(180deg, rgba(38,38,38,.96), rgba(16,16,16,.96));
            text-align: left;
            cursor: pointer;
            transition: var(--transition);
        }

        .messenger:hover { border-color: rgba(255,255,255,.5); transform: translateY(-1px); }

        .messenger.selected {
            border-color: #eee;
            box-shadow: 0 0 0 1px rgba(255,255,255,.45) inset;
            background: linear-gradient(180deg, #383838, #202020);
        }

        .messenger-icon {
            display: flex;
            flex: 0 0 45px;
            width: 45px;
            height: 45px;
            align-items: center;
            justify-content: center;
            border-radius: 13px;
            background: rgba(255,255,255,.1);
            font-size: 23px;
            font-weight: 600;
        }

        .messenger-info { flex: 1; }
        .messenger-info strong { display: block; font-size: 17px; font-weight: 500; }
        .messenger-info small { display: block; margin-top: 3px; color: var(--text-soft); font-size: 12px; }

        .messenger-check {
            display: flex;
            width: 22px;
            height: 22px;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255,255,255,.4);
            border-radius: 50%;
            color: transparent;
            font-size: 13px;
        }

        .messenger.selected .messenger-check {
            border-color: #eee;
            color: #111;
            background: #eee;
        }

        .small-hint {
            max-width: 440px;
            margin: 12px auto 0;
            color: var(--text-muted);
            font-size: 13px;
            line-height: 1.5;
        }

        .phone-preview {
            margin: 5px 0 22px;
            color: #fff;
            font-size: 19px;
            font-weight: 500;
        }

        .code-input {
            max-width: 300px;
            text-align: center;
            font-size: 25px;
            font-weight: 600;
            letter-spacing: .42em;
            padding-left: .7em;
        }

        .notice {
            display: none;
            width: min(440px, 100%);
            margin: 0 auto 18px;
            padding: 12px 15px;
            border: 1px solid rgba(220,170,100,.4);
            border-radius: 12px;
            color: #f0d6b2;
            background: rgba(130,85,30,.15);
            font-size: 14px;
            line-height: 1.45;
            text-align: center;
        }

        .notice.show { display: block; }

        .page-footer {
            max-width: 500px;
            margin: 15px auto 0;
            color: rgba(255,255,255,.4);
            font-size: 12px;
            line-height: 1.5;
        }

        @media (max-width: 650px) {
            .quiz { padding: 35px 18px 55px; }
            .quiz__imgbox { width: 145px; height: 105px; margin-bottom: 22px; }
            .main-title { font-size: 27px; }
            .subtitle { font-size: 17px; }
            .screen-title { font-size: 16px; }
            .quiz__textinput { height: 58px; font-size: 16px; margin-top: 16px; }
            .button { width: 120px; height: 120px; font-size: 16px; }
            .action-wrap { min-height: 165px; padding-top: 24px; }
            .button:hover:not(:disabled) { transform: none; }
        }
		
		


		
    /* Дополнение к действующему шаблону wow.hard-coin.ru: два этапа без SMS. */
[hidden]{display:none!important}.max-placeholder{width:100%;text-align:left;color:inherit;background:transparent;font:inherit;opacity:.45;cursor:not-allowed}.certificate-status:not(:empty){margin:20px 0;padding:14px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);line-height:1.5;color:var(--text-main)}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
