/* ============================
   Базові змінні
============================= */
:root {
  --bg: #0e0f13;
  --bg-soft: #151827;
  --panel: #111526;
  --text: #e9edf1;
  --muted: #a9b2c3;
  --primary: #5aa9ff;
  --primary-2: #7fc4ff;
  --accent: #ffcc66;
  --accent-2: #ffd98f;
  --danger: #ff6b6b;
  --success: #5cd19a;
  --ring: 0 0 0 3px rgba(90,169,255,.25);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 36px rgba(0,0,0,.28);
  --shadow-sm: 0 6px 18px rgba(0,0,0,.22);
  --maxw: 1140px;
}
* { box-sizing: border-box; }
html, body { height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: radial-gradient(1200px 600px at 10% -200px, #1a2337 0%, transparent 65%), var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--primary); color: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { text-decoration: underline; }

/* ============================
   Контейнер і типографіка
============================= */
.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(44px, 5vw, 72px) 0; scroll-margin-top: 72px; }
.section--notice { background: linear-gradient(0deg, rgba(32,39,61,.5), rgba(32,39,61,.1)); border-block: 1px solid #23283a; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; letter-spacing: .2px; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); }
.section h2 { font-size: clamp(22px, 3vw, 30px); }
p { margin: 0 0 10px; }
.meta { color: var(--muted); font-size: 14px; }
.notice { color: var(--muted); }

/* ============================
   Хедер
============================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,15,19,0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1c2030;
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.logo { font-weight: 800; color: var(--text); letter-spacing: .4px; }

.nav__toggle { display: none; background: transparent; border: 1px solid #27314a; color: var(--text); border-radius: 10px; padding: 8px 10px; }
.nav__list { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  color: var(--text); opacity: .9;
  padding: 8px 12px; border-radius: 10px;
  transition: background .2s ease, opacity .2s ease;
}
.nav__list a:hover, .nav__list a:focus-visible { background: #1b2133; opacity: 1; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-block; }
  .nav__list {
    position: absolute; inset: 56px 16px auto;
    flex-direction: column;
    background: var(--panel);
    border: 1px solid #242b40; border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px; display: none;
    animation: pop .18s ease;
  }
  .nav__list.is-open { display: flex; }
  @keyframes pop { from { transform: translateY(-6px); opacity: .85; } to { transform:none; opacity:1; } }
}

/* ============================
   Hero
============================= */
.hero { padding: clamp(56px, 6vw, 88px) 0 clamp(36px, 4vw, 48px); background: radial-gradient(1200px 500px at 50% -200px, #1a2235 0%, transparent 70%); }
.hero p { color: var(--muted); max-width: 720px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(16px, 3vw, 28px); align-items: center; }
.hero__kicker { color: var(--accent); font-weight: 700; margin-bottom: 6px; text-transform: uppercase; font-size: 12px; }
.hero__actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); border-color: #4b93e0; color: #0b1020; font-weight: 800; box-shadow: var(--shadow-sm); }
.btn--secondary { background: #121727; border-color: #2a3550; }
.hero__media img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid #293453;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.hero__media img:hover { transform: scale(1.02); }
.hero__media::after {
  content: ""; position: absolute; inset: auto 10% -10% auto;
  width: 38%; height: 18%; border-radius: 12px;
  background: radial-gradient(circle at 50% 0%, rgba(90,169,255,.25), transparent 70%);
  filter: blur(12px);
}
@media (max-width: 900px){ .hero__grid { grid-template-columns: 1fr; } }

/* ============================
   Сетка ігор
============================= */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1020px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .games-grid { grid-template-columns: 1fr; } }

.game-card {
  position: relative; display: grid; place-items: end start;
  height: 180px; border-radius: var(--radius);
  padding: 14px;
  background: linear-gradient(145deg, #1d2439, #141827);
  border: 1px solid #232a41;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.game-card__title {
  z-index: 2;
  background: rgba(0,0,0,.34);
  padding: 6px 10px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
}
.game-card::before {
  content: ""; position: absolute; inset: -20% -20% auto auto;
  height: 140%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(90,169,255,.28), transparent 60%);
}
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #2c3a5f;
}

/* ============================
   Buttons, forms
============================= */
button, .btn {
  appearance: none;
  border: 1px solid #2b3550;
  color: var(--text);
  background: #1b2133;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: filter .15s ease, transform .05s ease, box-shadow .15s ease, border-color .15s ease;
}
button:hover, .btn:hover { filter: brightness(1.06); }
button:active, .btn:active { transform: translateY(1px); }
button:focus-visible, .btn:focus-visible { outline: none; box-shadow: var(--ring); border-color: #3a75b8; }

.form { display: grid; gap: 12px; max-width: 560px; }
input[type="text"], input[type="email"], textarea {
  width: 100%; background: #121522; color: var(--text);
  border: 1px solid #262f48; border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus-visible, textarea:focus-visible {
  outline: none; border-color: #35518a; box-shadow: var(--ring);
}

/* ============================
   Footer
============================= */
.site-footer { border-top: 1px solid #1c2030; background: #0c0d12; padding: 28px 0 44px; }
.footer__cols { display: grid; gap: 16px; grid-template-columns: 1.2fr .8fr .8fr; align-items: start; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 8px; }
.disclaimer { color: var(--muted); margin-top: 16px; font-size: 14px; }
@media (max-width: 820px) { .footer__cols { grid-template-columns: 1fr; } }

/* ============================
   Cookie banner
============================= */
.cookie-banner {
  position: fixed; inset: auto 16px 16px 16px;
  background: #121727;
  border: 1px solid #27314a;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.cookie-banner__inner { display: grid; gap: 10px; }
.cookie-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__link { color: var(--accent); }

/* ============================
   Age-gate
============================= */
.age-gate { position: fixed; inset: 0; background: rgba(7,9,15,.78); display: grid; place-items: center; backdrop-filter: blur(2px); }
.age-gate[hidden] { display: none !important; }
.age-gate__box {
  width: min(92%, 420px); background: #121626;
  border: 1px solid #283250; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; text-align: center;
}
.age-gate__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }

/* ============================
   FAQ
============================= */
.faq { margin-top: 4px; }
.faq dt { font-weight: 700; margin-top: 10px; }
.faq dd { margin: 4px 0 12px; color: var(--muted); }

/* ============================
   Accessibility
============================= */
:focus-visible { outline: 2px solid transparent; box-shadow: var(--ring); }
[hidden] { display: none !important; }


.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.game-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .75;
  transition: transform .3s ease, opacity .3s ease;
}
.game-card:hover .game-card__img {
  transform: scale(1.05);
  opacity: .9;
}
.game-card__title {
  position: relative;
  z-index: 2;
  margin: 8px;
  background: rgba(0,0,0,.5);
  padding: 6px 12px;
  border-radius: 8px;
}


/* ============================
   Footer (polished)
============================= */
.site-footer {
  border-top: 1px solid #1c2030;
  background: #0c0d12;
  padding: clamp(24px, 3.2vw, 44px) 0;
}

.footer__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr .8fr .8fr;
  align-items: start;
}

.footer__title {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin: 6px 0; }
.footer__links a {
  color: var(--text);
  opacity: .9;
  border-bottom: 1px dashed transparent;
  transition: opacity .2s ease, border-color .2s ease;
}
.footer__links a:hover,
.footer__links a:focus-visible {
  opacity: 1;
  border-color: #2b3550;
  text-decoration: none;
}

.footer__brand { color: var(--text); opacity: .95; }
.footer__bar {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid #1c2030;
}
.disclaimer { color: var(--muted); font-size: 14px; margin: 0; }

.backtotop {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 12px;
  background: #121727; color: var(--text);
  border: 1px solid #27314a; border-radius: var(--radius-sm);
  text-decoration: none;
  transition: filter .15s ease, transform .05s ease, box-shadow .15s ease, border-color .15s ease;
}
.backtotop:hover { filter: brightness(1.06); }
.backtotop:active { transform: translateY(1px); }
.backtotop:focus-visible { outline: none; box-shadow: var(--ring); border-color: #3a75b8; }

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================
   Contact section
============================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(16px, 3vw, 24px);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--panel);
  border: 1px solid #283250;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(14px, 2.4vw, 18px);
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 6px;
}
@media (max-width: 640px) {
  .input-row { grid-template-columns: 1fr; }
}
.field { display: grid; gap: 6px; }
.field__label { font-size: 14px; color: var(--muted); }

.contact-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 6px;
}

