/* ================================
   Social Games Online - Modern Gaming Portal
   Domain: socialgamesonline.org
   Target: Canada (English)
   Design: Classic, Clean, Professional
   ================================ */

/* CSS Variables - Classic Theme */
:root {
	/* Classic Color Palette */
	--color-primary: #2c3e50;
	--color-primary-dark: #1a252f;
	--color-primary-light: #34495e;
	--color-secondary: #3498db;
	--color-secondary-dark: #2980b9;
	--color-secondary-light: #5dade2;
	--color-accent: #e74c3c;
	--color-accent-dark: #c0392b;
	--color-accent-light: #ec7063;

	/* Neutral Colors */
	--color-white: #ffffff;
	--color-black: #2c3e50;
	--color-gray-50: #f8f9fa;
	--color-gray-100: #e9ecef;
	--color-gray-200: #dee2e6;
	--color-gray-300: #ced4da;
	--color-gray-400: #adb5bd;
	--color-gray-500: #6c757d;
	--color-gray-600: #495057;
	--color-gray-700: #343a40;
	--color-gray-800: #212529;
	--color-gray-900: #1a1a1a;

	/* Success/Error Colors */
	--color-success: #27ae60;
	--color-success-dark: #229954;
	--color-error: #e74c3c;
	--color-error-dark: #c0392b;
	--color-warning: #f39c12;
	--color-warning-dark: #e67e22;

	/* Background Colors */
	--bg-primary: var(--color-white);
	--bg-secondary: var(--color-gray-50);
	--bg-tertiary: var(--color-gray-100);
	--bg-dark: var(--color-gray-900);
	--bg-card: var(--color-white);
	--bg-overlay: rgba(44, 62, 80, 0.8);
	--bg-gradient: linear-gradient(
		135deg,
		var(--color-primary) 0%,
		var(--color-secondary) 100%
	);

	/* Text Colors */
	--text-primary: var(--color-gray-900);
	--text-secondary: var(--color-gray-600);
	--text-muted: var(--color-gray-500);
	--text-light: var(--color-white);
	--text-dark: var(--color-black);

	/* Spacing Scale - Fixed and Consistent */
	--space-0: 0;
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.25rem;
	--space-6: 1.5rem;
	--space-8: 2rem;
	--space-10: 2.5rem;
	--space-12: 3rem;
	--space-16: 4rem;
	--space-20: 5rem;
	--space-24: 6rem;
	--space-32: 8rem;

	/* Border Radius */
	--radius-none: 0;
	--radius-sm: 0.25rem;
	--radius-md: 0.5rem;
	--radius-lg: 0.75rem;
	--radius-xl: 1rem;
	--radius-2xl: 1.5rem;
	--radius-full: 9999px;

	/* Shadows */
	--shadow-none: none;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
	--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
	--shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
	--shadow-glow: 0 0 20px rgba(52, 152, 219, 0.3);

	/* Transitions */
	--transition-fast: 150ms ease;
	--transition-normal: 250ms ease;
	--transition-slow: 350ms ease;
	--transition-bounce: 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

	/* Typography Scale */
	--font-size-xs: 0.75rem;
	--font-size-sm: 0.875rem;
	--font-size-base: 1rem;
	--font-size-lg: 1.125rem;
	--font-size-xl: 1.25rem;
	--font-size-2xl: 1.5rem;
	--font-size-3xl: 1.875rem;
	--font-size-4xl: 2.25rem;
	--font-size-5xl: 3rem;
	--font-size-6xl: 3.75rem;
	--font-size-7xl: 4.5rem;

	/* Font Weights */
	--font-light: 300;
	--font-normal: 400;
	--font-medium: 500;
	--font-semibold: 600;
	--font-bold: 700;
	--font-extrabold: 800;

	/* Line Heights */
	--leading-none: 1;
	--leading-tight: 1.25;
	--leading-snug: 1.375;
	--leading-normal: 1.5;
	--leading-relaxed: 1.625;
	--leading-loose: 2;

	/* Z-Index Scale */
	--z-0: 0;
	--z-10: 10;
	--z-20: 20;
	--z-30: 30;
	--z-40: 40;
	--z-50: 50;
	--z-dropdown: 1000;
	--z-sticky: 1020;
	--z-fixed: 1030;
	--z-modal-backdrop: 1040;
	--z-modal: 1050;
	--z-popover: 1060;
	--z-tooltip: 1070;
}

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

