/* MyFunPlay - Complete Redesign */
:root {
	--primary: #ec4899;
	--secondary: #be185d;
	--accent: #8b5cf6;
	--success: #10b981;
	--warning: #f59e0b;
	--error: #ef4444;
	--dark: #1e293b;
	--darker: #0f172a;
	--light: #f8fafc;
	--white: #ffffff;
	--gray: #64748b;
	--gray-light: #e2e8f0;
	--shadow: 0 8px 25px rgba(236, 72, 153, 0.1);
	--shadow-hover: 0 15px 35px rgba(236, 72, 153, 0.15);
	--gradient-primary: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
	--gradient-secondary: linear-gradient(
		135deg,
		#48ec9b 0%,
		rgb(1, 113, 78) 100%
	);
	--gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
	--gradient-soft: linear-gradient(135deg, #fdf2f8 0%, #f0f9ff 100%);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 13px !important;
}

/* Responsive font sizing */
@media (max-width: 768px) {
	html {
		font-size: 12px !important;
	}
}

@media (max-width: 480px) {
	html {
		font-size: 11px !important;
	}
}

body {
	font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	background: var(--light);
	color: var(--dark);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
}

h1 {
	font-size: 3.5rem;
}
h2 {
	font-size: 3rem;
}
h3 {
	font-size: 2.5rem;
}
h4 {
	font-size: 1.7rem;
}

p {
	font-size: 1.2rem;
	margin-bottom: 1rem;
}

/* Navigation */
.navbar {
	background: var(--white);
	box-shadow: var(--shadow);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 1.2rem 0;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	animation: slideDown 0.6s ease-out;
	cursor: pointer !important;
}

@keyframes slideDown {
	from {
		transform: translateY(-100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.navbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.navbar-brand {
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--primary);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	z-index: 1001;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand:hover {
	transform: scale(1.05);
	color: var(--secondary);
}

.navbar-brand img {
	width: 82px;
	height: auto;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand:hover img {
	transform: rotate(5deg) scale(1.1);
}

.navbar-toggle {
	display: none;
	flex-direction: column;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 1002;
	transition: all 0.3s ease;
}

.navbar-toggle:hover {
	transform: scale(1.1);
}

.navbar-toggle-icon {
	width: 25px;
	height: 3px;
	background: var(--primary);
	margin: 3px 0;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.navbar-toggle.active .navbar-toggle-icon:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active .navbar-toggle-icon:nth-child(2) {
	opacity: 0;
}

.navbar-toggle.active .navbar-toggle-icon:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

.navbar-nav {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-link {
	color: var(--dark);
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	padding: 0.7rem 1.2rem;
	border-radius: 20px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.nav-link:hover {
	color: var(--primary);
	text-decoration: none;
	transform: translateY(-2px);
}

.nav-link.active {
	background: var(--gradient-primary);
	color: var(--white);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4);
	}
	50% {
		box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
	}
}

.cta-button {
	background: var(--gradient-accent);
	color: var(--white);
	padding: 0.8rem 2.2rem;
	border-radius: 20px;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: var(--shadow);
	display: inline-block;
	position: relative;
	overflow: hidden;
}

.cta-button::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: left 0.5s;
}

.cta-button:hover::before {
	left: 100%;
}

.cta-button:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: var(--shadow-hover);
	color: var(--white);
	text-decoration: none;
}

/* Hero Section */
.hero {
	background: var(--darker);
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 120px 0 80px;
	position: relative;
	overflow: hidden;
	animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
	animation: float 6s ease-in-out infinite;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
}

.hero-content {
	position: relative;
	z-index: 2;
	color: var(--white);
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	animation: slideInUp 1.2s ease-out 0.3s both;
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero p {
	font-size: 1.4rem;
	margin-bottom: 2rem;
	opacity: 0.9;
	animation: fadeIn 1.5s ease-out 0.6s both;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 0.9;
	}
}

.hero-buttons {
	display: flex;
	gap: 1.2rem;
	justify-content: center;
	flex-wrap: wrap;
	animation: fadeInUp 1.8s ease-out 0.9s both;
}

.btn-primary {
	background: var(--gradient-primary);
	color: var(--white);
	padding: 1.2rem 3rem;
	border: none;
	border-radius: 20px;
	font-size: 1.2rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: var(--shadow);
	text-decoration: none;
	line-height: 2.2rem;
	display: inline-block;
	position: relative;
	overflow: hidden;
}

.btn-primary::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: left 0.5s;
}

.btn-primary:hover::before {
	left: 100%;
}

.btn-primary:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: var(--shadow-hover);
}

.btn-secondary {
	background: transparent;
	color: var(--white);
	padding: 1.2rem 3rem;
	border: 2px solid var(--white);
	border-radius: 20px;
	font-size: 1.2rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-decoration: none;
	display: inline-block;
}

.btn-secondary:hover {
	background: var(--white);
	color: var(--dark);
	text-decoration: none;
	transform: translateY(-3px) scale(1.05);
}

/* Features Section */
.features {
	padding: 100px 0;
	background: var(--white);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2.5rem;
	margin-top: 3rem;
}

.feature-card {
	background: var(--white);
	padding: 2.8rem;
	border-radius: 16px;
	text-align: center;
	box-shadow: var(--shadow);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid var(--gray-light);
	position: relative;
	overflow: hidden;
}

.feature-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--gradient-primary);
	transform: scaleX(0);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
	transform: scaleX(1);
}

