/* TheSocialGames.org - Finnish Social Gaming Platform */
/* Unique Design: Aurora Violet Theme with Floating Cards */

/* CSS Variables - Ocean Teal & Amber Palette */
:root {
	--thesocialgames-primary: #1A6B6B;
	--thesocialgames-primary-dark: #0E4D4D;
	--thesocialgames-primary-light: #2A8A8A;
	--thesocialgames-secondary: #D4A03A;
	--thesocialgames-accent: #7B9E6F;
	--thesocialgames-warm: #C48B3A;
	--thesocialgames-success: #5A9E6B;
	--thesocialgames-warning: #D9A648;
	--thesocialgames-error: #C45D5D;

	--thesocialgames-cream: #F9F7F4;
	--thesocialgames-lavender: #EBE8E3;
	--thesocialgames-mist: #E0DCD5;
	--thesocialgames-silver: #B5AFA5;
	--thesocialgames-graphite: #6B655C;
	--thesocialgames-charcoal: #3E3A35;
	--thesocialgames-dark: #262420;
	--thesocialgames-midnight: #1A1917;

	--thesocialgames-white: #FFFFFF;
	--thesocialgames-black: #121110;

	--thesocialgames-shadow-sm: 0 2px 8px rgba(26, 25, 23, 0.08);
	--thesocialgames-shadow: 0 4px 20px rgba(26, 25, 23, 0.1);
	--thesocialgames-shadow-md: 0 8px 32px rgba(26, 25, 23, 0.12);
	--thesocialgames-shadow-lg: 0 16px 48px rgba(26, 25, 23, 0.15);
	--thesocialgames-shadow-xl: 0 24px 64px rgba(26, 25, 23, 0.2);
	--thesocialgames-shadow-glow: 0 0 40px rgba(26, 107, 107, 0.25);

	--thesocialgames-gradient-primary: linear-gradient(135deg, #1A6B6B 0%, #2A8A8A 50%, #3AA5A5 100%);
	--thesocialgames-gradient-secondary: linear-gradient(135deg, #D4A03A 0%, #E5B85A 100%);
	--thesocialgames-gradient-accent: linear-gradient(135deg, #7B9E6F 0%, #94B688 100%);
	--thesocialgames-gradient-hero: linear-gradient(150deg, #1A1917 0%, #262420 35%, #3E3A35 70%, #1A6B6B 100%);
	--thesocialgames-gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
	--thesocialgames-gradient-soft: linear-gradient(180deg, #F9F7F4 0%, #EBE8E3 100%);

	--thesocialgames-border-radius: 12px;
	--thesocialgames-border-radius-sm: 8px;
	--thesocialgames-border-radius-lg: 20px;
	--thesocialgames-border-radius-xl: 28px;
	--thesocialgames-border-radius-full: 50px;

	--thesocialgames-font-family: 'DM Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

	--thesocialgames-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	--thesocialgames-transition-fast: all 0.25s ease-out;
	--thesocialgames-transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
	font-family: var(--thesocialgames-font-family);
	line-height: 1.7;
	color: var(--thesocialgames-charcoal);
	background: var(--thesocialgames-gradient-soft);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 1rem;
	color: var(--thesocialgames-dark);
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

h1 { font-size: 2.5rem; letter-spacing: -0.5px; }
h2 { font-size: 1.875rem; letter-spacing: -0.25px; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9375rem; }

p {
	margin-bottom: 1rem;
	color: var(--thesocialgames-graphite);
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

a {
	color: var(--thesocialgames-primary);
	text-decoration: none;
	transition: var(--thesocialgames-transition-fast);
	word-wrap: break-word;
	overflow-wrap: break-word;
}

a:hover {
	color: var(--thesocialgames-primary-dark);
}

/* Container */
.thesocialgames-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Navigation - Floating Glass Design */
.thesocialgames-navbar {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: var(--thesocialgames-transition);
	border-bottom: 1px solid rgba(107, 78, 138, 0.1);
}

.thesocialgames-navbar.scrolled {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: var(--thesocialgames-shadow);
}

.thesocialgames-navbar-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 0;
	min-height: 68px;
}

.thesocialgames-navbar-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--thesocialgames-dark);
	text-decoration: none;
}

.thesocialgames-navbar-logo {
	height: 50px;
	width: auto;
	border-radius: var(--thesocialgames-border-radius-sm);
}

.thesocialgames-navbar-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: var(--thesocialgames-gradient-primary);
	border: none;
	border-radius: var(--thesocialgames-border-radius-sm);
	cursor: pointer;
	padding: 10px;
	transition: var(--thesocialgames-transition-fast);
	box-shadow: var(--thesocialgames-shadow-sm);
}

.thesocialgames-navbar-toggle:hover {
	transform: scale(1.05);
	box-shadow: var(--thesocialgames-shadow);
}

.thesocialgames-navbar-toggle-bar {
	width: 20px;
	height: 2px;
	background: var(--thesocialgames-white);
	border-radius: 2px;
	transition: var(--thesocialgames-transition);
}

.thesocialgames-navbar-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
}

.thesocialgames-navbar-link {
	color: var(--thesocialgames-charcoal);
	font-weight: 600;
	padding: 0.5rem 1rem;
	border-radius: var(--thesocialgames-border-radius-full);
	position: relative;
	transition: var(--thesocialgames-transition);
	font-size: 0.9375rem;
}

.thesocialgames-navbar-link:hover {
	background: var(--thesocialgames-lavender);
	color: var(--thesocialgames-primary);
}

.thesocialgames-navbar-link.active {
	background: var(--thesocialgames-gradient-primary);
	color: var(--thesocialgames-white);
}

.thesocialgames-navbar-cta {
	background: var(--thesocialgames-gradient-secondary);
	color: var(--thesocialgames-white);
	padding: 0.6rem 1.25rem;
	border-radius: var(--thesocialgames-border-radius-full);
	font-weight: 700;
	transition: var(--thesocialgames-transition);
	box-shadow: var(--thesocialgames-shadow-sm);
	border: none;
	font-size: 0.9375rem;
}

.thesocialgames-navbar-cta:hover {
	transform: translateY(-2px);
	box-shadow: var(--thesocialgames-shadow);
	color: var(--thesocialgames-white);
}

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

	.thesocialgames-navbar-menu {
		position: fixed;
		top: 68px;
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		flex-direction: column;
		padding: 1.5rem;
		box-shadow: var(--thesocialgames-shadow-lg);
		transform: translateY(-120%);
		opacity: 0;
		visibility: hidden;
		transition: var(--thesocialgames-transition);
		z-index: 1000;
		gap: 0.5rem;
		max-height: calc(100vh - 68px);
		overflow-y: auto;
		border-top: 1px solid var(--thesocialgames-lavender);
	}

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

	.thesocialgames-navbar-menu li {
		width: 100%;
	}

	.thesocialgames-navbar-link {
		display: block;
		width: 100%;
		padding: 0.875rem 1.25rem;
		text-align: center;
		font-size: 1rem;
		border-radius: var(--thesocialgames-border-radius);
	}

	.thesocialgames-navbar-link:hover,
	.thesocialgames-navbar-link.active {
		background: var(--thesocialgames-gradient-primary);
		color: var(--thesocialgames-white);
	}

	.thesocialgames-navbar-cta {
		text-align: center;
		display: block;
		padding: 0.875rem 1.25rem;
		margin-top: 0.5rem;
		border-radius: var(--thesocialgames-border-radius);
	}

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

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

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

/* Main Content */
.thesocialgames-main {
	margin-top: 68px;
	min-height: calc(100vh - 68px);
}

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

.thesocialgames-section-alt {
	background: var(--thesocialgames-white);
}

.thesocialgames-section-dark {
	background: var(--thesocialgames-gradient-hero);
	color: var(--thesocialgames-cream);
}

/* Hero Section - Aurora Gradient with Floating Elements */
.thesocialgames-hero {
	background: var(--thesocialgames-gradient-hero);
	color: var(--thesocialgames-white);
	padding: 5rem 0 4.5rem;
	position: relative;
	overflow: hidden;
}

.thesocialgames-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 80%;
	height: 200%;
	background: radial-gradient(ellipse at center, rgba(139, 106, 172, 0.3) 0%, transparent 60%);
	pointer-events: none;
	animation: thesocialgames-float 20s ease-in-out infinite;
}

.thesocialgames-hero::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 60%;
	height: 150%;
	background: radial-gradient(ellipse at center, rgba(61, 139, 126, 0.2) 0%, transparent 50%);
	pointer-events: none;
	animation: thesocialgames-float 15s ease-in-out infinite reverse;
}

