:root {
	--bg-color: #0f0f12;
	--card-bg: #1a1a20;
	--nav-bg: rgba(26, 26, 32, 0.98);
	--accent: #e53935; /* High-contrast Ruby Red */
	--accent-hover: #ff5252; /* Lighter Coral-Red for interaction */
	--highlight: #ffb300; /* Warm Amber for visibility */
	--text-main: #e0e0e0;
	--text-muted: #a0a0a0;
	--success: #27ae60;
	--border: #333;
	--nav-height: 60px;
}

* { box-sizing: border-box; }
body {
	background-color: var(--bg-color);
	color: var(--text-main);
	font-family: 'Inter', sans-serif;
	margin: 0;
	padding-top: var(--nav-height);
	line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: 0.2s; }

/* --- Navbar CSS (from Layout 2) --- */
.headerBG { background: var(--nav-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height); display: flex; align-items: center; justify-content: center; z-index: 1000; }
#navMain { display: flex; }
#navMobile { display: none; width: 100%; justify-content: flex-end; padding-right: 20px; }
.navMainItem { padding: 0 20px; height: var(--nav-height); display: flex; align-items: center; cursor: pointer; font-weight: 500; font-size: 0.95rem; }
.navMainItem.hover:hover { background: rgba(142, 68, 173, 0.1); color: var(--accent-hover); }

/* Multi-column Language Dropdown */
.language-menu { position: relative; }
.dropdown-content {
	display: none;
	position: absolute;
	top: var(--nav-height);
	left: 50%;
	transform: translateX(-50%);
	background: var(--card-bg);
	border: 1px solid var(--border);
	min-width: 650px;
	padding: 20px;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
	box-shadow: 0 15px 35px rgba(0,0,0,0.8);
}
.language-menu:hover .dropdown-content { display: grid; }
.dropdown-content a { padding: 8px 12px; font-size: 0.85rem; border-radius: 4px; }
.dropdown-content a:hover { background: var(--accent); color: white; }

#mobileContent { display: none; position: fixed; top: var(--nav-height); left: 0; width: 100%; height: calc(100vh - var(--nav-height)); background: var(--bg-color); z-index: 999; overflow-y: auto; }
#mobileContent ul { list-style: none; padding: 0; margin: 0; }
#mobileContent .navMainItem { border-bottom: 1px solid var(--border); width: 100%; height: 50px; }
.language-header { background: #111; color: var(--accent); font-weight: bold; }

/* --- Main Content --- */
#main { max-width: 1200px; margin: 0 auto; padding: 20px; }

.hero {
	text-align: center;
	padding: 80px 20px;
	background: linear-gradient(rgba(15,15,18,0.85), rgba(15,15,18,0.85)), url('https://vengeanceoftheminotaur.com/logo.png');
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	border: 1px solid var(--border);
	margin-bottom: 30px;
}

/* Index Buttons */
.index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 50px; }
.idx-btn { background: var(--card-bg); padding: 14px; border-radius: 6px; text-align: center; font-size: 0.9rem; border: 1px solid var(--border); font-weight: bold; transition: 0.2s; }
.idx-btn:hover { transform: translateY(-3px); border-color: var(--accent); background: #25252b; }
.idx-btn.featured { border-color: var(--highlight); color: var(--highlight); border-width: 2px; }
.idx-btn.primary { border-color: var(--accent); color: var(--accent); border-width: 2px; }

/* Sections */
section { margin-bottom: 80px; }
h2 { border-left: 5px solid var(--accent); padding-left: 20px; margin-bottom: 30px; font-size: 1.8rem; color: #fff; }

/* Download Box */
.download-center { background: var(--card-bg); border-radius: 12px; border: 1px solid var(--accent); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.dl-panel { padding: 40px; text-align: center; }
.dl-panel.early-access { background: rgba(142, 68, 173, 0.07); border-right: 1px solid var(--border); }
.selector-group { display: flex; flex-direction: column; gap: 12px; max-width: 320px; margin: 25px auto; }

select, .emailInput { background: #25252b; border: 1px solid var(--border); color: white; padding: 14px; border-radius: 6px; font-size: 1rem; }
.btn { background: var(--accent); color: white; border: none; padding: 14px 25px; border-radius: 6px; font-weight: bold; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: 0.3s; }
.btn:hover { background: var(--accent-hover); box-shadow: 0 0 15px rgba(142, 68, 173, 0.4); }
.btn-demo { background: #444; }

/* Game Description & Features */
.desc-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; background: var(--card-bg); padding: 40px; border-radius: 12px; border: 1px solid var(--border); }
.feature-tag { color: var(--accent); font-weight: bold; display: block; margin-top: 15px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 30px; }
.price-card { background: var(--card-bg); border: 1px solid var(--border); padding: 40px 20px; border-radius: 12px; text-align: center; }
.price-card.best-value { border-color: var(--highlight); position: relative; background: linear-gradient(to bottom, #1a1a20, #211d12); }
.price-card.best-value::after { content: "RECOMMENDED"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--highlight); color: #000; padding: 2px 15px; font-size: 0.75rem; font-weight: 800; border-radius: 20px; }

/* Referral */
.referral-box { background: linear-gradient(90deg, #1a1a20, #251a2b); padding: 40px; border-radius: 12px; border: 1px solid var(--border); text-align: center; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); gap: 25px; }
.videoContainer { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 10px; overflow: hidden; background: #000; border: 1px solid var(--border); }
.videoContainer iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Screenshots */
#gameImages { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; }
#gameImages img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); cursor: pointer; }

.modal:hover {
	opacity: 0.7;
	cursor: pointer;
}

.close {
	position: absolute;
	top: 10%;
	right: 7%;
}

.arrow {
	top: 50%;
}

#left_arrow {
	left: 7%;
}

#right_arrow {
	right: 7%;
}

#modalDisplay {
	display: none;
}

#modalDisplay img {
	position: fixed;
	margin: 0;
	max-width: 70%;
	max-height: 80%;
	display: inline-block;
}

.commandIcon {
	position: fixed;
	display: inline-block;
	color: #f2fffc;
	font-size: 5rem !important;
	margin-top: 0;
	margin-bottom: 0;
	cursor: pointer;
}

.commandIcon:hover {
	color: #C53FFF;
}

.abovePage {
	display: none;
	position: fixed;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	text-align: center;
	background-color: rgba(0,0,0,0.9);
}

.green {
	color: #10F010;
}

.red {
	color: #F01010;
}

/* Responsive */
@media (max-width: 1023px) {
	#navMain { display: none; }
	#navMobile { display: flex; }
	.download-center, .desc-content { grid-template-columns: 1fr; }
	.video-grid { grid-template-columns: 1fr; }
	#modalDisplay { display: none !important; }
}