.feature-card:hover {
	transform: translateY(-15px) scale(1.02);
	box-shadow: var(--shadow-hover);
}

.feature-icon {
	width: 90px;
	height: 90px;
	background: var(--gradient-primary);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.8rem;
	font-size: 2.2rem;
	color: var(--white);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
	0% {
		opacity: 0;
		transform: scale(0.3);
	}
	50% {
		opacity: 1;
		transform: scale(1.05);
	}
	70% {
		transform: scale(0.9);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.feature-card:hover .feature-icon {
	transform: rotate(360deg) scale(1.1);
	background: var(--gradient-secondary);
}

.feature-card h3 {
	color: var(--dark);
	margin-bottom: 1.2rem;
	font-size: 1.4rem;
	transition: color 0.3s ease;
}

.feature-card:hover h3 {
	color: var(--primary);
}

.feature-card p {
	color: var(--gray);
	font-size: 1.1rem;
}

/* Games Section */
.games-section {
	padding: 100px 0;
	background: var(--light);
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
	margin-top: 3rem;
}

.game-card {
	background: var(--white);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	animation: fadeInUp 0.8s ease-out;
}

.game-card:nth-child(1) {
	animation-delay: 0.1s;
}
.game-card:nth-child(2) {
	animation-delay: 0.2s;
}
.game-card:nth-child(3) {
	animation-delay: 0.3s;
}
.game-card:nth-child(4) {
	animation-delay: 0.4s;
}
.game-card:nth-child(5) {
	animation-delay: 0.5s;
}
.game-card:nth-child(6) {
	animation-delay: 0.6s;
}

.game-card:hover {
	transform: translateY(-15px) scale(1.03);
	box-shadow: var(--shadow-hover);
}

.game-image {
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover .game-image {
	transform: scale(1.1);
}

.game-content {
	padding: 1.8rem;
}

.game-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 0.8rem;
	transition: color 0.3s ease;
}

.game-card:hover .game-title {
	color: var(--primary);
}

.game-description {
	color: var(--gray);
	margin-bottom: 1.2rem;
	font-size: 1rem;
}

.game-button {
	background: var(--gradient-primary);
	color: var(--white);
	padding: 0.9rem 1.8rem;
	border: none;
	border-radius: 20px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	width: 100%;
	position: relative;
	overflow: hidden;
}

.game-button::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: left 0.5s;
}

.game-button:hover::before {
	left: 100%;
}

.game-button:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: var(--shadow);
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
	animation: fadeIn 0.3s ease-out;
}

