/* SocialFunGames.org - Norwegian Modern Gaming Design */

/* CSS Variables */
:root {
	--socialfungames-primary: #1e40af;
	--socialfungames-primary-dark: #1e3a8a;
	--socialfungames-secondary: #dc2626;
	--socialfungames-accent: #f59e0b;
	--socialfungames-success: #10b981;
	--socialfungames-warning: #f59e0b;
	--socialfungames-error: #ef4444;

	--socialfungames-gray-50: #f8fafc;
	--socialfungames-gray-100: #f1f5f9;
	--socialfungames-gray-200: #e2e8f0;
	--socialfungames-gray-300: #cbd5e1;
	--socialfungames-gray-400: #94a3b8;
	--socialfungames-gray-500: #64748b;
	--socialfungames-gray-600: #475569;
	--socialfungames-gray-700: #334155;
	--socialfungames-gray-800: #1e293b;
	--socialfungames-gray-900: #0f172a;

	--socialfungames-white: #ffffff;
	--socialfungames-black: #000000;

	--socialfungames-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--socialfungames-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
		0 1px 2px 0 rgba(0, 0, 0, 0.06);
	--socialfungames-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
		0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--socialfungames-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
		0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--socialfungames-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);

	--socialfungames-gradient-primary: linear-gradient(
		135deg,
		var(--socialfungames-primary) 0%,
		var(--socialfungames-secondary) 100%
	);
	--socialfungames-gradient-accent: linear-gradient(
		135deg,
		var(--socialfungames-accent) 0%,
		var(--socialfungames-primary) 100%
	);
	--socialfungames-gradient-norway: linear-gradient(
		135deg,
		#1e40af 0%,
		#dc2626 100%
	);

	--socialfungames-border-radius: 12px;
	--socialfungames-border-radius-lg: 16px;
	--socialfungames-border-radius-xl: 24px;

	--socialfungames-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--socialfungames-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
	scroll-behavior: smooth;
	font-size: 16px !important;
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: var(--socialfungames-gray-800);
	background-color: var(--socialfungames-gray-50);
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	color: var(--socialfungames-gray-900);
	margin-bottom: 1rem;
}

h1 {
	font-size: clamp(2rem, 5vw, 2.5rem);
}
h2 {
	font-size: clamp(1.5rem, 4vw, 2rem);
}
h3 {
	font-size: clamp(1.25rem, 3vw, 1.5rem);
}
h4 {
	font-size: clamp(1rem, 2.5vw, 1.1rem);
}

p {
	margin-bottom: 1rem;
	color: var(--socialfungames-gray-700);
}

/* Navigation */
.socialfungames-navbar {
	background: var(--socialfungames-white);
	box-shadow: var(--socialfungames-shadow-md);
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 1rem 0;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.socialfungames-navbar::-webkit-scrollbar {
	display: none;
}

.socialfungames-navbar-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.socialfungames-navbar-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--socialfungames-gray-900);
	font-weight: 700;
	font-size: 1.25rem;
}

.socialfungames-navbar-logo {
	height: 60px;
	width: auto;
	margin-right: 0.75rem;
}

.socialfungames-navbar-menu {
	display: flex;
	list-style: none;
	align-items: center;
	gap: 2rem;
	margin-bottom: 0;
}

.socialfungames-navbar-link {
	text-decoration: none;
	color: var(--socialfungames-gray-700);
	font-weight: 500;
	transition: var(--socialfungames-transition);
	padding: 0.5rem 1rem;
	border-radius: var(--socialfungames-border-radius);
}

.socialfungames-navbar-link:hover {
	color: var(--socialfungames-primary);
	background-color: var(--socialfungames-gray-100);
}

