/* Azzy Zone hub page */
.hub { background: radial-gradient(1200px 600px at 80% -10%, rgba(31, 178, 255, .16), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(255, 159, 28, .08), transparent 60%), var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--amber); color: #1a1000; padding: .5em 1em; border-radius: 99px; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.small { min-height: 40px; padding: .5em 1em; font-size: .9rem; }

.site-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(10px + var(--safe-t)) clamp(16px, 4vw, 40px) 10px; background: rgba(13, 15, 20, .82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 400 1.5rem/1 var(--marker); letter-spacing: .02em; }
.logo img { border-radius: 10px; }
.logo b { color: var(--cyan); font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: clamp(8px, 2vw, 22px); }
.site-nav > a:not(.me-chip) { color: var(--text); text-decoration: none; font: 800 .95rem var(--display); }
.site-nav > a:not(.me-chip):hover { color: var(--cyan-2); }
.me-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--ink-3); color: var(--text); text-decoration: none; font: 800 .9rem var(--display); }
.me-chip i { width: 26px; height: 26px; border-radius: 50%; background: var(--cyan); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .25); }

main { width: min(1240px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
section { scroll-margin-top: 80px; }
.kicker { font: 800 .85rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-2); margin: 0 0 .6em; }
.kicker.amber { color: var(--amber); }
.section-lede { color: var(--muted); max-width: 62ch; margin: 0 0 1.4em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 1.2em; }

/* Hero: featured game visible straight away on desktop */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(20px, 4vw, 48px) 0; min-height: min(640px, calc(100vh - 70px)); }
.hero h1 { font: 900 clamp(3rem, 8vw, 6rem)/.9 var(--display); margin: 0 0 .25em; }
.hero h1 span { color: var(--cyan); text-shadow: 0 0 40px rgba(31, 178, 255, .45); }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d7dae2; max-width: 36ch; margin: 0; }
.hero-art { position: relative; display: block; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 2px rgba(127, 231, 255, .25); transform: rotate(1deg); transition: transform .25s; }
.hero-art:hover { transform: rotate(0) scale(1.01); }
.hero-art img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.play-badge { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: #1a1000; font-size: 2.2rem; padding-left: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 10px rgba(255, 159, 28, .25); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: scale(1.08); } }
.device-tags { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 6px; }
.device-tags i { font: 800 .75rem var(--display); font-style: normal; padding: .35em .8em; border-radius: 99px; background: rgba(13, 15, 20, .8); }
.my-stats { list-style: none; padding: 0; margin: 1.4em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.my-stats li { padding: .45em .9em; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.my-stats b { color: var(--text); font-family: var(--display); }

/* Map Maker band */
.make { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); margin: 12px 0 40px; border-radius: 28px; background: linear-gradient(135deg, rgba(255, 159, 28, .14), rgba(255, 79, 139, .08)); border: 1px solid rgba(255, 159, 28, .3); }
.make h2 { font: 900 clamp(2rem, 5vw, 3.2rem)/1 var(--display); }
.make p { color: #d7dae2; max-width: 52ch; }
.make-art { display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.make-art img { width: 100%; height: auto; }

/* Game cards */
.games h2, .studio h2, .install h2 { font: 900 clamp(1.8rem, 4vw, 2.6rem)/1.05 var(--display); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.card.live:hover { transform: translateY(-4px); border-color: var(--tint); }
.card-art { display: block; aspect-ratio: 16 / 9; background: var(--ink-3); }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.art-soon { display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--tint) 30%, transparent), transparent 70%), var(--ink-3); }
.art-soon svg { width: 60%; height: 80%; opacity: .9; }
.card.soon .card-art { filter: saturate(.8); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; flex: 1; }
.card-body h3 { font-size: 1.45rem; margin: 0; }
.card-body p { margin: 0; color: #d0d4dd; }
.card-body .replay { color: var(--muted); font-size: .92rem; }
.card-body .replay b { color: var(--tint); }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.badge { align-self: flex-start; font: 900 .7rem var(--display); letter-spacing: .12em; text-transform: uppercase; padding: .35em .8em; border-radius: 99px; }
.badge.live { background: var(--green); color: #00190d; }
.badge.soon { background: var(--ink-3); color: var(--muted); border: 1px dashed var(--line); }

/* Avatar studio */
.studio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin: 56px 0; padding: clamp(20px, 4vw, 40px); border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line); }
.studio-preview { position: relative; aspect-ratio: 1; border-radius: 24px; background: radial-gradient(circle at 50% 70%, rgba(31, 178, 255, .25), transparent 65%), #0a0c11; }
.studio-preview canvas { width: 100%; height: 100%; border-radius: 24px; }
.avatar-name { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center; font: 400 1.6rem var(--marker); }
.field { margin: 14px 0; }
.field-label { display: block; font: 800 .8rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.name-row { display: flex; gap: 8px; flex-wrap: wrap; }
.name-row select { min-width: 140px; font-weight: 800; }
.swatches, .hats { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .2); }
.swatch[aria-checked="true"] { border-color: #fff; box-shadow: 0 0 0 3px var(--cyan), inset 0 -6px 0 rgba(0, 0, 0, .2); }
.hat-btn { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--ink-3); cursor: pointer; font: 800 .9rem var(--display); }
.hat-btn[aria-checked="true"] { border-color: var(--cyan); background: #0f2533; }

/* Install */
.install { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin: 0 0 56px; padding: clamp(20px, 4vw, 40px); border-radius: 28px; background: linear-gradient(135deg, rgba(31, 178, 255, .16), rgba(124, 92, 255, .12)); border: 1px solid rgba(31, 178, 255, .3); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 14px 14px 14px 58px; border-radius: 16px; background: rgba(13, 15, 20, .55); color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: #00121c; font: 900 1rem var(--display); }
.steps b { color: var(--text); }

.site-foot { width: min(1240px, 100%); margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) calc(40px + var(--safe-b)); border-top: 1px solid var(--line); color: #c8ccd6; font-size: .95rem; }

/* Tablet and phone */
@media (max-width: 900px) {
  .hero, .make, .studio, .install { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 16px; }
  .hero-art { order: -1; transform: none; }
  .make-art { order: -1; }
  .studio-preview { max-width: 360px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .site-nav > a:not(.me-chip) { display: none; }
  .logo span { font-size: 1.25rem; }
  .hero .btn-big { width: 100%; }
  .play-badge { width: 72px; height: 72px; margin: -36px 0 0 -36px; font-size: 1.8rem; }
}