.modal-content {
	background-color: var(--white);
	margin: 2% auto;
	padding: 0;
	border-radius: 16px;
	width: 90%;
	max-width: 1000px;
	max-height: 90vh;
	overflow: hidden;
	position: relative;
	animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-50px) scale(0.9);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.modal-header {
	background: var(--gradient-primary);
	color: var(--white);
	padding: 1.8rem 2.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-title {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0;
}

.close {
	color: var(--white);
	font-size: 2.2rem;
	font-weight: bold;
	cursor: pointer;
	background: none;
	border: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.close:hover {
	transform: scale(1.1) rotate(90deg);
}

.modal-body {
	padding: 0;
}

.game-iframe {
	width: 100%;
	height: 70vh;
	border: none;
	border-radius: 0 0 16px 16px;
}

/* About Section */
.about-section {
	padding: 100px 0;
	background: var(--white);
}

.about-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	animation: fadeInUp 1s ease-out;
	font-size: 1.2rem !important;
}

.about-content p {
	font-size: 1.2rem !important;
}

.about-icon {
	width: 150px;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 2.5rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	animation: float 3s ease-in-out infinite;
}

.about-icon:hover img {
	transform: scale(1.1) rotate(5deg);
}

.about-icon img {
	width: 100%;
	height: auto;
}

/* Contact Section */
.contact-section {
	padding: 100px 0;
	background: var(--light);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.5rem;
	margin-top: 3rem;
}

.contact-info {
	background: var(--white);
	padding: 2.5rem;
	border-radius: 16px;
	box-shadow: var(--shadow);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.contact-info:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
}

.contact-info h3 {
	color: var(--primary);
	margin-bottom: 1.8rem;
	font-size: 1.6rem;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-bottom: 1.2rem;
	padding: 1.2rem;
	background: var(--gray-light);
	border-radius: 12px;
	transition: all 0.3s ease;
}

.contact-item:hover {
	background: var(--gradient-soft);
	transform: translateX(10px);
}

.contact-item .contact-icon {
	padding: 0 2rem;
}

.contact-item .contact-icon i {
	color: var(--primary);
	font-size: 4rem;
	transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
	transform: scale(1.2);
	color: var(--secondary);
}

.contact-form {
	background: var(--white);
	padding: 2.5rem;
	border-radius: 16px;
	box-shadow: var(--shadow);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.contact-form:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
}

.form-group {
	margin-bottom: 1.8rem;
}

.form-label {
	display: block;
	margin-bottom: 0.7rem;
	font-weight: 600;
	color: var(--dark);
	font-size: 1.1rem;
}

.form-control {
	width: 100%;
	padding: 1.2rem;
	border: 2px solid var(--gray-light);
	border-radius: 12px;
	font-size: 1.1rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
	transform: scale(1.02);
}

/* Footer */
.footer {
	background: var(--darker);
	color: var(--white);
	padding: 70px 0 40px;
}

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

.footer-section h4 {
	color: var(--accent);
	margin-bottom: 1.2rem;
	font-size: 1.3rem;
	transition: color 0.3s ease;
}

.footer-section:hover h4 {
	color: var(--primary);
}

.footer-section a {
	color: var(--gray-light);
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 1rem;
}

.footer-section a:hover {
	color: var(--accent);
	transform: translateX(5px);
}

.footer-bottom {
	border-top: 1px solid var(--gray);
	padding-top: 2.5rem;
	text-align: center;
	color: var(--gray-light);
}

/* Cookie Consent */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--darker);
	color: var(--white);
	padding: 1.8rem;
	z-index: 10000;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
	animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
	from {
		transform: translateY(100%);
	}
	to {
		transform: translateY(0);
	}
}

.cookie-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
}

.cookie-text {
	flex: 1;
	font-size: 1.1rem;
}

.cookie-buttons {
	display: flex;
	gap: 1.2rem;
	align-items: center;
}

.cookie-accept {
	background: var(--gradient-primary);
	color: var(--white);
	border: none;
	padding: 0.9rem 1.8rem;
	border-radius: 20px;
	cursor: pointer;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.cookie-accept::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: left 0.5s;
}

.cookie-accept:hover::before {
	left: 100%;
}

.cookie-accept:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: var(--shadow);
}

