:root { --paper:#fff9ed; --ink:#173d4d; --muted:#58727b; --blue:#4c83bb; --green:#4e8b70; --gold:#bb7739; --line:rgba(23,61,77,.19); }
* { box-sizing:border-box; }
html, body { min-height:100%; }
body { margin:0; color:var(--ink); font-family:Manrope, sans-serif; background:#eef4ed; }
a { color:inherit; text-decoration:none; }
button { font:inherit; }
.game-page { min-height:100vh; padding:26px; background:radial-gradient(circle at 9% 7%,rgba(252,211,151,.42),transparent 28%),linear-gradient(135deg,#fffaf0,#e2f0e7); }
.game-shell { width:min(1180px,100%); margin:0 auto; }
.game-nav { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; }
.game-brand { display:flex; align-items:center; gap:10px; font-weight:800; font-size:14px; }.game-brand i { width:29px; height:29px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--blue); font:600 16px Georgia,serif; font-style:normal; }
.back-link { color:var(--muted); font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.back-link:hover { color:var(--blue); }
.game-layout { display:grid; grid-template-columns:minmax(0,1fr) 268px; gap:22px; align-items:start; }
.game-stage { position:relative; overflow:hidden; min-height:630px; border:1px solid rgba(23,61,77,.18); background-color:#c8dfd4; background-position:center; background-size:cover; box-shadow:0 20px 45px rgba(41,88,83,.13); }
.game-stage::before { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(0deg,rgba(255,252,243,.18),rgba(255,252,243,.05)); }
canvas { position:relative; display:block; width:100%; height:auto; touch-action:none; }
.game-panel { padding:24px; border:1px solid var(--line); background:rgba(255,252,245,.8); backdrop-filter:blur(12px); }
.eyebrow { margin:0 0 8px; color:var(--gold); font:500 10px "DM Mono",monospace; letter-spacing:.14em; text-transform:uppercase; }
h1 { margin:0; font-size:32px; letter-spacing:-.055em; line-height:.98; }.game-panel > p:not(.eyebrow) { margin:13px 0 22px; color:var(--muted); font-size:13px; line-height:1.65; }
.stat { display:flex; justify-content:space-between; gap:14px; padding:14px 0; border-top:1px solid var(--line); }.stat span { color:var(--muted); font:10px "DM Mono",monospace; letter-spacing:.1em; text-transform:uppercase; }.stat strong { font-size:14px; }
.button { width:100%; min-height:45px; margin-top:18px; border:0; background:var(--ink); color:#fffdf7; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; cursor:pointer; transition:transform .2s ease,background .2s ease; }.button:hover { background:#285d72; transform:translateY(-2px); }.button--light { background:rgba(255,255,255,.74); color:var(--ink); border:1px solid var(--line); }
.game-message { min-height:42px; margin:17px 0 0; color:var(--blue); font-size:12px; font-weight:700; line-height:1.55; }.legend { display:grid; gap:9px; margin-top:22px; padding-top:18px; border-top:1px solid var(--line); }.legend div { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:11px; line-height:1.4; }.legend b { width:10px; height:10px; border-radius:50%; background:var(--blue); box-shadow:0 0 0 3px rgba(76,131,187,.12); }.legend b.green { background:var(--green); }.legend b.gold { background:var(--gold); }
.tower-options { display:grid; gap:9px; margin-top:18px; }.tower-option { width:100%; padding:12px; border:1px solid var(--line); background:#fffaf0; color:var(--ink); text-align:left; cursor:pointer; }.tower-option.is-selected { border-color:var(--blue); background:#e5f0f5; }.tower-option span { display:block; color:var(--muted); font-size:10px; margin-top:3px; }
.launcher { min-height:100vh; padding:28px; background:radial-gradient(circle at 8% 12%,rgba(250,205,150,.42),transparent 28%),linear-gradient(145deg,#fffaf0,#e2f0e7); }.launcher__inner { width:min(1050px,100%); margin:0 auto; }.launcher h1 { max-width:700px; margin-top:70px; font-size:clamp(48px,8vw,88px); }.launcher__lede { max-width:590px; color:var(--muted); line-height:1.7; }.launcher-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:48px; }.launch-card { min-height:400px; display:flex; align-items:end; padding:30px; border:1px solid var(--line); background-size:cover; background-position:center; isolation:isolate; }.launch-card::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,rgba(255,250,240,.95),rgba(255,250,240,.08)); }.launch-card h2 { margin:8px 0; font-size:38px; letter-spacing:-.055em; }.launch-card p { max-width:390px; color:#486470; line-height:1.6; font-size:14px; }
@media (max-width:850px) { .game-page { padding:16px; }.game-layout { grid-template-columns:1fr; }.game-stage { min-height:0; }.game-panel { padding:20px; }.launcher { padding:18px; }.launcher h1 { margin-top:45px; }.launcher-grid { grid-template-columns:1fr; }.launch-card { min-height:330px; } }
