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

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: #030003 url(bg.webp) top center fixed;
	background-repeat: repeat-y;
	color: #CCCDD7;
	line-height: 1.6;
	font-size: 14px;
}

a {
	color: #B4BFD2;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #A97AD0;
}

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

/* Header */
.main-header {
	background: rgba(21, 21, 27, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 15px 0;
}

.header-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.logo-section {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-link {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-img {
	height: 40px;
	width: auto;
}

.logo-text {
    color: #fff;
	font-size: 20px;
	font-weight: 600;
}

/* Navigation */
.main-nav {
	flex: 1;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 5px;
	flex-wrap: wrap;
	justify-content: center;
}

.nav-item {
	position: relative;
}

.nav-link {
	color: #B4BFD2;
	padding: 10px 15px;
	display: block;
	font-size: 14px;
	border-radius: 5px;
	transition: all 0.3s ease;
}

.nav-link:hover {
    color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.nav-item.has-dropdown .arrow {
	font-size: 10px;
	margin-left: 5px;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: rgba(21, 21, 27, 0.98);
	min-width: 200px;
	padding: 10px 0;
    border-radius: 5px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	list-style: none;
	z-index: 100;
}

.nav-item.active .dropdown-menu,
.nav-item:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-menu li {
	margin: 0;
}

.dropdown-menu a {
	color: #B4BFD2;
	padding: 10px 20px;
    display: block;
	font-size: 13px;
}

.dropdown-menu a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

/* Header Actions */
.header-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

.btn {
	padding: 10px 20px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 500;
    cursor: pointer;
	border: none;
	transition: all 0.3s ease;
	text-align: center;
	display: inline-block;
}

.btn-primary {
	background: #0B99F7;
	color: #fff;
}

.btn-primary:hover {
	background: #0a8ae6;
	color: #fff;
}

.btn-secondary {
	background: transparent;
	color: #B4BFD2;
	border: 1px solid #B4BFD2;
}

.btn-secondary:hover {
	color: #fff;
	border-color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: transparent;
    border: none;
	cursor: pointer;
	padding: 5px;
}

.mobile-menu-toggle span {
	width: 25px;
	height: 3px;
	background: #B4BFD2;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Promotions Section */
.promotions-section {
	background: rgba(21, 21, 27, 0.8);
	padding: 20px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.promotions-container {
	max-width: 1400px;
	margin: 0 auto;
    padding: 0 20px;
}

.promo-slider {
	display: flex;
	gap: 15px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.promo-item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px 20px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	min-width: 280px;
	opacity: 0.5;
	transform: scale(0.95);
	transition: all 0.3s ease;
	scroll-snap-align: start;
}

.promo-item.active {
	opacity: 1;
	transform: scale(1);
	background: rgba(11, 153, 247, 0.2);
	border: 1px solid rgba(11, 153, 247, 0.5);
}

.promo-icon {
	font-size: 32px;
}

.promo-content h3 {
	color: #fff;
	font-size: 16px;
	margin-bottom: 5px;
}

.promo-content p {
	color: #B4BFD2;
	font-size: 13px;
}

/* Main Content */
.main-content {
	max-width: 1400px;
    margin: 0 auto;
	padding: 30px 20px;
}

/* Game Tabs */
.game-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	flex-wrap: wrap;
	overflow-x: auto;
	padding-bottom: 10px;
}

.tab-btn {
	padding: 10px 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 5px;
	color: #B4BFD2;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.tab-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.tab-btn.active {
	background: #0B99F7;
	border-color: #0B99F7;
	color: #fff;
}

/* Games Section */
.games-section {
	margin-bottom: 50px;
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid rgba(11, 153, 247, 0.3);
}

.section-title {
	color: #fff;
	font-size: 24px;
	font-weight: 600;
}

.games-count {
	color: #B4BFD2;
	font-size: 14px;
	background: rgba(255, 255, 255, 0.1);
	padding: 5px 12px;
	border-radius: 15px;
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
}

.game-card {
	background: rgba(21, 21, 27, 0.6);
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	cursor: pointer;
}

.game-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.game-image {
    position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 aspect ratio */
	overflow: hidden;
	background: #000;
}

.game-image img {
    position: absolute;
	top: 0;
	left: 0;
    width: 100%;
    height: 100%;
	object-fit: cover;
}

.game-overlay {
	position: absolute;
	top: 0;
    left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
	opacity: 1;
}

.play-btn {
	padding: 12px 30px;
	background: #0B99F7;
	color: #fff !important;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.play-btn:hover {
	background: #0a8ae6;
	transform: scale(1.05);
	color: #fff !important;
}

.game-info {
	padding: 15px;
}

.game-name {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 5px;
}

.game-provider {
	color: #B4BFD2;
	font-size: 12px;
}

/* Registration Section */
.registration-section {
	background: rgba(21, 21, 27, 0.8);
	border-radius: 10px;
	padding: 40px;
	margin: 50px 0;
}

.registration-container {
	max-width: 500px;
	margin: 0 auto;
}

.registration-title {
	color: #fff;
	font-size: 28px;
	text-align: center;
	margin-bottom: 30px;
}

.registration-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group label {
	color: #B4BFD2;
	font-size: 14px;
	font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select {
	padding: 12px 15px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 5px;
	color: #fff;
	font-size: 14px;
	width: 100%;
	transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
	outline: none;
	border-color: #0B99F7;
	background: rgba(255, 255, 255, 0.15);
}

.form-group input[type="checkbox"] {
	width: auto;
	margin-right: 8px;
}

.phone-input {
	display: flex;
	align-items: center;
}

.phone-prefix {
	padding: 12px 10px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-right: none;
	border-radius: 5px 0 0 5px;
	color: #B4BFD2;
}

.phone-input input {
	border-radius: 0 5px 5px 0;
}

.btn-large {
	padding: 15px 30px;
	font-size: 16px;
    width: 100%;
}

.form-footer {
	text-align: center;
	color: #B4BFD2;
	font-size: 14px;
}

.form-footer a {
	color: #0B99F7;
}

.social-login {
	text-align: center;
	margin: 20px 0;
}

.social-login p {
	color: #B4BFD2;
	margin-bottom: 10px;
	font-size: 14px;
}

.btn-social {
	width: 100%;
	padding: 12px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	border-radius: 5px;
    cursor: pointer;
	transition: all 0.3s ease;
}

.btn-social:hover {
	background: rgba(255, 255, 255, 0.2);
}

.form-agreement {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.form-agreement label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: #B4BFD2;
	font-size: 12px;
	line-height: 1.5;
}

.form-agreement a {
	color: #0B99F7;
}

/* Footer */
.main-footer {
	background: rgba(5, 5, 5, 0.95);
	padding: 50px 20px 20px;
	margin-top: 50px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.footer-section h3.footer-title {
	color: #fff;
	font-size: 18px;
	margin-bottom: 15px;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: #B4BFD2;
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: #0B99F7;
}

.contact-info {
	margin-bottom: 20px;
}

.contact-info p {
	color: #B4BFD2;
	font-size: 14px;
	margin-bottom: 10px;
	line-height: 1.6;
}

.contact-info strong {
	color: #fff;
	display: block;
	margin-bottom: 5px;
}

.contact-info a {
	color: #0B99F7;
}

.social-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.social-link {
	padding: 8px 15px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 5px;
	color: #B4BFD2;
	font-size: 13px;
	transition: all 0.3s ease;
}

.social-link:hover {
	background: rgba(11, 153, 247, 0.2);
	color: #0B99F7;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 30px;
	text-align: center;
}

.footer-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
}

.footer-logo img {
	height: 30px;
}

.footer-logo span {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
}

.footer-text {
	color: #616C81;
	font-size: 12px;
	line-height: 1.8;
	max-width: 900px;
	margin: 0 auto;
}

.footer-text p {
	margin-bottom: 15px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
	.header-container {
		flex-wrap: wrap;
	}

	.main-nav {
		order: 3;
		width: 100%;
		margin-top: 15px;
	}

	.nav-menu {
		flex-direction: column;
		display: none;
	}

	.main-nav.active .nav-menu {
		display: flex;
	}

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

	.games-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 15px;
	}
}

@media screen and (max-width: 768px) {
	body {
		font-size: 13px;
	}

	.header-container {
		padding: 10px 15px;
	}

	.logo-text {
		font-size: 16px;
	}

	.btn {
		padding: 8px 15px;
		font-size: 12px;
	}

	.promotions-section {
		padding: 15px 0;
	}

	.promo-item {
		min-width: 250px;
	}

	.main-content {
		padding: 20px 15px;
	}

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

	.games-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 12px;
	}

	.registration-section {
		padding: 25px 20px;
	}

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

	.footer-content {
		grid-template-columns: 1fr;
		gap: 25px;
	}
}

@media screen and (max-width: 480px) {
	.header-actions {
		flex-direction: column;
		width: 100%;
		gap: 8px;
	}

	.btn {
		width: 100%;
	}

	.game-tabs {
		gap: 8px;
	}

	.tab-btn {
		padding: 8px 15px;
		font-size: 12px;
	}

	.games-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.game-info {
		padding: 10px;
	}

	.game-name {
		font-size: 14px;
	}

	.game-provider {
		font-size: 11px;
	}
}

/* Scrollbar Styling */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: rgba(21, 21, 27, 0.5);
}

::-webkit-scrollbar-thumb {
	background: rgba(11, 153, 247, 0.5);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: rgba(11, 153, 247, 0.7);
}
