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

/* Base */
body {
	background-color: #000;
	color: #FF0099;
	font-family: 'Inter', sans-serif;
	font-weight: 300;
}

/* Links */
a {
	color: #FFFFFF;
	text-decoration: none;
	margin-left: 20px;
	transition: opacity 0.2s ease;
}

a:hover {
	opacity: 0.6;
}

/* Navbar */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 20px 40px;
	display: flex;
	justify-content: space-between;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(8px);
	z-index: 1000;
}

.logo {
	font-weight: 200;
	letter-spacing: 2px;
}

/* Hero container */
.hero {
	height: 100vh;
	position: relative;
	overflow: hidden;
}

/* Video background */
.hero-video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 120%;
	height: 120%;
	object-fit: cover;
	transform: translate(-50%, -50%);
}

/* Dark overlay for contrast */
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background: linear-gradient(
		to bottom,
		rgba(0,0,0,0.4),
		rgba(0,0,0,0.7)
	);
}

/* Text */
.hero-text {
	position: absolute;
	bottom: 20%;
	left: 5%;
	z-index: 2;
}

.hero h1 {
	font-size: clamp(2.5rem, 6vw, 5rem);
	font-weight: 200;
	letter-spacing: 2px;
	color: #FFFFFF;
}

/* Sections */
.section {
	padding: 60px 40px;
}

.section h2 {
	margin-bottom: 20px;
	font-weight: 200;
}

/* Games grid */
.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

/* Make card-links behave like blocks */
.game-card {
	display: block;
	border: 1px solid #FF0099;
	padding: 40px;
	transition: all 0.3s ease;
	text-decoration: none;
	color: inherit;
	margin-left: 0; /* override global link margin */
}

/* Hover effect */
.game-card:hover {
	background: #FF0099;
	color: #000;
	transform: translateY(-4px);
}

/* GAME HERO */
.game-hero {
	position: relative;
	height: 100vh;
	overflow: hidden;
}

.game-hero-media {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background: linear-gradient(
		to bottom,
		rgba(0,0,0,0.3),
		rgba(0,0,0,0.8)
	);
}

.game-hero-text {
	position: absolute;
	bottom: 15%;
	left: 5%;
	color: white;
}

.game-hero-text h1 {
	font-size: clamp(3rem, 6vw, 5rem);
	font-weight: 200;
}

.game-hero-text p {
	margin-top: 10px;
	font-size: 1.2rem;
	opacity: 0.8;
}

/* VIDEO */
.video-container {
	width: 100%;
	max-width: 100%;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.video-container video {
	width: 100%;
	height: 100%;
	display: block;
}

/* FEATURES */
.features-list {
	list-style: none;
	margin-top: 20px;
}

.features-list li {
	margin-bottom: 10px;
	border-left: 2px solid #FF0099;
	padding-left: 10px;
}

/* STORE BUTTONS */
.store-buttons {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}

.store-btn {
	border: 1px solid #FF0099;
	padding: 15px 25px;
	text-decoration: none;
	color: #FF0099;
	transition: all 0.3s ease;
}

.store-btn:hover {
	background: #FF0099;
	color: #000;
}

/* SCREENSHOTS */
.screenshot-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.screenshot-grid img {
	width: 100%;
	display: block;
	transition: transform 0.3s ease;
}

.screenshot-grid img:hover {
	transform: scale(1.05);
}

/* LIGHTBOX BACKDROP */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);

	display: flex;
	align-items: center;
	justify-content: center;

	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;

	z-index: 2000;
}

/* ACTIVE STATE */
.lightbox.active {
	opacity: 1;
	pointer-events: auto;
}

/* IMAGE */
.lightbox-content {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
}

/* CLOSE BUTTON */
.lightbox-close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 2rem;
	color: white;
	cursor: pointer;
}

/* HOVER ZOOM (you already had some, this refines it) */
.lightbox-trigger {
	cursor: pointer;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox-trigger:hover {
	transform: scale(1.05);
	opacity: 0.85;
}

/* FAQ LIST */
.faq-list {
	display: grid;
	gap: 20px;
	margin-top: 40px;
}

/* CARD STYLE (reuses your aesthetic) */
.faq-card {
	border: 1px solid #FF0099;
	padding: 25px;
	cursor: pointer;
	transition: all 0.3s ease;
}

/* QUESTION */

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.faq-caret {
	width: 10px;
	height: 10px;

	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;

	transform: rotate(45deg); /* pointing down */
	transition: transform 0.3s ease;
}

/* ROTATE when open */
.faq-card.active .faq-caret {
	transform: rotate(-135deg); /* pointing up */
}

.faq-answer {
	height: 0;
	overflow: hidden;
	transition: height 0.35s ease, opacity 0.2s ease;
	opacity: 0;
}

.faq-card.active .faq-answer {
	opacity: 1;
	margin-top: 15px;
}

/* ACTIVE STATE */
.faq-card.active {
	background: #FF0099;
	color: #000;
}

.faq-card.active .faq-answer {
	opacity: 1;
	margin-top: 15px;
}

.footer {
	padding: 40px;
	border-top: 1px solid rgba(255, 0, 153, 0.2);
	margin-top: 60px;
	color: rgba(255, 255, 255, 0.6);
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

/* social row */
.footer-social {
	display: flex;
	gap: 15px;
	align-items: center;
}

/* icons */
.footer-social img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	opacity: 0.8;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social img:hover {
	transform: scale(1.1);
	opacity: 1;
}

@media (max-width: 600px) {
	.footer-content {
		flex-direction: column;
		text-align: center;
	}

	.footer-social {
		justify-content: center;
	}
}
