/* MythosRO light cinematic refresh. Loaded after flux.css so legacy FluxCP
 * pages keep their existing behavior while the public landing is modernized. */

:root {
	--mythos-navy: #102c56;
	--mythos-blue-bright: #196bd4;
	--mythos-blue-pale: #eaf4ff;
	--mythos-gold-warm: #eab84f;
	--mythos-surface: #ffffff;
	--mythos-border-soft: #d7e5f2;
	--mythos-copy-soft: #5b6f89;
}

html,
body {
	background: #f7fbff;
}

body::before,
body::after {
	display: none;
}

.mythos-hero {
	min-height: 910px;
	padding: 22px clamp(18px, 4vw, 64px) 118px;
	color: var(--mythos-navy);
}

.mythos-hero-backdrop {
	background: url("../img/mythos/loading-screen-capital-party.png") center 42% / cover no-repeat;
	transform: none;
}

.mythos-home .mythos-hero-backdrop::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 300px;
	background: rgba(247, 251, 255, 0.86);
	box-shadow: 0 -70px 90px rgba(247, 251, 255, 0.72);
}

.mythos-topbar {
	position: relative;
	z-index: 5;
	flex-wrap: nowrap;
	gap: 18px;
	max-width: 1320px;
	padding: 11px 14px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(201, 220, 237, 0.92);
	border-radius: 18px;
	box-shadow: 0 16px 42px rgba(23, 65, 112, 0.16);
}

.mythos-brand img {
	width: min(205px, 38vw);
}

.mythos-top-status {
	order: 3;
	margin-left: 0;
}

.mythos-status-chip {
	min-height: 30px;
	padding: 6px 9px;
	color: #29435f;
	background: #f2f7fb;
	border-color: #dbe7f1;
	font-size: 11px;
}

.mythos-toplinks {
	flex: 1;
	justify-content: center;
	gap: 3px;
}

.mythos-toplinks a,
.mythos-toplinks .mythos-discord-link {
	min-height: 34px;
	padding: 8px 10px;
	color: #203b5c;
	background: transparent;
	border-color: transparent;
	border-radius: 10px;
	font-size: 12px;
}

.mythos-toplinks a:hover,
.mythos-toplinks .mythos-discord-link:hover {
	color: #0c4f9e;
	background: #edf5ff;
	border-color: #d7e6f5;
}

.mythos-toplinks a[href*="action=create"] {
	color: #4b3507;
	background: #f5cb70;
	border-color: #e5b85b;
}

.mythos-nav-toggle {
	display: none;
	min-height: 36px;
	padding: 8px 13px;
	color: #173858;
	background: #edf5ff;
	border: 1px solid #d5e4f2;
	border-radius: 10px;
	box-shadow: none;
	font-size: 12px;
}

.mythos-home-hero-inner {
	display: flex;
	align-items: flex-end;
	max-width: 1240px;
	min-height: 720px;
	margin: 24px auto 0;
}

.mythos-home .mythos-hero-copy {
	position: relative;
	z-index: 2;
	max-width: 650px;
	padding: 26px 28px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(211, 226, 240, 0.94);
	border-radius: 22px;
	box-shadow: 0 24px 60px rgba(26, 70, 118, 0.16);
	backdrop-filter: blur(14px);
}

.mythos-eyebrow,
.mythos-landing-heading > span,
.mythos-community-copy > span,
.mythos-card-label {
	display: block;
	margin-bottom: 9px;
	color: #9a6916;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mythos-home .mythos-hero-copy h1 {
	max-width: 600px;
	color: #112f59;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(52px, 6vw, 82px);
	font-weight: 700;
	line-height: 1.07;
	letter-spacing: -0.035em;
	text-shadow: none;
}

.mythos-home .mythos-hero-copy h1 span {
	color: #cc9023;
}

.mythos-home .mythos-hero-copy p {
	max-width: 590px;
	margin-top: 18px;
	color: #435e7c;
	font-size: 17px;
	font-weight: 650;
}

.mythos-home .mythos-button-primary {
	color: #3f2b05;
	background: #f2c55f;
	border-color: #e6b850;
	box-shadow: 0 12px 28px rgba(181, 125, 24, 0.2);
}

