@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/exo2-cyr-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/exo2-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/exo2-lat-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/exo2-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--bg: #0e0f14;
	--rail: #1d202b;
	--card: #1f2434;
	--card-2: #262c3f;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .14);
	--text: #fff;
	--body: #d5d9e2;
	--muted: #9aa3b2;
	--acc: #f5b82e;
	--acc-hi: #ffd37a;
	--acc-ink: #120c00;
	--app: linear-gradient(110deg, #ff9900, #ffed00);
	--app-ios: linear-gradient(110deg, #fff, #c8d5e6);
	--r-s: 6px;
	--r: 12px;
	--r-l: 18px;
	--wrap: 1600px;
	--gut: 32px;
	--rail-w: 248px;
	--head-h: 68px;
	--font: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--body);
	font: 400 16px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.dm-ic { flex: none; }

.dm-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--acc); color: var(--acc-ink); border-radius: var(--r-s); font-weight: 700; }
.dm-skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.dm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px;
	border: 1px solid transparent; border-radius: var(--r-s);
	font-weight: 700; font-size: 15px; line-height: 1.1; white-space: nowrap;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.dm-btn--acc { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.dm-btn--acc:hover { background: var(--acc-hi); border-color: var(--acc-hi); }
.dm-btn--line { border-color: var(--acc); color: var(--acc); }
.dm-btn--line:hover { background: rgba(245, 184, 46, .12); }
.dm-btn--lg { min-height: 52px; padding: 14px 26px; font-size: 16px; border-radius: 10px; }
.dm-btn--block { width: 100%; }

/* ---------- app buttons (source styles) ---------- */
.dm-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dm-app {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 6px 10px; border-radius: 10px;
	color: #111; font-weight: 700; font-size: 15px; line-height: 1.1;
	transition: filter .15s, transform .15s;
}
.dm-app small { display: block; white-space: nowrap; font-size: 9px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.dm-app--android { background: var(--app); }
.dm-app--ios { background: var(--app-ios); }
.dm-app:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ---------- header ---------- */
.dm-head {
	position: sticky; top: 0; z-index: 40;
	background: rgba(14, 15, 20, .92);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.dm-head__bar { display: flex; align-items: center; gap: 24px; height: var(--head-h); padding: 0 var(--gut); }
.dm-head__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-left: -10px; border-radius: var(--r-s); color: var(--text); }
.dm-head__burger:hover { background: var(--line); }
.dm-logo { display: inline-flex; align-items: center; flex: none; }
.dm-logo__img { width: 152px; height: auto; }
.dm-head__nav ul { display: flex; gap: 4px; }
.dm-head__nav a { display: block; padding: 10px 14px; border-radius: var(--r-s); color: var(--muted); font-weight: 600; font-size: 15px; transition: color .15s, background-color .15s; }
.dm-head__nav a:hover { color: var(--text); background: var(--line); }
.dm-head__user { display: flex; gap: 10px; margin-left: auto; }

/* ---------- shell + side menu ---------- */
.dm-shell { display: flex; align-items: flex-start; }
.dm-body { flex: 1; min-width: 0; }
.dm-side { position: sticky; top: var(--head-h); flex: none; width: var(--rail-w); height: calc(100vh - var(--head-h)); height: calc(100dvh - var(--head-h)); }
.dm-side__scrim { display: none; }
.dm-side__panel {
	height: 100%; overflow-y: auto; overscroll-behavior: contain;
	display: flex; flex-direction: column; gap: 16px;
	padding: 20px 16px; background: var(--rail); border-right: 1px solid var(--line);
	scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.dm-side__head { display: none; }
.dm-side__group a {
	display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 12px;
	border-radius: 10px; color: var(--body); font-weight: 600; font-size: 15px;
	transition: background-color .15s, color .15s;
}
.dm-side__group a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.dm-side__group a:hover .dm-side__ic { color: var(--acc); }
.dm-side__ic { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; background: rgba(255, 255, 255, .05); color: var(--muted); transition: color .15s; }
.dm-side__group--info { padding-top: 14px; border-top: 1px solid var(--line); }
.dm-side__group--info a { font-size: 14px; color: var(--muted); }
.dm-side__app { margin-top: auto; padding: 16px 14px; border-radius: var(--r); background: linear-gradient(160deg, rgba(245, 184, 46, .16), rgba(245, 184, 46, .02) 70%), var(--card); border: 1px solid var(--line); }
.dm-side__app-t { display: block; margin-bottom: 12px; color: var(--text); font-weight: 700; font-size: 14px; }
.dm-side__app .dm-apps { grid-template-columns: 1fr; }

/* ---------- content wrap ---------- */
.dm-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.dm-top { padding-top: 28px; }
.dm-sec { margin-top: 56px; }
.dm-main { padding-bottom: 72px; }
.dm-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dm-sec__title { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 800; font-size: 26px; line-height: 1.2; }
.dm-sec__ic { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(245, 184, 46, .14); color: var(--acc); }
.dm-sec__more { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: var(--r-s); color: var(--muted); font-weight: 600; font-size: 14px; }
.dm-sec__more:hover { color: var(--text); background: var(--line); }

/* ---------- hero ---------- */
.dm-hero {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: minmax(0, 1fr); align-content: center;
	min-height: clamp(380px, 31vw, 500px);
	border-radius: var(--r-l); background: #0d0a1f;
}
.dm-hero__art {
	position: absolute; z-index: -2; top: 0; right: 0; height: 100%; width: 66%; max-width: none;
	object-fit: cover; object-position: 16% 50%;
}
.dm-hero::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, #0d0a1f 0, #0d0a1f 34%, rgba(13, 10, 31, .7) 42%, rgba(13, 10, 31, 0) 54%),
		linear-gradient(0deg, rgba(14, 15, 20, .85), rgba(14, 15, 20, 0) 34%);
}
.dm-hero__in { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 640px; padding: 48px 24px 104px 56px; }
.dm-hero__kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(245, 184, 46, .16); color: var(--acc-hi); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.dm-hero__title { color: var(--text); font-weight: 800; font-size: clamp(32px, 3.3vw, 54px); line-height: 1.05; letter-spacing: -.01em; }
.dm-hero__title em { display: block; font-style: normal; color: var(--acc); }
.dm-hero__lead { max-width: 460px; color: #e5e1da; font-size: 17px; line-height: 1.5; }
.dm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.dm-hero__stats {
	position: absolute; left: 56px; right: 56px; bottom: 24px;
	display: flex; flex-wrap: wrap; gap: 10px;
}
.dm-hero__stats li {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
	border-radius: 99px; background: rgba(14, 15, 20, .72); border: 1px solid var(--line-2);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	color: var(--muted); font-size: 14px;
}
.dm-hero__stats b { color: var(--text); font-weight: 800; }
.dm-hero__sic { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(245, 184, 46, .16); color: var(--acc); }

/* hero extras: embers, shimmer, steps, the «Популярне зараз» deck */
.dm-hero { border: 1px solid rgba(245, 184, 46, .2); box-shadow: 0 34px 80px -46px rgba(255, 122, 0, .7); }
.dm-hero__art { transform-origin: 30% 60%; animation: dm-zoom 20s ease-in-out infinite alternate; }
.dm-hero__embers { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.dm-hero__embers i {
	position: absolute; bottom: -12px; left: var(--x); width: var(--s, 6px); height: var(--s, 6px); border-radius: 50%;
	background: radial-gradient(circle, #ffe2a0 0, #ff8a00 55%, rgba(255, 138, 0, 0) 72%);
	box-shadow: 0 0 14px 3px rgba(255, 140, 0, .7); opacity: 0;
	animation: dm-ember var(--d, 8s) linear var(--w, 0s) infinite;
}
.dm-hero__embers i:nth-child(1)  { --x: 38%; --d: 7s;  --w: 0s; }
.dm-hero__embers i:nth-child(2)  { --x: 46%; --d: 9s;  --w: 1.4s; --s: 4px; }
.dm-hero__embers i:nth-child(3)  { --x: 54%; --d: 8s;  --w: 3.1s; }
.dm-hero__embers i:nth-child(4)  { --x: 61%; --d: 10s; --w: .6s;  --s: 5px; }
.dm-hero__embers i:nth-child(5)  { --x: 68%; --d: 7.5s; --w: 2.2s; --s: 3px; }
.dm-hero__embers i:nth-child(6)  { --x: 74%; --d: 9.5s; --w: 4.4s; }
.dm-hero__embers i:nth-child(7)  { --x: 81%; --d: 8.5s; --w: 1s;  --s: 4px; }
.dm-hero__embers i:nth-child(8)  { --x: 88%; --d: 11s; --w: 5.2s; --s: 7px; }
.dm-hero__embers i:nth-child(9)  { --x: 93%; --d: 7s;  --w: 3.6s; --s: 3px; }
.dm-hero__embers i:nth-child(10) { --x: 50%; --d: 12s; --w: 6s;  --s: 5px; }

.dm-hero__dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.dm-hero__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: dm-ping 1.8s ease-out infinite; }
.dm-hero__title em {
	background: linear-gradient(100deg, #f5b82e 0, #f5b82e 30%, #ffe7a6 45%, #ffd37a 55%, #f5b82e 70%, #f5b82e 100%);
	background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
	animation: dm-shine 5s ease-in-out infinite;
}
.dm-hero__steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; color: #e5e1da; font-size: 14px; font-weight: 600; }
.dm-hero__steps li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); }
.dm-hero__steps b { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(245, 184, 46, .6); background: rgba(245, 184, 46, .14); color: var(--acc-hi); font-size: 12px; font-weight: 800; }
.dm-hero__go { box-shadow: 0 10px 28px -10px rgba(245, 184, 46, .8); animation: dm-glow 2.8s ease-in-out infinite; }
.dm-hero__stats { right: 400px; }

.dm-hero__deck { position: absolute; right: 40px; bottom: 44px; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dm-hero__deck-t {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px;
	background: rgba(14, 15, 20, .72); border: 1px solid var(--line-2);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	color: var(--text); font-size: 13px; font-weight: 700;
}
.dm-hero__deck-t .dm-hero__dot { background: #35d07f; }
.dm-hero__deck ul { display: flex; padding: 0 10px; }
.dm-hero__deck li { position: relative; width: 116px; margin-left: -28px; transition: transform .25s ease; }
.dm-hero__deck li:first-child { margin-left: 0; transform: rotate(-9deg) translateY(12px); }
.dm-hero__deck li:nth-child(2) { z-index: 2; transform: translateY(-4px); }
.dm-hero__deck li:nth-child(3) { transform: rotate(9deg) translateY(12px); }
.dm-hero__deck li:hover { z-index: 3; transform: translateY(-14px) scale(1.04); }
.dm-hero__deck a { position: relative; display: block; overflow: hidden; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .16); box-shadow: 0 16px 34px rgba(0, 0, 0, .6); }
.dm-hero__deck li:nth-child(2) a { border-color: rgba(245, 184, 46, .75); }
.dm-hero__deck img { display: block; width: 100%; height: auto; aspect-ratio: 292 / 392; object-fit: cover; }
.dm-hero__play { position: absolute; right: 8px; bottom: 8px; display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--acc); color: var(--acc-ink); opacity: 0; transform: scale(.7); transition: opacity .2s, transform .2s; }
.dm-hero__deck a:hover .dm-hero__play, .dm-hero__deck a:focus-visible .dm-hero__play { opacity: 1; transform: none; }

@keyframes dm-zoom { to { transform: scale(1.06); } }
@keyframes dm-ember {
	0% { transform: translate(0, 0) scale(1); opacity: 0; }
	12% { opacity: .95; }
	70% { opacity: .6; }
	100% { transform: translate(40px, -460px) scale(.35); opacity: 0; }
}
@keyframes dm-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes dm-shine { 0%, 15% { background-position: 100% 0; } 65%, 100% { background-position: 0 0; } }
@keyframes dm-glow { 50% { box-shadow: 0 12px 36px -6px rgba(255, 182, 72, .95); } }

/* ---------- lobby ---------- */
.dm-lobby { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dm-cat {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; flex-direction: column; gap: 20px; padding: 24px;
	border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line);
}
.dm-cat__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.dm-cat::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 36, 52, .55), rgba(31, 36, 52, .92) 55%); }
.dm-cat__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dm-cat__txt { display: flex; flex-direction: column; gap: 4px; }
.dm-cat__name { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 26px; line-height: 1.15; }
.dm-cat__ic { color: var(--acc); display: inline-flex; }
.dm-cat__line { color: #c5cbd6; font-size: 15px; }
.dm-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dm-game { display: flex; flex-direction: column; gap: 2px; }
.dm-game__art { position: relative; display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 292 / 392; background: var(--card-2); margin-bottom: 8px; }
.dm-game__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dm-game__over { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(14, 15, 20, .55); opacity: 0; transition: opacity .2s; }
.dm-game__play { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--acc); color: var(--acc-ink); transform: scale(.85); transition: transform .2s; }
.dm-game:hover .dm-game__art img { transform: scale(1.05); }
.dm-game:hover .dm-game__over { opacity: 1; }
.dm-game:hover .dm-game__play { transform: scale(1); }
.dm-game__name { color: var(--text); font-weight: 700; font-size: 14px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-game__prov { color: var(--muted); font-size: 12px; }

/* ---------- bonuses ---------- */
.dm-bonuses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dm-bonus { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.dm-bonus:hover { border-color: rgba(245, 184, 46, .5); transform: translateY(-2px); }
.dm-bonus__art { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; background: #1a1006; }
.dm-bonus__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.dm-bonus__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--card), rgba(31, 36, 52, 0) 55%); }
.dm-bonus__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; padding: 0 24px 24px; margin-top: -18px; position: relative; }
.dm-bonus__tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(245, 184, 46, .16); color: var(--acc-hi); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.dm-bonus__title { color: var(--text); font-weight: 800; font-size: 24px; line-height: 1.2; }
.dm-bonus__line { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.dm-bonus .dm-btn { margin-top: auto; }

/* ---------- copy ---------- */
.dm-copy {
	padding: 40px 48px; border-radius: var(--r-l); background: #141127; border: 1px solid var(--line);
	color: var(--body); font-size: 17px; line-height: 1.7;
}
.dm-copy::after { content: ''; display: table; clear: both; }
.dm-copy > :first-child { margin-top: 0; }
.dm-copy--page { max-width: 1040px; margin: 0 auto; }
.dm-copy h1, .dm-copy h2, .dm-copy h3, .dm-copy h4 { color: var(--text); font-weight: 800; line-height: 1.2; letter-spacing: -.005em; }
.dm-copy h1 { margin: 0 0 20px; font-size: clamp(30px, 2.6vw, 42px); }
.dm-copy h2 { margin: 44px 0 14px; font-size: clamp(24px, 1.9vw, 30px); }
.dm-copy h3 { margin: 32px 0 10px; font-size: 21px; }
.dm-copy h4 { margin: 24px 0 8px; font-size: 18px; }
.dm-copy p { margin: 0 0 16px; }
.dm-copy a { color: var(--acc); text-decoration: underline; text-decoration-color: rgba(245, 184, 46, .4); text-underline-offset: 3px; }
.dm-copy a:hover { text-decoration-color: currentColor; }
.dm-copy strong, .dm-copy b { color: var(--text); font-weight: 700; }
.dm-copy ul, .dm-copy ol { margin: 0 0 18px; padding-left: 0; display: flow-root; }
.dm-copy ul li, .dm-copy ol li { position: relative; margin: 0 0 8px; padding-left: 30px; }
.dm-copy ul li::before { content: ''; position: absolute; left: 8px; top: .7em; width: 8px; height: 8px; border-radius: 2px; background: var(--acc); transform: rotate(45deg); }
.dm-copy ol { counter-reset: dm; }
.dm-copy ol li { counter-increment: dm; }
.dm-copy ol li::before { content: counter(dm); position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: rgba(245, 184, 46, .16); color: var(--acc); font-size: 13px; font-weight: 800; line-height: 22px; text-align: center; }
.dm-copy img { width: min(812px, 100%); height: auto; margin: 24px auto; border-radius: var(--r); }
.dm-copy figure { margin: 24px 0; }
.dm-copy blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--acc); border-radius: 0 var(--r) var(--r) 0; background: rgba(245, 184, 46, .07); color: var(--text); }
.dm-copy blockquote p:last-child { margin-bottom: 0; }
.dm-copy hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.dm-table { margin: 20px 0; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
.dm-copy table { width: 100%; margin: 20px 0; border-collapse: collapse; font-size: 15px; }
.dm-table table { margin: 0; min-width: 520px; }
.dm-copy th, .dm-copy td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.dm-copy th { color: var(--text); background: var(--card); font-weight: 700; }
.dm-copy tr:hover td { background: rgba(255, 255, 255, .02); }
.dm-copy details { margin: 0 0 10px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.dm-copy summary { padding: 14px 18px; color: var(--text); font-weight: 700; cursor: pointer; }
.dm-copy details > :not(summary) { padding: 0 18px; }
.dm-copy details[open] summary { color: var(--acc); }


/* ---------- review card ---------- */
.dm-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding: 28px 32px; border-radius: var(--r-l); background: radial-gradient(80% 140% at 0 0, rgba(245, 184, 46, .18), rgba(245, 184, 46, 0) 60%), var(--card); border: 1px solid var(--line); }
.dm-card__brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; }
.dm-card__brand .dm-logo__img { width: 200px; }
.dm-card__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.dm-card__facts div { padding: 14px 16px; border-radius: var(--r); background: rgba(14, 15, 20, .5); border: 1px solid var(--line); }
.dm-card__facts dt { color: var(--muted); font-size: 13px; }
.dm-card__facts dd { margin: 2px 0 0; color: var(--text); font-weight: 700; font-size: 16px; }

