/* Reset and Layout Handling */
*,
*::before,
*::after {
	box-sizing: border-box;

}

body,
html {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	/* Prevent horizontal scroll */
	background-color: #1D1D1D;
	max-width: 100%;
	height: 100%;
	scroll-behavior: smooth;
	/* Prevent overscroll from wide elements */
}

body {
	font: normal normal normal 18px/26px Encode Sans Condensed;
	letter-spacing: 0px;
	color: #FFFFFF;
}

h1,
.hero-title {
	font-family: 'Big Shoulders Display', sans-serif;
	text-transform: uppercase;
	text-align: center;
	font: normal normal bold 96px/90px Big Shoulders Display;
	letter-spacing: 0px;
	color: #F5F5F5;
}

h2 {
	font: normal normal bold 3.75rem/59px Big Shoulders Display;
	/* Converted 60px to rem */
	letter-spacing: 0px;
	color: #FFFFFF;
	margin-bottom: 20px;
}

h3 {
	font: normal normal normal 14px/17px Encode Sans Condensed;
	letter-spacing: 4.2px;
	color: #FFFFFF;
	text-transform: uppercase;
	opacity: .5;
	margin-bottom: -2rem;
}

h4 {
	text-align: left;
	font: normal normal bold 1.5rem/1.625rem Big Shoulders Display;
	letter-spacing: 0px;
	color: #FFFFFF;
}

.lazy-section p {
	color: #eeeeee;
}

.icon {
	height: 17%;
	width: 17%;
	max-height: 5%;
	max-width: 5%;
	margin-right: 1rem;
}