@keyframes thesocialgames-float {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	33% { transform: translate(30px, -20px) rotate(5deg); }
	66% { transform: translate(-20px, 15px) rotate(-3deg); }
}

.thesocialgames-hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}

.thesocialgames-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--thesocialgames-gradient-glass);
	padding: 0.5rem 1.25rem;
	border-radius: var(--thesocialgames-border-radius-full);
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--thesocialgames-secondary);
}

.thesocialgames-hero-title {
	font-size: 2.75rem;
	font-weight: 800;
	margin-bottom: 1.25rem;
	line-height: 1.15;
	color: var(--thesocialgames-white);
	letter-spacing: -1px;
}

.thesocialgames-hero-subtitle {
	font-size: 1.0625rem;
	margin-bottom: 2rem;
	color: rgba(255, 255, 255, 0.75);
	font-weight: 400;
	line-height: 1.7;
}

.thesocialgames-hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--thesocialgames-gradient-secondary);
	color: var(--thesocialgames-white);
	padding: 0.9rem 2rem;
	border-radius: var(--thesocialgames-border-radius-full);
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	transition: var(--thesocialgames-transition);
	box-shadow: var(--thesocialgames-shadow-lg);
}

.thesocialgames-hero-cta:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: var(--thesocialgames-shadow-xl);
	color: var(--thesocialgames-white);
}