html {
	scroll-behavior: smooth;
	font-size: 16px;
	line-height: var(--leading-normal);
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	font-size: var(--font-size-base);
	font-weight: var(--font-normal);
	line-height: var(--leading-normal);
	color: var(--text-primary);
	background-color: var(--bg-primary);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	padding-top: 80px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Poppins", sans-serif;
	font-weight: var(--font-bold);
	line-height: var(--leading-tight);
	color: var(--text-primary);
	margin-bottom: var(--space-4);
}

h1 {
	font-size: var(--font-size-6xl);
	color: var(--color-primary);
}

h2 {
	font-size: var(--font-size-4xl);
}

h3 {
	font-size: var(--font-size-3xl);
}

h4 {
	font-size: var(--font-size-2xl);
}

h5 {
	font-size: var(--font-size-xl);
}

h6 {
	font-size: var(--font-size-lg);
}

p {
	font-size: var(--font-size-base);
	line-height: var(--leading-relaxed);
	color: var(--text-secondary);
	margin-bottom: var(--space-4);
}

.lead {
	font-size: var(--font-size-lg);
	font-weight: var(--font-normal);
	line-height: var(--leading-relaxed);
	color: var(--text-secondary);
}

/* Links */
a {
	color: var(--color-secondary);
	text-decoration: none;
	transition: all var(--transition-fast);
}

a:hover {
	color: var(--color-secondary-dark);
	transform: translateY(-1px);
}

a:focus {
	outline: 2px solid var(--color-secondary);
	outline-offset: 2px;
}

/* Utility Classes */
.mt-3 {
	margin-top: 3rem;
}

.mt-4 {
	margin-top: 4rem;
}

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

.mb-4 {
	margin-bottom: 1.5rem;
}

.text-center {
	text-align: center;
}

.text-muted {
	color: var(--text-muted) !important;
}

/* Grid System */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--space-4);
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 calc(-1 * var(--space-3));
}

.col-lg-8,
.col-lg-4,
.col-md-6 {
	padding: 0 var(--space-3);
	margin-bottom: var(--space-6);
}

.col-lg-8 {
	flex: 0 0 100%;
	max-width: 100%;
}

.col-lg-4 {
	flex: 0 0 100%;
	max-width: 100%;
}

.col-md-6 {
	flex: 0 0 100%;
	max-width: 100%;
}

.justify-content-center {
	justify-content: center;
}

.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 768px) {
	.col-md-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (min-width: 992px) {
	.col-lg-8 {
		flex: 0 0 66.666667%;
		max-width: 66.666667%;
	}

	.col-lg-4 {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-3) var(--space-6);
	font-size: var(--font-size-base);
	font-weight: var(--font-semibold);
	line-height: var(--leading-none);
	border: 2px solid transparent;
	border-radius: var(--radius-lg);
	text-decoration: none;
	cursor: pointer;
	transition: all var(--transition-normal);
	min-height: 48px;
	white-space: nowrap;
	user-select: none;
	position: relative;
	overflow: hidden;
}

.btn::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 var(--transition-slow);
}

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

.btn:focus {
	outline: 2px solid var(--color-secondary);
	outline-offset: 2px;
}

.btn-primary {
	background: var(--color-secondary);
	color: var(--color-white);
	border-color: var(--color-secondary);
	box-shadow: var(--shadow-md);
}

