/* TheSocialFun.org - Finnish Social Gaming Platform (Suomi) */
/* Unique Design: Deep Violet & Amber Geometric Theme */

/* CSS Variables - Violet Luxe Palette */
:root {
	--thesocialfun-primary: #6B47DC;
	--thesocialfun-primary-dark: #5234B0;
	--thesocialfun-primary-light: #8B6FE8;
	--thesocialfun-secondary: #E8A43A;
	--thesocialfun-accent: #FF6B9D;
	--thesocialfun-warm: #F5B041;
	--thesocialfun-success: #2ECC71;
	--thesocialfun-warning: #F39C12;
	--thesocialfun-error: #E74C3C;

	--thesocialfun-cream: #FAFBFD;
	--thesocialfun-offwhite: #F4F6FA;
	--thesocialfun-sand: #E8ECF4;
	--thesocialfun-stone: #B8C2D6;
	--thesocialfun-slate: #6B7B99;
	--thesocialfun-charcoal: #3D4A66;
	--thesocialfun-dark: #1E2541;
	--thesocialfun-midnight: #131729;

	--thesocialfun-white: #FFFFFF;
	--thesocialfun-black: #0A0D14;

	--thesocialfun-shadow-sm: 0 2px 8px rgba(107, 71, 220, 0.08);
	--thesocialfun-shadow: 0 8px 24px rgba(107, 71, 220, 0.1);
	--thesocialfun-shadow-md: 0 16px 40px rgba(107, 71, 220, 0.12);
	--thesocialfun-shadow-lg: 0 24px 56px rgba(107, 71, 220, 0.14);
	--thesocialfun-shadow-xl: 0 32px 72px rgba(107, 71, 220, 0.18);

	--thesocialfun-gradient-primary: linear-gradient(135deg, #6B47DC 0%, #8B6FE8 100%);
	--thesocialfun-gradient-warm: linear-gradient(135deg, #E8A43A 0%, #F5B041 100%);
	--thesocialfun-gradient-hero: linear-gradient(155deg, #131729 0%, #1E2541 50%, #3D4A66 100%);
	--thesocialfun-gradient-accent: linear-gradient(135deg, #FF6B9D 0%, #FF8FB1 100%);
	--thesocialfun-gradient-subtle: linear-gradient(180deg, #FAFBFD 0%, #F4F6FA 100%);
	--thesocialfun-gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F4F6FA 100%);

	--thesocialfun-border-radius: 4px;
	--thesocialfun-border-radius-sm: 2px;
	--thesocialfun-border-radius-lg: 8px;
	--thesocialfun-border-radius-xl: 12px;
	--thesocialfun-border-radius-round: 50px;

	--thesocialfun-font-family: 'Sora', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;

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

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

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

body {
	font-family: var(--thesocialfun-font-family);
	line-height: 1.65;
	color: var(--thesocialfun-charcoal);
	background-color: var(--thesocialfun-cream);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: 2.5rem; letter-spacing: -1.5px; font-weight: 800; }
h2 { font-size: 1.875rem; letter-spacing: -0.75px; font-weight: 700; }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.9375rem; font-weight: 600; }

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

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

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

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

/* Navigation - Geometric Sharp Design */
.thesocialfun-navbar {
	background: var(--thesocialfun-white);
	box-shadow: var(--thesocialfun-shadow-sm);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: var(--thesocialfun-transition);
	border-bottom: 2px solid var(--thesocialfun-primary);
}

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

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

.thesocialfun-navbar-logo {
	height: 72px;
	width: auto;
}

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

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

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

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

.thesocialfun-navbar-link {
	color: var(--thesocialfun-charcoal);
	font-weight: 600;
	padding: 0.5rem 0.875rem;
	border-radius: var(--thesocialfun-border-radius);
	position: relative;
	transition: var(--thesocialfun-transition);
	font-size: 0.9rem;
}

.thesocialfun-navbar-link:hover {
	background: var(--thesocialfun-offwhite);
	color: var(--thesocialfun-primary);
}

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

.thesocialfun-navbar-cta {
	background: var(--thesocialfun-gradient-warm);
	color: var(--thesocialfun-dark);
	padding: 0.5rem 1.25rem;
	border-radius: var(--thesocialfun-border-radius-round);
	font-weight: 700;
	transition: var(--thesocialfun-transition);
	box-shadow: var(--thesocialfun-shadow-sm);
	border: none;
	font-size: 0.9rem;
}

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

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

	.thesocialfun-navbar-menu {
		position: fixed;
		top: 68px;
		left: 0;
		right: 0;
		background: var(--thesocialfun-white);
		flex-direction: column;
		padding: 1.25rem;
		box-shadow: var(--thesocialfun-shadow-lg);
		transform: translateY(-120%);
		opacity: 0;
		visibility: hidden;
		transition: var(--thesocialfun-transition);
		z-index: 1000;
		gap: 0.375rem;
		max-height: calc(100vh - 68px);
		overflow-y: auto;
		border-top: 2px solid var(--thesocialfun-primary);
	}

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

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

	.thesocialfun-navbar-link {
		display: block;
		width: 100%;
		padding: 0.875rem 1rem;
		text-align: center;
		font-size: 0.95rem;
	}

	.thesocialfun-navbar-link:hover {
		background: var(--thesocialfun-primary);
		color: var(--thesocialfun-white);
	}

	.thesocialfun-navbar-cta {
		text-align: center;
		display: block;
		padding: 0.875rem 1rem;
		margin-top: 0.375rem;
	}

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

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

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

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

/* Sections */
.thesocialfun-section {
	padding: 5rem 0;
}

.thesocialfun-section-alt {
	background: var(--thesocialfun-offwhite);
}

.thesocialfun-section-dark {
	background: var(--thesocialfun-dark);
	color: var(--thesocialfun-cream);
}

/* Hero Section - Geometric Dark Theme */
.thesocialfun-hero {
	background: var(--thesocialfun-gradient-hero);
	color: var(--thesocialfun-white);
	padding: 6rem 0;
	position: relative;
	overflow: hidden;
}

.thesocialfun-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(ellipse at 80% 20%, rgba(107, 71, 220, 0.35) 0%, transparent 50%),
		radial-gradient(ellipse at 10% 80%, rgba(232, 164, 58, 0.15) 0%, transparent 40%);
	pointer-events: none;
}

.thesocialfun-hero::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: linear-gradient(45deg, transparent 30%, rgba(107, 71, 220, 0.1) 70%);
	transform: rotate(45deg);
	pointer-events: none;
}

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

.thesocialfun-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(107, 71, 220, 0.25);
	padding: 0.5rem 1.125rem;
	border-radius: var(--thesocialfun-border-radius);
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
	backdrop-filter: blur(8px);
	border: 1px solid rgba(107, 71, 220, 0.4);
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--thesocialfun-secondary);
}