/* Floating Feature Cards */
.thesocialgames-features-float {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
}

.thesocialgames-feature-float-card {
	background: var(--thesocialgames-white);
	padding: 2rem 1.5rem;
	border-radius: var(--thesocialgames-border-radius-lg);
	text-align: center;
	box-shadow: var(--thesocialgames-shadow);
	transition: var(--thesocialgames-transition);
	position: relative;
	overflow: hidden;
}

.thesocialgames-feature-float-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--thesocialgames-gradient-primary);
}

.thesocialgames-feature-float-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--thesocialgames-shadow-lg), var(--thesocialgames-shadow-glow);
}

.thesocialgames-feature-float-icon {
	width: 60px;
	height: 60px;
	background: var(--thesocialgames-gradient-primary);
	border-radius: var(--thesocialgames-border-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
	font-size: 1.5rem;
	color: var(--thesocialgames-white);
}

.thesocialgames-feature-float-card h3 {
	font-size: 1.125rem;
	margin-bottom: 0.5rem;
	color: var(--thesocialgames-dark);
}

.thesocialgames-feature-float-card p {
	color: var(--thesocialgames-graphite);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0;
}

/* Stacked Info Cards */
.thesocialgames-stacked-cards {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 2rem;
}

.thesocialgames-stacked-card {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	background: var(--thesocialgames-white);
	padding: 1.5rem 2rem;
	border-radius: var(--thesocialgames-border-radius-lg);
	box-shadow: var(--thesocialgames-shadow);
	transition: var(--thesocialgames-transition);
	border-left: 4px solid var(--thesocialgames-primary);
}

.thesocialgames-stacked-card:hover {
	transform: translateX(8px);
	box-shadow: var(--thesocialgames-shadow-md);
}

.thesocialgames-stacked-card:nth-child(2) {
	border-left-color: var(--thesocialgames-secondary);
}

.thesocialgames-stacked-card:nth-child(3) {
	border-left-color: var(--thesocialgames-accent);
}

.thesocialgames-stacked-icon {
	width: 56px;
	height: 56px;
	background: var(--thesocialgames-lavender);
	border-radius: var(--thesocialgames-border-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.375rem;
	color: var(--thesocialgames-primary);
	flex-shrink: 0;
}

.thesocialgames-stacked-content h3 {
	font-size: 1.125rem;
	margin-bottom: 0.375rem;
	color: var(--thesocialgames-dark);
}

.thesocialgames-stacked-content p {
	margin: 0;
	color: var(--thesocialgames-graphite);
	font-size: 0.9375rem;
}

/* Games Grid - Card Style with Overlay */
.thesocialgames-games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

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

.thesocialgames-game-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--thesocialgames-shadow-lg);
}

