/*
Theme Name: UltraFast
Theme URI: https://google.com/ultrafast
Author: UltraFast
Author URI: https://google.com/
Description: Ultra minimal, SEO-first WordPress theme. No jQuery. Extremely lightweight.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ultrafast
*/

/* ========================================
Unblocked Games 77 - Premium Gaming CSS
Website: https://unblockedgames77.vip/
======================================== */
/* --- CSS Variables --- */
:root {
	--primary: #7c3aed;
	--secondary: #10b981;
	--accent: #f59e0b;
	--danger: #ef4444;
	--dark-bg: #0a0a1b;
	--darker-bg: #050510;
	--card-bg: #16162e;
	--card-hover: #1e1e3f;
	--text-light: #ffffff;
	--text-gray: #94a3b8;
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
	--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
	--shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
	--shadow-glow: 0 0 30px rgba(124, 58, 237, 0.5);
	--border-radius: 16px;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* --- Reset & Basics --- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
	background: var(--darker-bg);
	color: var(--text-light);
	line-height: 1.7;
	overflow-x: hidden;
}
/* Animated Background */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 40%),
		radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
		radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
	animation: bgFloat 25s ease-in-out infinite;
	z-index: -1;
}
@keyframes bgFloat {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	33% { transform: translate(30px, -30px) rotate(2deg); }
	66% { transform: translate(-20px, 20px) rotate(-2deg); }
}
a {
	color: var(--primary);
	text-decoration: none;
	transition: var(--transition);
}
a:hover {
	color: var(--secondary);
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
/* --- Header --- */
header {
	background: linear-gradient(135deg, rgba(22, 22, 46, 0.98) 0%, rgba(10, 10, 27, 0.98) 100%);
	backdrop-filter: blur(20px);
	border-bottom: 2px solid rgba(124, 58, 237, 0.3);
	padding: 1.5rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: var(--shadow-md);
	animation: slideDown 0.6s ease;
}
@keyframes slideDown {
	from { transform: translateY(-100%); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}
.header-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
}
header h1 {
	text-align: center;
	font-size: clamp(2rem, 5vw, 3.5rem);
	background: linear-gradient(135deg, #7c3aed 0%, #f59e0b 50%, #10b981 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 1rem;
	font-weight: 900;
	letter-spacing: -1px;
	text-shadow: 0 0 60px rgba(124, 58, 237, 0.6);
	animation: titlePulse 3s ease-in-out infinite;
}
@keyframes titlePulse {
	0%, 100% { filter: brightness(1); }
	50% { filter: brightness(1.3); }
}
nav {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}
nav a {
	padding: 0.75rem 1.75rem;
	background: rgba(124, 58, 237, 0.1);
	border: 2px solid transparent;
	border-radius: 12px;
	color: var(--text-light);
	font-weight: 600;
	font-size: 0.95rem;
	position: relative;
	overflow: hidden;
	transition: var(--transition);
}
nav li { list-style: none; }
nav a:hover {
	background: rgba(124, 58, 237, 0.2);
	border-color: var(--primary);
	transform: translateY(-3px);
	box-shadow: var(--shadow-glow);
}
nav a:hover::before {
	left: 100%;
}
/* --- Main Container --- */
main {
	max-width: 1400px;
	margin: 0 auto;
	padding: 2.5rem 2rem;
	animation: fadeIn 0.8s ease;
}
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}
/* --- Sections --- */
section {
	margin-bottom: 4rem;
	animation: fadeInUp 0.7s ease backwards;
}
section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }
section:nth-child(5) { animation-delay: 0.5s; }
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(50px); }
	to { opacity: 1; transform: translateY(0); }
}
h2 {
	font-size: clamp(2rem, 4vw, 2.75rem);
	text-align: center;
	margin-bottom: 2.5rem;
	position: relative;
	padding-bottom: 1rem;
	font-weight: 800;
}
h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 5px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	border-radius: 3px;
	box-shadow: 0 0 20px var(--primary);
}
h3 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 1rem;
	color: var(--accent);
	font-weight: 700;
}
/* --- Hero/Intro Section --- */
.hero {
	background: linear-gradient(135deg, var(--card-bg) 0%, rgba(22, 22, 46, 0.9) 100%);
	padding: 3rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-lg);
	border: 1px solid rgba(124, 58, 237, 0.3);
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '🎮';
	position: absolute;
	top: -20px;
	right: -20px;
	font-size: 180px;
	opacity: 0.05;
	animation: rotate 30s linear infinite;
}
@keyframes rotate {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}
.hero:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg), var(--shadow-glow);
	border-color: var(--primary);
}
.hero p {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--text-gray);
	margin-bottom: 1.25rem;
}
/* --- Featured Games Grid --- */
.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}
.game-card {
	background: linear-gradient(135deg, var(--card-bg) 0%, rgba(22, 22, 46, 0.95) 100%);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	border: 1px solid rgba(124, 58, 237, 0.2);
	transition: var(--transition);
	position: relative;
	animation: scaleIn 0.6s ease backwards;
}
.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.15s; }
.game-card:nth-child(3) { animation-delay: 0.2s; }
.game-card:nth-child(4) { animation-delay: 0.25s; }
.game-card:nth-child(5) { animation-delay: 0.3s; }
.game-card:nth-child(6) { animation-delay: 0.35s; }
.game-card:nth-child(7) { animation-delay: 0.4s; }
.game-card:nth-child(8) { animation-delay: 0.45s; }
@keyframes scaleIn {
	from { opacity: 0; transform: scale(0.85); }
	to { opacity: 1; transform: scale(1); }
}
.game-card:hover {
	transform: translateY(-12px) scale(1.02);
	box-shadow: var(--shadow-lg), 0 0 40px rgba(124, 58, 237, 0.6);
	border-color: var(--primary);
}
.game-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, transparent 100%);
	opacity: 0;
	transition: var(--transition);
}
.game-card:hover::before {
	opacity: 1;
}
.game-image {
	width: 100%;
	height: 200px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}