.socialfungames-navbar-link.active {
	color: var(--socialfungames-white) !important;
	background: var(--socialfungames-gradient-primary);
	border-radius: var(--socialfungames-border-radius);
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.socialfungames-navbar-cta {
	background: var(--socialfungames-gradient-primary);
	color: var(--socialfungames-white) !important;
	padding: 0.75rem 1.5rem;
	border-radius: var(--socialfungames-border-radius);
	text-decoration: none;
	font-weight: 600;
	transition: var(--socialfungames-transition);
	box-shadow: var(--socialfungames-shadow);
}

.socialfungames-navbar-cta:hover {
	transform: translateY(-2px);
	box-shadow: var(--socialfungames-shadow-lg);
}

.socialfungames-navbar-toggle {
	display: none;
	flex-direction: column;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}

.socialfungames-navbar-toggle-bar {
	width: 25px;
	height: 3px;
	background-color: var(--socialfungames-gray-700);
	margin: 3px 0;
	transition: var(--socialfungames-transition);
	border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
	.socialfungames-navbar-toggle {
		display: flex;
		z-index: 10000;
		position: relative;
		background: var(--socialfungames-white);
		border-radius: 12px;
		padding: 0.75rem;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.socialfungames-navbar-toggle:hover {
		transform: scale(1.05);
		box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	}

	.socialfungames-navbar-menu {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.95) 0%,
			rgba(248, 250, 252, 0.95) 100%
		);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		flex-direction: column;
		padding: 0;
		box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
		transform: translateX(-100%);
		opacity: 0;
		visibility: hidden;
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: 9999;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.socialfungames-navbar-menu::-webkit-scrollbar {
		display: none;
	}

	.socialfungames-navbar-menu.active {
		transform: translateX(0);
		opacity: 1;
		visibility: visible;
	}

	/* Mobile menu header gradient */
	.socialfungames-navbar-menu::after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 120px;
		background: var(--socialfungames-gradient-primary);
		z-index: -1;
	}

	.socialfungames-navbar-link {
		display: block;
		padding: 1.25rem 2.5rem;
		font-size: 1.25rem;
		font-weight: 600;
		border-radius: 16px;
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		position: relative;
		overflow: hidden;
		min-width: 220px;
		text-align: center;
		color: var(--socialfungames-gray-800);
		background: rgba(255, 255, 255, 0.9);
		border: 2px solid transparent;
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		margin: 0.5rem 0;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	}

	.socialfungames-navbar-link::before {
		content: "";
		position: absolute;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100%;
		background: var(--socialfungames-gradient-primary);
		transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: -1;
	}

	.socialfungames-navbar-link:hover {
		color: var(--socialfungames-white);
		transform: translateY(-3px) scale(1.05);
		box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
		border-color: var(--socialfungames-primary);
	}

	.socialfungames-navbar-link:hover::before {
		left: 0;
	}

	.socialfungames-navbar-link.active {
		background: var(--socialfungames-gradient-primary) !important;
		color: var(--socialfungames-white) !important;
		font-weight: 700;
		box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
		transform: translateY(-2px) scale(1.02);
		border-color: var(--socialfungames-primary);
	}

	.socialfungames-navbar-link.active::before {
		left: 0;
	}

	.socialfungames-navbar-cta {
		margin-top: 2rem;
		padding: 1.5rem 3rem;
		display: block;
		font-size: 1.25rem;
		font-weight: 700;
		background: var(--socialfungames-gradient-accent);
		color: var(--socialfungames-white);
		border-radius: 20px;
		box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		position: relative;
		overflow: hidden;
		min-width: 260px;
		border: none;
	}

	.socialfungames-navbar-cta::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;
	}

	.socialfungames-navbar-cta:hover {
		transform: translateY(-3px) scale(1.05);
		box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
	}

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

	.socialfungames-navbar-toggle.active
		.socialfungames-navbar-toggle-bar:nth-child(1) {
		transform: rotate(45deg) translate(6px, 6px);
		background-color: var(--socialfungames-primary);
	}

	.socialfungames-navbar-toggle.active
		.socialfungames-navbar-toggle-bar:nth-child(2) {
		opacity: 0;
		transform: scaleX(0);
	}

	.socialfungames-navbar-toggle.active
		.socialfungames-navbar-toggle-bar:nth-child(3) {
		transform: rotate(-45deg) translate(6px, -6px);
		background-color: var(--socialfungames-primary);
	}

	/* Mobile menu backdrop with blur */
	.socialfungames-navbar-menu::before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #f8fafc;
		backdrop-filter: blur(5px);
		-webkit-backdrop-filter: blur(5px);
		opacity: 0;
		visibility: hidden;
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: -1;
	}

	.socialfungames-navbar-menu.active::before {
		opacity: 1;
		visibility: visible;
	}

	/* Staggered animation for menu items */
	.socialfungames-navbar-menu li {
		opacity: 0;
		transform: translateX(-30px);
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.socialfungames-navbar-menu.active li:nth-child(1) {
		opacity: 1;
		transform: translateX(0);
		transition-delay: 0.1s;
	}

	.socialfungames-navbar-menu.active li:nth-child(2) {
		opacity: 1;
		transform: translateX(0);
		transition-delay: 0.2s;
	}

	.socialfungames-navbar-menu.active li:nth-child(3) {
		opacity: 1;
		transform: translateX(0);
		transition-delay: 0.3s;
	}
}