.thesocialgames-game-card.featured {
	border: 2px solid var(--thesocialgames-primary);
}

.thesocialgames-game-badge {
	position: absolute;
	top: 0.875rem;
	left: 0.875rem;
	background: var(--thesocialgames-gradient-primary);
	color: var(--thesocialgames-white);
	padding: 0.375rem 0.875rem;
	border-radius: var(--thesocialgames-border-radius-full);
	font-size: 0.6875rem;
	font-weight: 700;
	z-index: 2;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.thesocialgames-game-image {
	width: 100%;
	height: 180px;
	overflow: hidden;
	position: relative;
	background: var(--thesocialgames-lavender);
}

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

.thesocialgames-game-card:hover .thesocialgames-game-image img {
	transform: scale(1.08);
}

.thesocialgames-game-content {
	padding: 1.25rem 1.5rem 1.5rem;
}

.thesocialgames-game-title {
	font-size: 1.125rem;
	margin-bottom: 0.5rem;
	color: var(--thesocialgames-dark);
}

.thesocialgames-game-desc {
	color: var(--thesocialgames-graphite);
	margin-bottom: 1rem;
	line-height: 1.55;
	font-size: 0.875rem;
}

.thesocialgames-game-stats {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: 0.8125rem;
	color: var(--thesocialgames-graphite);
}

.thesocialgames-game-play {
	width: 100%;
	background: var(--thesocialgames-gradient-primary);
	color: var(--thesocialgames-white);
	border: none;
	padding: 0.75rem 1.25rem;
	border-radius: var(--thesocialgames-border-radius);
	font-weight: 700;
	cursor: pointer;
	transition: var(--thesocialgames-transition);
	font-size: 0.9375rem;
	font-family: var(--thesocialgames-font-family);
}

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

/* Buttons */
.thesocialgames-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--thesocialgames-border-radius-full);
	font-weight: 700;
	text-decoration: none;
	transition: var(--thesocialgames-transition);
	cursor: pointer;
	border: none;
	font-size: 0.9375rem;
	font-family: var(--thesocialgames-font-family);
}

.thesocialgames-btn-primary {
	background: var(--thesocialgames-gradient-primary);
	color: var(--thesocialgames-white);
	box-shadow: var(--thesocialgames-shadow);
}

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

.thesocialgames-btn-secondary {
	background: transparent;
	color: var(--thesocialgames-primary);
	border: 2px solid var(--thesocialgames-primary);
}

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

.thesocialgames-btn-accent {
	background: var(--thesocialgames-gradient-accent);
	color: var(--thesocialgames-white);
	box-shadow: var(--thesocialgames-shadow);
}

.thesocialgames-btn-accent:hover {
	transform: translateY(-2px);
	box-shadow: var(--thesocialgames-shadow-md);
	color: var(--thesocialgames-white);
}

/* Stats Grid */
.thesocialgames-stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-top: 2rem;
}

