/* 7k Casino — Global Styles (2025) */
:root {
	--bg: #0b0a0c;
	--bg-elev: #121014;
	--text: #e5e7eb;
	--muted: #9ca3af;
	--primary: #e11d2e;
	--primary-600: #b01622;
	--success: #16a34a;
	--warning: #f59e0b;
	--danger: #ef4444;
	--card: #161317;
	--border: #26202a;
	--shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	/* Near-black base + layered crimson/orange glow and soft vignette (official-like) */
	background:
		/* top central warm glow behind hero/banner */
		radial-gradient(1200px 520px at 50% -60px, rgba(210, 40, 20, .22), rgba(0,0,0,0) 60%),
		/* subtle right-top accent */
		radial-gradient(900px 420px at 88% 6%, rgba(170, 30, 30, .14), rgba(0,0,0,0) 58%),
		/* subtle left-top accent */
		radial-gradient(800px 380px at 12% 8%, rgba(170, 30, 30, .12), rgba(0,0,0,0) 55%),
		/* bottom faint warm reflection */
		radial-gradient(1200px 520px at 50% 120%, rgba(210, 40, 20, .06), rgba(0,0,0,0) 70%),
		/* vignette */
		radial-gradient(1800px 900px at 50% 40%, rgba(0,0,0,0), rgba(0,0,0,.35) 85%),
		linear-gradient(var(--bg), var(--bg));
	color: var(--text);
	font: 400 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
	transition: opacity .25s ease, transform .25s ease;
}

img { max-width: 100%; height: auto; border-radius: 10px; }
a { color: #a78bfa; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
	width: min(1180px, 92%);
	margin: 0 auto;
}
.center { text-align: center; }
.muted { color: var(--muted); }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(11, 10, 12, .8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 2px 0 rgba(255,255,255,.02), 0 18px 40px rgba(0,0,0,.45);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	gap: 16px;
}
.header-inner .left {
	display: flex;
	align-items: center;
	gap: 12px;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 20px;
	color: #fff;
	text-decoration: none;
}
.logo-emoji { font-size: 22px; display: none; }
.logo-text { display: none; }
.logo-img { height: 36px; width: auto; display: block; }
.site-nav { display: none; }
.site-nav ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 14px;
	flex-wrap: wrap;
}
.site-nav a {
	display: inline-block;
	padding: 8px 10px;
	border-radius: 8px;
	color: #d1d5db;
	border: 1px solid transparent;
	transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-nav a:hover {
	background: var(--bg-elev);
	color: #fff;
	text-decoration: none;
}
.site-nav a[aria-current="page"], .site-nav a.active {
	background: #1a1012;
	border-color: #2b0f12;
	color: #fff;
	box-shadow: inset 0 -2px 0 rgba(225,29,46,.35);
}
.header-cta { display: flex; gap: 10px; }

/* Header quick tabs (Казино / Ставки) */
.header-tabs { display: flex; gap: 10px; }
.header-tabs .tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,.7);
	color: #e5e7eb;
	background: rgba(255,255,255,.04);
}
.header-tabs .tab:hover {
	text-decoration: none;
	background: rgba(255,255,255,.08);
}