.thesocialfun-hero-title {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 1rem;
	line-height: 1.1;
	color: var(--thesocialfun-white);
	letter-spacing: -2px;
}

.thesocialfun-hero-subtitle {
	font-size: 1.0625rem;
	margin-bottom: 2rem;
	color: var(--thesocialfun-stone);
	font-weight: 400;
	line-height: 1.7;
}

.thesocialfun-hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--thesocialfun-gradient-warm);
	color: var(--thesocialfun-dark);
	padding: 0.875rem 2rem;
	border-radius: var(--thesocialfun-border-radius-round);
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	transition: var(--thesocialfun-transition);
	box-shadow: var(--thesocialfun-shadow-lg);
}

.thesocialfun-hero-cta:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: var(--thesocialfun-shadow-xl);
	color: var(--thesocialfun-dark);
}

/* Feature Tiles - Unique Layout */
.thesocialfun-features-tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
}

.thesocialfun-feature-tile {
	background: var(--thesocialfun-gradient-card);
	padding: 2rem 1.5rem;
	border-radius: var(--thesocialfun-border-radius-lg);
	text-align: left;
	box-shadow: var(--thesocialfun-shadow);
	transition: var(--thesocialfun-transition);
	border-left: 4px solid var(--thesocialfun-primary);
	position: relative;
	overflow: hidden;
}