.thesocialgames-stat-box {
	background: var(--thesocialgames-white);
	padding: 1.75rem 1.5rem;
	border-radius: var(--thesocialgames-border-radius-lg);
	text-align: center;
	box-shadow: var(--thesocialgames-shadow);
	transition: var(--thesocialgames-transition);
	position: relative;
	overflow: hidden;
}

.thesocialgames-stat-box::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--thesocialgames-gradient-primary);
}

.thesocialgames-stat-box:hover {
	transform: translateY(-4px);
	box-shadow: var(--thesocialgames-shadow-md);
}

.thesocialgames-stat-number {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--thesocialgames-primary);
	margin-bottom: 0.25rem;
}

.thesocialgames-stat-label {
	font-size: 0.875rem;
	color: var(--thesocialgames-graphite);
	font-weight: 600;
}

.thesocialgames-stat-icon {
	font-size: 1.25rem;
	color: var(--thesocialgames-secondary);
	margin-top: 0.5rem;
}

/* Page Hero - Gradient Background */
.thesocialgames-page-hero {
	background: var(--thesocialgames-gradient-hero);
	color: var(--thesocialgames-white);
	text-align: center;
	padding: 4rem 0;
	position: relative;
	overflow: hidden;
}

.thesocialgames-page-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(ellipse at 60% 40%, rgba(139, 106, 172, 0.35) 0%, transparent 55%);
	pointer-events: none;
}

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

.thesocialgames-page-hero-icon {
	width: 68px;
	height: 68px;
	background: var(--thesocialgames-gradient-glass);
	border-radius: var(--thesocialgames-border-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
	font-size: 1.625rem;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.thesocialgames-page-hero h1 {
	font-size: 2.25rem;
	margin-bottom: 0.75rem;
	color: var(--thesocialgames-white);
}

.thesocialgames-page-hero-subtitle {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.75);
	font-weight: 400;
}

.thesocialgames-page-hero-date {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 0.5rem;
}

/* Contact Page - Split Layout */
.thesocialgames-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 2rem;
	margin-top: 2rem;
}

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

.thesocialgames-contact-info {
	border-top: 4px solid var(--thesocialgames-primary);
}

.thesocialgames-contact-form-box {
	border-top: 4px solid var(--thesocialgames-secondary);
}

.thesocialgames-contact-info h3,
.thesocialgames-contact-form-box h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	color: var(--thesocialgames-dark);
	font-size: 1.25rem;
}

.thesocialgames-contact-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.thesocialgames-contact-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.thesocialgames-contact-icon {
	width: 44px;
	height: 44px;
	background: var(--thesocialgames-gradient-accent);
	border-radius: var(--thesocialgames-border-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--thesocialgames-white);
	font-size: 1rem;
	flex-shrink: 0;
}

.thesocialgames-contact-text h4 {
	margin-bottom: 0.25rem;
	color: var(--thesocialgames-dark);
	font-size: 0.9375rem;
}

.thesocialgames-contact-text p {
	margin: 0;
	color: var(--thesocialgames-graphite);
	font-size: 0.875rem;
}

/* Form Styles */
.thesocialgames-form-group {
	margin-bottom: 1.25rem;
}

.thesocialgames-form-label {
	display: block;
	margin-bottom: 0.375rem;
	font-weight: 600;
	color: var(--thesocialgames-charcoal);
	font-size: 0.9375rem;
}

.thesocialgames-form-control {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 2px solid var(--thesocialgames-lavender);
	border-radius: var(--thesocialgames-border-radius);
	font-size: 1rem;
	transition: var(--thesocialgames-transition-fast);
	background: var(--thesocialgames-white);
	font-family: var(--thesocialgames-font-family);
}

.thesocialgames-form-control:focus {
	outline: none;
	border-color: var(--thesocialgames-primary);
	box-shadow: 0 0 0 4px rgba(107, 78, 138, 0.1);
}

.thesocialgames-form-control.error {
	border-color: var(--thesocialgames-error);
	box-shadow: 0 0 0 4px rgba(196, 91, 82, 0.1);
}

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