.mythos-home .mythos-button-ghost {
	color: #1454a0;
	background: #ffffff;
	border-color: #91b7e5;
	backdrop-filter: none;
}

.mythos-home .mythos-page {
	display: block;
	max-width: 1240px;
	margin-top: -74px;
	padding-bottom: 34px;
}

.mythos-home .mythos-sidebar,
.mythos-home .mythos-account-bar {
	display: none;
}

.mythos-home .mythos-content-card {
	padding: 0;
	overflow: visible;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.mythos-landing {
	display: grid;
	gap: 72px;
}

.mythos-stat-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 22px 16px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--mythos-border-soft);
	border-radius: 20px;
	box-shadow: 0 20px 45px rgba(25, 68, 113, 0.12);
}

.mythos-stat-strip div {
	display: grid;
	gap: 3px;
	padding: 3px 22px;
	border-left: 1px solid #deebf5;
}

.mythos-stat-strip div:first-child {
	border-left: 0;
}

.mythos-stat-strip strong {
	color: #173d70;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(22px, 2.6vw, 34px);
	line-height: 1.1;
}

.mythos-stat-strip span {
	color: #70829a;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.mythos-landing-section {
	display: grid;
	gap: 28px;
}

.mythos-landing-heading {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.mythos-landing-heading h2,
.mythos-community-copy h2 {
	margin: 0;
	color: #122f58;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.mythos-landing-heading p {
	margin: 14px auto 0;
	color: var(--mythos-copy-soft);
	font-size: 16px;
	font-weight: 650;
}

.mythos-feature-story {
	display: grid;
	grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.55fr);
	min-height: 350px;
	overflow: hidden;
	background: var(--mythos-surface);
	border: 1px solid var(--mythos-border-soft);
	border-radius: 22px;
	box-shadow: 0 20px 46px rgba(29, 73, 119, 0.1);
}

.mythos-feature-story-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 4vw, 48px);
}

.mythos-feature-story-copy h3 {
	margin: 0 0 14px;
	padding: 0;
	color: #15365f;
	border: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 3vw, 44px);
}

.mythos-feature-story-copy p {
	color: #5c7088;
	font-size: 15px;
	font-weight: 650;
}

.mythos-feature-story-copy a {
	width: max-content;
	margin-top: 10px;
	color: #155fb8;
	font-weight: 900;
}

.mythos-feature-story-image {
	min-height: 350px;
	background: url("../img/mythos/mythosro-login-banner.png") center / cover no-repeat;
}

.mythos-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.mythos-feature-grid article {
	position: relative;
	min-height: 250px;
	padding: 0;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid var(--mythos-border-soft);
	border-radius: 17px;
	box-shadow: 0 12px 28px rgba(29, 73, 119, 0.07);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mythos-feature-grid article:hover {
	transform: translateY(-3px);
	border-color: #9ec8ee;
	box-shadow: 0 18px 36px rgba(29, 73, 119, 0.12);
}

.mythos-feature-art-card > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.mythos-feature-art-card-readable::after {
	content: "";
	position: absolute;
	z-index: 0;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.98) 0%,
		rgba(255, 255, 255, 0.94) 42%,
		rgba(255, 255, 255, 0.68) 58%,
		rgba(255, 255, 255, 0) 82%
	);
	pointer-events: none;
}

.mythos-feature-art-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	box-sizing: border-box;
	width: 58%;
	min-height: 250px;
	padding: 25px 12px 22px 22px;
}

.mythos-feature-grid h3 {
	margin: 0 0 9px;
	padding: 0;
	color: #173858;
	border: 0;
	font-size: 17px;
}

.mythos-feature-grid p {
	margin: 0;
	color: #667a91;
	font-weight: 620;
}

.mythos-feature-art-copy a {
	margin-top: auto;
	color: #1d66b3;
	font-size: 12px;
	font-weight: 850;
}

.mythos-feature-art-copy a span {
	display: inline-block;
	margin-left: 4px;
	transition: transform 0.18s ease;
}

.mythos-feature-art-copy a:hover span {
	transform: translateX(3px);
}

.mythos-journey-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.mythos-journey-grid a {
	display: grid;
	gap: 9px;
	min-height: 205px;
	padding: 26px;
	color: #193a61;
	background: #eef6ff;
	border: 1px solid #d2e3f2;
	border-radius: 18px;
}