.thesocialfun-feature-tile::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, rgba(107, 71, 220, 0.05) 0%, transparent 70%);
	pointer-events: none;
}

.thesocialfun-feature-tile:hover {
	transform: translateY(-6px);
	box-shadow: var(--thesocialfun-shadow-lg);
	border-left-color: var(--thesocialfun-secondary);
}

.thesocialfun-feature-tile-icon {
	width: 56px;
	height: 56px;
	background: var(--thesocialfun-gradient-primary);
	border-radius: var(--thesocialfun-border-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	font-size: 1.375rem;
	color: var(--thesocialfun-white);
}

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

.thesocialfun-feature-tile p {
	color: var(--thesocialfun-slate);
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
}

/* Standard Features Grid */
.thesocialfun-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
}

.thesocialfun-feature-card {
	background: var(--thesocialfun-white);
	padding: 1.75rem 1.5rem;
	border-radius: var(--thesocialfun-border-radius-lg);
	text-align: center;
	box-shadow: var(--thesocialfun-shadow);
	transition: var(--thesocialfun-transition);
	border: 1px solid var(--thesocialfun-sand);
}

.thesocialfun-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--thesocialfun-shadow-md);
	border-color: var(--thesocialfun-primary);
}

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

.thesocialfun-feature-title {
	font-size: 1.0625rem;
	margin-bottom: 0.625rem;
	color: var(--thesocialfun-dark);
}

.thesocialfun-feature-desc {
	color: var(--thesocialfun-slate);
	line-height: 1.6;
	font-size: 0.875rem;
}

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

.thesocialfun-game-card {
	background: var(--thesocialfun-white);
	border-radius: var(--thesocialfun-border-radius-lg);
	overflow: hidden;
	box-shadow: var(--thesocialfun-shadow);
	transition: var(--thesocialfun-transition);
	position: relative;
	border: 1px solid var(--thesocialfun-sand);
}

.thesocialfun-game-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--thesocialfun-shadow-lg);
	border-color: var(--thesocialfun-primary);
}

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

.thesocialfun-game-badge {
	position: absolute;
	top: 0.875rem;
	right: 0.875rem;
	background: var(--thesocialfun-gradient-primary);
	color: var(--thesocialfun-white);
	padding: 0.3rem 0.875rem;
	border-radius: var(--thesocialfun-border-radius-round);
	font-size: 0.625rem;
	font-weight: 700;
	z-index: 1;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: var(--thesocialfun-shadow-sm);
}

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

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

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

.thesocialfun-game-content {
	padding: 1.25rem;
}

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

.thesocialfun-game-desc {
	color: var(--thesocialfun-slate);
	margin-bottom: 1rem;
	line-height: 1.55;
	font-size: 0.8125rem;
}

.thesocialfun-game-stats {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: 0.75rem;
	color: var(--thesocialfun-slate);
}

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

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

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

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

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

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

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

.thesocialfun-btn-warm {
	background: var(--thesocialfun-gradient-warm);
	color: var(--thesocialfun-dark);
	box-shadow: var(--thesocialfun-shadow-sm);
}

.thesocialfun-btn-warm:hover {
	transform: translateY(-2px);
	box-shadow: var(--thesocialfun-shadow);
	color: var(--thesocialfun-dark);
}

/* Footer - Geometric Design */
.thesocialfun-footer {
	background: var(--thesocialfun-midnight);
	color: var(--thesocialfun-stone);
	padding: 4rem 0 1.5rem;
	position: relative;
}

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

.thesocialfun-footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 2.5rem;
	margin-bottom: 2.5rem;
}

.thesocialfun-footer-section h3 {
	color: var(--thesocialfun-white);
	margin-bottom: 1rem;
	font-size: 1.0625rem;
}

.thesocialfun-footer-section p {
	margin-bottom: 0.5rem;
	color: var(--thesocialfun-stone);
	font-size: 0.8125rem;
	line-height: 1.65;
}