/* Legal Content */
.thesocialgames-legal-content {
	max-width: 820px;
	margin: 0 auto;
}

.thesocialgames-legal-block {
	margin-bottom: 2rem;
	padding: 2rem;
	background: var(--thesocialgames-white);
	border-radius: var(--thesocialgames-border-radius-lg);
	box-shadow: var(--thesocialgames-shadow);
	border-left: 4px solid var(--thesocialgames-primary);
}

.thesocialgames-legal-block h2 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	color: var(--thesocialgames-dark);
	font-size: 1.25rem;
}

.thesocialgames-legal-block h3 {
	color: var(--thesocialgames-charcoal);
	margin: 1.25rem 0 0.625rem 0;
	font-size: 1.0625rem;
}

.thesocialgames-legal-block p {
	margin-bottom: 0.625rem;
	line-height: 1.7;
	color: var(--thesocialgames-charcoal);
}

.thesocialgames-legal-block ul {
	margin-bottom: 0.625rem;
	padding-left: 1.375rem;
}

.thesocialgames-legal-block li {
	margin-bottom: 0.375rem;
	line-height: 1.6;
	color: var(--thesocialgames-charcoal);
}

.thesocialgames-legal-block a {
	color: var(--thesocialgames-primary);
	font-weight: 600;
}

/* Alert Styles */
.thesocialgames-alert {
	padding: 1rem 1.25rem;
	border-radius: var(--thesocialgames-border-radius);
	margin-bottom: 1rem;
	border-left: 4px solid;
	font-size: 0.9375rem;
}

.thesocialgames-alert-info {
	background: rgba(107, 78, 138, 0.08);
	border-color: var(--thesocialgames-primary);
	color: var(--thesocialgames-primary-dark);
}

.thesocialgames-alert-success {
	background: rgba(74, 155, 111, 0.1);
	border-color: var(--thesocialgames-success);
	color: var(--thesocialgames-success);
}

.thesocialgames-alert-error {
	background: rgba(196, 91, 82, 0.1);
	border-color: var(--thesocialgames-error);
	color: var(--thesocialgames-error);
}

/* Footer */
.thesocialgames-footer {
	background: var(--thesocialgames-midnight);
	color: var(--thesocialgames-silver);
	padding: 3rem 0 1.25rem;
	border-top: 3px solid var(--thesocialgames-primary);
}

