:root {
	--color-bg-dark: #fbf9f6;
	--color-bg-alt: #f4f0eb;
	--color-text-main: #2a3439;
	--color-text-muted: #667279;
	--color-accent-gold: #c5864d;
	--color-accent-gold-dark: #a86c35;
	--color-crimson: #dc7a6b;
	--color-marble: #eae4db;

	--font-heading: 'Cinzel Decorative', serif;
	--font-body: 'Lora', serif;

	--nav-height: 80px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	background-color: var(--color-bg-dark);
}

body {
	font-family: var(--font-body);
	color: var(--color-text-main);
	line-height: 1.6;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.btn-text {
	font-family: var(--font-heading);
	font-weight: 700;
	letter-spacing: 2px;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.section {
	padding: 100px 0;
}

.section-title {
	font-size: 2.5rem;
	color: var(--color-accent-gold);
	margin-bottom: 2rem;
	text-transform: uppercase;
	position: relative;
	display: inline-block;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 60px;
	height: 2px;
	background-color: var(--color-crimson);
}

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--nav-height);
	background-color: transparent;
	transition: background-color 0.4s ease, border-bottom 0.4s ease;
	z-index: 1000;
}

.navbar.scrolled {
	background-color: rgba(251, 249, 246, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(197, 134, 77, 0.2);
}

.navbar.scrolled .brand {
	color: var(--color-text-main);
}

.navbar.scrolled .nav-links a {
	color: var(--color-text-main);
}

.navbar.scrolled .nav-links a:hover {
	color: var(--color-accent-gold);
}

.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.brand {
	font-size: 1.8rem;
	color: #cbc4ba;
	opacity: 0;
	pointer-events: none;
	transition: color 0.4s ease, opacity 0.4s ease;
}

.brand.visible {
	opacity: 1;
	pointer-events: auto;
}

.nav-links {
	display: flex;
	gap: 2.5rem;
}

.nav-links a {
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	color: #cbc4ba;
	transition: color 0.3s ease;
}

.nav-links a:hover {
	color: var(--color-accent-gold);
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 1px;
	background-color: var(--color-accent-gold);
	transition: width 0.3s ease;
}

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

.hero {
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	background: linear-gradient(to bottom, rgba(10, 17, 24, 0.15), rgba(10, 17, 24, 0.4)),
		url("resources/landing_page.jpg");
	background-size: cover;
	background-position: center 0px;
}

#particles-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
}

.hero-title {
	font-size: 5rem;
	font-weight: 900;
	text-transform: uppercase;
	color: #cbc4ba;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(197, 134, 77, 0.5);
	margin-bottom: 1rem;
	letter-spacing: 8px;
	animation: fadeInDown 1.5s ease-out;
}

.hero-subtitle {
	font-size: 1.5rem;
	font-family: var(--font-body);
	font-style: italic;
	color: var(--color-accent-gold);
	letter-spacing: 2px;
	animation: fadeInUp 1.5s ease-out 0.5s both;
}

.about {
	background-color: var(--color-bg-dark);
	position: relative;
}

.about::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at top right, rgba(220, 122, 107, 0.05), transparent 50%),
		radial-gradient(circle at bottom left, rgba(197, 134, 77, 0.03), transparent 50%);
	pointer-events: none;
}

.lead-text {
	font-size: 1.8rem;
	color: var(--color-text-main);
	margin-bottom: 2rem;
	line-height: 1.4;
	border-left: 4px solid var(--color-accent-gold);
	padding-left: 1.5rem;
}

.about-details p {
	font-size: 1.1rem;
	color: var(--color-text-muted);
	max-width: 800px;
}

.game {
	background-color: var(--color-bg-alt);
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.game-grid-fullscreen {
	width: 100vw;
	max-width: 100%;
}

.game-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
}

.game-info {
	text-align: left;
	padding: 4rem;
}



.game-subtitle {
	font-size: 1.1rem;
	color: var(--color-accent-gold);
	font-weight: 600;
	margin-bottom: 2rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.lore-container {
	border-top: 1px solid rgba(197, 134, 77, 0.3);
	border-bottom: 1px solid rgba(197, 134, 77, 0.3);
	padding: 2rem 0;
	margin-top: 1rem;
}

.lore-text {
	font-size: 1.1rem;
	color: var(--color-text-muted);
	line-height: 1.9;
	font-style: italic;
	font-family: var(--font-body);
}

.game-visual {
	perspective: 1000px;
	width: 100%;
}

.game-art-container {
	position: relative;
	width: 100%;
	height: 100vh;
	background-color: var(--color-marble);
	overflow: hidden;
	transition: transform 0.1s ease-out;
}

.game-art-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left;
	pointer-events: none;
}

.glare-effect {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
	pointer-events: none;
	transform: translate(0%, 0%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.contact {
	text-align: center;
	background: radial-gradient(circle at center, var(--color-bg-alt), var(--color-bg-dark));
}

.contact .section-title::after {
	left: 50%;
	transform: translateX(-50%);
}

.contact-text {
	font-size: 1.2rem;
	color: var(--color-text-muted);
	margin: 2rem 0 3rem;
}

.contact-btn {
	position: relative;
	display: inline-block;
	padding: 1rem 3rem;
	color: var(--color-accent-gold);
	font-size: 1.2rem;
	text-transform: uppercase;
	transition: all 0.3s ease;
	border: 1px solid rgba(197, 134, 77, 0.3);
	background-color: transparent;
	cursor: pointer;
	overflow: hidden;
}

.contact-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(197, 134, 77, 0.05);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
	z-index: 1;
}

.contact-btn:hover::before {
	transform: scaleX(1);
	transform-origin: left;
}

.contact-btn:hover {
	color: var(--color-text-main);
	box-shadow: 0 0 20px rgba(197, 134, 77, 0.2), inset 0 0 10px rgba(197, 134, 77, 0.1);
	border-color: var(--color-accent-gold);
}

.btn-text {
	position: relative;
	z-index: 2;
}

.btn-underline {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--color-accent-gold);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.contact-btn:hover .btn-underline {
	transform: scaleX(1);
	transform-origin: left;
}

.footer {
	padding: 2rem;
	text-align: center;
	background-color: #f2ece4;
	color: var(--color-text-muted);
	font-size: 0.9rem;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.fade-up {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 900px) {
	.game-grid {
		grid-template-columns: 1fr;
	}

	.hero-title {
		font-size: 3rem;
	}

	.nav-links {
		display: none;
	}
}