/* Container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* Sections */
.section {
	padding: 4rem 0;
}

.section-sm {
	padding: 2rem 0;
}

/* Hero Section */
.socialfungames-hero {
	background: var(--socialfungames-gradient-norway);
	color: var(--socialfungames-white);
	text-align: center;
	padding: 6rem 0;
	position: relative;
	overflow: hidden;
}

.socialfungames-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="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
}

.socialfungames-hero-content {
	position: relative;
	z-index: 1;
}

.socialfungames-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.2);
	padding: 0.75rem 1.5rem;
	border-radius: var(--socialfungames-border-radius-xl);
	margin-bottom: 2rem;
	backdrop-filter: blur(10px);
}

.socialfungames-hero-title {
	margin-bottom: 1.5rem;
	color: var(--socialfungames-white);
}

.socialfungames-contact-hero-subtitle,
.socialfungames-contact-hero-date,
.socialfungames-hero-subtitle {
	color: var(--socialfungames-white);
}

.socialfungames-hero-subtitle {
	font-size: 1.25rem;
	margin-bottom: 2.5rem;
	opacity: 0.9;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.socialfungames-hero-cta {
	display: inline-block;
	background: var(--socialfungames-white);
	color: var(--socialfungames-primary);
	padding: 1rem 2rem;
	border-radius: var(--socialfungames-border-radius);
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: var(--socialfungames-transition);
	box-shadow: var(--socialfungames-shadow-lg);
}

.socialfungames-hero-cta:hover {
	transform: translateY(-3px);
	box-shadow: var(--socialfungames-shadow-xl);
}

/* Features Section */
.socialfungames-features {
	background: var(--socialfungames-white);
}

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

.socialfungames-feature-card {
	text-align: center;
	padding: 2rem;
	border-radius: var(--socialfungames-border-radius-lg);
	background: var(--socialfungames-gray-50);
	transition: var(--socialfungames-transition);
	border: 1px solid var(--socialfungames-gray-200);
}

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

.socialfungames-feature-icon {
	width: 80px;
	height: 80px;
	background: var(--socialfungames-gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	color: var(--socialfungames-white);
	font-size: 2rem;
}

.socialfungames-feature-title {
	color: var(--socialfungames-gray-900);
	margin-bottom: 1rem;
}

.socialfungames-feature-desc {
	color: var(--socialfungames-gray-600);
}

/* Games Section */
.socialfungames-games {
	background: var(--socialfungames-gray-50);
}

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

.socialfungames-game-card {
	background: var(--socialfungames-white);
	border-radius: var(--socialfungames-border-radius-lg);
	overflow: hidden;
	box-shadow: var(--socialfungames-shadow);
	transition: var(--socialfungames-transition);
	position: relative;
}

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

.socialfungames-game-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	position: relative;
}

.socialfungames-game-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--socialfungames-transition);
}