.game-card:hover .game-image {
	transform: scale(1.1);
}
.game-info {
	padding: 1.5rem;
}
.game-info h3 {
	font-size: 1.35rem;
	margin-bottom: 0.75rem;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.game-info p {
	color: var(--text-gray);
	font-size: 0.95rem;
	margin-bottom: 1rem;
}
.play-btn {
	display: inline-block;
	width: 100%;
	padding: 1rem;
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
	color: var(--text-light);
	text-align: center;
	border-radius: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
	transition: var(--transition);
}
.play-btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}
.play-btn:hover::before {
	width: 400px;
	height: 400px;
}
.play-btn:hover {
	transform: scale(1.05);
	box-shadow: var(--shadow-md);
}
/* --- Benefits Section --- */
.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}
.benefit-card {
	background: linear-gradient(135deg, var(--card-bg) 0%, rgba(22, 22, 46, 0.9) 100%);
	padding: 2rem;
	border-radius: var(--border-radius);
	border-left: 5px solid var(--primary);
	box-shadow: var(--shadow-md);
	transition: var(--transition);
	animation: slideInLeft 0.6s ease backwards;
}
.benefit-card:nth-child(1) { animation-delay: 0.1s; border-left-color: var(--primary); }
.benefit-card:nth-child(2) { animation-delay: 0.2s; border-left-color: var(--secondary); }
.benefit-card:nth-child(3) { animation-delay: 0.3s; border-left-color: var(--accent); }
.benefit-card:nth-child(4) { animation-delay: 0.4s; border-left-color: var(--danger); }
.benefit-card:nth-child(5) { animation-delay: 0.5s; border-left-color: var(--primary); }
.benefit-card:nth-child(6) { animation-delay: 0.6s; border-left-color: var(--secondary); }
@keyframes slideInLeft {
	from { opacity: 0; transform: translateX(-40px); }
	to { opacity: 1; transform: translateX(0); }
}
.benefit-card:hover {
	transform: translateX(10px) translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-left-width: 8px;
}
.benefit-card .icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	display: inline-block;
	animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}
