/* Starlight Kingdom — dusk violet, starlight gold. */
:root {
	--bg: #0a0920;
	--surface: #141334;
	--ink: #f3efff;
	--muted: #a7a3c9;
	--line: rgba(243, 239, 255, 0.12);
	--accent: #f5c97a;
	--on-accent: #1b1204;
	--font-display: "Marcellus", Georgia, serif;
	--font-body: "Outfit", system-ui, sans-serif;
	--display-weight: 400;
	--display-tracking: 0;
	--radius: 24px;
}

body { background: radial-gradient(120% 1400px at 50% 0%, #17143d, var(--bg) 70%) var(--bg); }
.over { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; font-weight: 500; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; }
h2 { font-size: clamp(36px, 4.8vw, 66px); line-height: 1.04; text-wrap: balance; }

.nav { position: fixed; inset: 0 0 auto; z-index: 30; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(10, 9, 32, 0.75); backdrop-filter: blur(18px); border-color: var(--line); }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 21px; text-decoration: none; }
.brand svg { width: 22px; height: 22px; color: var(--accent); }
.nav-links { display: flex; gap: 30px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 900px) { .nav-links { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform 0.2s, box-shadow 0.3s, background 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, #ffe0a3, #f0b85a); color: var(--on-accent); box-shadow: 0 8px 30px -10px rgba(245, 201, 122, 0.7); }
.btn-gold:hover { box-shadow: 0 14px 40px -10px rgba(245, 201, 122, 0.9); }
.btn-glass { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.18); }

.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 40px; overflow: hidden; }
.hero-img { position: absolute; top: 0; left: 0; width: 135%; max-width: none; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .hero-img { width: 100%; } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 9, 32, 0.75), rgba(10, 9, 32, 0.1) 60%), linear-gradient(0deg, var(--bg), transparent 35%); }
.hero-copy { position: relative; }
.hero h1 { font-size: clamp(52px, 8vw, 124px); line-height: 0.96; max-width: 11ch; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: rgba(243, 239, 255, 0.82); max-width: 44ch; margin: 24px 0 36px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.status { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border: 1px solid var(--line); border-radius: 18px; background: rgba(20, 19, 52, 0.55); backdrop-filter: blur(16px); }
.status div { padding: 18px 24px; font-size: 14px; color: var(--muted); border-right: 1px solid var(--line); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.status div:last-child { border-right: 0; }
.status strong { color: var(--ink); font-weight: 600; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #6ef0a8; box-shadow: 0 0 12px #6ef0a8; }
@media (max-width: 820px) { .status { grid-template-columns: 1fr; } .status div { border-right: 0; border-bottom: 1px solid var(--line); } .status div:last-child { border-bottom: 0; } }

.head { margin-bottom: clamp(36px, 5vw, 60px); }
.lands, .plan { padding: clamp(80px, 10vw, 140px) 0; }
.land-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.land { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s, box-shadow 0.4s; }
.land:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(120, 90, 255, 0.5); }
.land img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.land-body { padding: 24px 26px 28px; }
.land h3 { font-size: 30px; margin: 14px 0 8px; }
.land p { margin: 0; color: var(--muted); }
.wait { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; font-style: normal; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.wait::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.wait.ok { color: #6ef0a8; background: rgba(110, 240, 168, 0.12); }
.wait.mid { color: #ffd479; background: rgba(255, 212, 121, 0.12); }
.wait.hi { color: #ff8f9e; background: rgba(255, 143, 158, 0.12); }
.wait.show { color: #c7b4ff; background: rgba(199, 180, 255, 0.14); }
.wait.rest { color: var(--muted); background: rgba(255, 255, 255, 0.06); }
@media (max-width: 900px) { .land-grid { grid-template-columns: 1fr; } }

.planner { display: grid; grid-template-columns: 320px 1fr; grid-template-rows: auto auto; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(30, 27, 74, 0.9), rgba(16, 15, 44, 0.9)); overflow: hidden; box-shadow: 0 60px 120px -60px rgba(80, 60, 200, 0.6); }
.modes { grid-row: 1 / 3; padding: 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.modes button { text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid transparent; background: none; transition: background 0.2s, border-color 0.2s; }
.modes button strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.modes button span { font-size: 14px; color: var(--muted); }
.modes button:hover { background: rgba(255, 255, 255, 0.04); }
.modes button[aria-selected="true"] { background: rgba(245, 201, 122, 0.1); border-color: rgba(245, 201, 122, 0.45); }
.modes button[aria-selected="true"] strong { color: var(--accent); }
.modes-note { margin-top: auto; padding: 16px 20px 4px; font-size: 13px; color: var(--muted); }
.itinerary { padding: 28px clamp(20px, 3vw, 40px) 8px; animation: fade 0.45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.it-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.saved { color: #6ef0a8; }
.itinerary ol { list-style: none; margin: 0; padding: 0; position: relative; }
.itinerary ol::before { content: ""; position: absolute; left: 62px; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(var(--accent), rgba(245, 201, 122, 0.1)); }
.itinerary li { display: grid; grid-template-columns: 50px 1fr auto; gap: 26px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); position: relative; }
.itinerary li:last-child { border-bottom: 0; }
.itinerary li::before { content: ""; position: absolute; left: 58px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.itinerary li.is-show::before { background: #c7b4ff; border-color: #c7b4ff; box-shadow: 0 0 12px #c7b4ff; }
.itinerary time { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 15px; }
.itinerary strong { display: block; font-weight: 500; font-size: 17px; }
.itinerary span { font-size: 14px; color: var(--muted); }
.it-foot { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px clamp(20px, 3vw, 40px) 28px; border-top: 1px solid var(--line); }
.it-foot p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
	.planner { grid-template-columns: 1fr; }
	.modes { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; overflow-x: auto; }
	.modes button { flex: none; }
	.modes-note { display: none; }
	.it-foot { grid-column: 1; }
}

.night-show { position: relative; min-height: 80vh; display: flex; align-items: flex-end; padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.night-show img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.night-show::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10, 9, 32, 0.9), transparent 55%), linear-gradient(180deg, var(--bg), transparent 20%); }
.show-copy { position: relative; z-index: 2; }
.night-show h2 { font-size: clamp(56px, 9vw, 140px); line-height: 0.95; }
.show-copy > p:not(.over) { max-width: 44ch; color: rgba(243, 239, 255, 0.82); font-size: 18px; margin: 20px 0 30px; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 32px 0 44px; }
.foot .brand { font-size: 18px; color: var(--ink); }
.foot a { color: var(--ink); }

.study .cs-end { background: linear-gradient(160deg, #221e5a, #141334); color: var(--ink); border: 1px solid var(--line); }