.form__status {
  margin-top: 10px;
  color: var(--success);
  background: rgba(92,209,154,.08);
  border: 1px solid rgba(92,209,154,.25);
  padding: 8px 10px;
  border-radius: 10px;
}

/* Side panel */
.contact-side { display: grid; gap: 12px; }
.contact-title {
  margin: 0 0 10px; font-size: 16px; letter-spacing: .2px; color: var(--text);
}
.contact-list { list-style: none; margin: 0 0 8px; padding: 0; }
.contact-list li {
  display: grid; grid-template-columns: 22px 1fr; align-items: center;
  gap: 8px; padding: 6px 0;
}
.contact-list a { color: var(--text); opacity: .95; }
.contact-list a:hover { opacity: 1; text-decoration: underline; }

/* Small badges */
.contact-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.badge {
  display: inline-block; font-size: 12px;
  padding: 4px 8px; border: 1px solid #2b3550;
  border-radius: 999px; color: var(--text); background: #1b2133;
}

/* Icons (pure CSS) */
.contact-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: #1b2133; border: 1px solid #2b3550;
  position: relative;
}
.contact-icon--phone::before,
.contact-icon--mail::before {
  content: ""; position: absolute; inset: 0;
  background-repeat: no-repeat; background-position: center; background-size: 14px 14px;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}