.btn-primary:hover {
	background: var(--color-secondary-dark);
	border-color: var(--color-secondary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-secondary {
	background-color: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

.btn-secondary:hover {
	background-color: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
	transform: translateY(-2px);
}

.btn-outline {
	background-color: transparent;
	color: var(--color-secondary);
	border-color: var(--color-secondary);
}

.btn-outline:hover {
	background-color: var(--color-secondary);
	color: var(--color-white);
	transform: translateY(-2px);
}

.btn-ghost {
	background-color: transparent;
	color: var(--text-secondary);
	border-color: transparent;
}

.btn-ghost:hover {
	background-color: var(--bg-secondary);
	color: var(--text-primary);
}

.btn-lg {
	padding: var(--space-4) var(--space-8);
	font-size: var(--font-size-lg);
	border-radius: var(--radius-xl);
	min-height: 56px;
}

.btn-sm {
	padding: var(--space-2) var(--space-4);
	font-size: var(--font-size-sm);
	border-radius: var(--radius-md);
	min-height: 40px;
}

.me-2 {
	margin-right: 0.5rem;
}

.me-3 {
	margin-right: 1rem;
}

/* Navigation */
.socialgamesonline-navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--color-gray-200);
	z-index: var(--z-fixed);
	transition: all var(--transition-normal);
}

.socialgamesonline-navbar.scrolled {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: var(--shadow-lg);
}

.socialgamesonline-navbar-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--space-6);
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
}

.socialgamesonline-navbar-brand {
	display: flex;
	align-items: center;
	font-size: var(--font-size-xl);
	font-weight: var(--font-bold);
	color: var(--text-primary);
	text-decoration: none;
	transition: transform var(--transition-fast);
}

.socialgamesonline-navbar-brand:hover,
.socialgamesonline-navbar-brand:hover span {
	transform: scale(1.05);
	text-decoration: none;
}

.socialgamesonline-navbar-brand span {
	color: #fff;
}

.socialgamesonline-navbar-logo {
	width: 54px;
	height: auto;
	margin-right: var(--space-3);
}

.socialgamesonline-navbar-title {
	color: var(--color-primary);
}

.socialgamesonline-navbar-right {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.socialgamesonline-nav-link {
	display: flex;
	align-items: center;
	padding: var(--space-2) var(--space-4);
	color: var(--text-secondary);
	font-weight: var(--font-medium);
	text-decoration: none;
	border-radius: var(--radius-md);
	transition: all var(--transition-fast);
	position: relative;
}

.socialgamesonline-nav-link i {
	margin-right: 1rem;
}

.socialgamesonline-nav-link:hover,
.socialgamesonline-nav-link.active {
	color: var(--text-primary);
	background-color: var(--bg-secondary);
	text-decoration: none;
}

.socialgamesonline-nav-link.active::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 50%;
	width: 24px;
	height: 3px;
	background: var(--color-secondary);
	border-radius: var(--radius-full);
	transform: translateX(-50%);
}

.socialgamesonline-cta-button {
	background: var(--color-secondary);
	color: var(--color-white);
	padding: var(--space-3) var(--space-6);
	border-radius: var(--radius-xl);
	font-weight: var(--font-semibold);
	text-decoration: none;
	transition: all var(--transition-normal);
	box-shadow: var(--shadow-md);
	border: none;
}

.socialgamesonline-cta-button i {
	margin-right: 0.5rem;
}

