/* noclipepe branding shared by the STATE PROPERTY series menu and the games: the brand font
   (FOT-NewRodin Pro DB, Latin subset), colour tokens sampled from the noclipepe background
   (the lavender PSP-XMB background, used as-is), glossy PLAY and pill buttons, the social block. */
@font-face {
  font-family: 'NewRodin Pro';
  src: url('../../assets/brand/newrodin-db.woff2') format('woff2');
  font-weight: 100 900; /* only the DB weight is supplied: every weight maps to it, nothing is faux-bolded */
  font-style: normal;
  font-display: swap;
}
:root {
  --bg-deep: #7972bd;
  --bg-mid: #a8ace1;
  --bg-light: #d8c5f3;
  --glow: #fbf0ff;
  --ink: #241f55;
  --ink-soft: #4a4592;
  --violet: #5b50b4;
  --violet-dark: #3b3288;
  --line: rgba(255, 255, 255, 0.72);
  --scrim: rgba(30, 25, 70, 0.62);
  --font: 'NewRodin Pro', 'Hiragino Maru Gothic ProN', 'Arial Rounded MT Bold', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  color-scheme: light;
  font-family: var(--font);
  font-synthesis: none;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; background: var(--bg-deep); color: #fff; }
body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, a { font-family: inherit; }
[hidden] { display: none !important; }
.brand { background: var(--bg-mid) url('../../assets/brand/background.webp') 24% 62% / cover no-repeat; }
@media (max-width: 700px) { .brand { background-image: url('../../assets/brand/background-900.webp'); } }

/* ---------------------------------------------------------------- shared brand pieces */
.screen { position: absolute; inset: 0; z-index: 20; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  padding: calc(var(--safe-t) + 16px) calc(var(--safe-r) + 16px) calc(var(--safe-b) + 16px) calc(var(--safe-l) + 16px); }
.btn-play { position: relative; display: block; width: 100%; max-width: 340px; min-height: 64px; margin: 0 auto; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.8); color: #fff; font: 400 clamp(24px, 3.1cqh, 52px)/1 var(--font); letter-spacing: 0.06em;
  background: linear-gradient(180deg, #8b80dc 0%, var(--violet) 48%, var(--violet-dark) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), inset 0 -2px 6px rgba(20,10,70,0.35), 0 6px 22px rgba(59,50,136,0.45), 0 0 0 4px rgba(255,255,255,0.18);
  text-shadow: 0 1px 2px rgba(20,10,70,0.5); touch-action: manipulation; }
.btn-play::after { content: ''; position: absolute; inset: 2px 10% 52% 10%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0)); }
.btn-play:hover { filter: brightness(1.07); }
.btn-play:active { transform: translateY(1px) scale(0.99); }
.btn-small, .btn-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.85); background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.52));
  color: var(--ink); font: 400 clamp(14px, 1.75cqh, 30px)/1.15 var(--font); text-decoration: none; cursor: pointer; touch-action: manipulation;
  box-shadow: inset 0 1px 0 #fff, 0 3px 12px rgba(59,50,136,0.18); }
.btn-small:hover, .btn-link:hover { background: linear-gradient(180deg, #fff, rgba(255,255,255,0.7)); }
.btn-link.primary { width: 100%; max-width: 340px; margin: 0 auto; min-height: 54px; color: var(--violet-dark); }
button:focus-visible, a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
:is(.btn-small, .btn-link, .btn-play):disabled { opacity: 0.55; cursor: default; }

/* "NEW GAMES & UPDATES": one compact block with Instagram and X, secondary to PLAY */
.social { display: grid; gap: 8px; justify-items: center; }
.social-title { margin: 0; font: 400 13px/1.2 var(--font); letter-spacing: 0.08em; color: var(--ink-soft); }
.social-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; min-width: 120px; padding: 0 16px; border-radius: 999px;
  justify-content: center; text-decoration: none; color: var(--ink); font: 400 15px/1 var(--font); touch-action: manipulation;
  border: 1px solid rgba(255,255,255,0.85); background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.45));
  box-shadow: inset 0 1px 0 #fff, 0 2px 10px rgba(59,50,136,0.15); transition: transform 0.1s, background 0.15s; }
.social-btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.social-btn:hover { background: linear-gradient(180deg, #fff, rgba(255,255,255,0.65)); }
.social-btn:active { transform: scale(0.96); }