/* ---------- footer ---------- */
.dm-foot { border-top: 1px solid var(--line); background: #0a0b0f; padding: 48px var(--gut) 32px; }
.dm-foot > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.dm-foot__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.dm-foot__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 440px; }
.dm-foot__brand p { margin: 0; color: var(--muted); font-size: 15px; }
.dm-foot__brand .dm-apps { width: 100%; max-width: 380px; }
.dm-foot__h { display: block; margin-bottom: 14px; color: var(--text); font-weight: 800; font-size: 16px; }
.dm-foot__col li + li { margin-top: 10px; }
.dm-foot__col a { color: var(--muted); font-size: 15px; transition: color .15s; }
.dm-foot__col a:hover { color: var(--acc); }
.dm-foot__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.dm-foot__rg { display: flex; align-items: center; gap: 14px; margin: 0; max-width: 640px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.dm-age { display: inline-flex; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: #e54d42; color: #fff; font-weight: 800; font-size: 15px; }
.dm-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-pay li { padding: 7px 12px; border-radius: var(--r-s); border: 1px solid var(--line-2); color: #c5cbd6; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.dm-foot__copy { margin-top: 20px; color: #6b7384; font-size: 13px; }

/* ---------- bottom tab bar (phones) ---------- */
.dm-tabs { display: none; }

/* ================= responsive ================= */
@media (max-width: 1400px) {
	.dm-hero__deck { right: 28px; bottom: 96px; gap: 12px; }
	.dm-hero__deck li { width: 96px; margin-left: -24px; }
	.dm-hero__stats { right: 40px; }
}

@media (min-width: 1200px) and (max-width: 1299px) {
	.dm-hero__deck { right: 20px; }
	.dm-hero__deck li { width: 82px; margin-left: -20px; }
}

@media (max-width: 1480px) {
	.dm-card__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {
	.dm-hero__deck { right: 22px; }
	:root { --gut: 24px; }
	.dm-head__burger { display: inline-flex; }
	.dm-head__nav { display: none; }

	.dm-side { position: fixed; inset: 0; z-index: 60; width: auto; height: auto; visibility: hidden; pointer-events: none; }
	.dm-side.is-open { visibility: visible; pointer-events: auto; }
	.dm-side__scrim { display: block; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .2s; }
	.dm-side.is-open .dm-side__scrim { opacity: 1; }
	.dm-side__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); transform: translateX(-100%); transition: transform .25s ease; padding-top: 14px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
	.dm-side.is-open .dm-side__panel { transform: none; }
	.dm-side__head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 8px; }
	.dm-side__head .dm-logo__img { width: 132px; }
	.dm-side__close { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-s); color: var(--text); }
	.dm-side__close:hover { background: var(--line); }

	.dm-hero__art { width: 60%; object-position: 12% 50%; }
	.dm-hero__in { max-width: 56%; padding-left: 40px; padding-right: 0; }
	.dm-hero__stats { left: 40px; right: 40px; }
	.dm-foot__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dm-foot__brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 1023px) {
	.dm-hero__deck { display: none; }
	.dm-hero__stats { right: 40px; }
	.dm-lobby { grid-template-columns: minmax(0, 1fr); }
	.dm-bonuses { grid-template-columns: repeat(3, minmax(260px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; }
	.dm-bonuses::-webkit-scrollbar { display: none; }
	.dm-bonus { scroll-snap-align: start; }
	.dm-copy { padding: 32px 28px; }
	.dm-card { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.dm-card__brand { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
	.dm-foot__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
	.dm-hero__steps { gap: 6px; font-size: 13px; }
	.dm-hero__embers i:nth-child(n+7) { display: none; }
	:root { --gut: 16px; --head-h: 60px; }
	body { font-size: 16px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.dm-logo__img { width: 124px; }
	.dm-head__bar { gap: 12px; }
	.dm-head__user { gap: 8px; }
	.dm-head__user .dm-btn { min-height: 40px; padding: 8px 12px; font-size: 14px; }
	.dm-head__login span { display: none; }
	.dm-head__login { width: 40px; padding: 0; }

	.dm-top { padding-top: 16px; }
	.dm-sec { margin-top: 40px; }
	.dm-sec__title { font-size: 22px; }
	.dm-sec__ic { width: 34px; height: 34px; }

	.dm-hero { display: flex; flex-direction: column; min-height: 0; border-radius: var(--r); }
	.dm-hero__art { position: relative; z-index: 0; width: 100%; min-width: 0; height: auto; aspect-ratio: 16 / 9; object-position: 32% 50%; }
	.dm-hero::before { background: linear-gradient(180deg, rgba(13, 10, 31, 0) calc((100vw - 32px) * .3), #0d0a1f calc((100vw - 32px) * .5625)); }
	.dm-hero__art { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); }
	.dm-hero__in { position: relative; z-index: 1; margin-top: -24px; max-width: none; padding-top: 0; padding: 0 18px 16px; gap: 12px; }
	.dm-hero__title { font-size: 30px; }
	.dm-hero__lead { font-size: 15px; }
	.dm-hero__cta { width: 100%; }
	.dm-hero__cta .dm-btn { flex: 1; }
	.dm-hero__stats { position: relative; left: auto; right: auto; bottom: auto; padding: 0 18px 18px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.dm-hero__stats::-webkit-scrollbar { display: none; }
	.dm-hero__stats li { flex: none; font-size: 13px; }

	.dm-cat { padding: 18px 0 18px 18px; border-radius: var(--r); }
	.dm-cat__head { padding-right: 18px; flex-direction: column; }
	.dm-cat__head .dm-btn { width: 100%; }
	.dm-cat__name { font-size: 22px; }
	.dm-cat__line { font-size: 14px; }
	.dm-games { grid-template-columns: repeat(4, 132px); overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 18px; scrollbar-width: none; }
	.dm-games::-webkit-scrollbar { display: none; }
	.dm-games li { scroll-snap-align: start; }
	.dm-game__over { display: none; }

	.dm-bonuses { grid-template-columns: repeat(3, 82%); gap: 12px; }
	.dm-bonus__body { padding: 0 18px 18px; }
	.dm-bonus__title { font-size: 21px; }

	.dm-copy { padding: 24px 18px; border-radius: var(--r); font-size: 16px; }
	.dm-copy ul li, .dm-copy ol li { padding-left: 28px; }
	.dm-card { padding: 20px 18px; }
	.dm-card__brand .dm-logo__img { width: 150px; }
	.dm-card__facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
	.dm-card__facts div { padding: 10px 12px; }
	.dm-card__facts dd { font-size: 15px; }

	.dm-foot { padding: 36px var(--gut) 24px; }
	.dm-foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
	.dm-foot__col:last-child { grid-column: 1 / -1; }
	.dm-foot__col:last-child ul { display: flex; gap: 20px; }
	.dm-foot__col:last-child li + li { margin-top: 0; }

	.dm-tabs {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
		display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
		padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
		background: rgba(29, 32, 43, .96); border-top: 1px solid var(--line);
		-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	}
	.dm-tabs a, .dm-tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; color: var(--muted); font-size: 11px; font-weight: 600; }
	.dm-tabs a:active, .dm-tabs button:active { color: var(--text); }
	.dm-tabs__acc { color: var(--acc) !important; }
	.dm-tabs__mark { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-top: -18px; border-radius: 50%; background: var(--acc); border: 3px solid var(--rail); }
	.dm-tabs__mark img { width: 30px; height: 30px; filter: brightness(0); }
}

@media (max-width: 380px) {
	.dm-head__user .dm-btn--acc { padding: 8px 10px; font-size: 13px; }
	.dm-logo__img { width: 110px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.dm-hero__embers { display: none; }
}

/* ---------- copy: TOC («Зміст»), anchors, 21+ link ---------- */
.dm-copy img { display: block; }
.dm-copy h2, .dm-copy h3 { scroll-margin-top: 90px; }
.dm-copy .dm-toc { margin: 8px 0 28px; padding: 20px 24px; border-radius: var(--r); border: 1px solid rgba(245, 184, 46, .28); background: linear-gradient(135deg, rgba(245, 184, 46, .1), rgba(245, 184, 46, 0) 60%), #1a1633; }
.dm-copy .dm-toc__t { margin: 0 0 12px; color: var(--text); font-weight: 800; font-size: 18px; }
.dm-copy .dm-toc ol { counter-reset: toc; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; margin: 0; padding: 0; list-style: none; }
.dm-copy .dm-toc li { counter-increment: toc; position: relative; margin: 0; padding: 0 0 0 34px; font-size: 15px; line-height: 1.4; }
.dm-copy .dm-toc li::before { content: counter(toc); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(245, 184, 46, .16); color: var(--acc-hi); font-size: 12px; font-weight: 800; line-height: 24px; text-align: center; }
.dm-copy .dm-toc a { color: #e5e1da; text-decoration: none; }
.dm-copy .dm-toc a:hover { color: var(--acc); }
.dm-foot__rg a { color: var(--acc-hi); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
	.dm-copy .dm-toc { padding: 16px; }
	.dm-copy .dm-toc ol { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- UA | RU switcher: segmented control sized like the header buttons ---------- */
.dm-lang { display: inline-flex; align-items: stretch; flex: none; height: 44px; padding: 3px; gap: 2px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: rgba(255, 255, 255, .03); }
.dm-lang a { display: flex; align-items: center; justify-content: center; min-width: 40px; padding: 0 10px; border-radius: 4px; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .04em; line-height: 1; transition: color .15s, background-color .15s; }
.dm-lang a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.dm-lang a.is-on { background: var(--acc); color: var(--acc-ink); }
.dm-langrow { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px 0; border-top: 1px solid var(--line); }
.dm-langrow__t { color: var(--muted); font-size: 14px; font-weight: 600; }
.dm-langrow .dm-lang { height: 40px; }
@media (max-width: 1199px) {
	.dm-head__user .dm-lang { height: 40px; }
}
@media (max-width: 767px) {
	.dm-lang--head { display: none; }
	.dm-langrow { display: flex; }
}

/* ---------- site-local (smenirezinu.com.ua, 2026-11-17): indigo + gold palette, card-style TOC ---------- */
:root {
	--bg: #0c0a1a; --rail: #16132b; --card: #1d1838; --card-2: #262046;
	--body: #dcd8ee; --muted: #a39dbf; --line: rgba(255, 255, 255, .08);
	--acc: #f5b82e; --acc-hi: #ffd37a; --acc-ink: #1a1200;
}
.dm-copy .dm-toc { border-radius: var(--r-l); border: 0; background: linear-gradient(135deg, #221c44, #17132e); box-shadow: inset 0 0 0 1px rgba(245, 184, 46, .22); }
.dm-copy .dm-toc__t { color: var(--acc-hi); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.dm-copy .dm-toc ol { gap: 8px; }
.dm-copy .dm-toc li { padding: 9px 12px 9px 44px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.dm-copy .dm-toc li::before { left: 10px; top: 8px; border-radius: 8px; background: var(--acc); color: var(--acc-ink); }
.dm-copy h2 { position: relative; padding-bottom: 10px; }
.dm-copy h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--acc), transparent); }