.socialgamesonline-cta-button:hover {
	background: var(--color-secondary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	color: var(--color-white);
	text-decoration: none;
}

/* Mobile Navigation */
.socialgamesonline-navbar-toggle {
	display: none;
	flex-direction: column;
	background-color: var(--color-white);
	border: none;
	padding: var(--space-2);
	cursor: pointer;
	width: 48px;
	height: 48px;
	justify-content: center;
	align-items: center;
	gap: 4px;
	border-radius: var(--radius-md);
	transition: all var(--transition-fast);
}

.socialgamesonline-navbar-toggle:hover {
	background-color: var(--color-white);
}

.socialgamesonline-navbar-toggle-bar {
	width: 24px;
	height: 3px;
	background: var(--color-primary);
	border-radius: var(--radius-full);
	transition: all var(--transition-fast);
}

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

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

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

@media (max-width: 991px) {
	.socialgamesonline-navbar-toggle {
		display: flex;
	}

	.socialgamesonline-navbar-right {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		flex-direction: column;
		padding: var(--space-6);
		box-shadow: var(--shadow-xl);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-20px);
		transition: all var(--transition-normal);
		border-top: 1px solid var(--color-gray-200);
	}

	.socialgamesonline-navbar-right.show {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.socialgamesonline-nav-link {
		width: 100%;
		text-align: center;
		padding: var(--space-4);
		margin-bottom: var(--space-2);
	}

	.socialgamesonline-cta-button {
		width: 100%;
		text-align: center;
		margin-top: var(--space-4);
		display: block;
	}
}

/* Hero Section */
.socialgamesonline-hero {
	background: linear-gradient(135deg, #b6dbff 0%, #2f1f60 100%);
	padding: var(--space-32) 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.socialgamesonline-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="25" cy="25" r="1" fill="%23e2e8f0" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23e2e8f0" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23e2e8f0" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23e2e8f0" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23e2e8f0" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
	z-index: 1;
}

.socialgamesonline-hero-content {
	position: relative;
	z-index: 2;
}

.socialgamesonline-hero-badge {
	display: inline-block;
	background: var(--color-secondary);
	color: var(--color-white);
	padding: var(--space-2) var(--space-4);
	border-radius: var(--radius-full);
	font-size: var(--font-size-sm);
	font-weight: var(--font-semibold);
	margin-bottom: var(--space-8);
	box-shadow: var(--shadow-md);
	animation: float 3s ease-in-out infinite;
}

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

.socialgamesonline-hero-title {
	font-size: var(--font-size-7xl);
	font-weight: var(--font-extrabold);
	margin-bottom: var(--space-8);
	line-height: var(--leading-tight);
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	animation: slideInUp 1s ease-out;
}

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

.socialgamesonline-hero-description {
	font-size: var(--font-size-xl);
	color: var(--text-secondary);
	margin-bottom: var(--space-12);
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	line-height: var(--leading-relaxed);
	animation: slideInUp 1s ease-out 0.2s both;
}

.socialgamesonline-hero-cta {
	animation: slideInUp 1s ease-out 0.4s both;
}

/* Sections */
.socialgamesonline-section {
	padding: var(--space-24) 0;
}

.socialgamesonline-section:nth-child(even) {
	background-color: var(--bg-secondary);
}

.socialgamesonline-section-title {
	text-align: center;
	margin-bottom: var(--space-8);
	font-size: var(--font-size-4xl);
	font-weight: var(--font-bold);
	color: var(--text-primary);
}

.socialgamesonline-section-subtitle {
	text-align: center;
	color: var(--text-secondary);
	font-size: var(--font-size-lg);
	margin-bottom: var(--space-16);
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	line-height: var(--leading-relaxed);
}

/* Cards */
.socialgamesonline-card {
	background-color: var(--bg-dark);
	border-radius: var(--radius-2xl);
	padding: var(--space-5);
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-normal);
	border: 1px solid var(--color-gray-200);
	height: 100%;
	position: relative;
	overflow: hidden;
}

.socialgamesonline-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.socialgamesonline-card-contacts {
	height: auto !important;
}

.socialgamesonline-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--color-secondary);
	transform: scaleX(0);
	transition: transform var(--transition-normal);
}

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

.socialgamesonline-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
	border-color: var(--color-gray-300);
}

.socialgamesonline-card-icon {
	width: 56px;
	height: 56px;
	background: var(--color-secondary);
	border-radius: var(--radius-xl);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--space-6);
	color: var(--color-white);
	font-size: var(--font-size-xl);
	box-shadow: var(--shadow-md);
}

.socialgamesonline-card-title {
	font-size: var(--font-size-xl);
	font-weight: var(--font-semibold);
	margin-bottom: var(--space-4);
	color: var(--text-primary);
}

