/* Tiny Defense brand hero: the adopted October 14 lobby art, title logo and store links above the courtyard. */
.brand-hero { --brand-gold:#f2c55c; --brand-night:#0a1230; position:relative; isolation:isolate; overflow:hidden; display:grid; place-items:center; min-height:min(calc(100svh - var(--header-height)), 940px); background:var(--brand-night); color:#f6eddb; }
.brand-hero-backdrop { position:absolute; inset:-8%; z-index:-2; width:116%; height:116%; object-fit:cover; filter:blur(30px) saturate(1.2) brightness(.48); }
.brand-hero::after { content:''; position:absolute; inset:auto 0 0; z-index:-1; height:38%; background:linear-gradient(transparent, #0b1720); pointer-events:none; }
.brand-hero-inner { display:grid; grid-template-columns:minmax(0, 1fr) auto; grid-template-areas:'copy art'; align-items:center; gap:clamp(40px, 6vw, 104px); width:min(1240px, calc(100% - 96px)); padding:48px 0 60px; }
.brand-hero-art { grid-area:art; height:min(calc(100svh - var(--header-height) - 120px), 820px); min-height:520px; aspect-ratio:9 / 16; margin:0; overflow:hidden; border-radius:28px; box-shadow:0 34px 90px #000000b0, 0 0 0 1px #f2c55c40; }
.brand-hero-art img { display:block; width:100%; height:100%; object-fit:cover; }
.brand-hero-copy { grid-area:copy; max-width:580px; }
.brand-hero h1 { margin:0 0 18px -1.5%; line-height:0; }
.brand-hero h1 img { width:min(540px, 100%); height:auto; filter:drop-shadow(0 12px 26px #00000090); }
.brand-eyebrow { margin:0 0 12px; color:var(--brand-gold); font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.brand-tagline { margin:0 0 16px; color:#fff7e2; font-family:var(--game-font); font-size:clamp(30px, 3.2vw, 46px); line-height:1.25; letter-spacing:-.01em; word-break:keep-all; text-wrap:balance; text-shadow:0 3px 18px #00000090; }
.brand-intro { max-width:31em; margin:0 0 30px; color:#d9d5c8; font-size:17px; line-height:1.75; word-break:keep-all; text-wrap:pretty; }
.brand-stores { display:flex; flex-wrap:wrap; gap:10px; margin:0; padding:0; list-style:none; }
.brand-stores a { display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:0 20px; border:1px solid #f2c55c80; border-radius:999px; background:#0b1736d9; color:#fff3d6; font-size:15px; font-weight:700; text-decoration:none; transition:background .2s, color .2s, transform .2s; }
.brand-stores li:first-child a { background:var(--brand-gold); border-color:var(--brand-gold); color:#1b1a2a; }
.brand-stores a:hover { background:#f7d27a; border-color:#f7d27a; color:#1b1a2a; transform:translateY(-2px); }
.brand-enter { display:inline-flex; align-items:center; gap:10px; min-height:44px; margin-top:26px; color:var(--brand-gold); font-size:16px; font-weight:700; text-decoration:none; }
.brand-enter span { display:inline-block; animation:brand-nudge 1.8s ease-in-out infinite; }
.brand-enter:hover { color:#ffe4a0; }
@keyframes brand-nudge { 50% { transform:translateY(5px); } }
@media (prefers-reduced-motion:reduce) { .brand-enter span { animation:none; } .brand-stores a { transition:none; } }

@media (max-width:820px) {
  .brand-hero { display:block; min-height:calc(100svh - var(--header-height)); }
  .brand-hero-backdrop { display:none; }
  .brand-hero::after { display:none; }
  .brand-hero-inner { display:block; position:relative; width:100%; min-height:inherit; padding:0; }
  .brand-hero-inner::after { content:''; position:absolute; inset:auto 0 0; height:62%; background:linear-gradient(transparent, #0a1230d9 38%, #0b1720 100%); pointer-events:none; }
  .brand-hero-art { position:absolute; inset:0; height:auto; min-height:0; aspect-ratio:auto; border-radius:0; box-shadow:none; }
  .brand-hero-art img { object-position:center 22%; }
  .brand-hero-copy { position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; min-height:calc(100svh - var(--header-height)); max-width:none; padding:18px 20px calc(24px + env(safe-area-inset-bottom)); text-align:center; }
  .brand-hero h1 { margin:0; }
  .brand-hero h1 img { width:min(78vw, 380px); }
  .brand-eyebrow { margin-top:auto; font-size:11px; letter-spacing:.1em; }
  .brand-tagline { font-size:clamp(25px, 7.4vw, 32px); margin-bottom:10px; }
  .brand-intro { margin-bottom:20px; font-size:14.5px; line-height:1.65; color:#e4e0d4; }
  .brand-stores { justify-content:center; gap:8px; }
  .brand-stores a { min-height:44px; padding:0 15px; font-size:14px; }
  .brand-enter { margin-top:14px; font-size:15px; }
}
@media (max-width:820px) and (max-height:700px) {
  .brand-intro { display:none; }
}