.thesocialfun-footer-section a {
	color: var(--thesocialfun-stone);
	transition: var(--thesocialfun-transition-fast);
}

.thesocialfun-footer-section a:hover {
	color: var(--thesocialfun-secondary);
}

.thesocialfun-disclaimer {
	background: rgba(107, 71, 220, 0.1);
	padding: 1.25rem;
	border-radius: var(--thesocialfun-border-radius-lg);
	margin-bottom: 1.5rem;
	border-left: 3px solid var(--thesocialfun-primary);
}

.thesocialfun-disclaimer p {
	margin-bottom: 0.625rem;
	font-size: 0.75rem;
	line-height: 1.65;
	color: var(--thesocialfun-stone);
}

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

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

.thesocialfun-footer-bottom {
	border-top: 1px solid rgba(107, 71, 220, 0.2);
	padding-top: 1.5rem;
	text-align: center;
	font-size: 0.75rem;
	color: var(--thesocialfun-slate);
}

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

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

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

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

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

.thesocialfun-cookie-content p {
	margin-bottom: 0.25rem;
	color: var(--thesocialfun-slate);
	font-size: 0.8125rem;
	line-height: 1.6;
}

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

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

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

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

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

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

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

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

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

/* Alert Styles */
.thesocialfun-alert {
	padding: 1rem 1.125rem;
	border-radius: var(--thesocialfun-border-radius-lg);
	margin-bottom: 1rem;
	border-left: 4px solid;
	font-size: 0.875rem;
}

.thesocialfun-alert-info {
	background: rgba(107, 71, 220, 0.08);
	border-color: var(--thesocialfun-primary);
	color: var(--thesocialfun-primary-dark);
}

.thesocialfun-alert-success {
	background: rgba(46, 204, 113, 0.1);
	border-color: var(--thesocialfun-success);
	color: var(--thesocialfun-success);
}

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

/* Contact & Legal Pages Hero */
.thesocialfun-page-hero {
	background: var(--thesocialfun-gradient-hero);
	color: var(--thesocialfun-white);
	text-align: center;
	padding: 5rem 0;
	position: relative;
}

.thesocialfun-page-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(ellipse at 50% 50%, rgba(107, 71, 220, 0.25) 0%, transparent 60%);
	pointer-events: none;
}

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

