/* dragon_01_vst — Dragon`s Gold casino chrome.
   Light page (#f0f1f4) with a red→orange gradient header, gold CTAs and
   red/gold game-grid accents. Font: Ubuntu. Prefix: dg-. */

:root {
	--red:      #df0129;
	--red-dark: #c10626;
	--red-2:    #e04f29;
	--gold:     #ffb21e;
	--gold-2:   #ffd23e;
	--gold-3:   #f0a516;
	--ink:      #1c1e26;
	--muted:    #6b7280;
	--bg:       #f0f1f4;
	--card:     #ffffff;
	--line:     #e1e4e9;
	--hdr-grad: linear-gradient(88.91deg, #c10626 18%, #e04f29 99%);
	--shadow:   0 2px 10px rgba(20, 22, 30, .08);
	--radius:   10px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: Ubuntu, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.55;
	font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }

main { display: block; }

/* ─────────────────────────── Buttons ─────────────────────────── */
.dg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-family: inherit;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	padding: 11px 18px;
	border-radius: 8px;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
	transition: filter .15s ease, transform .05s ease;
}
.dg-btn:active { transform: translateY(1px); }
.dg-btn:hover { filter: brightness(1.05); }

.dg-btn--cta {
	background: linear-gradient(180deg, var(--gold-2), var(--gold-3));
	color: #3a1400;
	box-shadow: 0 2px 0 rgba(150, 90, 0, .35);
}
.dg-btn--ghost {
	background: rgba(255, 255, 255, .14);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .55);
}
.dg-foot .dg-btn--ghost,
.dg-rvcta .dg-btn--ghost,
.dg-drawer__foot .dg-btn--ghost {
	background: #fff;
	color: var(--red);
	border: 1px solid var(--red);
}
.dg-btn--full { width: 100%; }
.dg-btn--sm { padding: 8px 16px; font-size: 13px; }
.dg-btn--lg { padding: 14px 30px; font-size: 16px; }

/* ─────────────────────────── Header ─────────────────────────── */
.dg-hdr {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--hdr-grad);
	box-shadow: 0 2px 12px rgba(140, 6, 24, .3);
}
.dg-hdr__in {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 16px;
}
.dg-logo img { height: 50px; width: auto; }
.dg-hdr__spacer { flex: 1; }

.dg-hdr__nav { margin-left: 8px; }
.dg-hdr__nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.dg-hdr__nav a {
	display: block;
	padding: 9px 14px;
	color: #fff;
	font-weight: 500;
	font-size: 15px;
	border-radius: 8px;
	transition: background .15s ease, color .15s ease;
}
.dg-hdr__nav a:hover { background: rgba(0, 0, 0, .18); color: var(--gold-2); }