.contact-icon--phone::before {
  /* simple phone glyph using SVG data URI */
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='%23e9edf1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.9 10.8c.3.3.3.8-.1 1.1l-1.1 1.1c-.7.7-1.9.8-2.7.2-1.3-.9-2.9-2.2-4-3.3-1.1-1.1-2.4-2.7-3.3-4C1 4.9 1.1 3.7 1.8 3l1.1-1.1c.3-.3.8-.3 1.1-.1l1.7 1.1c.3.2.4.6.3.9l-.5 1.4c-.1.3 0 .6.2.9  .6.7 1.4 1.6 2.1 2.2.7.7 1.5 1.4 2.2 2.1.2.2.6.3.9.2l1.4-.5c.3-.1.7 0 .9.3l1.1 1.7z'/%3E%3C/svg%3E");
}
.contact-icon--mail::before {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='%23e9edf1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4.5A1.5 1.5 0 0 1 3 3h10a1.5 1.5 0 0 1 1.5 1.5v7A1.5 1.5 0 0 1 13 13H3A1.5 1.5 0 0 1 1.5 11.5v-7zm1 .3l5 3.2c.3.2.7.2 1 0l5-3.2V11.5a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4.8z'/%3E%3C/svg%3E");
}

/* ============================
   ADVANTAGES — cards polish
============================= */
#advantages .cols-3 { gap: clamp(14px, 2.4vw, 20px); }
#advantages .card--soft {
  position: relative;
  padding: 16px 14px 14px 54px; /* місце під іконку */
  background: linear-gradient(180deg, rgba(23,28,46,.6), rgba(17,21,38,.9));
  border: 1px solid #283250;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
#advantages .card--soft:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #2f3c60;
}
#advantages .card--soft h3 { margin: 0 0 6px; }
#advantages .card--soft .meta { margin: 0; }

/* Іконки для кожної картки (чистий CSS, SVG data-URI) */
#advantages .card--soft::before {
  content: "";
  position: absolute; left: 14px; top: 16px;
  width: 28px; height: 28px; border-radius: 10px;
  background: #1b2133; border: 1px solid #2b3550;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
#advantages .card--soft:nth-child(1)::after,
#advantages .card--soft:nth-child(2)::after,
#advantages .card--soft:nth-child(3)::after {
  content: "";
  position: absolute; left: 18px; top: 20px;
  width: 20px; height: 20px; background-repeat: no-repeat; background-size: 20px 20px; background-position: center;
}
/* 1) Shield (fair & transparent) */
#advantages .card--soft:nth-child(1)::after {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='%23e9edf1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 1.5l6 2.2v4.7c0 4.1-2.6 7.8-6 9.1-3.4-1.3-6-5-6-9.1V3.7L10 1.5z'/%3E%3C/svg%3E");
}
/* 2) Bolt (fast & mobile-first) */
#advantages .card--soft:nth-child(2)::after {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='%23e9edf1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.5 1L3 11h6l-1.5 8L17 9h-6l.5-8z'/%3E%3C/svg%3E");
}
/* 3) Heart (responsible by design) */
#advantages .card--soft:nth-child(3)::after {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='%23e9edf1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 17s-6-3.7-8-7c-1.4-2.2-.5-5.2 1.9-6.3 1.7-.8 3.9-.3 5.2 1 1.3-1.3 3.5-1.8 5.2-1 2.4 1.1 3.3 4.1 1.9 6.3-2 3.3-8 7-8 7z'/%3E%3C/svg%3E");
}

/* ============================
   NOTICE — banner
============================= */
.section--notice .container { position: relative; }
.section--notice h2 { margin-bottom: 10px; }
.section--notice p {
  display: flex; align-items: center; gap: 10px;
  margin: 0;
  background: rgba(18, 23, 39, .7);
  border: 1px solid #27314a;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}
.section--notice p::before {
  content: "";
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='%23ffd98f' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 2l8 14H2L10 2zm0 11a1 1 0 110 2 1 1 0 010-2zm-1-6h2v4h-2V7z'/%3E%3C/svg%3E");
  background-size: 18px 18px; background-repeat: no-repeat; background-position: center;
}

/* ============================
   FAQ — clean Q/A cards
============================= */
#faq .faq { max-width: 820px; }
#faq .faq dt {
  margin-top: 12px;
  padding: 10px 12px;
  background: #121727;
  border: 1px solid #27314a;
  border-radius: var(--radius-sm);
  font-weight: 700;
  position: relative;
}
#faq .faq dt::before {
  content: "Q";
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; margin-right: 8px;
  border-radius: 6px; background: #1b2133; border: 1px solid #2b3550;
  color: var(--text); font-size: 12px; font-weight: 800;
}
#faq .faq dd {
  margin: 6px 0 10px 0;
  padding: 10px 12px 12px;
  background: #0f1424;
  border: 1px solid #223055;
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--muted);
}
#faq .faq dd::before {
  content: "A";
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; margin-right: 8px;
  border-radius: 6px; background: #15203a; border: 1px solid #2b3a62;
  color: var(--text); font-size: 12px; font-weight: 800;
}

