/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--color-primary: #1a1d29;
	--color-secondary: #252836;
	--color-accent: #f4c542;
	--color-accent-hover: #e6b730;
	--color-text: #ffffff;
	--color-text-muted: #a0a3bd;
	--color-border: #2d3142;
	--color-teal: #4ecdc4;
	--color-teal-light: #6ee7de;
	--sidebar-width: 240px;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial, sans-serif;
	background-color: var(--color-primary);
	color: var(--color-text);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Sidebar Navigation */
.sidebar {
	position: fixed;
	left: 0;
	top: 0;
	width: var(--sidebar-width);
	height: 100vh;
	background-color: var(--color-secondary);
	padding: 24px 16px;
	overflow-y: auto;
	z-index: 1000;
	transition: transform 0.3s ease;
}

.sidebar-header {
	margin-bottom: 24px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
}
.logo img {
	height: 40px;
	object-fit: contain;
}

.logo-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, var(--color-accent), #e6b730);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 20px;
	color: var(--color-primary);
}

.logo-text {
	display: flex;
	flex-direction: column;
}

.logo-title {
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 1px;
}

.logo-subtitle {
	font-size: 11px;
	color: var(--color-text-muted);
	letter-spacing: 2px;
}

.sidebar-welcome {
	padding: 16px;
	background-color: rgba(78, 205, 196, 0.1);
	border-radius: 8px;
	margin-bottom: 16px;
	border-left: 3px solid var(--color-teal);
}

.sidebar-welcome p {
	font-size: 14px;
	color: var(--color-text-muted);
}

.sidebar-welcome strong {
	color: var(--color-text);
}

.btn-register {
	width: 100%;
	padding: 12px;
	background-color: var(--color-accent);
	color: var(--color-primary);
	border: none;
	border-radius: 8px;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 24px;
	letter-spacing: 1px;
}

.btn-register:hover {
	background-color: var(--color-accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(244, 197, 66, 0.3);
}

.sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	color: var(--color-text-muted);
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.3s ease;
	font-size: 14px;
}

.nav-item:hover {
	background-color: rgba(255, 255, 255, 0.05);
	color: var(--color-text);
}

.nav-item.active {
	background-color: rgba(78, 205, 196, 0.1);
	color: var(--color-teal);
}

.nav-icon {
	font-size: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
	display: none;
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1001;
	background-color: var(--color-secondary);
	border: none;
	padding: 12px;
	border-radius: 8px;
	cursor: pointer;
	flex-direction: column;
	gap: 4px;
}

.mobile-menu-toggle span {
	width: 24px;
	height: 2px;
	background-color: var(--color-text);
	transition: all 0.3s ease;
}

/* Main Content */
.main-content {
	margin-left: var(--sidebar-width);
	min-height: 100vh;
}

/* Top Bar */
.top-bar {
	background-color: var(--color-secondary);
	padding: 16px 32px;
	border-bottom: 1px solid var(--color-border);
}

.top-bar-content {
	display: flex;
	justify-content: flex-end;
	gap: 24px;
	max-width: 1400px;
	margin: 0 auto;
}

.top-bar-link {
	color: var(--color-text-muted);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.top-bar-link:hover {
	color: var(--color-text);
}

/* Hero Section */
.hero {
	position: relative;
	height: 500px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hero-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(26, 29, 41, 0.7),
		rgba(78, 205, 196, 0.3)
	);
}

.hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	padding: 0 24px;
}

.hero-title {
	font-size: 56px;
	font-weight: bold;
	margin-bottom: 16px;
	line-height: 1.2;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
	font-size: 20px;
	color: var(--color-text);
	margin-bottom: 32px;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-cta {
	padding: 16px 48px;
	background-color: var(--color-accent);
	color: var(--color-primary);
	border: none;
	border-radius: 8px;
	font-weight: bold;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	letter-spacing: 1px;
	text-transform: uppercase;
	/* Added styles for link version of CTA button */
	text-decoration: none;
	display: inline-block;
}

.btn-cta:hover {
	background-color: var(--color-accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(244, 197, 66, 0.4);
}

/* Section Styles */
.section {
	padding: 64px 32px;
	max-width: 1400px;
	margin: 0 auto;
}

.section-title {
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 32px;
	color: var(--color-text);
}

.section-title-large {
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 24px;
	color: var(--color-text);
}

/* Popular Games */
.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
}

.game-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.game-card:hover {
	transform: translateY(-8px);
}

.game-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.game-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background-color: #e74c3c;
	color: white;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 1px;
}