.dg-hdr__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 40px;
	height: 40px;
	padding: 0 9px;
	background: rgba(255, 255, 255, .12);
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}
.dg-hdr__burger span { height: 2px; background: #fff; border-radius: 2px; }

/* ─────────────────────────── Drawer ─────────────────────────── */
.dg-dim {
	position: fixed;
	inset: 0;
	background: rgba(10, 6, 8, .55);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease;
	z-index: 70;
}
.dg-dim.is-on { opacity: 1; visibility: visible; }

.dg-drawer {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 300px;
	max-width: 84vw;
	background: #fff;
	transform: translateX(-100%);
	transition: transform .28s ease;
	z-index: 80;
	display: flex;
	flex-direction: column;
	box-shadow: 4px 0 24px rgba(0, 0, 0, .25);
}
.dg-drawer.is-on { transform: none; }
.dg-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	background: var(--hdr-grad);
	color: #fff;
	font-weight: 700;
}
.dg-drawer__x { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.dg-drawer__promo {
	margin: 16px;
	padding: 16px;
	border-radius: var(--radius);
	background: linear-gradient(135deg, #3a0710, #7a0f1e);
	color: #fff;
	text-align: center;
}
.dg-drawer__promo-tag { font-size: 12px; color: var(--gold-2); text-transform: uppercase; letter-spacing: .08em; }
.dg-drawer__promo-sum { display: block; margin: 6px 0 12px; font-size: 18px; }
.dg-drawer__promo-btn {
	display: block;
	padding: 10px;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--gold-2), var(--gold-3));
	color: #3a1400;
	font-weight: 700;
}
.dg-drawer__nav { flex: 1; overflow-y: auto; }
.dg-drawer__nav ul { list-style: none; margin: 0; padding: 4px 0; }
.dg-drawer__nav a {
	display: block;
	padding: 13px 20px;
	color: var(--ink);
	font-weight: 500;
	border-left: 3px solid transparent;
}
.dg-drawer__nav a:hover, .dg-drawer__nav a.is-on { background: #fbe9ec; border-left-color: var(--red); color: var(--red); }
.dg-drawer__foot { padding: 16px; display: grid; gap: 10px; border-top: 1px solid var(--line); }

/* ─────────────────────────── Hero ─────────────────────────── */
.dg-hero {
	position: relative;
	max-width: 1200px;
	margin: 18px auto 0;
	padding: 0 16px;
}
.dg-hero__vp { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.dg-hero__track { display: flex; gap: 0; will-change: transform; }
.dg-hero__card { flex: 0 0 100%; }
.dg-hero__bg { width: 100%; height: auto; aspect-ratio: 1800 / 390; object-fit: cover; }
.dg-hero__arr {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(20, 6, 10, .5);
	cursor: pointer;
	z-index: 2;
}
.dg-hero__arr::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}
.dg-hero__arr--l { left: 26px; }
.dg-hero__arr--l::before { transform: translate(-30%, -50%) rotate(-135deg); }
.dg-hero__arr--r { right: 26px; }
.dg-hero__arr--r::before { transform: translate(-70%, -50%) rotate(45deg); }
.dg-hero__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.dg-hero__dots button {
	width: 9px; height: 9px;
	border-radius: 50%;
	border: 0;
	background: #c9ccd1;
	cursor: pointer;
	padding: 0;
}
.dg-hero__dots button.is-on { background: var(--red); width: 22px; border-radius: 5px; }
.dg-hero.is-single .dg-hero__dots { display: none; }

/* ─────────────────────────── Category chips ─────────────────────────── */
.dg-cats {
	position: sticky;
	top: 70px;
	z-index: 40;
	background: var(--bg);
	margin-top: 16px;
}
.dg-cats__in { max-width: 1200px; margin: 0 auto; padding: 8px 16px; }
.dg-cats__scroll {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
}
.dg-cats__scroll::-webkit-scrollbar { display: none; }
.dg-cats__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	padding: 9px 14px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	color: var(--ink);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	box-shadow: var(--shadow);
}
.dg-cats__chip:hover { border-color: var(--red); color: var(--red); }
.dg-cats__chip.is-on { background: var(--hdr-grad); color: #fff; border-color: transparent; }
.dg-cats__ico { display: inline-flex; width: 18px; height: 18px; color: var(--red-2); }
.dg-cats__chip.is-on .dg-cats__ico { color: var(--gold-2); }
.dg-cats__ico svg { width: 18px; height: 18px; }

/* ─────────────────────────── Winners ticker ─────────────────────────── */
.dg-winners { max-width: 1200px; margin: 16px auto 0; padding: 0 16px; }
.dg-winners__in {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 10px 14px;
	box-shadow: var(--shadow);
}
.dg-winners__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	font-weight: 700;
	font-size: 14px;
}
.dg-winners__dot {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: #27c46a;
	box-shadow: 0 0 0 3px rgba(39, 196, 106, .25);
}
.dg-winners__scroll {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scrollbar-width: none;
	flex: 1;
	min-width: 0; /* let overflow-x actually clip inside the flex row */
}
.dg-winners__scroll::-webkit-scrollbar { display: none; }
.dg-winners__item { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.dg-winners__item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.dg-winners__item b { font-size: 13px; color: #17914a; white-space: nowrap; }

/* ─────────────────────────── Game grids ─────────────────────────── */
.dg-games { max-width: 1200px; margin: 22px auto 0; padding: 0 16px; }
.dg-games__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.dg-games__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	position: relative;
	padding-left: 14px;
}
.dg-games__title::before {
	content: '';
	position: absolute;
	left: 0; top: 3px; bottom: 3px;
	width: 5px;
	border-radius: 3px;
	background: var(--hdr-grad);
}
.dg-games__all { font-size: 13px; font-weight: 700; color: var(--red); }
.dg-games__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.dg-gc__wrap {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: #0d0f16;
	box-shadow: var(--shadow);
	aspect-ratio: 300 / 250;
}
.dg-gc__wrap img { width: 100%; height: 100%; object-fit: cover; }
.dg-gc__tag {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	font-style: normal;
	font-weight: 700;
	font-size: 10px;
	letter-spacing: .05em;
	color: #fff;
	padding: 3px 8px;
	border-radius: 5px;
	background: var(--red);
}
.dg-gc__tag--new { background: #17914a; }
.dg-gc__tag--top { background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); color: #3a1400; }
.dg-gc__over {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	text-align: center;
	padding: 10px;
	background: linear-gradient(180deg, rgba(10, 6, 10, .1), rgba(10, 6, 10, .82));
	opacity: 0;
	transition: opacity .2s ease;
}
.dg-gc__wrap:hover .dg-gc__over { opacity: 1; }
.dg-gc__name { color: #fff; font-weight: 700; font-size: 14px; line-height: 1.2; }
.dg-gc__prov { color: #d6d8dd; font-size: 12px; margin-bottom: 6px; }
.dg-gc__play {
	padding: 8px 22px;
	border-radius: 7px;
	background: linear-gradient(180deg, var(--gold-2), var(--gold-3));
	color: #3a1400;
	font-weight: 700;
	font-size: 13px;
}

/* ─────────────────────────── Content prose ─────────────────────────── */
.dg-content {
	max-width: 1200px;
	margin: 26px auto;
	padding: 26px 30px;
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.dg-content h1 { font-size: 28px; line-height: 1.25; margin: 0 0 18px; }
.dg-content h2 {
	font-size: 22px;
	margin: 30px 0 12px;
	padding-left: 12px;
	border-left: 4px solid var(--red);
}
.dg-content h3 { font-size: 18px; margin: 22px 0 10px; }
.dg-content p, .dg-content li { font-size: 16px; }
.dg-content ul, .dg-content ol { padding-left: 22px; }
.dg-content li { margin: 6px 0; }
.dg-content a { text-decoration: underline; }
.dg-content a.dg-btn { text-decoration: none; }
.dg-content img { border-radius: var(--radius); margin: 18px auto; }
.dg-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
	font-size: 15px;
	overflow: hidden;
	border-radius: var(--radius);
}
.dg-content th, .dg-content td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; }
.dg-content th { background: var(--hdr-grad); color: #fff; }
.dg-content tr:nth-child(even) td { background: #faf7f8; }
.dg-content blockquote {
	margin: 18px 0;
	padding: 12px 18px;
	background: #fbe9ec;
	border-left: 4px solid var(--red);
	border-radius: 0 8px 8px 0;
}

/* ── Toplist / Review / Landing heads ── */
.dg-tlhead, .dg-lhero {
	max-width: 1200px;
	margin: 22px auto 0;
	padding: 26px 30px;
	background: linear-gradient(135deg, #3a0710, #7a0f1e);
	color: #fff;
	border-radius: var(--radius);
	text-align: center;
}
.dg-tlhead__title, .dg-lhero__title { margin: 0 0 10px; font-size: 28px; display: block; font-weight: 700; }
.dg-tlhead p, .dg-lhero p { margin: 0 auto; max-width: 760px; color: #f0d6da; }
.dg-lhero .dg-btn { margin-top: 16px; }

.dg-bonus {
	max-width: 1200px;
	margin: 22px auto;
	padding: 22px 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	background: var(--hdr-grad);
	color: #fff;
	border-radius: var(--radius);
}
.dg-bonus__txt span { display: block; font-size: 14px; opacity: .9; }
.dg-bonus__txt b { font-size: 20px; }

.dg-rvhead {
	max-width: 1200px;
	margin: 22px auto 0;
	padding: 26px 30px;
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 26px;
	align-items: center;
}
.dg-rvhead__title { display: block; margin: 0 0 12px; font-size: 26px; font-weight: 700; }
.dg-rvrate { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.dg-rvrate .stars { color: var(--gold-3); font-size: 18px; letter-spacing: 2px; }
.dg-rvrate b { font-size: 24px; }
.dg-rvrate em { color: var(--muted); font-style: normal; }
.dg-rvcta { display: flex; gap: 12px; flex-wrap: wrap; }
.dg-rvfacts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.dg-rvfacts > div { background: #fff; padding: 12px 14px; }
.dg-rvfacts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.dg-rvfacts dd { margin: 3px 0 0; font-weight: 700; }
.dg-lfoot-cta { text-align: center; margin-top: 24px; }

/* ─────────────────────────── Footer ─────────────────────────── */
.dg-foot { margin-top: 34px; background: #12141b; color: #c5c8cf; }
.dg-foot__in {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
}
.dg-logo--foot img { height: 46px; }
.dg-foot__brand { position: relative; }
.dg-foot__age {
	display: inline-block;
	margin: 12px 0 8px;
	padding: 3px 9px;
	border: 1px solid #4a4d57;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
}
.dg-foot__brand p { font-size: 13px; line-height: 1.6; color: #9a9da7; margin: 8px 0 0; }
.dg-foot__nav { display: flex; flex-direction: column; gap: 12px; }
.dg-foot__nav a { color: #c5c8cf; font-size: 14px; }
.dg-foot__nav a:hover { color: var(--gold-2); }
.dg-foot__copy {
	border-top: 1px solid #24262f;
	padding: 16px 20px;
	text-align: center;
	font-size: 12px;
	color: #7c7f89;
}

/* ─────────────────────────── Responsive ─────────────────────────── */
@media (max-width: 1024px) {
	.dg-games__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
	.dg-hdr__burger { display: flex; }
	.dg-hdr__nav { display: none; }
	.dg-logo img { height: 42px; }
	.dg-hdr__in { gap: 10px; }
	.dg-btn--ghost.dg-btn { padding: 9px 12px; }
	.dg-cats { top: 62px; }
	.dg-games__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.dg-hero__arr { display: none; }
	.dg-winners__in { flex-direction: column; align-items: stretch; gap: 8px; }
	.dg-winners__scroll { width: 100%; }
	.dg-content { padding: 20px 16px; margin: 18px 12px; }
	.dg-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.dg-content h1 { font-size: 23px; }
	.dg-content h2 { font-size: 19px; }
	.dg-rvhead { grid-template-columns: 1fr; }
	.dg-tlhead, .dg-lhero { padding: 22px 18px; margin: 18px 12px 0; }
	.dg-foot__in { grid-template-columns: 1fr; gap: 20px; }
	.dg-gc__over { opacity: 1; background: linear-gradient(180deg, rgba(10,6,10,0) 45%, rgba(10,6,10,.85)); justify-content: flex-end; }
	.dg-gc__play { display: none; }
	.dg-gc__prov { margin-bottom: 0; }
}
@media (max-width: 400px) {
	.dg-hdr__in { flex-wrap: nowrap; gap: 7px; }
	.dg-logo img { height: 38px; }
	.dg-hdr__burger { width: 38px; }
	/* keep Вхід visible next to Реєстрація — just tighten both to fit */
	.dg-hdr .dg-btn { padding: 8px 11px; font-size: 13px; }
}
