/* FunArena.net - New Zealand Gaming Platform */

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

/* Fix Bootstrap's font-size issue */
html {
	font-size: 16px !important;
}

a:hover {
	text-decoration: none;
}

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

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

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

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

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

/* FunArena Custom Variables */
:root {
	--funarena-primary: #2e8b57;
	--funarena-secondary: #ff6b35;
	--funarena-accent: #4ecdc4;
	--funarena-dark: #2c3e50;
	--funarena-light: #ecf0f1;
	--funarena-white: #ffffff;
	--funarena-success: #27ae60;
	--funarena-warning: #f39c12;
	--funarena-error: #e74c3c;
	--funarena-text: #2c3e50;
	--funarena-text-muted: #7f8c8d;
	--funarena-border: #bdc3c7;
	--funarena-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--funarena-shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Global Styles */
body {
	font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: var(--funarena-text);
	line-height: 1.6;
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

/* Navigation */
.funarena-navbar {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: var(--funarena-shadow);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 1rem 0;
}

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

.funarena-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--funarena-primary);
	font-weight: 700;
	font-size: 1.5rem;
}

.funarena-logo img {
	width: 40px;
	height: 40px;
	margin-right: 0.5rem;
}

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

.funarena-cta-button-container {
	margin-top: 2rem;
	text-align: center;
}

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

.funarena-nav-link {
	text-decoration: none;
	color: var(--funarena-text);
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
}

.funarena-nav-link:hover {
	color: var(--funarena-primary);
}

.funarena-nav-link.active {
	color: var(--funarena-primary);
}

.funarena-nav-link.active::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--funarena-primary);
}

.funarena-cta-button {
	background: linear-gradient(
		45deg,
		var(--funarena-primary),
		var(--funarena-accent)
	);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: inline-block;
}

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

/* Hamburger Menu */
.funarena-hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0.5rem;
}

.funarena-hamburger span {
	width: 25px;
	height: 3px;
	background: var(--funarena-primary);
	margin: 3px 0;
	transition: 0.3s;
	border-radius: 2px;
}

/* Hero Section */
.funarena-hero {
	padding: 120px 2rem 80px;
	text-align: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	position: relative;
	overflow: hidden;
}

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

.funarena-hero-content {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.funarena-hero-badge {
	background: rgba(255, 255, 255, 0.2);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 500;
	display: inline-block;
	margin-bottom: 1rem;
	backdrop-filter: blur(10px);
}

.funarena-hero-title {
	font-weight: 800;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.funarena-hero-subtitle {
	font-size: clamp(1.1rem, 3vw, 1.3rem);
	margin-bottom: 2rem;
	opacity: 0.9;
	font-weight: 300;
}

.funarena-hero-cta {
	background: var(--funarena-secondary);
	color: white;
	padding: 1rem 2rem;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	display: inline-block;
	box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.funarena-hero-cta:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
	color: white;
	text-decoration: none;
}

/* Features Section */
.funarena-features {
	padding: 80px 2rem;
	background: white;
}

.funarena-features-container {
	max-width: 1200px;
	margin: 0 auto;
}

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

.funarena-feature-card {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: var(--funarena-shadow);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--funarena-border);
}

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

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

.funarena-feature-title {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--funarena-text);
}

.funarena-feature-desc {
	color: var(--funarena-text-muted);
	line-height: 1.6;
}

/* Games Section */
.funarena-games {
	padding: 80px 2rem;
	background: var(--funarena-light);
}

.funarena-games-container {
	max-width: 1200px;
	margin: 0 auto;
}

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

.funarena-game-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: var(--funarena-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.funarena-game-image {
	width: 100%;
	height: 200px;
	object-fit: contain;
}

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

.funarena-game-title {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--funarena-text);
}

.funarena-game-desc {
	color: var(--funarena-text-muted);
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.funarena-game-button {
	background: var(--funarena-primary);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 500;
	transition: background 0.3s ease;
	display: inline-block;
}

.funarena-game-button:hover {
	background: var(--funarena-accent);
	color: white;
	text-decoration: none;
}

/* Footer */
.funarena-footer {
	background: var(--funarena-dark);
	color: white;
	padding: 3rem 2rem 1rem;
}

.funarena-footer-container {
	max-width: 1200px;
	margin: 0 auto;
}

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

.funarena-footer-section h4 {
	color: var(--funarena-accent);
	margin-bottom: 1rem;
	font-size: 1.1rem;
}

.funarena-footer-section p,
.funarena-footer-section a {
	display: block;
	color: #bdc3c7;
	text-decoration: none;
	line-height: 1.6;
	margin-bottom: 0.5rem;
}

.funarena-footer-section a:hover {
	color: var(--funarena-accent);
}

.funarena-footer-bottom {
	border-top: 1px solid #34495e;
	padding-top: 1rem;
	text-align: center;
	color: #bdc3c7;
	font-size: 0.9rem;
}

/* Cookie Consent */
.funarena-cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--funarena-dark);
	color: white;
	padding: 1rem 2rem;
	z-index: 1001;
	display: none;
}

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

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

.funarena-cookie-buttons {
	display: flex;
	gap: 1rem;
}

.funarena-cookie-accept {
	background: var(--funarena-success);
	color: white;
	border: none;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 500;
}

.funarena-cookie-policy {
	color: var(--funarena-accent);
	text-decoration: none;
}

/* Contact Form */
.funarena-contact-form {
	max-width: 800px;
	margin: 0 auto;
	background: white;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: var(--funarena-shadow);
}

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

.funarena-form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--funarena-text);
}

.funarena-form-input,
.funarena-form-textarea {
	width: 100%;
	padding: 0.75rem;
	border: 2px solid var(--funarena-border);
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.funarena-form-input:focus,
.funarena-form-textarea:focus {
	outline: none;
	border-color: var(--funarena-primary);
}

.funarena-form-submit {
	background: var(--funarena-primary);
	color: white;
	border: none;
	padding: 1rem 2rem;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
	width: 100%;
}

.funarena-form-submit:hover {
	background: var(--funarena-accent);
}

.funarena-form-success {
	background: var(--funarena-success);
	color: white;
	padding: 1rem;
	border-radius: 8px;
	text-align: center;
	margin-top: 1rem;
	display: none;
}

/* CTA Button Container */
.funarena-cta-button-container {
	text-align: center;
	margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.funarena-nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: white;
		flex-direction: column;
		padding: 1rem;
		box-shadow: var(--funarena-shadow);
	}

	.funarena-nav-menu.active {
		display: flex;
	}

	.funarena-hamburger {
		display: flex;
	}

	.funarena-hero {
		padding: 100px 1rem 60px;
	}

	.funarena-features,
	.funarena-games {
		padding: 60px 1rem;
	}

	.funarena-footer {
		padding: 2rem 1rem 1rem;
	}

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

	.funarena-cookie-buttons {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.funarena-navbar-container {
		padding: 0 1rem;
	}

	.funarena-hero {
		padding: 80px 1rem 40px;
	}

	.funarena-feature-card,
	.funarena-game-card {
		margin: 0 1rem;
	}
}
