/*
 * OpenVMK — vmk.site
 * Look & feel modelled on the 2007 vmk.disney.go.com site:
 *   lime page, deep-blue banner band, orange folder-tab content panel,
 *   glossy green "Play Now" disc, dark scanline scoreboard.
 * All chrome is drawn in CSS so no original Disney artwork is required.
 */

:root {
	--lime: #add938;
	--lime-light: #cded7e;
	--lime-dark: #93b830;
	--blue-deep: #0a2a78;
	--blue: #003399;
	--blue-mid: #0064ac;
	--blue-soft: #4c8cbf;
	--sky: #35ade4;
	--orange: #ff9a00;
	--orange-hot: #ff5d00;
	--gold: #ffd200;
	--gold-pale: #ffc968;
	--purple: #8a4691;
	--link: #4942d0;
	--ink: #1b1b1b;
	--panel: #fffbea;
	--wrap: 1001px;
	--font: Arial, Verdana, Helvetica, sans-serif;
	--display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--lime); }

body {
	margin: 0;
	font: 12px/1.45 var(--font);
	color: var(--ink);
	background:
		radial-gradient(1200px 500px at 85% -10%, #e2f59a 0%, transparent 60%),
		linear-gradient(180deg, #c2e65c 0%, var(--lime) 420px, var(--lime) 100%);
	min-height: 100vh;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.shell {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	position: relative;
}

/* ---------- Top strip (stands in for the old Disney.com chrome bar) ---------- */
.topbar {
	background: var(--blue);
	color: #fff;
	font-size: 11px;
}
.topbar .shell {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 28px;
	padding: 0 16px;
}
.topbar a { color: #cfe0ff; margin-left: 14px; }
.topbar .status-dot {
	display: inline-block;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #888;
	margin-right: 6px;
	vertical-align: middle;
}
.topbar .status-dot.up { background: #6ef04a; box-shadow: 0 0 6px #6ef04a; }
.topbar .status-dot.down { background: #ff5b4a; }

/* ---------- Banner ---------- */
.banner {
	position: relative;
	height: 268px;
	margin-top: 18px;
}
.banner__band {
	position: absolute;
	left: 0; right: 0;
	top: 40px;
	height: 200px;
	border-top: 6px solid #081c52;
	border-bottom: 6px solid #081c52;
	background:
		radial-gradient(500px 160px at 75% 55%, rgba(87,170,255,.55), transparent 70%),
		repeating-radial-gradient(ellipse at 100% 50%, rgba(255,255,255,.07) 0 2px, transparent 2px 22px),
		linear-gradient(180deg, #0b3c9c 0%, #082f86 55%, #0a2a78 100%);
	overflow: hidden;
}
.banner__scene {
	position: absolute;
	left: 70px;
	top: 0; bottom: 0;
	width: 470px;
	background-size: cover;
	background-position: center;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 80%, transparent 100%);
	        mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 80%, transparent 100%);
	opacity: .95;
}
.banner__scene.placeholder {
	background:
		radial-gradient(70px 40px at 30% 75%, #2d6b1c, transparent 70%),
		radial-gradient(90px 50px at 70% 80%, #3f8a22, transparent 70%),
		radial-gradient(160px 90px at 50% 20%, #ffe48a55, transparent 70%),
		linear-gradient(180deg, #3a78c9 0%, #1f4f93 60%, #173d6b 100%);
}
.banner__tagline {
	position: absolute;
	left: 110px;
	top: 95px;
	font-family: var(--display);
	color: #fff;
	text-shadow: 0 2px 0 #072163, 0 0 12px rgba(0,0,0,.45);
	line-height: 1.05;
	transform: rotate(-3deg);
}
.banner__tagline small {
	display: block;
	font-size: 26px;
	font-style: italic;
	color: #bfe9ff;
}
.banner__tagline strong {
	display: block;
	font-size: 36px;
	font-style: italic;
	color: #9fdcff;
}

/* Logo badge */
.logo {
	position: absolute;
	left: 12px;
	top: 0;
	z-index: 3;
	display: block;
	padding: 8px 16px 6px;
	background: linear-gradient(180deg, #2d63d6 0%, #0b3299 100%);
	border: 3px solid #fff;
	border-radius: 10px;
	box-shadow: 0 0 0 3px #0a2a78, 0 6px 14px rgba(0,0,0,.35);
	text-align: center;
	color: #fff;
	font-family: var(--display);
	line-height: 1;
	text-decoration: none !important;
	transform: rotate(-2deg);
}
.logo__line1 { display: block; font-size: 17px; font-style: italic; }
.logo__line2 { display: block; font-size: 19px; font-style: italic; }
.logo__pill {
	display: inline-block;
	margin-top: 4px;
	padding: 2px 12px;
	border-radius: 999px;
	background: linear-gradient(180deg, #c6f05a, #6fb51b);
	color: #0a2a78;
	font-size: 15px;
	letter-spacing: .5px;
	border: 2px solid #fff;
}

/* Play Now disc */
.play-now {
	position: absolute;
	left: 520px;
	top: 55px;
	z-index: 4;
	width: 170px;
	height: 170px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-decoration: none !important;
	font-family: var(--display);
	color: #fff;
	background:
		radial-gradient(110px 60px at 50% 20%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%),
		radial-gradient(circle at 50% 60%, #8ee02a 0%, #4ea80f 60%, #2f7a06 100%);
	border: 5px solid #0a2a78;
	box-shadow: 0 0 0 4px #6fd1ff, 0 0 26px 6px rgba(111,209,255,.7), 0 10px 18px rgba(0,0,0,.35);
	transition: transform .12s ease, filter .12s ease;
}
.play-now:hover { transform: scale(1.05); filter: brightness(1.08); }
.play-now:active { transform: scale(.98); }
.play-now__big { font-size: 38px; line-height: .95; text-shadow: 0 2px 0 #2a6a05; text-align: center; }
.play-now__big--sm { font-size: 30px; }
.play-now__free { font-size: 17px; color: var(--orange-hot); margin-top: 4px; text-shadow: 0 1px 0 #fff; }
.play-now__sub { font-size: 13px; color: #0a2a78; }

/* Mascot slot (drop in an avatar PNG later) */
.banner__mascot {
	position: absolute;
	left: 18px;
	top: 150px;
	width: 90px;
	z-index: 3;
	filter: drop-shadow(0 6px 4px rgba(0,0,0,.3));
}

/* Scoreboard (Top Players) */
.scoreboard {
	position: absolute;
	right: 22px;
	top: 52px;
	width: 270px;
	z-index: 3;
	display: flex;
	gap: 6px;
}
.scoreboard__features { width: 120px; display: flex; flex-direction: column; gap: 5px; }
.feature-chip {
	height: 56px;
	border-radius: 8px;
	padding: 7px 8px;
	color: #fff;
	font-size: 10px;
	line-height: 1.25;
	background: linear-gradient(180deg, #2876d0, #0b3c9c);
	border: 2px solid #fff;
	box-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.feature-chip b { display: block; font-size: 9px; text-transform: uppercase; color: var(--gold); letter-spacing: .5px; }
.feature-chip span { font-weight: bold; font-size: 12px; }

.top-players {
	flex: 1;
	border-radius: 8px;
	border: 2px solid #4a4a4a;
	background:
		repeating-linear-gradient(180deg, #1e1e1e 0 2px, #2b2b2b 2px 4px);
	color: #fff;
	padding: 0 0 34px;
	position: relative;
	box-shadow: 0 3px 6px rgba(0,0,0,.35);
	min-height: 178px;
}
.top-players h4 {
	margin: 0;
	padding: 4px 8px;
	font-size: 10px;
	letter-spacing: .5px;
	text-transform: uppercase;
	border-bottom: 1px solid #555;
}
.top-players select {
	margin: 6px 8px 4px;
	width: calc(100% - 16px);
	font-size: 10px;
}
.top-players ol { margin: 0; padding: 0 8px 0 26px; font-size: 10px; }
.top-players li { margin: 2px 0; }
.top-players li .n { color: #9cd427; font-weight: bold; }
.top-players__btn {
	position: absolute;
	left: -6px;
	bottom: 6px;
	padding: 3px 14px;
	background: linear-gradient(180deg, #8ee02a, #4ea80f);
	color: #fff;
	font-family: var(--display);
	font-size: 15px;
	transform: skewX(-10deg);
	border: 2px solid #fff;
	box-shadow: 0 2px 3px rgba(0,0,0,.4);
}

/* Restoration progress (reuses the Top Players board) */
.progress-list { list-style: none; margin: 4px 0 0; padding: 0 8px; font-size: 10px; }
.progress-list li { display: flex; gap: 6px; align-items: center; margin: 2px 0; }
.progress-list i {
	flex: 0 0 13px; height: 13px; border-radius: 50%;
	display: grid; place-items: center;
	font-style: normal; font-size: 8px; font-weight: bold;
	background: #555; color: #ccc;
}
.progress-list .p-done i { background: #6fb51b; color: #fff; }
.progress-list .p-wip i { background: var(--orange); color: #fff; }
.progress-list .p-todo { color: #999; }
.progress-meter { margin: 6px 8px 0; height: 6px; border-radius: 3px; background: #444; overflow: hidden; }
.progress-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8ee02a, #ffd200); transition: width .6s ease; }

/* Three-up pillars, OpenFusion-style */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillars .wave h3 { margin-bottom: 4px; }
.pillars .wave p { margin: 0; font-weight: normal; }

pre.cmd {
	margin: 6px 0 12px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #10224f;
	color: #d6f5a0;
	font: 12px/1.5 Consolas, "Courier New", monospace;
	overflow-x: auto;
	border: 2px solid #fff;
}
pre.cmd .c { color: #7f9bd6; }

/* ---------- Content area ---------- */
.content {
	display: grid;
	grid-template-columns: 182px 1fr;
	gap: 18px;
	padding: 0 16px 30px;
}

/* Sidebar */
.sidebar .players {
	margin: 0 0 14px 6px;
	color: #fff;
	font-weight: bold;
	letter-spacing: 1px;
	text-shadow: 0 1px 1px rgba(0,0,0,.35);
}
.sidebar .players b { color: var(--blue); text-shadow: none; }

.sb-box {
	margin-bottom: 18px;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(180deg, #ffa21c, #ff7f00);
	box-shadow: 0 3px 0 #c55f00, 0 5px 10px rgba(0,0,0,.18);
	color: #fff;
}
.sb-box h4 {
	margin: 0;
	padding: 6px 10px;
	font-family: var(--display);
	font-style: italic;
	font-size: 16px;
	font-weight: normal;
	color: var(--gold);
	text-shadow: 0 1px 0 #a24a00;
	background: linear-gradient(180deg, #ffb94a, #ff8c10);
	border-bottom: 1px solid #ffd27a;
}
.sb-box .sb-body { padding: 10px; font: 11px/1.4 Verdana, Arial, sans-serif; }
.sb-box label { display: block; font-weight: bold; margin: 4px 0 2px; }
.sb-box input[type=text], .sb-box input[type=password] {
	width: 100%;
	padding: 3px 4px;
	border: 1px solid #c55f00;
	border-radius: 3px;
	font-size: 11px;
}
.sb-box ul { list-style: none; margin: 6px 0 0; padding: 0; }
.sb-box li { padding-left: 10px; position: relative; margin: 3px 0; }
.sb-box li::before { content: "–"; position: absolute; left: 0; }
.sb-box a, .sb-box .green { color: var(--lime-light); font-weight: bold; }

.btn {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 999px;
	font: bold 11px Verdana, Arial, sans-serif;
	color: #fff !important;
	text-decoration: none !important;
	background: linear-gradient(180deg, #2f7fe0, #0b3c9c);
	border: 2px solid #fff;
	box-shadow: 0 2px 3px rgba(0,0,0,.3);
	cursor: pointer;
}
.btn:hover { filter: brightness(1.12); }
.btn--green { background: linear-gradient(180deg, #8ee02a, #3f950a); }
.btn--orange { background: linear-gradient(180deg, #ffb13b, #ff6a00); }
.btn--right { float: right; }

/* Nav (VMK-style stacked pill links) */
.nav { margin: 0 0 18px; padding: 0; list-style: none; }
.nav li { margin: 0 0 6px; }
.nav a {
	display: block;
	padding: 6px 12px;
	border-radius: 999px;
	font: bold 12px Verdana, Arial, sans-serif;
	color: #fff;
	background: linear-gradient(180deg, #3a8be6, #0b3c9c);
	border: 2px solid #fff;
	box-shadow: 0 2px 3px rgba(0,0,0,.2);
	text-decoration: none;
}
.nav a:hover { filter: brightness(1.12); text-decoration: none; }
.nav a.on { background: linear-gradient(180deg, #ffd23b, #ff9a00); color: #6b2b00; }

/* Main orange folder panel */
.folder {
	position: relative;
	margin-top: 22px;
	padding: 34px 22px 24px;
	border-radius: 0 12px 12px 12px;
	background: linear-gradient(160deg, #ffd000 0%, #ffb400 45%, #ff9600 100%);
	box-shadow: inset 0 0 0 1px #ffe25a, 0 4px 0 #d27300, 0 8px 18px rgba(0,0,0,.18);
	min-height: 420px;
}
.folder::before { /* the tab */
	content: attr(data-tab);
	position: absolute;
	left: 0;
	top: -22px;
	height: 24px;
	min-width: 220px;
	padding: 3px 34px 0 14px;
	font-family: var(--display);
	font-size: 17px;
	font-style: italic;
	color: var(--purple);
	background: linear-gradient(180deg, #ffe14a, #ffd000);
	border-radius: 10px 0 0 0;
	clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
}
.folder::after { /* the light rule under the tab */
	content: "";
	position: absolute;
	left: 14px; right: 14px; top: 14px;
	height: 1px;
	background: rgba(255,255,255,.55);
}
.folder h2, .folder h3 {
	font-family: var(--display);
	font-weight: normal;
	color: var(--purple);
	margin: 0 0 8px;
}
.folder h2 { font-size: 24px; font-style: italic; }
.folder h3 { font-size: 19px; }
.folder p { margin: 0 0 10px; font-size: 12px; }
.folder hr { border: 0; height: 1px; background: var(--gold-pale); margin: 14px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Waves (feature cards) */
.wave {
	border-radius: 14px;
	padding: 12px 14px;
	font-weight: bold;
	position: relative;
	overflow: hidden;
}
.wave::after {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(120% 60% at 0% 100%, rgba(255,255,255,.25), transparent 60%);
	pointer-events: none;
}
.wave--orange { background: linear-gradient(170deg, #ffcc33, #ff9900 60%, #ffb000); color: #3a1a00; }
.wave--blue { background: linear-gradient(170deg, #6fc8f5, #2a8fd6); color: #fff; }
.wave--blue a { color: #fff; text-decoration: underline; }
.wave--yellow { background: linear-gradient(170deg, #fff28a, #ffd200); color: #3a2a00; }
.wave--purple { background: linear-gradient(170deg, #e8b7ff, #b56fe0); color: #2a0040; }

/* Events table */
.events {
	border-radius: 10px;
	overflow: hidden;
	background: #fff6dd;
	border: 2px solid #ffa600;
}
.events table { border-collapse: collapse; width: 100%; font-size: 11px; }
.events td { vertical-align: top; padding: 4px 6px; border-bottom: 1px solid #ffa600; color: #fff; }
.events tr:last-child td { border-bottom: 0; }
.events .date {
	width: 70px;
	text-align: center;
	font-weight: bold;
	background: linear-gradient(90deg, #0064ac, #0b4f8f);
}
.events .game { background: var(--sky); }
.events .park { background: #d79ff3; color: #2a0040; }
.events .dev { background: var(--blue-soft); }

/* Status / changelog pills */
.tag {
	display: inline-block;
	padding: 1px 7px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: .4px;
	vertical-align: 1px;
}
.tag--live { background: #3f950a; color: #fff; }
.tag--wip { background: #ff6a00; color: #fff; }
.tag--todo { background: #7a7a7a; color: #fff; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 5px 0; border-top: 1px solid rgba(255,255,255,.5); display: flex; gap: 8px; align-items: baseline; }
.checklist li:first-child { border-top: 0; }

/* Lands / room cards */
.lands { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.land {
	border-radius: 12px;
	padding: 10px 12px;
	background: rgba(255,255,255,.55);
	border: 2px solid #fff;
}
.land h4 { margin: 0 0 4px; font-family: var(--display); font-weight: normal; font-size: 15px; color: var(--blue); }
.land ul { margin: 0; padding-left: 16px; font-size: 11px; }

/* FAQ */
details.faq {
	background: rgba(255,255,255,.55);
	border: 2px solid #fff;
	border-radius: 10px;
	padding: 8px 12px;
	margin-bottom: 8px;
}
details.faq summary { cursor: pointer; font-weight: bold; color: var(--blue); font-size: 13px; }
details.faq p { margin: 8px 0 2px; }

code, .mono { font-family: Consolas, "Courier New", monospace; font-size: 11px; background: rgba(255,255,255,.6); padding: 1px 4px; border-radius: 3px; }

/* ---------- Footer ---------- */
.std-content {
	max-width: 560px;
	margin: 6px 0 0 218px;
	padding: 0;
	list-style: none;
	font: 10px Verdana, Arial, sans-serif;
}
.std-content li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	border-top: 1px solid var(--lime-dark);
}
.std-content li:first-child { border-top: 0; }
.std-content .ico {
	flex: 0 0 22px;
	height: 22px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	font: bold 12px var(--display);
	background: var(--blue);
}
.std-content a { color: #000; border-bottom: 1px solid; text-decoration: none; margin-left: 4px; }

.legal {
	margin-top: 18px;
	padding: 14px 16px 26px;
	background: #000;
	color: #aaa;
	font: 10px/1.5 Verdana, Arial, sans-serif;
	text-align: center;
}
.legal a { color: #ddd; margin: 0 6px; }
.legal p { margin: 4px auto; max-width: 760px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.scoreboard { display: none; }
	.play-now { left: auto; right: 22px; }
}
@media (max-width: 760px) {
	.banner { height: 250px; }
	.banner__scene { left: 0; width: 100%; opacity: .5; }
	.banner__tagline { left: 18px; right: 18px; top: 150px; }
	.banner__tagline small { font-size: 16px; }
	.banner__tagline strong { font-size: 21px; }
	.banner__mascot { display: none; }
	.play-now { width: 130px; height: 130px; top: 60px; right: 16px; }
	.play-now__big { font-size: 28px; }
	.content { grid-template-columns: 1fr; }
	.sidebar { order: 2; }
	.grid-2, .pillars { grid-template-columns: 1fr; }
	.std-content { margin: 6px 16px 0; }
	.topbar .links a:not(:last-child) { display: none; }
}
