:root{
  --ink:#24324a;
  --muted:#65738a;
  --blue:#566fdd;
  --blue2:#7990ed;
  --orange:#ff9d28;
  --card:#fff;
  --line:#dce5f0;
  --bg1:#eef7ff;
  --bg2:#fff5df;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:linear-gradient(150deg,var(--bg1),#f7fbff 48%,var(--bg2));}
body{min-height:100vh;overflow-x:hidden}
button{font:inherit}
.world-select{width:min(1180px,calc(100% - 28px));margin:0 auto;padding:28px 0 34px}
.hero{position:relative;display:flex;align-items:center;gap:22px;padding:28px 30px;border:1px solid rgba(255,255,255,.9);border-radius:26px;background:rgba(255,255,255,.82);box-shadow:0 18px 50px rgba(64,86,126,.13);backdrop-filter:blur(12px);overflow:hidden}
.hero:after{content:"";position:absolute;right:-70px;top:-80px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,#ffcf75 0,#ffb53a66 38%,transparent 70%)}
.brand-icon{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 92px;width:92px;height:92px;border-radius:25px;background:linear-gradient(145deg,#536cda,#7e92ef);color:#fff;font-weight:1000;font-size:31px;letter-spacing:-2px;box-shadow:0 12px 28px rgba(72,94,190,.28);transform:rotate(-3deg)}
.hero-copy{position:relative;z-index:1}.eyebrow{font-size:11px;font-weight:950;letter-spacing:.14em;color:#5e72ce}.hero h1{font-size:42px;line-height:1;margin:7px 0 10px}.hero p{margin:0;max-width:700px;color:var(--muted);font-size:16px;line-height:1.45}
.progress-strip{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:12px;margin:18px 0;padding:14px 18px;border-radius:18px;background:#fff8;box-shadow:0 8px 25px rgba(64,86,126,.06)}
.progress-strip>div{display:flex;flex-direction:column;align-items:center;text-align:center}.progress-strip b{font-size:14px}.progress-strip span{font-size:11px;color:var(--muted);margin-top:2px}.progress-strip i{font-style:normal;color:#a8b5c9;font-size:22px}
.levels-section{padding:22px 0 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:14px}.section-head h2{margin:5px 0 0;font-size:29px}.legend{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}.dot{width:9px;height:9px;border-radius:50%;display:inline-block}.dot.ready{background:#40bd78}.dot.locked{background:#bcc7d6;margin-left:7px}
.levels-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:820px;margin:0 auto}.level-card{position:relative;min-height:310px;padding:18px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 10px 28px rgba(62,82,117,.09);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;overflow:hidden}.level-card.available:hover{transform:translateY(-4px);box-shadow:0 17px 35px rgba(62,82,117,.15);border-color:#acbaf3}.level-card.locked{opacity:.68}.level-card.checking{opacity:.76}.level-top{display:flex;justify-content:space-between;align-items:center}.level-number{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#edf1ff;color:#5369d2;font-size:22px;font-weight:1000}.available .level-number{background:linear-gradient(145deg,#536cda,#7d90ec);color:#fff}.status-pill{padding:6px 10px;border-radius:999px;background:#eef1f5;color:#7a8798;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.available .status-pill{background:#e7f8ee;color:#288853}.level-location{margin-top:19px;color:#9b6b28;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.level-card h3{font-size:23px;line-height:1.05;margin:6px 0 3px}.subtitle{font-size:13px;font-weight:800;color:#6476cf}.level-card p{font-size:13px;line-height:1.45;color:var(--muted);min-height:76px}.skill{display:inline-block;padding:6px 9px;border-radius:8px;background:#f4f6fa;color:#607088;font-size:10px;font-weight:900}.play-btn{position:absolute;left:18px;right:18px;bottom:18px;min-height:43px;border:0;border-radius:12px;background:#edf0f5;color:#8895a5;font-weight:950;cursor:not-allowed}.available .play-btn{cursor:pointer;background:linear-gradient(135deg,var(--orange),#ffb949);color:#fff;box-shadow:0 8px 20px rgba(255,157,40,.27)}.available .play-btn:hover{filter:brightness(1.035)}
.footer-note{text-align:center;color:#8491a3;font-size:11px;padding:24px 10px 0}
@media(max-width:900px){.levels-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}.hero h1{font-size:36px}}
@media(max-width:620px){.world-select{width:min(100% - 16px,1180px);padding:8px 0 18px}.hero{padding:17px 15px;border-radius:20px;gap:13px;align-items:flex-start}.brand-icon{width:60px;height:60px;flex-basis:60px;border-radius:17px;font-size:21px}.eyebrow{font-size:8px}.hero h1{font-size:28px;margin:5px 0 7px}.hero p{font-size:12px;line-height:1.35}.progress-strip{gap:5px;padding:9px 5px;margin:9px 0;border-radius:14px}.progress-strip b{font-size:11px}.progress-strip span{font-size:8px}.progress-strip i{font-size:14px}.section-head{align-items:flex-start;margin:12px 4px}.section-head h2{font-size:22px}.legend{font-size:8px;margin-top:3px}.levels-grid{grid-template-columns:1fr;gap:10px}.level-card{min-height:238px;padding:14px;border-radius:18px}.level-number{width:40px;height:40px;border-radius:12px;font-size:18px}.status-pill{font-size:8px;padding:5px 8px}.level-location{margin-top:10px;font-size:8px}.level-card h3{font-size:20px}.subtitle{font-size:11px}.level-card p{font-size:11px;min-height:auto;margin:8px 0 10px;padding-right:2px}.skill{font-size:8px;padding:5px 7px;margin-bottom:47px}.play-btn{left:14px;right:14px;bottom:14px;min-height:39px;font-size:12px}.footer-note{padding-top:15px;font-size:9px}}


/* v1.9 — только две готовые игры */
.levels-section{
  max-width:900px;
  margin:0 auto;
}
.section-head{
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}
.level-card{
  min-height:305px;
}
@media(max-width:620px){
  .levels-grid{
    grid-template-columns:1fr;
    max-width:100%;
  }
  .levels-section,
  .section-head{
    max-width:100%;
  }
}