.socialgamesonline-card-description {
	color: var(--text-secondary);
	line-height: var(--leading-relaxed);
	margin-bottom: 0;
}

/* Game Cards */
.socialgamesonline-game-card {
	background-color: var(--bg-primary);
	border-radius: var(--radius-2xl);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-normal);
	border: 1px solid var(--color-gray-200);
	position: relative;
	min-height: 450px;
}

.socialgamesonline-game-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
	border-color: var(--color-gray-300);
}

.socialgamesonline-game-image-container {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
	background: var(--color-gray-100);
}

.socialgamesonline-game-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}

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

.socialgamesonline-game-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(44, 62, 80, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity var(--transition-normal);
}

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

.socialgamesonline-play-button {
	background: var(--color-secondary);
	color: var(--color-white);
	border: none;
	padding: var(--space-3) var(--space-6);
	border-radius: var(--radius-xl);
	font-size: var(--font-size-base);
	font-weight: var(--font-semibold);
	cursor: pointer;
	transition: all var(--transition-normal);
	box-shadow: var(--shadow-md);
}

.socialgamesonline-play-button:hover {
	background: var(--color-secondary-dark);
	transform: scale(1.1);
	box-shadow: var(--shadow-lg);
}

.socialgamesonline-game-info {
	padding: var(--space-6);
}

.socialgamesonline-game-title {
	font-size: var(--font-size-lg);
	font-weight: var(--font-semibold);
	margin-bottom: var(--space-3);
	color: var(--text-primary);
}

.socialgamesonline-game-description {
	color: var(--text-secondary);
	margin-bottom: var(--space-4);
	font-size: var(--font-size-sm);
	line-height: var(--leading-relaxed);
}

.socialgamesonline-game-tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.socialgamesonline-game-tag {
	background: var(--color-secondary);
	color: var(--color-white);
	padding: var(--space-1) var(--space-3);
	border-radius: var(--radius-full);
	font-size: var(--font-size-xs);
	font-weight: var(--font-medium);
}

/* Centralized Modal System */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--bg-overlay);
	z-index: var(--z-modal);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all var(--transition-normal);
}

.modal.show {
	opacity: 1;
	visibility: visible;
}

.modal-content {
	background-color: var(--bg-primary);
	border-radius: var(--radius-2xl);
	width: 90%;
	max-width: 1000px;
	max-height: 90vh;
	overflow: hidden;
	box-shadow: var(--shadow-2xl);
	border: 1px solid var(--color-gray-200);
	transform: scale(0.9);
	transition: transform var(--transition-normal);
}

.modal.show .modal-content {
	transform: scale(1);
}

.modal-header {
	padding: var(--space-6) var(--space-8);
	border-bottom: 1px solid var(--color-gray-200);
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: var(--bg-primary);
}

.modal-title {
	font-size: var(--font-size-xl);
	font-weight: var(--font-semibold);
	margin: 0;
	color: var(--text-primary);
}

.modal-close {
	background: none;
	border: none;
	font-size: var(--font-size-xl);
	cursor: pointer;
	color: var(--text-secondary);
	transition: all var(--transition-fast);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-md);
}

.modal-close:hover {
	color: var(--text-primary);
	background-color: var(--bg-secondary);
}

.modal-body {
	padding: 0;
	height: 500px;
	background-color: var(--bg-secondary);
}

/* Game Modal Specific Styles */
.game-modal .modal-body {
	height: 500px;
	background-color: var(--bg-secondary);
}

.game-modal-iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* Cookie Consent */
.cookie-consent-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--bg-primary);
	padding: var(--space-6);
	box-shadow: var(--shadow-xl);
	border-top: 1px solid var(--color-gray-200);
	z-index: var(--z-modal);
	transform: translateY(100%);
	transition: transform var(--transition-normal);
}

.cookie-consent-popup.show {
	transform: translateY(0);
}

.cookie-consent-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
}

.cookie-consent-text {
	color: var(--text-secondary);
	margin: 0;
	font-size: var(--font-size-sm);
	line-height: var(--leading-relaxed);
}