/* Features Section */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
}

.feature-card {
	background-color: var(--color-secondary);
	border-radius: 16px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	border: 1px solid var(--color-border);
	transition: all 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
	margin-bottom: 16px;
}

.feature-icon img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
}

.feature-badge {
	font-size: 32px;
	margin-bottom: 8px;
}

.feature-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 12px;
	color: var(--color-text);
}

.feature-amount {
	font-size: 28px;
	font-weight: bold;
	color: var(--color-accent);
	margin-bottom: 4px;
}

.feature-text {
	font-size: 14px;
	color: var(--color-text-muted);
	margin-bottom: 12px;
}

.feature-description {
	font-size: 14px;
	color: var(--color-text-muted);
	margin-bottom: 20px;
	line-height: 1.5;
}

.btn-feature {
	padding: 12px 32px;
	background-color: var(--color-accent);
	color: var(--color-primary);
	border: none;
	border-radius: 8px;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	letter-spacing: 1px;
	/* Added styles for link version */
	text-decoration: none;
	display: inline-block;
}

.btn-feature:hover {
	background-color: var(--color-accent-hover);
	transform: translateY(-2px);
}

.btn-feature-alt {
	padding: 12px 32px;
	background-color: transparent;
	color: var(--color-accent);
	border: 2px solid var(--color-accent);
	border-radius: 8px;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	letter-spacing: 1px;
	/* Added styles for link version */
	text-decoration: none;
	display: inline-block;
}

.btn-feature-alt:hover {
	background-color: var(--color-accent);
	color: var(--color-primary);
}

/* New Text Content Styles */
.text-content {
	max-width: 900px;
	margin-bottom: 48px;
}

.intro-text {
	font-size: 20px;
	color: var(--color-text);
	font-weight: 500;
	margin-bottom: 24px;
	line-height: 1.6;
}

.body-text {
	font-size: 16px;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 20px;
}

.highlight-text {
	font-size: 16px;
	color: var(--color-text);
	line-height: 1.8;
	margin-bottom: 20px;
}

/* CTA Block Styles */
.cta-block {
	background: linear-gradient(
		135deg,
		rgba(244, 197, 66, 0.1),
		rgba(78, 205, 196, 0.1)
	);
	border: 2px solid var(--color-accent);
	border-radius: 16px;
	padding: 48px;
	text-align: center;
	margin-top: 48px;
}

.cta-title {
	font-size: 28px;
	font-weight: bold;
	color: var(--color-text);
	margin-bottom: 16px;
	line-height: 1.3;
}

.cta-description {
	font-size: 16px;
	color: var(--color-text-muted);
	margin-bottom: 32px;
	line-height: 1.6;
}

/* About Section */
.about-text {
	font-size: 16px;
	color: var(--color-text-muted);
	margin-bottom: 24px;
	line-height: 1.8;
}

.about-content {
	margin-top: 32px;
}

.about-content p {
	font-size: 15px;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 16px;
}

/* Registration Section */
.registration-text {
	font-size: 15px;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 16px;
}

/* Casino Info Section */
.casino-text {
	font-size: 15px;
	color: var(--color-text-muted);
	line-height: 1.8;
}

/* Live Casino Section */
.live-text {
	font-size: 15px;
	color: var(--color-text-muted);
	line-height: 1.8;
}

/* Promotions Section */
.promotions-intro {
	font-size: 15px;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 32px;
}

/* Updated promotions table to match dark site color scheme */
.promotions-table {
	background-color: var(--color-secondary);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 32px;
}

.promo-row {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 16px;
	padding: 16px;
	border-bottom: 1px solid var(--color-border);
}