.cookie-policy {
	color: var(--accent);
	text-decoration: underline;
	transition: color 0.3s ease;
}

.cookie-policy:hover {
	color: var(--primary);
}

/* Alert Messages */
.alert {
	padding: 1.2rem 1.8rem;
	border-radius: 12px;
	margin-bottom: 1.2rem;
	border: none;
	font-weight: 500;
	font-size: 1.1rem;
	animation: slideInRight 0.5s ease-out;
}

.alert-info {
	background: rgba(16, 185, 129, 0.1);
	color: var(--secondary);
	border-left: 4px solid var(--secondary);
}

.alert-success {
	background: rgba(16, 185, 129, 0.1);
	color: var(--success);
	border-left: 4px solid var(--success);
}

.alert-error {
	background: rgba(239, 68, 68, 0.1);
	color: var(--error);
	border-left: 4px solid var(--error);
}

/* Additional Design Elements */
.game-image-container {
	position: relative;
	overflow: hidden;
}

.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.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.play-button {
	background: var(--gradient-primary);
	color: var(--white);
	border: none;
	padding: 1.2rem 2.5rem;
	border-radius: 20px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	gap: 0.6rem;
	position: relative;
	overflow: hidden;
}

.play-button::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: left 0.5s;
}

.play-button:hover::before {
	left: 100%;
}

.play-button:hover {
	transform: scale(1.1);
	box-shadow: var(--shadow-hover);
}

.game-tags {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-top: 1.2rem;
}

.game-tag {
	background: var(--gradient-accent);
	color: var(--white);
	padding: 0.3rem 0.9rem;
	border-radius: 12px;
	font-size: 0.85rem;
	font-weight: 600;
	transition: all 0.3s ease;
}

.game-tag:hover {
	transform: scale(1.1);
	background: var(--gradient-primary);
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	margin-top: 2.5rem;
}

.category-card {
	background: var(--white);
	padding: 2.5rem;
	border-radius: 16px;
	text-align: center;
	box-shadow: var(--shadow);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid var(--gray-light);
	position: relative;
	overflow: hidden;
}

.category-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--gradient-secondary);
	transform: scaleX(0);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover::before {
	transform: scaleX(1);
}

.category-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: var(--shadow-hover);
}

.category-card i {
	font-size: 2.8rem;
	color: var(--primary);
	margin-bottom: 1.2rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover i {
	transform: scale(1.2) rotate(5deg);
	color: var(--secondary);
}

.category-card h4 {
	color: var(--dark);
	margin-bottom: 0.8rem;
	font-size: 1.3rem;
	transition: color 0.3s ease;
}

.category-card:hover h4 {
	color: var(--primary);
}

.category-card p {
	color: var(--gray);
	font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.navbar-toggle {
		display: flex;
	}

	.navbar-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100vh;
		background: var(--white);
		flex-direction: column;
		gap: 0;
		padding: 80px 2rem 2rem;
		box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
		transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: 1001;
		overflow-y: auto;
	}

	.navbar-nav.active {
		right: 0;
	}

	.navbar-nav li {
		width: 100%;
		margin-bottom: 0.5rem;
	}

	.nav-link {
		display: block;
		width: 100%;
		padding: 1rem 1.5rem;
		border-radius: 12px;
		text-align: left;
		font-size: 1.1rem;
		border: 1px solid transparent;
		transition: all 0.3s ease;
	}

	.nav-link:hover {
		background: var(--gradient-soft);
		border-color: var(--primary);
		transform: none;
	}

	.nav-link.active {
		background: var(--gradient-primary);
		border-color: var(--primary);
	}

	.cta-button {
		width: 100%;
		text-align: center;
		margin-top: 1rem;
	}

	.hero h1 {
		font-size: 3rem;
	}

	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.cookie-content {
		flex-direction: column;
		text-align: center;
	}

	.modal-content {
		width: 95%;
		margin: 5% auto;
	}

	.game-iframe {
		height: 60vh;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.games-grid {
		grid-template-columns: 1fr;
	}

	.categories-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.navbar-nav {
		width: 100%;
		right: -100%;
	}

	.navbar .container {
		display: block;
		padding: 0 1rem;
	}

	.navbar-brand {
		font-size: 1.8rem;
	}

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

	.hero h1 {
		font-size: 2.5rem;
	}

	.hero p {
		font-size: 1.1rem;
	}

	.container {
		padding: 0 1rem;
	}
}

/* Legal Pages Styling */
.hero.legal-hero {
	min-height: 40vh;
	padding: 120px 0 60px;
}

.about-content.legal-content {
	text-align: left;
	max-width: 900px;
}

.policy-section h3 {
	margin-top: 2.5rem;
	margin-bottom: 1.2rem;
	color: var(--dark);
}

.policy-section h3:first-child {
	margin-top: 0;
}

.policy-section h4 {
	margin-top: 1.8rem;
	margin-bottom: 0.8rem;
	color: var(--primary);
	font-size: 1.3rem;
}

.policy-section p {
	margin-bottom: 1.2rem;
	line-height: 1.7;
}

.policy-section ul {
	margin-left: 2rem;
	margin-bottom: 1.5rem;
}

.policy-section li {
	margin-bottom: 0.5rem;
	line-height: 1.6;
}

.policy-table {
	margin: 2rem 0;
}

.policy-table table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow);
}

