* {
	box-sizing: border-box;
}

html,
body,
div,
span,
h1,
h2,
h3,
p,
a,
img,
ul,
ol,
li,
table,
thead,
tbody,
tr,
th,
td,
header,
main,
nav,
section,
article,
footer {
	margin: 0;
	padding: 0;
	border: 0;
}

:root {
	--cj-navy-deep: #052c4d;
	--cj-navy: #163e5f;
	--cj-navy-mid: #184163;
	--cj-navy-soft: #234d6f;
	--cj-navy-line: #205179;
	--cj-gold: #efb84c;
	--cj-gold-soft: #f5da80;
	--cj-cream: #f7e8c1;
	--cj-text: #ffffff;
	--cj-muted: #88a8c1;
	--header-h: 82px;
}

html {
	background: #5eb7e8;
}

body {
	min-width: 300px;
	background-color: #5eb7e8;
	background-image: url("images/captain-jack-casino-background.webp");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	background-attachment: fixed;
	color: var(--cj-text);
	font-family: "Nunito", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	text-align: left;
}

.wrap {
	width: min(1220px, calc(100% - 32px));
	margin: 0 auto;
}

a {
	color: var(--cj-gold);
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a:hover {
	color: var(--cj-gold-soft);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	margin-bottom: 18px;
	border-bottom: 2px solid var(--cj-gold);
	background: var(--cj-navy-deep);
	box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.site-header > .wrap,
.header-inner {
	height: 100%;
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
}

.logo {
	display: inline-flex;
	width: 190px;
	height: 54px;
	flex: 0 0 auto;
	align-items: center;
}

.logo img {
	width: 190px;
	height: 54px;
	object-fit: contain;
}

.nav-menu {
	display: flex;
	align-items: center;
}

.nav-list {
	display: flex;
	gap: 0;
	padding: 0 8px;
	border: 2px solid var(--cj-gold);
	border-radius: 18px;
	background: linear-gradient(180deg, rgb(22, 62, 95) 0%, rgb(5, 44, 77) 100%);
	list-style: none;
	overflow: hidden;
}

.nav-list a {
	display: inline-flex;
	min-height: 40px;
	padding: 0 16px;
	align-items: center;
	border-right: 2px solid var(--cj-navy-line);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: capitalize;
}

.nav-list li:last-child a {
	border-right: 0;
}

.nav-list a:hover {
	background: rgba(239, 184, 76, .14);
	color: var(--cj-gold);
}

.nav-cta {
	display: flex;
	margin-left: auto;
	gap: 10px;
	flex: 0 0 auto;
}

.btn,
a.m_but {
	display: inline-flex;
	min-height: 42px;
	padding: 10px 26px;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--cj-gold);
	border-radius: 24px;
	background: linear-gradient(180deg, #ffeed1 0%, #f5da80 28%, #efb74b 62%, #cc880a 100%);
	color: #402b1b;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	box-shadow: 0 4px 0 rgba(64, 43, 27, .35);
}

.btn:hover,
a.m_but:hover {
	border-color: var(--cj-gold-soft);
	background: linear-gradient(180deg, #fff6df 0%, #ffe08f 30%, #f0bc50 65%, #e99800 100%);
	color: #402b1b;
	box-shadow: 0 0 18px rgba(239, 184, 76, .35);
}

.btn-primary {
	background: linear-gradient(180deg, #ffeed1 0%, #f5da80 28%, #efb74b 62%, #cc880a 100%);
	border-color: var(--cj-gold);
	color: #402b1b;
}

.btn-ghost,
a.m_but.intro-cta__secondary {
	border-color: #76f132;
	background: linear-gradient(180deg, #a2ff71 0%, #76f132 30%, #36c62c 60%, #056b0d 100%);
	color: #ffffff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
	box-shadow: 0 4px 0 rgba(2, 94, 38, .35);
}

.btn-ghost:hover,
a.m_but.intro-cta__secondary:hover {
	border-color: #a2ff71;
	background: linear-gradient(180deg, #b8ff95 0%, #8dff55 30%, #3eba29 60%, #025e26 100%);
	color: #ffffff;
	box-shadow: 0 0 18px rgba(54, 198, 44, .35);
}

.article-content {
	padding: 18px 0 0;
}

.article-content p,
.article-content ul,
.article-content ol {
	margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
	padding-left: 28px;
}

.article-content li {
	margin: 7px 0;
}

.article-content li::marker {
	color: var(--cj-gold);
	font-weight: 700;
}

.content-case,
.feature-case {
	border: 2px solid var(--cj-gold);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(22, 62, 95, .96) 0%, rgba(5, 44, 77, .96) 100%);
	box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

.content-case--intro {
	margin-bottom: 22px;
	padding: 26px 28px;
}

.feature-case {
	margin-bottom: 30px;
	padding: 26px;
}

.feature-case__content.content-case {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.main_zag {
	font-weight: 900;
	letter-spacing: .02em;
	text-transform: uppercase;
}

h1.main_zag {
	margin-bottom: 20px;
	color: var(--cj-cream);
	font-size: 26px;
	line-height: 1.25;
	text-align: center;
}

.feature-case h2.main_zag,
.content-case h2.main_zag {
	margin: 0 0 20px;
	padding: 12px 16px;
	border: 2px solid var(--cj-gold);
	border-radius: 16px;
	background: linear-gradient(180deg, rgb(22, 62, 95) 0%, rgb(5, 44, 77) 100%);
	color: var(--cj-cream);
	font-size: 20px;
	line-height: 1.3;
}

.content-case h3 {
	margin: 28px 0 18px;
	padding: 10px 14px;
	border-left: 4px solid var(--cj-gold);
	border-radius: 8px;
	background: rgba(35, 77, 111, .65);
	color: var(--cj-cream);
	font-size: 18px;
	line-height: 1.3;
	text-transform: uppercase;
}

.banner-slot {
	width: 100%;
	max-width: 1108px;
	aspect-ratio: 16 / 9;
	margin: 0 auto 22px;
	overflow: hidden;
	border: 2px solid var(--cj-gold);
	border-radius: 18px;
	background: var(--cj-navy-deep);
}

.banner-slot .image-lightbox {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.banner-slot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.intro-cta {
	display: flex;
	margin: 0 0 24px;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.table-card {
	margin: 0 0 24px;
	overflow: hidden;
	border: 2px solid var(--cj-gold);
	border-radius: 16px;
	background: var(--cj-navy);
}

.entry_table {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.article-content table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: var(--cj-navy);
	color: var(--cj-text);
	font-size: 14px;
}

.article-content th,
.article-content td {
	padding: 12px 14px;
	border-right: 1px solid var(--cj-navy-line);
	border-bottom: 1px solid var(--cj-navy-line);
	text-align: left;
	vertical-align: top;
}

.article-content th:last-child,
.article-content td:last-child {
	border-right: 0;
}

.article-content tbody tr:last-child td {
	border-bottom: 0;
}

.article-content thead th {
	background: var(--cj-cream);
	color: var(--cj-navy);
	font-weight: 800;
	text-transform: uppercase;
}

.article-content tbody td {
	background: var(--cj-navy);
	color: #e8f0f7;
	font-weight: 400;
	text-transform: none;
}

.article-content tbody td:first-child {
	color: #ffffff;
	font-weight: 700;
}

.article-content tbody tr:nth-child(even) td {
	background: var(--cj-navy-mid);
}

.article-content tbody tr:hover td {
	background: var(--cj-navy-soft);
}

.article-content p.warn-block {
	position: relative;
	margin: 20px 0;
	padding: 17px 20px 17px 58px;
	border: 1px solid rgba(239, 184, 76, .45);
	border-left: 4px solid var(--cj-gold);
	border-radius: 12px;
	background: linear-gradient(90deg, rgba(239, 184, 76, .14), rgba(239, 184, 76, .03)), #123553;
	color: #fff8e8;
}

.article-content p.warn-block::before {
	content: "!";
	position: absolute;
	top: 17px;
	left: 18px;
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	border: 1px solid var(--cj-gold);
	border-radius: 50%;
	background: #1a4668;
	color: var(--cj-gold);
	font-size: 15px;
	font-weight: 900;
	line-height: 1;
}

.faq-case .content-case > h3 {
	margin: 1.6rem 0 .6rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--cj-gold);
	font-size: 1.12rem;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
}

.faq-case .content-case > h3:first-child {
	margin-top: 0;
}

.faq-case .content-case > p {
	margin: 0 0 1rem;
	color: #d7e4ef;
	line-height: 1.65;
}

.faq-case .content-case > p:last-child {
	margin-bottom: 0;
}

.site-footer {
	display: block;
	margin-top: 10px;
	padding: 18px 0 12px;
	border-top: 4px solid var(--cj-cream);
	background: var(--cj-navy);
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
}

.flogo {
	display: flex;
	justify-content: center;
	padding: 8px 0;
}

.flogo img {
	width: 190px;
	height: auto;
}

.copu {
	padding-bottom: 8px;
	color: var(--cj-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.fancybox-bg {
	background: #031929;
}

@media (max-width: 1020px) {
	.header-inner {
		gap: 14px;
	}

	.nav-list a {
		padding: 0 11px;
		font-size: 13px;
	}

	.nav-cta .btn {
		padding: 9px 14px;
	}
}

@media (max-width: 759px) {
	:root {
		--header-h: 66px;
	}

	body {
		background-attachment: scroll;
		background-position: center top;
	}

	.wrap {
		width: min(100% - 20px, 1220px);
	}

	.logo,
	.logo img {
		width: 132px;
		height: 42px;
	}

	.nav-menu {
		display: none;
	}

	.nav-cta {
		gap: 6px;
	}

	.nav-cta .btn {
		min-height: 34px;
		padding: 8px 12px;
		font-size: 11px;
	}

	.article-content {
		padding-top: 8px;
	}

	.content-case--intro,
	.feature-case {
		padding: 18px 16px;
	}

	h1.main_zag {
		font-size: 21px;
	}

	.feature-case h2.main_zag,
	.content-case h2.main_zag {
		font-size: 18px;
	}

	.banner-slot {
		margin-bottom: 18px;
	}

	a.m_but {
		min-height: 38px;
		padding: 10px 18px;
		font-size: 12px;
	}

	.article-content th,
	.article-content td {
		padding: 10px 11px;
	}

	.article-content p.warn-block {
		padding: 15px 16px 15px 50px;
	}

	.article-content p.warn-block::before {
		top: 15px;
		left: 14px;
	}

	.site-footer {
		display: block;
		margin-top: 20px;
		padding: 22px 0 28px;
		border-top: 4px solid var(--cj-cream);
		background: var(--cj-navy);
	}

	.site-footer__inner {
		width: min(100% - 20px, 1220px);
		gap: 10px;
	}

	.flogo {
		padding: 4px 0;
	}

	.flogo img {
		width: 150px;
		height: auto;
	}

	.copu {
		padding: 0 8px 4px;
		color: var(--cj-cream);
		font-size: 11px;
	}
}