/* Secondary navigation (below jackpot) */
.secondary-nav { padding: 8px 0 0; }
.secondary-nav .tabs {
	background: linear-gradient(180deg, #1a1012, #140d0f);
	border: 1px solid #2b0f12;
	border-radius: 14px;
	padding: 10px 12px;
	box-shadow: 0 10px 26px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
}
.secondary-nav .nav-list {
	display: flex; align-items: center; gap: 16px;
	list-style: none; margin: 0; padding: 0;
}
.secondary-nav .nav-list a {
	color: #e5e7eb; padding: 10px 12px; border-radius: 8px; display: inline-block;
}
.secondary-nav .nav-list a:hover { background: #1a1012; text-decoration: none; }
.secondary-nav .nav-list a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 rgba(225,29,46,.6); }
@media (max-width: 960px) {
	.secondary-nav { display: none; }
}

/* Burger (hidden on desktop) */
.burger {
	display: none;
	background: transparent;
	border: 1px solid #2a2f3b;
	border-radius: 10px;
	padding: 8px 10px;
	color: #e5e7eb;
	align-items: center;
	gap: 8px;
}
.burger .lines {
	position: relative;
	width: 18px; height: 2px; background: currentColor; display: block;
}
.burger .lines::before, .burger .lines::after {
	content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
}
.burger .lines::before { top: -6px; }
.burger .lines::after { top: 6px; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-weight: 700;
	text-decoration: none;
	transition: transform .06s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
	box-shadow: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 13px 18px; font-size: 17px; }
.btn-primary {
	background: linear-gradient(180deg, #ff3948 0%, var(--primary) 44%, #c4141f 100%);
	color: #fff;
	border-color: #ff6a76;
	box-shadow: 0 10px 22px rgba(225,29,46,.35), inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-primary:hover {
	background: linear-gradient(180deg, #ff4050 0%, var(--primary) 36%, var(--primary-600) 100%);
	box-shadow: 0 12px 26px rgba(225,29,46,.45), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-success { background: var(--success); color: #03120a; }
.btn-success:hover { filter: brightness(1.08); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: #5c1a20; background: rgba(225,29,46,.08); }
.btn-dark { background: #1f2430; color: #fff; border: 1px solid #2a3140; }
.btn-dark:hover { background: #242b3a; }
.btn-group { display: flex; gap: 10px; flex-wrap: wrap; }

/* Store badges for app links */
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.store-badges a { display: inline-block; padding: 0; border: 0; background: transparent; }
.store-badges img { height: 56px; width: auto; display: block; border-radius: 8px; }

/* App section equal heights + tuned media image */
.app .grid.grid-2 { align-items: stretch; }
.app .grid.grid-2 > .card { height: 100%; }
.app .media { display: flex; align-items: stretch; justify-content: center; }
.app .media img { height: 100%; width: 100%; max-width: 100%; object-fit: cover; }

/* Live section media sizing */
.live .grid.grid-2 { align-items: stretch; }
.live .grid.grid-2 > .card, .live .grid.grid-2 > .media { height: 100%; }
.live .media { display: flex; align-items: stretch; justify-content: center; margin: 0; }
.live .media img { height: 100%; width: 100%; max-width: 100%; object-fit: contain; }

/* Reset default figure margin and align live boxes to the top edge */
.media { margin: 0; }
.live .grid.grid-2 { align-items: start; }

/* Slot card CTA colors override */
.card.slot .btn-success {
	background: linear-gradient(180deg, #ff3948 0%, var(--primary) 44%, #c4141f 100%);
	color: #fff;
	border-color: #ff6a76;
	box-shadow: 0 10px 22px rgba(225,29,46,.35), inset 0 1px 0 rgba(255,255,255,.12);
}
.card.slot .btn-success:hover {
	background: linear-gradient(180deg, #ff4050 0%, var(--primary) 36%, var(--primary-600) 100%);
}
.card.slot .btn-outline {
	background: #ffffff;
	color: #111827;
	border-color: #e5e7eb;
}
.card.slot .btn-outline:hover {
	background: #f3f4f6;
}

/* Header/Mobile CTA color swap:
   - Регистрация (btn-primary) -> белая кнопка
   - Вход (btn-outline) -> красная кнопка */
.header-cta .btn-primary,
.mobile-cta .btn-primary {
	background: #ffffff;
	color: #111827;
	border-color: #e5e7eb;
	box-shadow: 0 8px 18px rgba(0,0,0,.15), inset 0 1px 0 rgba(0,0,0,.02);
}
.header-cta .btn-primary:hover,
.mobile-cta .btn-primary:hover {
	background: #f3f4f6;
}
.header-cta .btn-outline,
.mobile-cta .btn-outline {
	background: linear-gradient(180deg, #ff3948 0%, var(--primary) 44%, #c4141f 100%);
	color: #fff;
	border-color: #ff6a76;
	box-shadow: 0 10px 22px rgba(225,29,46,.35), inset 0 1px 0 rgba(255,255,255,.12);
}
.header-cta .btn-outline:hover,
.mobile-cta .btn-outline:hover {
	background: linear-gradient(180deg, #ff4050 0%, var(--primary) 36%, var(--primary-600) 100%);
	box-shadow: 0 12px 26px rgba(225,29,46,.45), inset 0 1px 0 rgba(255,255,255,.14);
}

/* Sections */
.section { padding: 56px 0; }
.section h2 { font-size: 30px; margin: 0 0 18px; }
.section-subtitle { color: var(--muted); margin: 0 0 22px; }

/* Hero */
.hero { padding: 40px 0 10px; }
.hero-inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 28px;
	align-items: center;
}
.lead { font-size: 18px; color: #d8dbe2; }
.trust-badges { display: flex; gap: 14px; list-style: none; padding: 10px 0 0; margin: 0; color: var(--muted); flex-wrap: wrap; }
.hero-media img { box-shadow: var(--shadow); }

/* Cards and grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 16px;
	box-shadow: var(--shadow);
	transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { margin: 10px 0; font-size: 20px; }
.card .meta { color: var(--muted); font-size: 14px; }
.card-actions { display: flex; gap: 10px; margin-top: 10px; }
.card:hover {
	transform: translateY(-3px);
	border-color: #3a1216;
	box-shadow: 0 14px 30px rgba(0,0,0,.5), 0 0 0 1px rgba(225,29,46,.08) inset;
}

.feature p { color: #d1d5db; }
.bonus { border-image: linear-gradient(45deg, #f43f5e, #f59e0b) 1; }
.review { border-color: #2b3343; }

/* Lists */
.list-check { padding-left: 18px; }
.list-check li { margin: 6px 0; }

/* Prose (long text) */
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }

/* Tag cloud */
.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.tag-cloud a {
	padding: 8px 10px;
	border: 1px dashed #3f2226;
	border-radius: 999px;
	color: #e8e9ee;
	background: #0d1117;
}
.tag-cloud a:hover { background: rgba(225,29,46,.08); border-color: #5c1a20; }

/* Footer */
.site-footer {
	background: #090b10;
	border-top: 1px solid var(--border);
	padding: 26px 0 40px;
}

/* Smaller slot tiles (brand-like) */
@media (min-width: 961px) {
	.slot-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
	.slot-grid .card.slot { padding: 10px; }
	.slot-grid .card.slot img { height: 120px; object-fit: cover; }
	.slot-grid .card.slot h3 { font-size: 14px; margin: 8px 0; }
	.slot-grid .card.slot p { font-size: 12px; color: #cfd3de; }
	.slot-grid .card.slot .btn { padding: 8px 10px; font-size: 13px; }
	.slot-grid .card.slot .card-actions { gap: 6px; }
}
.footer-inner {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.2fr;
	gap: 24px;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: #cdd2df; }

/* Breadcrumbs */
.breadcrumbs { border-top: 1px solid var(--border); padding: 10px 0; }
.breadcrumbs .container {
	display: flex;
	gap: 8px;
}
.breadcrumbs a { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
	.hero-inner { grid-template-columns: 1fr; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-inner { grid-template-columns: 1fr; }
	/* Hide desktop nav and CTAs, show burger */
	.header-tabs { display: none; }
	.site-nav { display: none; }
	.header-cta { display: none; }
	.burger { display: inline-flex; }
	.app .media img { height: 280px; }
}
@media (max-width: 640px) {
	.grid-3 { grid-template-columns: 1fr; }
	.grid-4 { grid-template-columns: 1fr; }
	.site-nav ul { gap: 6px; }
	.section { padding: 40px 0; }
	.section h2 { font-size: 24px; }
	.btn-lg { width: 100%; }
	/* Image sizing for mobile */
	.hero-media img { width: 100%; height: 260px; object-fit: cover; }
	.card.slot img { width: 100%; height: 160px; object-fit: cover; }
	.store-badges img { height: 52px; }
	.app .media img { height: 220px; }
}

/* Page transitions */
html.is-loading body { opacity: 0; transform: translateY(4px); }
#page-transition {
	position: fixed;
	inset: 0;
	pointer-events: none;
	opacity: 0;
	background:
		radial-gradient(900px 500px at 50% -10%, rgba(225,29,46,.18), rgba(0,0,0,0) 60%),
		radial-gradient(1000px 600px at 50% 120%, rgba(225,29,46,.12), rgba(0,0,0,0) 60%),
		linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.85));
	transition: opacity .28s ease;
	z-index: 9999;
}
html.is-transitioning #page-transition {
	opacity: 1;
	pointer-events: auto;
}

/* Brand background banner above jackpot */
.brand-bg {
	position: relative;
	height: 320px;
	border-bottom: 1px solid #2b0f12;
	box-shadow: inset 0 -40px 60px rgba(0,0,0,.6);
	overflow: hidden;
}
.brand-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url('banner.webp') center / cover no-repeat;
	animation: brandCycle 14s infinite ease-in-out;
	opacity: 1;
	will-change: opacity, background-image;
}
.brand-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.3) 70%, rgba(0,0,0,.55) 100%);
}
@keyframes brandCycle {
	0%, 30% { opacity: 1; background-image: url('banner.webp'); }
	33%, 63% { opacity: 1; background-image: url('banner1.webp'); }
	66%, 100% { opacity: 1; background-image: url('banner2.webp'); }
}
@media (max-width: 960px) {
	.brand-bg { height: 240px; }
}
@media (max-width: 640px) {
	.brand-bg { height: 180px; }
}

/* Jackpot bar */
.jackpot {
	padding: 10px 0 6px;
}
.jackpot-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: linear-gradient(180deg, #1a1012, #140d0f);
	border: 1px solid #2b0f12;
	border-radius: 14px;
	padding: 12px 16px;
	box-shadow: 0 10px 26px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
}
.jackpot-left {
	display: flex;
	align-items: baseline;
	gap: 12px;
}
.jackpot-title {
	font-weight: 900;
	color: #fde68a;
	letter-spacing: .6px;
	text-shadow: 0 2px 0 rgba(0,0,0,.4);
}
.jackpot-amount {
	font-weight: 900;
	font-size: 28px;
	color: #fde68a;
	text-shadow: 0 2px 0 rgba(0,0,0,.45), 0 0 30px rgba(253, 230, 138, .2);
	position: relative;
}
.jackpot-amount::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -6px;
	height: 3px;
	background: linear-gradient(90deg, rgba(253,230,138,.0), rgba(253,230,138,.75), rgba(253,230,138,.0));
	border-radius: 999px;
}

/* Mobile drawer */
.mobile-backdrop {
	position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 70;
}
.mobile-nav {
	position: fixed; top: 0; bottom: 0; left: 0; width: 290px;
	background: #0f0f12;
	border-right: 1px solid #22232a;
	box-shadow: 12px 0 40px rgba(0,0,0,.5);
	transform: translateX(-100%); transition: transform .24s ease;
	padding: 14px 16px;
	z-index: 80;
	overflow: auto;
}
.mobile-nav .menu {
	list-style: none; padding: 8px 0 0; margin: 0; display: flex; flex-direction: column; gap: 8px;
}
.mobile-nav a { color: #e5e7eb; padding: 10px 12px; border-radius: 8px; display: block; }
.mobile-nav a:hover { background: #15161d; text-decoration: none; }
.mobile-nav .mobile-cta { display: flex; gap: 10px; margin-top: 14px; }

@media (min-width: 961px) {
	.mobile-backdrop, .mobile-nav { display: none; }
}

html.mobile-menu-open .mobile-backdrop { opacity: 1; pointer-events: auto; }
html.mobile-menu-open .mobile-nav { transform: translateX(0); }