.thesocialgames-footer-grid {
	display: grid;
	grid-template-columns: 1.8fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

.thesocialgames-footer-col h3 {
	color: var(--thesocialgames-cream);
	margin-bottom: 1rem;
	font-size: 1.0625rem;
}

.thesocialgames-footer-col p {
	margin-bottom: 0.5rem;
	color: var(--thesocialgames-silver);
	font-size: 0.875rem;
	line-height: 1.65;
}

.thesocialgames-footer-col a {
	color: var(--thesocialgames-silver);
	transition: var(--thesocialgames-transition-fast);
}

.thesocialgames-footer-col a:hover {
	color: var(--thesocialgames-secondary);
}

.thesocialgames-footer-disclaimer {
	background: var(--thesocialgames-dark);
	padding: 1.25rem;
	border-radius: var(--thesocialgames-border-radius);
	margin-bottom: 1.25rem;
	border-left: 4px solid var(--thesocialgames-secondary);
}

.thesocialgames-footer-disclaimer p {
	margin-bottom: 0.625rem;
	font-size: 0.8125rem;
	line-height: 1.65;
	color: var(--thesocialgames-silver);
}

.thesocialgames-footer-disclaimer p:last-child {
	margin-bottom: 0;
}

.thesocialgames-footer-disclaimer a {
	color: var(--thesocialgames-secondary);
	font-weight: 600;
}

.thesocialgames-footer-bottom {
	border-top: 1px solid var(--thesocialgames-charcoal);
	padding-top: 1.25rem;
	text-align: center;
	font-size: 0.8125rem;
	color: var(--thesocialgames-graphite);
}

.thesocialgames-footer-bottom a {
	color: var(--thesocialgames-secondary);
}

/* Cookie Popup */
.thesocialgames-cookie-popup {
	position: fixed;
	bottom: 1.25rem;
	left: 1.25rem;
	right: 1.25rem;
	max-width: 440px;
	background: var(--thesocialgames-white);
	padding: 1.5rem;
	border-radius: var(--thesocialgames-border-radius-lg);
	box-shadow: var(--thesocialgames-shadow-xl);
	z-index: 9999;
	transform: translateY(150px);
	opacity: 0;
	transition: var(--thesocialgames-transition);
	border: 2px solid var(--thesocialgames-primary);
}

.thesocialgames-cookie-popup.show {
	transform: translateY(0);
	opacity: 1;
}

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

.thesocialgames-cookie-content h4 {
	margin-bottom: 0.5rem;
	color: var(--thesocialgames-dark);
	font-size: 1.0625rem;
}

.thesocialgames-cookie-content p {
	margin-bottom: 0.25rem;
	color: var(--thesocialgames-graphite);
	font-size: 0.875rem;
	line-height: 1.6;
}

.thesocialgames-cookie-actions {
	display: flex;
	gap: 0.625rem;
}

.thesocialgames-cookie-accept {
	background: var(--thesocialgames-gradient-primary);
	color: var(--thesocialgames-white);
	padding: 0.6875rem 1.25rem;
	border-radius: var(--thesocialgames-border-radius);
	font-weight: 700;
	border: none;
	cursor: pointer;
	transition: var(--thesocialgames-transition);
	flex: 1;
	font-family: var(--thesocialgames-font-family);
	font-size: 0.9375rem;
}

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

.thesocialgames-cookie-link {
	color: var(--thesocialgames-primary);
	font-weight: 600;
	font-size: 0.875rem;
}

/* Cookie Page Management */
.thesocialgames-cookie-settings {
	max-width: 640px;
	margin: 1.5rem auto;
}

.thesocialgames-cookie-option {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem;
	margin-bottom: 0.875rem;
	background: var(--thesocialgames-white);
	border: 2px solid var(--thesocialgames-lavender);
	border-radius: var(--thesocialgames-border-radius);
	box-shadow: var(--thesocialgames-shadow-sm);
	transition: var(--thesocialgames-transition);
}

.thesocialgames-cookie-option:hover {
	box-shadow: var(--thesocialgames-shadow);
	border-color: var(--thesocialgames-primary);
}

.thesocialgames-cookie-label h3 {
	margin: 0 0 0.25rem 0;
	color: var(--thesocialgames-dark);
	font-size: 1rem;
}

.thesocialgames-cookie-label p {
	margin: 0;
	color: var(--thesocialgames-graphite);
	font-size: 0.8125rem;
}

.thesocialgames-cookie-toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.thesocialgames-cookie-toggle input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--thesocialgames-primary);
	cursor: pointer;
}

.thesocialgames-cookie-toggle label {
	font-weight: 600;
	color: var(--thesocialgames-charcoal);
	cursor: pointer;
	user-select: none;
	font-size: 0.875rem;
}

/* CTA Section */
.thesocialgames-cta-section {
	text-align: center;
	max-width: 680px;
	margin: 0 auto;
}

.thesocialgames-cta-section h2 {
	margin-bottom: 0.625rem;
}

.thesocialgames-cta-section p {
	margin-bottom: 1.5rem;
	font-size: 1rem;
}

.thesocialgames-cta-buttons {
	display: flex;
	gap: 0.875rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Testimonials */
.thesocialgames-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 2rem;
}

.thesocialgames-testimonial-card {
	background: var(--thesocialgames-white);
	padding: 1.75rem;
	border-radius: var(--thesocialgames-border-radius-lg);
	box-shadow: var(--thesocialgames-shadow);
	border-bottom: 3px solid var(--thesocialgames-secondary);
}