.promo-row:last-child {
	border-bottom: none;
}

.promo-header {
	background-color: rgba(244, 197, 66, 0.1);
	font-weight: bold;
	border-bottom: 2px solid var(--color-accent);
}

.promo-cell {
	font-size: 13px;
	color: var(--color-text-muted);
}

.promo-header .promo-cell {
	color: var(--color-accent);
	font-weight: bold;
	font-size: 14px;
}

.promotions-details {
	margin-top: 32px;
}

.promotions-details p {
	font-size: 15px;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 16px;
}

.promotions-details ul {
	list-style: none;
	padding-left: 0;
}

.promotions-details li {
	font-size: 14px;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 12px;
	padding-left: 24px;
	position: relative;
}

.promotions-details li::before {
	content: '•';
	position: absolute;
	left: 8px;
	color: var(--color-accent);
	font-weight: bold;
}

/* Welcome Bonus Section */
.bonus-text {
	font-size: 15px;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 16px;
}

.bonus-list {
	list-style: none;
	padding-left: 0;
}

.bonus-list li {
	font-size: 14px;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 12px;
	padding-left: 24px;
	position: relative;
}

.bonus-list li::before {
	content: '•';
	position: absolute;
	left: 8px;
	color: var(--color-accent);
	font-weight: bold;
}

/* Application Section */
.app-text {
	font-size: 15px;
	color: var(--color-text-muted);
	line-height: 1.8;
}

/* Footer */
.footer {
	background-color: var(--color-secondary);
	border-top: 1px solid var(--color-border);
	padding: 64px 32px 32px;
}

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 48px;
}

.logo-icon-large {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, var(--color-accent), #e6b730);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 32px;
	color: var(--color-primary);
}

.logo-text-large {
	display: flex;
	flex-direction: column;
}

.logo-title-large {
	font-size: 28px;
	font-weight: bold;
	letter-spacing: 2px;
}

.logo-subtitle-large {
	font-size: 14px;
	color: var(--color-text-muted);
	letter-spacing: 3px;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 48px;
	margin-bottom: 48px;
}

.footer-column h4 {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 16px;
	color: var(--color-text);
}

.footer-column ul {
	list-style: none;
}

.footer-column li {
	margin-bottom: 8px;
}