/* ============================
   RESPONSIBLE GAMING — callout
============================= */
#responsible p {
  margin: 0;
  background: rgba(18, 23, 39, .7);
  border: 1px solid #27314a;
  border-left: 3px solid var(--success);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}
#responsible a { color: var(--accent); }
#responsible a:hover { text-decoration: underline; }

/* ============================
   HERO — акценты, hover, адаптив
============================= */
.hero { position: relative; overflow: clip; }
.hero::before {
  /* мягкое свечение за заголовком */
  content: ""; position: absolute; inset: -20% -10% auto -10%;
  height: 60%; pointer-events: none;
  background: radial-gradient(600px 240px at 20% 30%, rgba(127,196,255,.22), transparent 70%);
  filter: blur(8px);
}
.hero__kicker { letter-spacing: .4px; }
.hero__actions .btn { min-width: 160px; }
.btn--primary:hover { filter: brightness(1.08); box-shadow: 0 10px 24px rgba(90,169,255,.25); }
.btn--secondary:hover { filter: brightness(1.05); box-shadow: 0 8px 20px rgba(32,48,92,.25); }
.hero__media { isolation: isolate; }
.hero__media img {
  mask-image: radial-gradient(110% 100% at 50% 40%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(110% 100% at 50% 40%, #000 60%, transparent 100%);
}
@media (max-width: 900px) {
  .hero__actions .btn { flex: 1 1 160px; }
}

/* ============================
   ABOUT — декоративный заголовок, списки
============================= */
#about .container { position: relative; }
#about h2 {
  position: relative; padding-bottom: 6px;
}
#about h2::after {
  /* underline-градиент под заголовком */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), transparent 60%);
  opacity: .6;
}
#about p + p { margin-top: 6px; }
#about .list { margin-top: 8px; padding-left: 0; list-style: none; }
#about .list li {
  display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 8px;
  padding: 6px 0;
}
#about .list li::before {
  /* небольшая “галочка” */
  content: ""; width: 22px; height: 22px; border-radius: 6px;
  background: #1b2133; border: 1px solid #2b3550; margin-top: 1px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23e9edf1' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px 14px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23e9edf1' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px 14px no-repeat;
}

/* ============================
   HOW IT WORKS — карточки с шагами
============================= */
#how .cols-3 { gap: clamp(14px, 2.6vw, 22px); }
#how .card--soft {
  position: relative; padding: 16px 14px 14px 58px;
  background: linear-gradient(180deg, rgba(23,28,46,.6), rgba(17,21,38,.92));
  border: 1px solid #283250; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
#how .card--soft:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #2f3c60; }
#how .card--soft h3 { margin: 0 0 6px; }
#how .card--soft .meta { margin: 0; }

/* Номера шагов “1/2/3” */
#how .card--soft::before {
  content: attr(data-step);
  position: absolute; left: 14px; top: 14px;
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: #1b2133; border: 1px solid #2b3550; color: var(--text);
  font-weight: 800; font-size: 13px; letter-spacing: .2px;
}
/* если не хочешь менять HTML — назначим через nth-child */
#how .card--soft:nth-child(1)::before { content: "1"; }
#how .card--soft:nth-child(2)::before { content: "2"; }
#how .card--soft:nth-child(3)::before { content: "3"; }

/* ============================
   Легкое появление секций (scroll-reveal)
============================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}
/* Поддержка: добавь класс .reveal на секции/карточки (hero__media, card--soft и т.п.) и через небольшой JS добавь .is-visible при входе в viewport */


/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--text);
}
.logo:hover { text-decoration: none; }
.logo__mark svg { display: block; width: 28px; height: 28px; }
.logo__text { color: var(--text); font-size: 18px; line-height: 1; }

/* Трохи компактніший логотип при прокрутці (якщо додаєш .is-scrolled на header) */
.site-header.is-scrolled .logo__mark svg { width: 24px; height: 24px; }
.site-header.is-scrolled .logo__text { font-size: 17px; }

/* На дуже вузьких екранах залишаємо лише марку */
@media (max-width: 420px) {
  .logo__text { display: none; }
}