.policy-table thead tr {
	background: var(--gradient-primary);
	color: var(--white);
}

.policy-table th {
	padding: 1rem;
	text-align: left;
	font-weight: 600;
}

.policy-table tbody tr {
	border-bottom: 1px solid var(--gray-light);
}

.policy-table tbody tr:last-child {
	border-bottom: none;
}

.policy-table td {
	padding: 1rem;
}

.contact-details {
	padding: 1.5rem;
	border-radius: 12px;
	margin: 1.5rem 0;
}

.contact-details p {
	margin-bottom: 0.5rem;
}

.contact-details p:last-child {
	margin-bottom: 0;
}

.contact-details a {
	color: var(--primary);
	text-decoration: none;
	transition: color 0.3s ease;
}

.contact-details a:hover {
	color: var(--secondary);
}

.legal-date {
	font-size: 1rem;
	opacity: 0.8;
}

/* Games, Contacts and About Pages Styling */
.hero.games-hero {
	min-height: 40vh;
	padding: 120px 0 60px;
}

.hero.about-hero {
	min-height: 40vh;
	padding: 120px 0 60px;
}

.hero.contacts-hero {
	min-height: 40vh;
	padding: 120px 0 60px;
}

.games-section.games-page {
	padding: 80px 0;
}

.features-grid.about-features {
	margin: 3rem 0;
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0;
}

.value-card {
	background: var(--light);
	padding: 1.5rem;
	border-radius: 15px;
	border-left: 4px solid var(--primary);
	transition: all 0.3s ease;
}

.value-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
}

.value-card.accessibility {
	border-left-color: var(--primary);
}

.value-card.community {
	border-left-color: var(--accent);
}

.value-card.quality {
	border-left-color: var(--secondary);
}

.value-card.safety {
	border-left-color: var(--success);
}

.value-card h4 {
	margin-bottom: 0.5rem;
	font-size: 1.2rem;
}

.value-card.accessibility h4 {
	color: var(--primary);
}

.value-card.community h4 {
	color: var(--accent);
}

.value-card.quality h4 {
	color: var(--secondary);
}

.value-card.safety h4 {
	color: var(--success);
}

.value-card p {
	margin: 0;
	color: var(--gray);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Utility Classes */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.text-center {
	text-align: center;
}
.mb-3 {
	margin-bottom: 1.2rem;
}
.mb-4 {
	margin-bottom: 1.8rem;
}
.mb-5 {
	margin-bottom: 3.5rem;
}
.mt-3 {
	margin-top: 1.2rem;
}
.mt-4 {
	margin-top: 1.8rem;
}
.mt-5 {
	margin-top: 3.5rem;
}
.py-5 {
	padding: 3.5rem 0;
}
.bg-light {
	background-color: var(--light);
}
.text-white {
	color: var(--white);
}
.text-muted {
	color: var(--gray);
}