.thesocialgames-testimonial-card p {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--thesocialgames-charcoal);
	font-style: italic;
	margin-bottom: 1rem;
}

.thesocialgames-testimonial-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-top: 1rem;
	border-top: 1px solid var(--thesocialgames-lavender);
}

.thesocialgames-testimonial-avatar {
	width: 44px;
	height: 44px;
	background: var(--thesocialgames-gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--thesocialgames-white);
	font-size: 1rem;
}

.thesocialgames-testimonial-info h4 {
	margin-bottom: 0.125rem;
	color: var(--thesocialgames-dark);
	font-size: 0.9375rem;
}

.thesocialgames-testimonial-info span {
	color: var(--thesocialgames-graphite);
	font-size: 0.8125rem;
}

/* Games Page Stats */
.thesocialgames-games-hero-stats {
	display: flex;
	justify-content: center;
	gap: 3.5rem;
	margin-top: 1.75rem;
}

.thesocialgames-hero-stat {
	text-align: center;
}

.thesocialgames-hero-stat-number {
	display: block;
	font-size: 2rem;
	font-weight: 800;
	color: var(--thesocialgames-secondary);
	margin-bottom: 0.25rem;
}

.thesocialgames-hero-stat-label {
	font-size: 0.875rem;
	opacity: 0.85;
}

/* Loading States */
.thesocialgames-btn-loading {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.thesocialgames-btn-loading .fa-spin {
	animation: thesocialgames-spin 1s linear infinite;
}

@keyframes thesocialgames-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Message Display */
.thesocialgames-message {
	margin: 1rem 0;
}

/* Disclaimer Section */
.thesocialgames-disclaimer-section {
	background: var(--thesocialgames-lavender);
}

.thesocialgames-disclaimer-box {
	max-width: 880px;
	margin: 0 auto;
}

/* Utility Classes */
.thesocialgames-text-center {
	text-align: center;
}

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

.thesocialgames-mb-5 {
	margin-bottom: 2.5rem;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
	.thesocialgames-features-float {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.thesocialgames-stats-row {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.thesocialgames-testimonial-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.thesocialgames-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.thesocialgames-hero-title {
		font-size: 2rem;
	}

	.thesocialgames-hero-subtitle {
		font-size: 0.9375rem;
	}

	.thesocialgames-features-float {
		grid-template-columns: 1fr;
	}
	
	.thesocialgames-stacked-card {
		flex-direction: column;
		text-align: center;
	}
	
	.thesocialgames-stacked-card:hover {
		transform: translateY(-4px);
	}

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

	.thesocialgames-contact-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

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

	.thesocialgames-cookie-popup {
		left: 0.625rem;
		right: 0.625rem;
		bottom: 0.625rem;
		padding: 1.25rem;
	}

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

	.thesocialgames-games-hero-stats {
		flex-direction: column;
		gap: 1.25rem;
	}
	
	.thesocialgames-stats-row {
		grid-template-columns: 1fr;
	}
	
	.thesocialgames-testimonial-grid {
		grid-template-columns: 1fr;
	}

	.thesocialgames-legal-block {
		padding: 1.25rem;
	}
	
	.thesocialgames-footer-grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	h1 { font-size: 1.75rem; }
	h2 { font-size: 1.5rem; }
	h3 { font-size: 1.125rem; }
	
	.thesocialgames-page-hero h1 {
		font-size: 1.75rem;
	}
}

@media (max-width: 640px) {
	.thesocialgames-cookie-option {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.875rem;
	}
	
	.thesocialgames-cta-buttons {
		flex-direction: column;
		width: 100%;
	}
	
	.thesocialgames-cta-buttons .thesocialgames-btn {
		width: 100%;
		justify-content: center;
	}
	
	.thesocialgames-navbar-link,
	.thesocialgames-navbar-cta {
		font-size: 0.875rem;
	}
}

