/* Reset & base styles */
* {
	font-family: "Inter", sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	/*font-family: 'Helvetica Neue', Arial, sans-serif;*/
	color: #fff;
	background-color: #000;
	opacity: 1;
	transition: opacity 0.5s ease;
}

body.fade-out {
	opacity: 0;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

/* Navbar */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(33, 33, 33, 0.9);
	z-index: 100;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-weight: bold;
	letter-spacing: 1px;
}

.logo span {
	font-weight: normal;
	opacity: 0.8;
}

.nav-links li {
	display: inline-block;
	margin-left: 2rem;
}

.nav-links a {
	font-size: 0.9rem;
	transition: color 0.3s;
}

.nav-links a:hover {
	color: #bdbdbd;
}

.nav-links a.active {
	font-weight: bold;
}

/* Hero Section */
.hero {
	height: 100vh;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-size: cover;
	background-position: center;
	transition: background-image 1s ease-in-out;
}

.hero::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 90%;
}

.hero-content h1 {
	font-size: 3rem;
	margin-bottom: 0.5rem;
}

.hero-content h1 strong {
	font-weight: bold;
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.hero-divider {
	width: 100%;
	height: 2px;
	background: linear-gradient(to right,
			transparent 0%,
			#fff 50%,
			transparent 100%);
	border: none;
	margin: 2rem auto;
	justify-content: center;
}

.btn-group .btn {
	display: inline-block;
	margin: 0 0.5rem;
	padding: 0.75rem 1.5rem;
	border: 2px solid #fff;
	border-radius: 50px;
	font-size: 0.9rem;
	transition: background 0.3s, color 0.3s;
}

.btn-group .btn:hover {
	background: #ffffff;
	color: #000;
	border-color: #ffffff;
}

.round-btn {
	display: inline-block;
	margin: 0 0.5rem;
	padding: 0.75rem 1.5rem;
	border: 2px solid #fff;
	border-radius: 50px;
	font-size: 0.9rem;
	transition: background 0.3s, color 0.3s;
}

.round-btn:hover {
	background: #fff;
	color:#000;
	border-color: #fff;
}

/* Sections placeholder */
section {
	padding: 6rem 2rem;
	background: rgb(30, 29, 31);
}

/* Media Queries */
@media (max-width: 768px) {
	.hero-content h1 {
		font-size: 2.5rem;
	}

	.nav-container {
		padding: 0.75rem 1rem;
	}

	.nav-links li {
		margin-left: 1rem;
	}
}

.about-section {
	background: #2a2a2b;
	/* or whatever background you like */
	padding: 6rem 2rem;
}

.about-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.about-image {
	flex: 1;
	min-width: 250px;
}

.about-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.about-text {
	flex: 2;
	color: #eee;
}

.about-text h2 {
	margin-bottom: 1rem;
}

@media (max-width: 768px) {
	.about-container {
		flex-direction: column;
		text-align: center;
	}

	.about-text {
		padding-top: 1rem;
	}
}



.projects-heading {
	justify-items: center;
	padding-bottom: 3rem;
}

/* Projects container now flex, not grid */
.projects-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	/* <-- centers any partial rows */
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

/* Each project “card” */
.project-item {
	flex: 0 1 calc((100% - 2 * 2rem) / 3);
	/* 3 items per row, subtracting 2 gaps of 2rem */
	max-width: 630px;
	aspect-ratio: 630 / 500;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
	filter: drop-shadow(5px);
}

/* Image fills the card */
.project-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.project-item:hover img {
	transform: scale(1.05);
}
.project-item .project-title {
	position: absolute;
	top: 8px;
	left: 8px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 4px 8px;
	border-radius: 16px;
	font-size: 0.9rem;
	pointer-events: none;
	white-space: nowrap;
}

.project-item:hover .project-title {
	opacity: 0;
}

.project-item .project-info {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 8px;
  border-radius: 16px;
  font-size: 0.8rem;
  pointer-events: none;
  white-space: nowrap;
}

.project-item:hover .project-info {
	opacity: 0;
}

/* Overlay */
.project-item .overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	transition: opacity 0.3s ease;
	text-align: center;
}

.project-item:hover .overlay {
	opacity: 1;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
	.project-item {
		flex: 0 1 calc((100% - 1 * 2rem) / 2);
		/* 2 items/row */
	}
}

@media (max-width: 640px) {
	.project-item {
		flex: 0 1 100%;
		/* 1 item/row */
	}
}



.footer-contact {
  background: #111;
  color: #ffffff;
  padding: 2rem 0;
}
.footer-contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.footer-contact-container h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.2rem;
}
.footer-contact-container a {
  display: inline-block;
  margin: 0 0.75rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-contact-container a:hover {
  opacity: 1;
}
.footer-contact-container img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  filter: invert(100%);
}

.game-info-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10rem;
	background: #1e1d1f;
	padding: 5rem;
}

.game-info-box {
	padding: 1rem;
	background: #111111;
	border-radius: 8px;
}

.game-info-box h3 {
	padding-bottom: 1rem;
}

.game-info-box img {
	width: 24px;
	height: 24px;
}