.mythos-journey-grid a:hover {
	color: #0f4e98;
	transform: translateY(-2px);
	background: #ffffff;
}

.mythos-journey-grid b {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	color: #ffffff;
	background: #246fc5;
	border-radius: 50%;
}

.mythos-journey-grid strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
}

.mythos-journey-grid span {
	color: #667a91;
	font-weight: 650;
}

.mythos-community-banner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 390px;
	padding: clamp(32px, 6vw, 72px);
	background: url("../img/mythos/loading-screen-capital-party.png") center 42% / cover no-repeat;
	border: 1px solid #c8def1;
	border-radius: 22px;
	box-shadow: 0 22px 50px rgba(20, 60, 105, 0.14);
}

.mythos-community-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(9, 48, 99, 0.78);
}

.mythos-community-copy {
	max-width: 590px;
	padding: 28px;
	background: rgba(8, 38, 79, 0.72);
	border: 1px solid rgba(221, 239, 255, 0.28);
	border-radius: 18px;
	backdrop-filter: blur(8px);
}

.mythos-community-copy > span {
	color: #f5ce77;
}

.mythos-community-copy h2,
.mythos-community-copy p {
	color: #ffffff;
}

.mythos-community-copy p {
	margin-top: 14px;
	font-size: 16px;
	font-weight: 650;
}

.mythos-community-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.mythos-button-discord {
	color: #ffffff;
	background: #5865f2;
	border: 1px solid #7882f5;
}

.mythos-button-light {
	color: #153a68;
	background: #ffffff;
	border: 1px solid #d4e5f4;
}

.mythos-landing-footer {
	display: grid;
	grid-template-columns: minmax(180px, 0.7fr) minmax(260px, 1fr) auto;
	align-items: center;
	gap: 28px;
	padding: 26px 4px 8px;
	border-top: 1px solid #d9e6f1;
}

.mythos-landing-footer img {
	width: min(210px, 100%);
}

.mythos-landing-footer p {
	margin: 0;
	color: #6a7d93;
	font-size: 12px;
	font-weight: 650;
}

.mythos-landing-footer nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 14px;
}

.mythos-landing-footer a {
	color: #315879;
	font-size: 12px;
	font-weight: 850;
}

.mythos-inner .mythos-hero {
	min-height: 320px;
	padding-bottom: 54px;
}

.mythos-inner .mythos-hero-backdrop::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(9, 35, 69, 0.48);
}

.mythos-inner .mythos-hero-clean,
.mythos-inner .mythos-hero-spacer {
	min-height: 130px;
}

/* Preserve the current production Rates and Download page presentation. */
.mythos-info-page,
.mythos-download-page {
	display: grid;
	gap: 18px;
}

.mythos-info-grid,
.mythos-download-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.mythos-info-card,
.mythos-download-card {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(95, 154, 205, 0.22);
	border-radius: 18px;
	box-shadow: 0 16px 34px rgba(18, 54, 92, 0.1);
}