.footer-column a {
	color: var(--color-text-muted);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer-column a:hover {
	color: var(--color-teal);
}

.footer-column p {
	font-size: 14px;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 16px;
}

.footer-license {
	padding-top: 32px;
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.footer-license img {
	height: 60px;
}

.footer-license p {
	font-size: 12px;
	color: var(--color-text-muted);
	line-height: 1.6;
	text-align: center;
	max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.hero-title {
		font-size: 42px;
	}

	.section-title-large {
		font-size: 28px;
	}

	.promo-row {
		grid-template-columns: 1fr;
	}

	/* Added responsive styles for CTA block */
	.cta-block {
		padding: 32px 24px;
	}

	.cta-title {
		font-size: 24px;
	}
}

@media (max-width: 768px) {
	.sidebar {
		transform: translateX(-100%);
	}

	.sidebar.active {
		transform: translateX(0);
	}

	.mobile-menu-toggle {
		display: flex;
	}

	.main-content {
		margin-left: 0;
	}

	.top-bar {
		display: none;
	}

	.hero {
		height: 400px;
	}

	.hero-title {
		font-size: 32px;
	}

	.hero-subtitle {
		font-size: 16px;
	}

	.section {
		padding: 48px 20px;
	}

	/* Added responsive styles for text content */
	.text-content {
		max-width: 100%;
	}

	.intro-text {
		font-size: 18px;
	}

	.cta-block {
		padding: 32px 20px;
	}

	.cta-title {
		font-size: 22px;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 28px;
	}

	.btn-cta {
		padding: 14px 32px;
		font-size: 14px;
	}

	.section-title-large {
		font-size: 24px;
	}

	.games-grid {
		grid-template-columns: 100%;
	}

	/* Added responsive styles for smaller screens */
	.intro-text {
		font-size: 16px;
	}

	.cta-title {
		font-size: 20px;
	}

	.cta-description {
		font-size: 14px;
	}
}

.text-content {
	padding: 0;
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.text-content p {
	margin: 0 0 1.2em;
	line-height: 1.6;
}

.text-content strong,
.text-content b {
	font-weight: 600;
}
.text-content em,
.text-content i {
	font-style: italic;
}
.text-content mark {
	background: #fffb91;
	padding: 0 2px;
}
.text-content del {
	text-decoration: line-through;
}
.text-content sup {
	font-size: 0.8em;
	vertical-align: super;
}
.text-content sub {
	font-size: 0.8em;
	vertical-align: sub;
}

.text-content h2,
.text-content h3,
.text-content h4,
.text-content h5,
.text-content h6 {
	margin: 2em 0 1em;
	line-height: 1.3;
}

.text-content ul,
.text-content ol {
	margin: 0 0 1.2em;
	padding-left: 1.5em;
}

.text-content li {
	margin-bottom: 0.4em;
	list-style-position: outside;
}

.text-content dl {
	margin: 1.5em 0;
}
.text-content dt {
	font-weight: 600;
}
.text-content dd {
	margin: 0 0 1em 1.5em;
}

.text-content a {
	text-decoration: underline;
	transition: all 0.2s;
}
.text-content a:hover {
	font-weight: 600;
}

.text-content code {
	background: #f5f5f5;
	padding: 2px 6px;
	border-radius: 4px;
	font-family: Consolas, Monaco, monospace;
	font-size: 0.9em;
}
.text-content pre {
	background: #272822;
	color: #f8f8f2;
	padding: 1em;
	overflow-x: auto;
	border-radius: 6px;
	margin: 1.5em 0;
}
.text-content pre code {
	background: none;
	padding: 0;
	color: inherit;
}

.text-content hr {
	margin: 2em 0;
	border: none;
	border-top: 1px solid var(--color-accent);
}

.text-content img,
.text-content video,
.text-content iframe {
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 1.5em 0;
	display: block;
	border-radius: 6px;
}

.text-content figure {
	margin: 2em 0;
	text-align: center;
}
.text-content figcaption {
	margin-top: 0.5em;
	font-style: italic;
	opacity: 0.8;
}

.text-content blockquote {
	margin: 2em 0;
	padding: 1em 1.5em;
	border-left: 4px solid #ccc;
	background: #f9f9f9;
	border-radius: 4px;
}
.text-content blockquote p:last-child {
	margin-bottom: 0;
}

.text-content > *:last-child {
	margin-bottom: 0;
}

.text-content table {
	width: 100%;
	margin: 2em 0;
	border-collapse: collapse;
	font-size: 0.95em;
}

.text-content th,
.text-content td {
	padding: 0.75em 1em;
	border: 1px solid var(--color-accent);
	text-align: left;
	vertical-align: top;
	word-break: break-word;
}

.text-content th {
	background: rgba(244, 197, 66, 0.1);
	font-weight: 600;
}
.text-content tr:nth-child(even) td {
	background: rgba(244, 197, 66, 0.1);
}
.text-content thead tr {
	border-radius: 10px 10px 0 0;
}
@media (max-width: 767px) {
	.text-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		width: 100%;
		border-radius: 6px;
	}

	.text-content th,
	.text-content td {
		white-space: normal;
		word-break: break-word;
	}

	.text-content li {
		list-style-position: inside;
	}
}

.text-content table.scrollable {
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	white-space: nowrap;
	border-radius: 6px;
}

.text-content table.scrollable th,
.text-content table.scrollable td {
	white-space: nowrap;
	word-break: normal;
}

.text-content table.scrollable::-webkit-scrollbar {
	height: 6px;
}
.text-content table.scrollable::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
}
.text-content table.scrollable::-webkit-scrollbar-track {
	background: transparent;
}

@media (max-width: 480px) {
	.text-content {
		margin: 60px 0;
	}
	.text-content blockquote {
		border-left-width: 3px;
		padding: 0.7em 1em;
	}
}