.benefit-card h3 {
	font-size: 1.4rem;
	margin-bottom: 0.75rem;
}
.benefit-card p {
	color: var(--text-gray);
	line-height: 1.7;
}
/* --- Reviews Section --- */
.reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}
.review-card {
	background: linear-gradient(135deg, var(--card-bg) 0%, rgba(22, 22, 46, 0.9) 100%);
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-md);
	border: 1px solid rgba(16, 185, 129, 0.3);
	transition: var(--transition);
	position: relative;
	animation: fadeInUp 0.6s ease backwards;
}
.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card::before {
	content: '"';
	position: absolute;
	top: 15px;
	left: 20px;
	font-size: 5rem;
	color: rgba(124, 58, 237, 0.2);
	font-family: Georgia, serif;
	line-height: 1;
}
.review-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: var(--shadow-lg), 0 0 30px rgba(16, 185, 129, 0.4);
	border-color: var(--secondary);
}
.review-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.25rem;
	position: relative;
	z-index: 1;
}
.review-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	box-shadow: var(--shadow-sm);
}
.review-info h4 {
	font-size: 1.15rem;
	color: var(--text-light);
	margin-bottom: 0.25rem;
}
.review-info p {
	font-size: 0.875rem;
	color: var(--text-gray);
	margin: 0;
}
.review-content {
	position: relative;
	z-index: 1;
}
.review-content p {
	color: var(--text-gray);
	line-height: 1.7;
	margin-bottom: 0.75rem;
	font-style: italic;
}
.stars {
	color: var(--accent);
	font-size: 1.25rem;
	margin-top: 1rem;
}
/* --- FAQ Section --- */
.faq-container {
	max-width: 900px;
	margin: 2rem auto;
}
.faq-item {
	background: linear-gradient(135deg, var(--card-bg) 0%, rgba(22, 22, 46, 0.9) 100%);
	padding: 2rem;
	margin-bottom: 1.5rem;
	border-radius: var(--border-radius);
	border: 1px solid rgba(245, 158, 11, 0.3);
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	animation: fadeInUp 0.5s ease backwards;
}
.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }
.faq-item:nth-child(7) { animation-delay: 0.4s; }
.faq-item:hover {
	transform: scale(1.02);
	box-shadow: var(--shadow-md);
	border-color: var(--accent);
}
.faq-question {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.faq-question::before {
	content: 'Q';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--accent);
	color: var(--dark-bg);
	border-radius: 50%;
	font-weight: 900;
	font-size: 1rem;
}
.faq-answer {
	color: var(--text-gray);
	line-height: 1.8;
	padding-left: 2.5rem;
}
/* --- Footer --- */
footer {
	background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
	border-top: 2px solid rgba(124, 58, 237, 0.3);
	padding: 2.5rem 2rem;
	text-align: center;
	margin-top: 4rem;
	box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
	animation: slideUp 0.6s ease;
}
@keyframes slideUp {
	from { transform: translateY(100%); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}
footer p {
	color: var(--text-gray);
	font-size: 1rem;
	margin-bottom: 0.5rem;
}
footer a {
	color: var(--primary);
	font-weight: 600;
}
/* --- Responsive Design --- */
@media (max-width: 1024px) {
	.games-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 1.5rem;
	}
}
@media (max-width: 768px) {
	header {
		padding: 1rem 0;
	}
	.header-container {
		padding: 0 1rem;
	}
	header h1 {
		font-size: 2rem;
	}
	nav {
		gap: 1.5rem;
	}
	nav a {
		padding: 0.6rem 1.25rem;
		font-size: 0.875rem;
	}
	main {
		padding: 2rem 1rem;
	}
	.hero {
		padding: 2rem;
	}
	h2 {
		font-size: 1.75rem;
	}
	.games-grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		gap: 1.25rem;
	}
	.game-image {
		height: 160px;
		font-size: 3rem;
	}
	.benefits-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
	.reviews-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
}
@media (max-width: 480px) {
	header h1 {
		font-size: 1.75rem;
	}
    nav {
        display: none;
    }
	nav a {
		width: 100%;
		text-align: center;
	}
	.games-grid {
		grid-template-columns: 1fr;
	}
	.game-image {
		height: 180px;
	}
	.hero {
		padding: 1.5rem;
	}
	section {
		margin-bottom: 2.5rem;
	}
}
/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
a:focus,
button:focus {
	outline: 3px solid var(--primary);
	outline-offset: 3px;
}
html {
	scroll-behavior: smooth;
}
::selection {
	background: var(--primary);
	color: white;
}
::-webkit-scrollbar {
	width: 12px;
}
::-webkit-scrollbar-track {
	background: var(--darker-bg);
}
::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(135deg, var(--accent), var(--primary));
}