/* Сайт Drevar Games. Без внешних шрифтов и скриптов: ничего не отслеживаем. */
:root { --bg: #0b0718; --card: #171030; --line: #2c2152; --text: #f4f1ff; --dim: #b9b0d8; --violet: #8b5cf6; --pink: #ec4899; --amber: #f59e0b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(1200px 600px at 50% -200px, #2a1655 0%, var(--bg) 70%) no-repeat, var(--bg); color: var(--text); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; display: block; }
a { color: #c4b5fd; }
main, header.top, footer { max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.brand em { font-style: normal; background: linear-gradient(90deg, var(--violet), var(--pink), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav { display: flex; gap: 22px; }
nav a { color: var(--dim); text-decoration: none; font-weight: 600; }
nav a:hover { color: var(--text); }
section { margin: 56px 0; }
h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); line-height: 1.12; margin: 0 0 14px; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin: 0 0 18px; line-height: 1.2; }
h3 { margin: 0 0 4px; font-size: 1.15rem; }
.lead { color: var(--dim); font-size: 1.1rem; max-width: 720px; margin: 0; }
.lead.center { margin: 28px auto; text-align: center; }
.hero { text-align: center; margin-top: 40px; }
.hero .lead { margin: 0 auto; }
.hero.small { margin-top: 24px; }
.rings { width: 112px; margin: 0 auto 22px; filter: drop-shadow(0 12px 40px rgba(139, 92, 246, .55)); }
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.game { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: var(--text); text-decoration: none; transition: transform .2s, border-color .2s; }
a.game:hover { transform: translateY(-4px); border-color: var(--violet); }
.game > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.game-body { display: flex; gap: 16px; padding: 18px; }
.game-body p { color: var(--dim); margin: 0 0 12px; }
.icon { border-radius: 22%; flex: none; align-self: flex-start; }
.game.next { display: flex; align-items: center; justify-content: center; text-align: center; padding: 36px; border-style: dashed; color: var(--dim); min-height: 260px; }
.button, .store { display: inline-block; border-radius: 999px; padding: 10px 22px; font-weight: 800; background: linear-gradient(90deg, var(--violet), var(--pink)); color: #fff; }
.store { background: linear-gradient(90deg, var(--violet), var(--pink), var(--amber)); margin-top: 18px; cursor: default; }
.crumb { margin: 8px 0 0; }
.crumb a { text-decoration: none; }
.gamehero { display: flex; gap: 28px; align-items: flex-start; margin-top: 28px; flex-wrap: wrap; }
.gamehero > div { flex: 1; min-width: 260px; }
.eyebrow { color: var(--pink); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin: 0 0 6px; }
figure { margin: 0; }
.cover img, .feature figure img, .wide { width: 100%; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.feature { display: grid; grid-template-columns: 1fr 1.35fr; gap: 36px; align-items: center; }
.feature figure img { aspect-ratio: 16 / 9; object-fit: cover; }
.feature.flip > div { order: 2; }
.feature ul { padding-left: 0; list-style: none; margin: 0; color: var(--dim); }
.feature li { position: relative; padding-left: 24px; margin: 8px 0; }
.feature li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--pink)); }
.feature p { color: var(--dim); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gallery a { text-decoration: none; }
.gallery figure { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .2s, border-color .2s; }
.gallery a:hover figure { transform: translateY(-3px); border-color: var(--pink); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; color: var(--dim); font-weight: 600; font-size: .95rem; }
.masks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.masks img { border-radius: 18px; border: 1px solid var(--line); }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; text-align: center; }
.facts ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.facts li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; background: #20164166; }
.fine { color: #8d83b3; font-size: .86rem; }
footer { border-top: 1px solid var(--line); margin-top: 72px; padding-top: 32px; padding-bottom: 48px; text-align: center; }
footer h2 { margin-bottom: 6px; }
.mail { font-weight: 800; font-size: 1.1rem; }
.langs { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 18px 0 8px; }
.langs a { text-decoration: none; color: var(--dim); }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 18px; }
  .feature.flip > div { order: 0; }
  .masks { grid-template-columns: repeat(3, 1fr); }
  nav { gap: 16px; }
  section { margin: 40px 0; }
}
