/* Custom CSS for Little Shop of Chaos */

/* Font Classes */
.font-orbitron {
	font-family: "Orbitron", monospace;
}

/* Custom Properties */
:root {
	--primary-red: #dc2626;
	--primary-orange: #ea580c;
	--primary-yellow: #ca8a04;
	--dark-bg: #0f0f0f;
	--card-bg: #1a1a1a;
	--text-primary: #ffffff;
	--text-secondary: #9ca3af;
}

/* Global Styles */
body {
	background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
	color: var(--text-primary);
	font-family: "Inter", sans-serif;
	overflow-x: hidden;
}

/* Navigation */
.navbar {
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(220, 38, 38, 0.2);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

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

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

.nav-link::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--primary-red), var(--primary-orange));
	transition: width 0.3s ease;
}

.nav-link:hover::after {
	width: 100%;
}

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hero-title {
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 900;
	font-family: "Orbitron", monospace;
	margin-bottom: 1.5rem;
	line-height: 1.1;
}

.hero-subtitle {
	font-size: clamp(1.1rem, 3vw, 1.5rem);
	color: var(--text-secondary);
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Buttons */
.btn-primary {
	background: linear-gradient(
		135deg,
		var(--primary-red) 0%,
		var(--primary-orange) 100%
	);
	color: white;
	padding: 12px 32px;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	position: relative;
	overflow: hidden;
}

.btn-primary::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: left 0.5s ease;
}

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

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
	background: transparent;
	color: var(--text-primary);
	padding: 12px 32px;
	border: 2px solid var(--primary-red);
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

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

.btn-secondary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.btn-secondary:disabled:hover {
	background: transparent;
	color: var(--text-primary);
	transform: none;
}

.btn-primary a,
.btn-secondary a {
	text-decoration: none;
	color: inherit;
	display: block;
	width: 100%;
	height: 100%;
}

a.btn-primary,
a.btn-secondar {
	text-align: center;
	text-decoration: none;
}

/* Section Titles */
.section-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	font-family: "Orbitron", monospace;
	margin-bottom: 1rem;
	background: linear-gradient(
		135deg,
		var(--primary-red),
		var(--primary-orange)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Stats Cards */
.stat-card {
	background: rgba(26, 26, 26, 0.8);
	padding: 1.5rem;
	border-radius: 12px;
	border: 1px solid rgba(220, 38, 38, 0.2);
	text-align: center;
	transition: all 0.3s ease;
}

.stat-card:hover {
	transform: translateY(-5px);
	border-color: var(--primary-red);
	box-shadow: 0 10px 25px rgba(220, 38, 38, 0.2);
}

/* Game Showcase */
.game-showcase {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.game-card {
	position: relative;
	height: 300px;
	background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
	border-radius: 16px;
	overflow: hidden;
}

.game-image {
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		var(--primary-red) 0%,
		var(--primary-orange) 100%
	);
	opacity: 0.8;
	position: relative;
}

.game-image::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
	opacity: 0.3;
}

.game-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 2rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	color: white;
}

/* Game Items */
.game-item {
	background: var(--card-bg);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(220, 38, 38, 0.2);
	transition: all 0.3s ease;
}

.game-item:hover {
	transform: translateY(-10px);
	border-color: var(--primary-red);
	box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
}

.game-thumbnail {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.game-bg-1 {
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		var(--primary-red) 0%,
		var(--primary-orange) 100%
	);
	position: relative;
}

.game-bg-2 {
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		var(--primary-orange) 0%,
		var(--primary-yellow) 100%
	);
	position: relative;
}

.game-bg-3 {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #991b1b 0%, var(--primary-red) 100%);
	position: relative;
}

.game-bg-1::before,
.game-bg-2::before,
.game-bg-3::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
	opacity: 0.3;
}

/* Team Members */
.team-member {
	text-align: center;
	transition: all 0.3s ease;
}

.team-member:hover {
	transform: translateY(-5px);
}

.member-avatar {
	width: 120px;
	height: 120px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid transparent;
	background: linear-gradient(45deg, var(--primary-red), var(--primary-orange))
		border-box;
	position: relative;
}

.avatar-bg {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: var(--primary-red);
}

/* Form Styles */
.form-input {
	width: 100%;
	padding: 12px 16px;
	background: rgba(26, 26, 26, 0.8);
	border: 1px solid rgba(220, 38, 38, 0.3);
	border-radius: 8px;
	color: var(--text-primary);
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--primary-red);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input::placeholder {
	color: var(--text-secondary);
}

/* Fire Text Animation */
.fire-text {
	background: linear-gradient(
		45deg,
		#ff0000,
		#ff4500,
		#ff8c00,
		#ffd700,
		#ffff00
	);
	background-size: 400% 400%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: fireGradient 3s ease-in-out infinite,
		fireGlow 2s ease-in-out infinite alternate;
	text-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
	position: relative;
}

/* .fire-text::before {
	content: "Chaos";
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(45deg, #ff0000, #ff4500, #ff8c00);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: blur(2px);
	opacity: 0.7;
	animation: fireFlicker 0.1s ease-in-out infinite;
} */

@keyframes fireGradient {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

@keyframes fireGlow {
	0% {
		filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.8));
	}
	100% {
		filter: drop-shadow(0 0 20px rgba(255, 69, 0, 1))
			drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
	}
}

@keyframes fireFlicker {
	0%,
	100% {
		opacity: 0.7;
	}
	50% {
		opacity: 0.9;
	}
}

/* Fire Particles Animation */
.fire-particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
	z-index: 1;
}

.fire-particles::before,
.fire-particles::after {
	content: "";
	position: absolute;
	width: 4px;
	height: 4px;
	background: var(--primary-red);
	border-radius: 50%;
	animation: fireFloat 6s infinite linear;
}

.fire-particles::before {
	left: 20%;
	animation-delay: 0s;
}

.fire-particles::after {
	left: 80%;
	animation-delay: 3s;
}

@keyframes fireFloat {
	0% {
		transform: translateY(100vh) scale(0) rotate(0deg);
		opacity: 0;
	}
	10% {
		opacity: 1;
	}
	50% {
		transform: translateY(50vh) scale(1) rotate(180deg);
		opacity: 0.8;
	}
	90% {
		opacity: 1;
	}
	100% {
		transform: translateY(-100px) scale(0.5) rotate(360deg);
		opacity: 0;
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-title {
		font-size: 3rem;
	}

	.hero-subtitle {
		font-size: 1.1rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.game-item {
		margin-bottom: 2rem;
	}

	.team-member {
		margin-bottom: 2rem;
	}
}

/* Smooth Scrolling */
html {
	scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-section,
.about-section,
.games-section,
.team-section,
.contact-section {
	animation: fadeInUp 0.8s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(
		135deg,
		var(--primary-red),
		var(--primary-orange)
	);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(
		135deg,
		var(--primary-orange),
		var(--primary-yellow)
	);
}