.socialfungames-game-card:hover .socialfungames-game-image img {
	transform: scale(1.05);
}

.socialfungames-game-content {
	padding: 1.5rem;
}

.socialfungames-game-title {
	color: var(--socialfungames-gray-900);
	margin-bottom: 0.75rem;
}

.socialfungames-game-desc {
	color: var(--socialfungames-gray-600);
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.socialfungames-game-play {
	width: 100%;
	background: var(--socialfungames-gradient-primary);
	color: var(--socialfungames-white);
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: var(--socialfungames-border-radius);
	font-weight: 600;
	cursor: pointer;
	transition: var(--socialfungames-transition);
}

.socialfungames-game-play:hover {
	transform: translateY(-2px);
	box-shadow: var(--socialfungames-shadow-md);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: var(--socialfungames-border-radius);
	text-decoration: none;
	font-weight: 600;
	transition: var(--socialfungames-transition);
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.btn-primary {
	background: var(--socialfungames-gradient-primary);
	color: var(--socialfungames-white);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: var(--socialfungames-shadow-md);
}

.btn-secondary {
	background: var(--socialfungames-gray-200);
	color: var(--socialfungames-gray-800);
}

.btn-secondary:hover {
	background: var(--socialfungames-gray-300);
	transform: translateY(-2px);
}

/* Text Utilities */
.text-center {
	text-align: center;
}

.mb-5 {
	margin-bottom: 3rem;
}

.mt-5 {
	margin-top: 3rem;
}

/* Footer */
.socialfungames-footer {
	background: var(--socialfungames-gray-900);
	color: var(--socialfungames-gray-300);
	padding: 3rem 0 1rem;
}

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

.socialfungames-footer-section h3 {
	color: var(--socialfungames-white);
	margin-bottom: 1rem;
}

.socialfungames-footer-section p {
	margin-bottom: 0.5rem;
}

.socialfungames-footer-section a {
	color: var(--socialfungames-gray-300);
	text-decoration: none;
	transition: var(--socialfungames-transition);
}

.socialfungames-footer-section a:hover {
	color: var(--socialfungames-white);
}

.socialfungames-disclaimer {
	background: var(--socialfungames-gray-800);
	padding: 1.5rem;
	border-radius: var(--socialfungames-border-radius);
	margin: 2rem 0;
	border-left: 4px solid var(--socialfungames-accent);
}

.socialfungames-disclaimer p,
.socialfungames-footer-section p,
.socialfungames-games-hero-subtitle {
	color: var(--socialfungames-white);
}

.socialfungames-footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid var(--socialfungames-gray-700);
	color: var(--socialfungames-gray-400);
}

/* Cookie Popup */
.socialfungames-cookie-popup {
	position: fixed;
	bottom: 2rem;
	left: 2rem;
	right: 2rem;
	background: var(--socialfungames-white);
	padding: 1.5rem;
	border-radius: var(--socialfungames-border-radius-lg);
	box-shadow: var(--socialfungames-shadow-xl);
	z-index: 1000;
	display: none;
	max-width: 500px;
	margin: 0 auto;
}

.socialfungames-cookie-popup.show {
	display: block;
	animation: slideUp 0.3s ease-out;
}

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

.socialfungames-cookie-content {
	margin-bottom: 1rem;
}

.socialfungames-cookie-actions {
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
}

.socialfungames-cookie-accept {
	background: var(--socialfungames-gradient-primary);
	color: var(--socialfungames-white);
	border: none;
	padding: 0.5rem 1rem;
	border-radius: var(--socialfungames-border-radius);
	cursor: pointer;
	font-weight: 600;
	transition: var(--socialfungames-transition);
}

.socialfungames-cookie-accept:hover {
	transform: translateY(-1px);
	box-shadow: var(--socialfungames-shadow-md);
}

/* Contact Form */
.socialfungames-contact-form {
	background: var(--socialfungames-white);
	padding: 2rem;
	border-radius: var(--socialfungames-border-radius-lg);
	box-shadow: var(--socialfungames-shadow);
}

.socialfungames-form-group {
	margin-bottom: 1.5rem;
}

.socialfungames-form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: var(--socialfungames-gray-700);
}