.cookie-consent-actions {
	display: flex;
	gap: var(--space-4);
	flex-shrink: 0;
}

/* Footer */
.socialgamesonline-footer {
	background: var(--bg-dark);
	color: var(--text-light);
	padding: var(--space-20) 0 var(--space-8);
}

.socialgamesonline-footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--space-32);
	margin-bottom: var(--space-12);
}

.socialgamesonline-footer-section h3 {
	color: var(--text-light);
	margin-bottom: var(--space-6);
	font-size: var(--font-size-lg);
	font-weight: var(--font-semibold);
}

.socialgamesonline-footer-section a {
	color: var(--color-gray-400);
	text-decoration: none;
	transition: color var(--transition-fast);
	font-size: var(--font-size-sm);
}

.socialgamesonline-footer-section a:hover {
	color: var(--text-light);
}

.socialgamesonline-footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.socialgamesonline-footer-section li {
	margin-bottom: var(--space-3);
}

.socialgamesonline-footer-bottom {
	border-top: 1px solid var(--color-gray-800);
	padding-top: var(--space-6);
	text-align: center;
}

.socialgamesonline-footer-disclaimer {
	color: var(--color-gray-500);
	font-size: var(--font-size-sm);
	line-height: var(--leading-relaxed);
	margin-bottom: var(--space-4);
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* Alerts */
.alert {
	padding: var(--space-4) var(--space-6);
	border-radius: var(--radius-lg);
	border: 1px solid;
	margin-bottom: var(--space-6);
	font-size: var(--font-size-sm);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.alert-info {
	background-color: rgba(52, 152, 219, 0.1);
	color: var(--color-secondary);
	border-color: rgba(52, 152, 219, 0.2);
}

.alert-success {
	background-color: rgba(39, 174, 96, 0.1);
	color: var(--color-success);
	border-color: rgba(39, 174, 96, 0.2);
}

.alert-warning {
	background-color: rgba(243, 156, 18, 0.1);
	color: var(--color-warning);
	border-color: rgba(243, 156, 18, 0.2);
}

.alert-danger {
	background-color: rgba(231, 76, 60, 0.1);
	color: var(--color-error);
	border-color: rgba(231, 76, 60, 0.2);
}

.alert-dismissible {
	padding-right: var(--space-12);
}

.alert-dismissible .btn-close {
	position: absolute;
	top: 50%;
	right: var(--space-4);
	transform: translateY(-50%);
	background: none;
	border: none;
	font-size: var(--font-size-lg);
	cursor: pointer;
	color: inherit;
	opacity: 0.7;
	transition: opacity var(--transition-fast);
}

.alert-dismissible .btn-close:hover {
	opacity: 1;
}

.fade {
	transition: opacity var(--transition-normal);
}

.fade.show {
	opacity: 1;
}

/* Forms */
.form-group {
	margin-bottom: var(--space-6);
}

.form-label {
	display: block;
	margin-bottom: var(--space-2);
	font-weight: var(--font-medium);
	color: var(--text-primary);
	font-size: var(--font-size-sm);
}

.form-control {
	width: 100%;
	padding: var(--space-3) var(--space-4);
	border: 2px solid var(--color-gray-300);
	border-radius: var(--radius-md);
	font-size: var(--font-size-base);
	transition: all var(--transition-fast);
	background-color: var(--bg-primary);
	font-family: inherit;
	height: 48px;
	color: var(--color-white);
}

.form-control:focus {
	outline: none;
	border-color: var(--color-secondary);
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control.is-invalid {
	border-color: var(--color-error);
	box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.invalid-feedback {
	color: var(--color-error);
	font-size: var(--font-size-sm);
	margin-top: var(--space-1);
	font-weight: var(--font-medium);
}

textarea.form-control {
	min-height: 120px;
	resize: vertical;
}

/* CTA Section */
.socialgamesonline-cta-section {
	background: var(--bg-gradient);
	text-align: center;
	padding: var(--space-16);
	color: var(--color-white);
	position: relative;
	overflow: hidden;
}

.socialgamesonline-cta-section::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="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain2)"/></svg>');
	opacity: 0.1;
}

.socialgamesonline-cta-section .socialgamesonline-section-title,
.socialgamesonline-cta-section .socialgamesonline-section-subtitle {
	color: var(--color-white);
	position: relative;
	z-index: 1;
}

.socialgamesonline-cta-section .btn {
	position: relative;
	z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
	.socialgamesonline-hero {
		padding: var(--space-16) 0;
	}

	.socialgamesonline-hero-title {
		font-size: var(--font-size-4xl);
	}

	.socialgamesonline-hero-description {
		font-size: var(--font-size-lg);
	}

	.socialgamesonline-section {
		padding: var(--space-16) 0;
	}

	.socialgamesonline-section-title {
		font-size: var(--font-size-3xl);
	}

	.cookie-consent-content {
		flex-direction: column;
		text-align: center;
		gap: var(--space-4);
	}

	.modal-content {
		width: 95%;
		margin: var(--space-4);
		left: 0;
		top: 0;
	}

	.modal-body {
		height: 400px;
	}

	.socialgamesonline-game-image-container {
		height: 180px;
	}

	.socialgamesonline-navbar-inner {
		padding: 0 var(--space-4);
	}

	.socialgamesonline-footer-content {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: var(--space-2);
	}
}

@media (max-width: 480px) {
	.socialgamesonline-hero-title {
		font-size: var(--font-size-3xl);
	}

	.socialgamesonline-hero-description {
		font-size: var(--font-size-base);
	}

	.socialgamesonline-section {
		padding: var(--space-12) 0;
	}

	.btn-lg {
		padding: var(--space-3) var(--space-6);
		font-size: var(--font-size-base);
	}

	.socialgamesonline-card {
		padding: var(--space-6);
	}

	.socialgamesonline-card-icon {
		width: 48px;
		height: 48px;
		font-size: var(--font-size-lg);
	}
}

/* Accessibility */
.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.sr-only-focusable:focus {
	position: static !important;
	width: auto !important;
	height: auto !important;
	padding: var(--space-2) var(--space-4) !important;
	margin: 0 !important;
	overflow: visible !important;
	clip: auto !important;
	white-space: normal !important;
	z-index: 100000 !important;
	background: var(--color-secondary) !important;
	color: var(--color-white) !important;
	border-radius: var(--radius-md) !important;
}

/* Focus Management */
*:focus {
	outline: 2px solid var(--color-secondary);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}

.btn:focus,
.form-control:focus {
	outline: none;
}

/* Print Styles */
@media print {
	.socialgamesonline-navbar,
	.socialgamesonline-cta-button,
	.cookie-consent-popup,
	.btn {
		display: none !important;
	}

	.socialgamesonline-hero {
		background: none !important;
		color: var(--text-primary) !important;
	}

	body {
		padding-top: 0 !important;
		background: var(--bg-primary) !important;
		color: var(--text-primary) !important;
	}
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
	:root {
		--bg-primary: #1a1a1a;
		--bg-secondary: #2c3e50;
		--bg-tertiary: #34495e;
		--bg-card: #2c3e50;
		--text-primary: #ffffff;
		--text-secondary: #bdc3c7;
		--text-muted: #95a5a6;
		--color-gray-200: #34495e;
		--color-gray-300: #5d6d7e;
	}

	.socialgamesonline-navbar {
		background: rgba(44, 62, 80, 0.95);
		border-bottom-color: var(--color-gray-800);
	}

	.socialgamesonline-navbar.scrolled {
		background: rgba(44, 62, 80, 0.98);
	}
}

/* Accessibility styles for keyboard navigation */
.keyboard-navigation *:focus {
	outline: 2px solid #6366f1 !important;
	outline-offset: 2px !important;
}

/* Footer hover effects */
.hover-primary:hover {
	color: #6366f1 !important;
	transition: color 0.15s ease-in-out;
}
