:root{
  --navy:#171a21; --navy2:#1b2838; --panel:#223446;
  --blue:#1a9fff; --blue-d:#1583d6; --steam:#66c0f4;
  --ink:#12212f; --muted:#6b7c8f; --line:#e5eaf0; --bg:#f5f7fa; --white:#fff;
  --ok:#1faa59; --warn:#d98a00;
  --radius:14px; --shadow:0 10px 30px rgba(20,40,70,.08);
  --wrap:1140px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--bg);color:var(--ink);line-height:1.55;font-size:16px}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.narrow{max-width:820px}
.muted{color:var(--muted)}
.center{text-align:center}
.accent{color:var(--steam)}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

/* ---- header ---- */
.site-header{position:sticky;top:0;z-index:20;background:rgba(23,26,33,.96);
  backdrop-filter:blur(6px);border-bottom:1px solid rgba(255,255,255,.06)}
.header-inner{display:flex;align-items:center;gap:24px;height:64px}
.logo{display:flex;align-items:center;gap:9px;font-size:1.35rem;font-weight:700;
  color:#fff;text-decoration:none}
.logo:hover{text-decoration:none}
.logo-mark{font-size:1.4rem}
.logo-text b{color:var(--steam);font-weight:800}
.logo-sm{font-size:1.15rem}
.main-nav{display:flex;gap:22px;margin-left:12px;flex:1}
.main-nav a{color:#c6d3e0;font-weight:500;font-size:.98rem}
.main-nav a:hover{color:#fff;text-decoration:none}
.header-cta{white-space:nowrap}

/* ---- buttons ---- */
.btn{display:inline-block;padding:12px 22px;border-radius:10px;font-weight:600;
  border:0;cursor:pointer;font-size:1rem;transition:.15s;text-align:center}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg,var(--blue),var(--blue-d));color:#fff;
  box-shadow:0 8px 20px rgba(26,159,255,.35)}
.btn-primary:hover{box-shadow:0 10px 26px rgba(26,159,255,.45)}
.btn-ghost{background:rgba(102,192,244,.14);color:var(--steam);
  border:1px solid rgba(102,192,244,.35);padding:9px 16px}
.btn-ghost:hover{background:rgba(102,192,244,.22)}
.btn-block{width:100%}

/* ---- hero ---- */
.hero{background:radial-gradient(1200px 500px at 80% -10%,#2a4763 0,transparent 60%),
  linear-gradient(160deg,var(--navy2) 0,var(--navy) 100%);color:#dfe8f1;
  padding:64px 0 72px}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.hero-copy h1{font-size:2.9rem;line-height:1.1;margin:.3em 0 .35em;color:#fff;font-weight:800}
.badge{display:inline-block;background:rgba(102,192,244,.15);color:var(--steam);
  border:1px solid rgba(102,192,244,.3);padding:6px 14px;border-radius:999px;
  font-size:.85rem;font-weight:600}
.lead{font-size:1.15rem;color:#b9c9d8;max-width:46ch}
.hero-points{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:8px;
  color:#cddae7;font-size:1.02rem}

/* order card */
.hero-card{background:var(--white);color:var(--ink);border-radius:18px;
  padding:26px;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.card-title{margin:0 0 16px;font-size:1.4rem}
.order-form label{display:block;font-weight:600;font-size:.92rem;margin-bottom:14px}
.order-form input,.order-form select{width:100%;margin-top:6px;padding:12px 14px;
  border:1px solid var(--line);border-radius:10px;font-size:1rem;font-weight:400;
  background:#fbfcfe}
.order-form input:focus,.order-form select:focus{outline:0;border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(26,159,255,.15)}
.order-form small{display:block;font-weight:400;color:var(--muted);margin-top:4px;font-size:.8rem}
.row{display:flex;gap:12px}
.row .grow{flex:1}
.form-note{text-align:center;margin:12px 0 0;font-size:.9rem}
.alert{background:#fff4f4;border:1px solid #ffd0d0;color:#c0392b;padding:12px 14px;
  border-radius:10px;margin-bottom:14px;font-size:.92rem}
.alert-info{background:#eef6ff;border-color:#cfe6ff;color:#1c5a94}

/* ---- sections ---- */
.section{padding:64px 0}
.section-alt{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-title{text-align:center;font-size:2rem;margin:0 0 40px;font-weight:800}
.section-title.left{text-align:left;margin-bottom:16px}

.steps,.features{display:grid;gap:22px}
.steps{grid-template-columns:repeat(3,1fr)}
.features{grid-template-columns:repeat(4,1fr)}
.step,.feature{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 22px;box-shadow:var(--shadow)}
.section-alt .feature{background:var(--bg)}
.step-n{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,var(--blue),var(--blue-d));
  color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:12px}
.step h3,.feature h3{margin:.2em 0 .3em;font-size:1.12rem}
.step p,.feature p{margin:0;color:var(--muted);font-size:.95rem}
.fi{font-size:1.9rem;margin-bottom:6px}

/* faq */
details{background:var(--white);border:1px solid var(--line);border-radius:12px;
  padding:16px 20px;margin-bottom:12px;box-shadow:var(--shadow)}
details summary{font-weight:600;cursor:pointer;list-style:none}
details summary::-webkit-details-marker{display:none}
details summary::after{content:"+";float:right;color:var(--blue);font-weight:700}
details[open] summary::after{content:"–"}
details p{margin:12px 0 0;color:var(--muted)}

/* ---- order status ---- */
.status-card{background:var(--white);border:1px solid var(--line);border-radius:16px;
  padding:32px;box-shadow:var(--shadow)}
.status-head{display:flex;gap:16px;align-items:center;margin-bottom:22px}
.status-emoji{font-size:2.6rem}
.status-head h1{margin:0;font-size:1.6rem}
.kv{display:grid;gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:20px}
.kv>div{display:flex;justify-content:space-between;padding:13px 16px;border-bottom:1px solid var(--line)}
.kv>div:last-child{border-bottom:0}
.kv span{color:var(--muted)}
.pill{padding:2px 10px;border-radius:999px;font-size:.85rem;text-transform:uppercase}
.pill-new{background:#eef6ff;color:#1c5a94}
.pill-paid{background:#fff6e6;color:var(--warn)}
.pill-done{background:#e9f8ef;color:var(--ok)}
.pill-canceled{background:#fdeaea;color:#c0392b}

/* ---- api docs ---- */
.api-h{margin:34px 0 8px;font-size:1.25rem;border-top:1px solid var(--line);padding-top:22px}
.api-h .tag{font-size:.7rem;background:#fff0d6;color:var(--warn);padding:3px 8px;
  border-radius:6px;vertical-align:middle;margin-left:8px;text-transform:uppercase}
pre{background:#0f1620;color:#d6e6f5;padding:16px 18px;border-radius:12px;overflow:auto;
  font-size:.88rem;line-height:1.5}
pre code{color:inherit}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  background:#eef2f7;padding:2px 6px;border-radius:5px;font-size:.9em;color:#1c3a57}
pre code{background:none;padding:0}
table.params{width:100%;border-collapse:collapse;margin:8px 0 4px;font-size:.92rem}
table.params th,table.params td{border:1px solid var(--line);padding:8px 12px;text-align:left}
table.params th{background:var(--bg)}

/* ---- footer ---- */
.site-footer{background:var(--navy);color:#9fb2c4;margin-top:20px;padding:44px 0 24px}
.footer-inner{display:grid;grid-template-columns:1.2fr 2fr;gap:40px}
.footer-inner .logo{margin-bottom:8px}
.footer-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.footer-cols h4{color:#fff;margin:0 0 12px;font-size:.95rem}
.footer-cols a{display:block;color:#9fb2c4;margin-bottom:8px;font-size:.92rem}
.footer-cols a:hover{color:#fff}
.copyright{margin-top:28px;padding-top:18px;border-top:1px solid rgba(255,255,255,.08);font-size:.85rem}

/* ---- responsive ---- */
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:32px}
  .hero-copy h1{font-size:2.2rem}
  .features{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr}
}
@media (max-width:640px){
  .main-nav{display:none}
  .steps{grid-template-columns:1fr}
  .features{grid-template-columns:1fr}
  .footer-cols{grid-template-columns:1fr 1fr}
  .row{flex-direction:column}
}

/* Выбор способа оплаты на странице заказа + заглушка метода */
.pay-title{margin:4px 0 12px;font-size:1.1rem}
.pay-methods{display:grid;gap:10px;margin-bottom:14px}
/* Метод — крупная заметная кнопка по центру (синий градиент, как основной CTA) */
.method{display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:6px;padding:22px 18px;border:0;border-radius:14px;text-align:center;
  background:linear-gradient(135deg,var(--blue),var(--blue-d));
  color:#fff;font-weight:700;box-shadow:0 8px 24px rgba(26,159,255,.42);transition:.15s}
.method:hover{text-decoration:none;transform:translateY(-2px);
  box-shadow:0 16px 38px rgba(26,159,255,.58)}
.method-ic{font-size:2rem;line-height:1}
.method-name{font-size:1.3rem;letter-spacing:.3px}
.method-go{color:#fff;opacity:.85;white-space:nowrap;font-size:.95rem}
/* «Назад» — тихая ссылка, не кнопка */
.back-link{display:inline-block;margin-top:4px;color:var(--muted);font-size:.9rem}
.back-link:hover{color:var(--steam);text-decoration:none}
.pay-actions{display:flex;gap:10px;flex-wrap:wrap}

/* ---- Колесо удачи (демо-активность на главной) ---- */
.wheel-section{
  background:radial-gradient(900px 420px at 12% -10%,#2a4763 0,transparent 60%),
             linear-gradient(160deg,var(--navy2) 0,var(--navy) 100%);
  color:#dfe8f1;padding:60px 0 64px;
  border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06)}
.wheel-section .section-title{color:#fff;margin-bottom:8px}
.wheel-sub{text-align:center;color:#b9c9d8;margin:0 auto 36px;max-width:60ch}
.wheel-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);
  gap:44px;align-items:center}

/* сцена с колесом */
.wheel-stage{position:relative;max-width:440px;margin:0 auto;width:100%}
.wheel-svg{display:block;width:100%;height:auto;
  filter:drop-shadow(0 24px 50px rgba(0,0,0,.45))}
.wheel-rotor{transform-origin:210px 210px;
  transition:transform 4.6s cubic-bezier(.16,.84,.26,1)}
.wheel-label{fill:#fff;font-weight:800;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  letter-spacing:.3px;paint-order:stroke;stroke:rgba(0,0,0,.28);stroke-width:2.5px}
.wheel-label-super{fill:#241a00;stroke:rgba(255,255,255,.35)}
.wheel-label-free{fill:#04240f;stroke:rgba(255,255,255,.3)}
.wheel-label-zero{fill:#8ea1b4;stroke:none}
.wheel-pointer{fill:#ffd75e;filter:drop-shadow(0 3px 6px rgba(0,0,0,.55))}
.wheel-bulb{animation:wheelBulb 1.6s ease-in-out infinite}
@keyframes wheelBulb{0%,100%{opacity:.28}50%{opacity:1}}

/* кнопка в центре колеса */
.wheel-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:112px;height:112px;border-radius:50%;border:5px solid #0e1822;
  background:linear-gradient(135deg,var(--blue),var(--blue-d));color:#fff;
  font-weight:800;font-size:.95rem;letter-spacing:.5px;cursor:pointer;
  box-shadow:0 10px 28px rgba(0,0,0,.5),inset 0 2px 0 rgba(255,255,255,.25);
  transition:.15s}
.wheel-hub:hover:not(:disabled){transform:translate(-50%,-50%) scale(1.05)}
.wheel-hub:active:not(:disabled){transform:translate(-50%,-50%) scale(.97)}
.wheel-hub:disabled{cursor:default;filter:grayscale(.45);opacity:.85}

/* панель справа */
.wheel-panel{display:grid;gap:16px}
.wheel-prizes{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.wheel-prizes li{display:flex;align-items:center;gap:12px;padding:12px 16px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);
  border-radius:12px;font-size:.97rem;color:#cddae7}
.wheel-prizes b{color:#fff}
.wheel-prizes .pz{font-size:1.35rem;line-height:1}
.wheel-spins{font-weight:700;color:var(--steam);font-size:1rem}
.wheel-result{min-height:64px;display:flex;flex-direction:column;justify-content:center;
  padding:14px 18px;border-radius:12px;font-size:1.05rem;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);color:#cddae7}
.wheel-result.is-win{background:rgba(31,170,89,.14);border-color:rgba(46,204,113,.45);color:#dff7e7}
.wheel-result.is-super{background:linear-gradient(135deg,rgba(255,215,94,.22),rgba(224,155,11,.14));
  border-color:rgba(255,215,94,.55);color:#fff3d0;
  animation:wheelPulse 1.1s ease-in-out 3}
.wheel-result.is-free{background:rgba(26,159,255,.16);border-color:rgba(102,192,244,.5);color:#dceeff}
.wheel-result.is-zero{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.12);color:#aebecd}
@keyframes wheelPulse{0%,100%{box-shadow:0 0 0 0 rgba(255,215,94,0)}
  50%{box-shadow:0 0 0 10px rgba(255,215,94,.12)}}
.wheel-fine{font-size:.82rem;color:#9fb2c4}
.wheel-history{display:flex;flex-wrap:wrap;gap:6px;min-height:26px}
.wheel-chip{font-size:.78rem;padding:3px 10px;border-radius:999px;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);color:#b9c9d8}
.wheel-chip-super{background:rgba(255,215,94,.18);border-color:rgba(255,215,94,.5);color:#ffe8a8}
.wheel-chip-free{background:rgba(46,204,113,.18);border-color:rgba(46,204,113,.45);color:#c8f5da}
.wheel-note{display:inline-flex;align-items:center;gap:8px;font-size:.84rem;color:#9fb2c4;
  background:rgba(255,255,255,.04);border:1px dashed rgba(255,255,255,.18);
  padding:8px 14px;border-radius:10px}

@media (max-width:900px){
  .wheel-grid{grid-template-columns:1fr;gap:32px}
  .wheel-stage{max-width:380px}
}
@media (prefers-reduced-motion:reduce){
  .wheel-rotor{transition-duration:1.2s}
  .wheel-bulb,.wheel-result.is-super{animation:none}
}