.socialfungames-form-control {
	width: 100%;
	padding: 0.75rem;
	border: 2px solid var(--socialfungames-gray-200);
	border-radius: var(--socialfungames-border-radius);
	font-size: 1rem;
	transition: var(--socialfungames-transition);
}

.socialfungames-form-control:focus {
	outline: none;
	border-color: var(--socialfungames-primary);
	box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.socialfungames-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

@media (max-width: 768px) {
	.socialfungames-form-row {
		grid-template-columns: 1fr;
	}
}

/* Form Response */
#form-response {
	margin-top: 1rem;
	padding: 1rem;
	border-radius: var(--socialfungames-border-radius);
	font-weight: 500;
	transition: var(--socialfungames-transition);
}

#form-response .alert {
	margin-bottom: 0;
	padding: 1rem 1.5rem;
	border-radius: var(--socialfungames-border-radius);
	border-left: 4px solid;
	font-size: 0.95rem;
	line-height: 1.5;
}

#form-response .alert-success {
	background: rgba(16, 185, 129, 0.1);
	border-color: var(--socialfungames-success);
	color: var(--socialfungames-success);
}

#form-response .alert-error {
	background: rgba(239, 68, 68, 0.1);
	border-color: var(--socialfungames-error);
	color: var(--socialfungames-error);
}

#form-response .alert-info {
	background: rgba(30, 64, 175, 0.1);
	border-color: var(--socialfungames-primary);
	color: var(--socialfungames-primary);
}

/* Alert */
.alert {
	padding: 1rem 1.5rem;
	border-radius: var(--socialfungames-border-radius);
	margin-bottom: 1rem;
	border-left: 4px solid;
}

.alert-info {
	background: rgba(30, 64, 175, 0.1);
	border-color: var(--socialfungames-primary);
	color: var(--socialfungames-primary);
}

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

.alert-error {
	background: rgba(239, 68, 68, 0.1);
	border-color: var(--socialfungames-error);
	color: var(--socialfungames-error);
}