.thesocialfun-page-hero-icon {
	width: 68px;
	height: 68px;
	background: rgba(107, 71, 220, 0.3);
	border-radius: var(--thesocialfun-border-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	font-size: 1.625rem;
	backdrop-filter: blur(8px);
	border: 1px solid rgba(107, 71, 220, 0.4);
}

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

.thesocialfun-page-hero-subtitle {
	font-size: 1rem;
	color: var(--thesocialfun-stone);
	font-weight: 400;
}

.thesocialfun-page-hero-date {
	font-size: 0.8125rem;
	color: var(--thesocialfun-stone);
	opacity: 0.8;
	margin-top: 0.5rem;
}

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

.thesocialfun-contact-info-card,
.thesocialfun-contact-form-card {
	background: var(--thesocialfun-white);
	padding: 2rem;
	border-radius: var(--thesocialfun-border-radius-lg);
	box-shadow: var(--thesocialfun-shadow);
	border-top: 4px solid var(--thesocialfun-primary);
}

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

.thesocialfun-contact-details {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.thesocialfun-contact-detail-item {
	display: flex;
	gap: 0.875rem;
}

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

.thesocialfun-contact-detail-content h4 {
	margin-bottom: 0.125rem;
	color: var(--thesocialfun-dark);
	font-size: 0.875rem;
}

.thesocialfun-contact-detail-content p {
	margin-bottom: 0;
	color: var(--thesocialfun-slate);
	font-size: 0.8125rem;
}

.thesocialfun-form-description {
	color: var(--thesocialfun-slate);
	margin-bottom: 1.25rem;
	font-size: 0.875rem;
}

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

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

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

.thesocialfun-legal-section h3 {
	color: var(--thesocialfun-charcoal);
	margin: 1.25rem 0 0.625rem 0;
	font-size: 1rem;
}

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

.thesocialfun-legal-section ul {
	margin-bottom: 0.625rem;
	padding-left: 1.25rem;
}

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

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

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

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

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

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

.thesocialfun-stat-label {
	font-size: 0.8125rem;
	opacity: 0.9;
}

/* Stats Section Cards */
.thesocialfun-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.thesocialfun-stat-card {
	background: var(--thesocialfun-white);
	padding: 1.75rem;
	border-radius: var(--thesocialfun-border-radius-lg);
	text-align: center;
	box-shadow: var(--thesocialfun-shadow);
	transition: var(--thesocialfun-transition);
	border-top: 3px solid var(--thesocialfun-primary);
}

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

.thesocialfun-stat-card .thesocialfun-stat-number {
	font-size: 1.75rem;
	color: var(--thesocialfun-primary);
}

.thesocialfun-stat-card .thesocialfun-stat-label {
	color: var(--thesocialfun-slate);
	font-weight: 600;
}

.thesocialfun-stat-icon {
	font-size: 1.375rem;
	color: var(--thesocialfun-secondary);
	margin-top: 0.625rem;
}

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

.thesocialfun-disclaimer-content {
	max-width: 900px;
	margin: 0 auto;
}

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

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

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

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

/* CTA Content */
.thesocialfun-cta-content {
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}

.thesocialfun-cta-content h2 {
	margin-bottom: 0.625rem;
}

.thesocialfun-cta-content p {
	margin-bottom: 1.5rem;
	font-size: 1rem;
}

.thesocialfun-cta-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Cookie Management Styles */
.thesocialfun-cookie-management {
	max-width: 660px;
	margin: 2rem auto;
}

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

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

.thesocialfun-cookie-info h3 {
	margin: 0 0 0.25rem 0;
	color: var(--thesocialfun-dark);
	font-size: 0.9375rem;
}

.thesocialfun-cookie-info p {
	margin: 0;
	color: var(--thesocialfun-slate);
	font-size: 0.8125rem;
}

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

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

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

/* Testimonials */
.thesocialfun-testimonial-card {
	background: var(--thesocialfun-white);
	padding: 1.75rem;
	border-radius: var(--thesocialfun-border-radius-lg);
	box-shadow: var(--thesocialfun-shadow);
	border-top: 3px solid var(--thesocialfun-secondary);
}

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

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

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

.thesocialfun-author-info h4 {
	margin-bottom: 0;
	color: var(--thesocialfun-dark);
	font-size: 0.9375rem;
}

.thesocialfun-author-info span {
	color: var(--thesocialfun-slate);
	font-size: 0.75rem;
}

/* Category Tags */
.thesocialfun-category-games {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin-top: 0.75rem;
}

.thesocialfun-game-tag {
	background: var(--thesocialfun-offwhite);
	color: var(--thesocialfun-charcoal);
	padding: 0.25rem 0.75rem;
	border-radius: var(--thesocialfun-border-radius-round);
	font-size: 0.6875rem;
	font-weight: 600;
	border: 1px solid var(--thesocialfun-sand);
}

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

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

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

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

/* Form Error State */
.thesocialfun-form-control.error {
	border-color: var(--thesocialfun-error);
	box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

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

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

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

	.thesocialfun-features-tiles,
	.thesocialfun-features-grid {
		grid-template-columns: 1fr;
	}
	
	.thesocialfun-feature-tile:hover {
		transform: translateY(-3px);
	}

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

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

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

	.thesocialfun-cookie-popup {
		left: 0.625rem;
		right: 0.625rem;
		bottom: 0.625rem;
		padding: 1.125rem;
	}

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

	.thesocialfun-games-stats {
		flex-direction: column;
		gap: 1.25rem;
	}
	
	.thesocialfun-stats-grid {
		grid-template-columns: 1fr;
	}

	.thesocialfun-legal-section {
		padding: 1.25rem;
	}
	
	.thesocialfun-footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}

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

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