.mythos-info-card { padding: 20px; }
.mythos-info-card-wide { grid-column: 1 / -1; }
.mythos-info-list { display: grid; gap: 10px; margin: 0; }
.mythos-info-list div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid rgba(95, 154, 205, 0.16); }
.mythos-info-list div:first-child { border-top: 0; padding-top: 0; }
.mythos-info-list dt { color: #6b7c90; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.mythos-info-list dd { margin: 0; color: #253a56; font-weight: 800; }
.mythos-feature-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.mythos-feature-list li { position: relative; padding-left: 18px; color: #253a56; font-weight: 750; }
.mythos-feature-list li::before { content: ""; position: absolute; top: 0.72em; left: 0; width: 7px; height: 7px; background: #2a84d2; border-radius: 50%; transform: translateY(-50%); }
.mythos-feature-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mythos-info-card code { padding: 2px 6px; color: #0d4870; background: rgba(75, 215, 255, 0.14); border-radius: 7px; font-weight: 900; }
.mythos-download-card { display: grid; gap: 8px; min-height: 156px; padding: 22px; color: #1c3652; }
.mythos-download-card:hover { color: #052441; background: #ffffff; border-color: rgba(75, 159, 212, 0.34); transform: translateY(-1px); }
.mythos-download-primary { border-color: rgba(245, 200, 106, 0.46); box-shadow: 0 18px 36px rgba(157, 106, 29, 0.16); }
.mythos-download-label { width: max-content; padding: 5px 9px; color: #093657; background: rgba(75, 215, 255, 0.16); border: 1px solid rgba(75, 159, 212, 0.2); border-radius: 999px; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.mythos-download-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mythos-download-brand { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; background: #ffffff; border: 1px solid rgba(95, 154, 205, 0.2); border-radius: 14px; box-shadow: 0 10px 24px rgba(18, 54, 92, 0.1); }
.mythos-download-brand svg { display: block; width: 30px; height: 30px; }
.mythos-download-brand-drive .drive-green { fill: #34a853; }
.mythos-download-brand-drive .drive-yellow { fill: #fbbc04; }
.mythos-download-brand-drive .drive-blue { fill: #4285f4; }
.mythos-download-brand-mediafire { background: #e9f7ff; }
.mythos-download-brand-mediafire svg path:first-child { fill: #1788d9; }
.mythos-download-brand-mediafire .mediafire-flame { fill: #ffffff; }
.mythos-download-card strong { color: #152a43; font-size: 21px; line-height: 1.15; }
.mythos-download-note { color: #61758c; font-weight: 700; }

@media (max-width: 1100px) {
	.mythos-topbar { flex-wrap: wrap; }
	.mythos-toplinks { order: 4; flex-basis: 100%; justify-content: flex-start; }
	.mythos-top-status { margin-left: auto; }
	.mythos-home-hero-inner { min-height: 500px; }
}

@media (max-width: 820px) {
	.mythos-hero { min-height: 650px; padding: 14px 14px 96px; }
	.mythos-topbar { align-items: center; flex-direction: row; padding: 10px 12px; }
	.mythos-brand img { width: 175px; }
	.mythos-nav-toggle { display: inline-flex; order: 3; margin-left: auto; }
	.mythos-top-status { order: 2; margin-left: auto; }
	.mythos-toplinks { display: none; order: 4; flex-basis: 100%; padding-top: 8px; border-top: 1px solid #e0ebf4; }
	.mythos-toplinks.is-open { display: flex; }
	.mythos-home-hero-inner { min-height: 470px; }
	.mythos-home .mythos-page { margin-top: -58px; padding-inline: 14px; }
	.mythos-stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
	.mythos-stat-strip div:nth-child(3) { border-left: 0; }
	.mythos-feature-story { grid-template-columns: 1fr; }
	.mythos-feature-story-image { min-height: 280px; order: -1; }
	.mythos-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mythos-landing-footer { grid-template-columns: 1fr; }
	.mythos-landing-footer nav { justify-content: flex-start; }
	.mythos-info-grid,
	.mythos-download-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.mythos-hero { min-height: 610px; }
	.mythos-brand img { width: 150px; }
	.mythos-top-status { order: 4; width: 100%; justify-content: flex-start; }
	.mythos-nav-toggle { order: 2; }
	.mythos-toplinks { order: 3; }
	.mythos-status-chip { flex: 1; justify-content: center; }
	.mythos-home-hero-inner { align-items: flex-end; min-height: 440px; }
	.mythos-home .mythos-hero-copy { padding: 22px; }
	.mythos-home .mythos-hero-copy h1 { font-size: 48px; }
	.mythos-home .mythos-hero-copy p { font-size: 15px; }
	.mythos-home .mythos-page { margin-top: -48px; }
	.mythos-landing { gap: 54px; }
	.mythos-stat-strip { padding: 18px 10px; }
	.mythos-stat-strip div { padding-inline: 14px; }
	.mythos-stat-strip strong { font-size: 23px; }
	.mythos-feature-grid,
	.mythos-journey-grid { grid-template-columns: 1fr; }
	.mythos-feature-grid article { min-height: 250px; }
	.mythos-community-banner { min-height: 430px; padding: 18px; }
	.mythos-community-copy { padding: 22px; }
	.mythos-info-list div,
	.mythos-feature-columns { grid-template-columns: 1fr; }
	.mythos-download-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