@media (max-width: 1024px) {
	.socialfungames-game-stats {
		flex-direction: column;
		padding: 20px 0 !important;
		align-items: center;
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.section {
		padding: 2rem 0;
	}

	.socialfungames-hero {
		padding: 4rem 0;
	}

	.socialfungames-features-grid,
	.socialfungames-games-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.socialfungames-cookie-popup {
		left: 1rem;
		right: 1rem;
		bottom: 1rem;
	}

	.socialfungames-cookie-actions {
		flex-direction: column;
	}
}

/* Loading Animation */
.socialfungames-loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: var(--socialfungames-white);
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Legal Pages */
.socialfungames-legal-hero {
	background: var(--socialfungames-gradient-norway);
	color: var(--socialfungames-white);
	text-align: center;
	padding: 4rem 0;
}

.socialfungames-legal-hero-content h1 {
	color: var(--socialfungames-white);
	margin-bottom: 1rem;
}

.socialfungames-legal-hero-subtitle {
	font-size: 1.25rem;
	opacity: 0.9;
	margin-bottom: 0.5rem;
	color: var(--socialfungames-white);
}

.socialfungames-legal-hero-date {
	opacity: 0.8;
	font-size: 0.9rem;
	color: var(--socialfungames-white);
}

.socialfungames-legal-content {
	background: var(--socialfungames-white);
	padding: 4rem 0;
}

.socialfungames-legal-text {
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.8;
}

.socialfungames-legal-text h2 {
	color: var(--socialfungames-primary);
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	border-bottom: 2px solid var(--socialfungames-gray-200);
	padding-bottom: 0.5rem;
}

.socialfungames-legal-text h3 {
	color: var(--socialfungames-gray-800);
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
}

.socialfungames-legal-text ul {
	margin: 1rem 0;
	padding-left: 1.5rem;
}

.socialfungames-legal-text li {
	margin-bottom: 0.5rem;
}

.socialfungames-legal-text a {
	color: var(--socialfungames-primary);
	text-decoration: none;
}

.socialfungames-legal-text a:hover {
	text-decoration: underline;
}

/* About Page */
.socialfungames-about-hero {
	background: var(--socialfungames-gradient-primary);
	color: var(--socialfungames-white);
	text-align: center;
	padding: 4rem 0;
}

.socialfungames-about-hero-content h1 {
	color: var(--socialfungames-white);
	margin-bottom: 1rem;
}

.socialfungames-about-hero-subtitle {
	font-size: 1.25rem;
	opacity: 0.9;
}

.socialfungames-about-content {
	background: var(--socialfungames-white);
	padding: 4rem 0;
}

.socialfungames-about-text {
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.8;
}

.socialfungames-about-text h2 {
	color: var(--socialfungames-primary);
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

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

.socialfungames-value-card {
	text-align: center;
	padding: 2rem;
	background: var(--socialfungames-gray-50);
	border-radius: var(--socialfungames-border-radius-lg);
	border: 1px solid var(--socialfungames-gray-200);
}

.socialfungames-value-icon {
	width: 60px;
	height: 60px;
	background: var(--socialfungames-gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	color: var(--socialfungames-white);
	font-size: 1.5rem;
}

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

.socialfungames-why-item {
	padding: 1.5rem;
	background: var(--socialfungames-gray-50);
	border-radius: var(--socialfungames-border-radius);
	border-left: 4px solid var(--socialfungames-primary);
}

.socialfungames-why-item h3 {
	color: var(--socialfungames-primary);
	margin-bottom: 0.75rem;
}

.socialfungames-contact-info {
	background: var(--socialfungames-gray-50);
	padding: 1.5rem;
	border-radius: var(--socialfungames-border-radius);
	margin: 1.5rem 0;
}

.socialfungames-contact-info a {
	color: var(--socialfungames-primary);
	text-decoration: none;
}

.socialfungames-contact-info a:hover {
	text-decoration: underline;
}

/* Contact Page Specific Styles */
.socialfungames-contact-hero {
	background: var(--socialfungames-gradient-primary);
	color: var(--socialfungames-white);
	text-align: center;
	padding: 4rem 0;
}

.socialfungames-contact-hero-content h1 {
	color: var(--socialfungames-white);
	margin-bottom: 1rem;
}

.socialfungames-contact-hero-icon {
	width: 80px;
	height: 80px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	font-size: 2rem;
}

.socialfungames-contact-overview {
	background: var(--socialfungames-white);
	padding: 3rem 0;
}

.socialfungames-overview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.socialfungames-overview-card {
	text-align: center;
	padding: 2rem;
	background: var(--socialfungames-gray-50);
	border-radius: var(--socialfungames-border-radius-lg);
	border: 1px solid var(--socialfungames-gray-200);
}

.socialfungames-overview-icon {
	width: 60px;
	height: 60px;
	background: var(--socialfungames-gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	color: var(--socialfungames-white);
	font-size: 1.5rem;
}

.socialfungames-contact-main {
	background: var(--socialfungames-gray-50);
	padding: 4rem 0;
}

.socialfungames-contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

.socialfungames-contact-info-card,
.socialfungames-contact-form-card {
	background: var(--socialfungames-white);
	padding: 2rem;
	border-radius: var(--socialfungames-border-radius-lg);
	box-shadow: var(--socialfungames-shadow);
}

.socialfungames-contact-details {
	margin-top: 1.5rem;
}

.socialfungames-contact-detail-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.socialfungames-contact-detail-icon {
	width: 40px;
	height: 40px;
	background: var(--socialfungames-gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--socialfungames-white);
	flex-shrink: 0;
}

.socialfungames-contact-detail-content h4 {
	margin-bottom: 0.25rem;
	color: var(--socialfungames-gray-800);
}

.socialfungames-contact-detail-content a {
	color: var(--socialfungames-primary);
	text-decoration: none;
}

.socialfungames-contact-detail-content a:hover {
	text-decoration: underline;
}

.socialfungames-form-description {
	margin-bottom: 1.5rem;
	color: var(--socialfungames-gray-600);
}

.socialfungames-contact-cta {
	background: var(--socialfungames-white);
	padding: 3rem 0;
	text-align: center;
}

.socialfungames-cta-content h2 {
	margin-bottom: 1rem;
}

.socialfungames-cta-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 2rem;
}

/* Games Page Specific Styles */
.socialfungames-games-hero {
	background: var(--socialfungames-gradient-primary);
	color: var(--socialfungames-white);
	text-align: center;
	padding: 4rem 0;
}

.socialfungames-games-hero-content h1 {
	color: var(--socialfungames-white);
	margin-bottom: 1rem;
}

.socialfungames-games-stats {
	display: flex;
	justify-content: center;
	gap: 3rem;
	margin-top: 2rem;
}

.socialfungames-stat-item {
	text-align: center;
}

.socialfungames-stat-number {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	color: var(--socialfungames-white);
}

.socialfungames-stat-label {
	display: block;
	font-size: 0.9rem;
	opacity: 0.9;
	margin-top: 0.25rem;
}

.socialfungames-popular-games,
.socialfungames-all-games {
	background: var(--socialfungames-white);
	padding: 4rem 0;
}

.socialfungames-game-badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: var(--socialfungames-accent);
	color: var(--socialfungames-white);
	padding: 0.25rem 0.75rem;
	border-radius: var(--socialfungames-border-radius);
	font-size: 0.8rem;
	font-weight: 600;
	z-index: 1;
}

.socialfungames-game-stats {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: 0.85rem;
	color: var(--socialfungames-gray-600);
}

.socialfungames-game-stats span {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.socialfungames-game-stats i {
	color: var(--socialfungames-primary);
}

.socialfungames-game-stats {
	background: var(--socialfungames-gray-50);
	padding: 3rem 0;
}

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

.socialfungames-stat-card {
	text-align: center;
	padding: 2rem;
	background: var(--socialfungames-white);
	border-radius: var(--socialfungames-border-radius-lg);
	box-shadow: var(--socialfungames-shadow);
	position: relative;
}

.socialfungames-stat-card .socialfungames-stat-number {
	color: var(--socialfungames-primary);
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
}

.socialfungames-stat-card .socialfungames-stat-label {
	color: var(--socialfungames-gray-600);
	font-size: 0.9rem;
}

.socialfungames-stat-icon {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 40px;
	height: 40px;
	background: var(--socialfungames-gray-100);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--socialfungames-primary);
}

.socialfungames-community-features {
	background: var(--socialfungames-white);
	padding: 4rem 0;
}

.socialfungames-disclaimer-section {
	background: var(--socialfungames-gray-50);
	padding: 3rem 0;
}

.socialfungames-disclaimer-content {
	max-width: 800px;
	margin: 0 auto;
}

/* Additional Component Styles */
.socialfungames-categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.socialfungames-category-card {
	background: var(--socialfungames-white);
	padding: 2rem;
	border-radius: var(--socialfungames-border-radius-lg);
	box-shadow: var(--socialfungames-shadow);
	text-align: center;
	transition: var(--socialfungames-transition);
}

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

.socialfungames-category-icon {
	width: 80px;
	height: 80px;
	background: var(--socialfungames-gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	color: var(--socialfungames-white);
	font-size: 2rem;
}

.socialfungames-category-games {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-top: 1rem;
}

.socialfungames-game-tag {
	background: var(--socialfungames-gray-100);
	color: var(--socialfungames-gray-700);
	padding: 0.25rem 0.75rem;
	border-radius: var(--socialfungames-border-radius);
	font-size: 0.8rem;
}

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

.socialfungames-highlight-card {
	background: var(--socialfungames-white);
	padding: 2rem;
	border-radius: var(--socialfungames-border-radius-lg);
	box-shadow: var(--socialfungames-shadow);
	text-align: center;
	transition: var(--socialfungames-transition);
}

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

.socialfungames-highlight-icon {
	width: 80px;
	height: 80px;
	background: var(--socialfungames-gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	color: var(--socialfungames-white);
	font-size: 2rem;
}

.socialfungames-highlight-stats {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 1rem;
	font-size: 0.85rem;
	color: var(--socialfungames-gray-600);
}

.socialfungames-highlight-stats span {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

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

.socialfungames-testimonial-card {
	background: var(--socialfungames-white);
	padding: 2rem;
	border-radius: var(--socialfungames-border-radius-lg);
	box-shadow: var(--socialfungames-shadow);
	transition: var(--socialfungames-transition);
}

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

.socialfungames-testimonial-content {
	margin-bottom: 1.5rem;
	font-style: italic;
	color: var(--socialfungames-gray-700);
}

.socialfungames-testimonial-author {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.socialfungames-author-avatar {
	width: 50px;
	height: 50px;
	background: var(--socialfungames-gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--socialfungames-white);
}

.socialfungames-author-info h4 {
	margin-bottom: 0.25rem;
	color: var(--socialfungames-gray-800);
}

.socialfungames-author-info span {
	color: var(--socialfungames-gray-600);
	font-size: 0.9rem;
}

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

.socialfungames-news-card {
	background: var(--socialfungames-white);
	padding: 2rem;
	border-radius: var(--socialfungames-border-radius-lg);
	box-shadow: var(--socialfungames-shadow);
	display: flex;
	gap: 1.5rem;
	transition: var(--socialfungames-transition);
}

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

.socialfungames-news-date {
	text-align: center;
	flex-shrink: 0;
}

.socialfungames-news-day {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	color: var(--socialfungames-primary);
	line-height: 1;
}

.socialfungames-news-month {
	display: block;
	font-size: 0.9rem;
	color: var(--socialfungames-gray-600);
	text-transform: uppercase;
}

.socialfungames-news-content h3 {
	margin-bottom: 0.75rem;
	color: var(--socialfungames-gray-800);
}

.socialfungames-news-content p {
	margin-bottom: 1rem;
	color: var(--socialfungames-gray-600);
	font-size: 0.95rem;
}

.socialfungames-news-link {
	color: var(--socialfungames-primary);
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.socialfungames-news-link:hover {
	text-decoration: underline;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
	.socialfungames-contact-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.socialfungames-games-stats {
		flex-direction: column;
		gap: 1.5rem;
	}

	.socialfungames-cta-actions {
		flex-direction: column;
		align-items: center;
	}

	.socialfungames-news-card {
		flex-direction: column;
		text-align: center;
	}

	.socialfungames-news-date {
		align-self: center;
	}
}

/* Utility Classes */
.socialfungames-hidden {
	display: none !important;
}

.socialfungames-visible {
	display: block !important;
}

.socialfungames-text-primary {
	color: var(--socialfungames-primary);
}

.socialfungames-text-secondary {
	color: var(--socialfungames-secondary);
}

.socialfungames-bg-primary {
	background: var(--socialfungames-gradient-primary);
}

.socialfungames-bg-secondary {
	background: var(--socialfungames-gray-50);
}