.site-header {
	width: 100%;
	background: #1d1d1d;
	height: 5rem;
	display: flex;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-container {
	display: flex;
	justify-content: space-between;

	align-items: center;

	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}

.header-section {
	flex: 0 1 auto;
}

.header-section a {
	font-family: 'Big Shoulders Display';
	text-decoration: none;
	/* removes underline from links */
	color: #7e7e7e;
	/* or your preferred text color */
	font-weight: bold;
	/* makes text bold */
	text-transform: uppercase;
	/* makes text uppercase to match your HOME link */
	font-size: 1.5rem;
	/* adjust as needed */
	letter-spacing: 0.05em;
	/* improves readability of uppercase text */
	transition: all .3s ease;
}

.header-section a:hover {
	color: #ffffff;
	/* hover color - change to your preference */
}

a:visited {
	text-decoration: none;
}

.connection-info-wrapper {
	position: absolute;
	top: .5rem;
	width: 100%;
	z-index: 10;
}

.connection-info {
	font-size: .9rem;
	text-align: right;
	line-height: .2rem;
	padding-top: 1rem;
	color: #ffffff7a;
}

.hero {
	width: 100%;
	height: 100%;
	background: url('../images/hero-bg-baked-2x.png') no-repeat center bottom;
	background-color: #181818;
	background-size: cover;
	color: white;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

.logo-wrapper {
	margin-bottom: 10%;
}

.logo-wrapper h3 {
	margin-bottom: 5rem;
	margin-top: -5.5rem;
}

.logo {
	max-width: 100%;
	width: 95%;
	padding-bottom: 2rem;
}

.container {
	max-width: 960px;
	margin: 0 auto;
	overflow: hidden;
}

.vision {
	padding: 4rem 1rem;
	height: auto;
}

.vision-box {
	background-color: #272727;
	border-radius: 11px;
	padding: 2rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	/* optional subtle shadow */
	color: white;
	padding-right: 45%;
}

.vision-wrapper {
	position: relative;
}

.dragon-right {
	position: absolute;
	bottom: -150px;
	left: 53%;
	translate: -20px;
	width: 750px;
	height: 750px;
	background-image: url('../images/dragon-right.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
	z-index: 10;
}

.features-wrapper {
	margin-left: 2rem;
	margin-right: 2rem;
}

.features-text {
	margin-right: 40%;
}

.features-gridbox {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: 1.5rem;

}

.features-card {
	width: 100%;
}

.features-card p {
	font-size: .95rem;
	margin-top: -1rem;
	line-height: 1.5rem;
}

.features-card-img {
	border-radius: 12px;
	width: 100%;
	filter: contrast(105%) brightness(100%);
	transition: all 0.3s ease;
	/* You can reduce duration for snappier response */
}

.features-card-img:hover {
	filter: contrast(105%) brightness(110%);
}

.community-wrapper {
	margin-top: 4rem;
	position: relative;
}

.community-box {
	position: relative;
	background-color: #272727;
	border-radius: 11px;
	padding: 2rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	/* optional subtle shadow */
	color: white;
	margin-left: 35%;
	z-index: 20;
}

.orc-left {
	position: absolute;
	width: 750px;
	/* Set a width */
	height: 750px;
	/* Set a height */
	right: 50%;
	transform: translateX(40px);
	bottom: -200px;
	background-image: url('/images/orcs2x.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 10;
	/* Optional, but helpful if hidden behind other elements */
}

.forge {
	position: relative;
	background-color: #1D1D1D;
	background-image: url('/images/forge.png');
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	height: auto;
	z-index: 0;
}

.forge-content {
	height: 600px;
	display: flex;
	flex-direction: column;
	/* stack children vertically */
	justify-content: center;
	/* vertical centering */
	align-items: center;
	/* horizontal centering */
}


.cta-button {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	width: auto;
	max-width: 100%;
	background-color: #ffffff00;
	color: white;
	border: 1px solid #DADADA;
	border-radius: 11px;
	text-decoration: none;
	text-align: center;
	font: normal normal bold 26px/32px Big Shoulders Display;
	letter-spacing: 2px;
	opacity: 1;
	text-transform: uppercase;
	transition: all 0.2s ease;
	min-width: 30%;
}

.community-box .cta-button {
	margin-top: 1rem;
	width: 50%;
}

.forge .cta-button {
	margin-top: 7rem;
}

.forge h3 {
	margin-top: -1rem;
}

.dl-hero {
	height: 45%;
}

.files-box {
	background-color: #272727;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	/* optional subtle shadow */
	color: white;
}

.files-gridbox {
	display: flex;
	;
	gap: 1rem;
}

.files-gridbox>* {
	flex: 1;
}

.files-gridbox .cta-button {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
}

.connection-box {
	background-color: #dadada17;
	padding: 1rem;
	border-radius: 12px;
	font-size: 1rem;

}

.connection-box h4 {
	margin-top: 0;
	margin-bottom: 0;
}

.connection-box p {
	margin-top: 1rem;
	margin-bottom: 0px;
}

.bold-numbers {
	list-style: none;
	counter-reset: item;
	padding-left: 0;
}

.bold-numbers li {
	counter-increment: item;
	margin-bottom: 0.5rem;
	position: relative;
	padding-left: 2rem;
}

.bold-numbers li::before {
	content: counter(item) ".";
	font-weight: bold;
	position: absolute;
	left: 0;
}

.how-to-play {
	margin-top: 1rem;
	margin-bottom: 3rem;
}

.how-to-play a {
	text-decoration: underline;
	color: rgb(170, 170, 170);
	font-weight: bold;
	transition: all 0.3s ease;
}

.how-to-play a:hover {
	color: white;
}

.cta-button:hover {
	background-color: #DADADA;
	color: #1D1D1D;
}

.lazy-section {
	opacity: 0;
	transition: opacity 1s ease;
}

.lazy-section.loaded {
	opacity: 1;
}

@media (max-width: 768px) {

	.logo-wrapper {
		padding: 6%;
	}

	.header-container {
		width: 92%;
	}

	.header-section a {
		font-size: 1.2rem;
	}

	.connection-info-wrapper {
		right: 5%;
	}

	.features-gridbox {
		grid-template-columns: repeat(2, 1fr);
		/* 2 columns on smaller screens */
	}

	.vision-box {
		margin-left: 0rem;
	}

	.orc-left {
		visibility: hidden;
	}

	.community-box {
		margin-left: 0rem;
	}

	.community-box .cta-button {
		width: 60%;
	}

	.hero .cta-button {
		margin-top: 3vh;
		width: 60%;
	}

	.features-text {
		margin-right: 0px;
	}

	.dl-hero-wrap {
		padding: 10%;
	}

	.files-gridbox {
		flex-wrap: wrap;
	}

	.forge .cta-button {
		width: 60%;
	}
}

@media (max-width: 480px) {

	.logo-wrapper {
		padding: 5%;
	}

	.features-gridbox {
		grid-template-columns: 1fr;
	}

	.orc-left {
		visibility: hidden;
	}

	.community-box {
		margin-left: 0rem;
	}

	.community-box .cta-button {
		width: 75%;
	}

	.hero .cta-button {
		margin-top: 3vh;
		width: 70%;
	}

	.features-text {
		margin-right: 0px;
	}

	.forge .cta-button {
		width: 75%;
	}

	.forge-content {
		padding: 0% 5%;
	}

	.connection-info-wrapper {
		right: 5%;
		top: -4%;
	}

	.header-section a {
		font-size: 0.9rem;
		/* Small mobile */
		letter-spacing: 0.02em;
		/* Tighter spacing for small text */
		;
	}

	.header-container {
		width: 84%;
	}

	.site-header {
		height: 4rem;
	}

	.connection-info-wrapper {
		right: 8%;
		top: -.5rem;
	}

	.connection-info {
		font-size: .8rem;
	}

	.dl-hero-wrap {
		padding: 10%;
	}

	.files-gridbox {
		flex-wrap: wrap;
	}
}

@media (max-width: 980px) {
	.header-container {
		width: 93%;
	}

	.logo-wrapper {
		padding: 5%;
	}
	.logo {
		width: 110vh;
	}

}