/* Mobile-first composition. Desktop enhancements are added above 760px. */
[hidden] { display: none !important; }
.artwork img { height: auto; }
:root { --text-faint: #a09baa; }
.play-hero {
  padding: calc(var(--header-height) + 28px) 0 32px;
  background: radial-gradient(ellipse at 90% 20%, #27163d 0, transparent 58%), var(--bg-primary);
  overflow: clip;
}
.play-hero-layout { display: grid; gap: 24px; }
.play-hero-copy { min-width: 0; }
.play-hero-copy .kicker { font-size: .75rem; letter-spacing: .12em; }
.play-hero-copy h1 {
  margin: 12px 0 14px;
  font: 600 clamp(2.15rem, 7.7vw, 3.8rem)/1.06 var(--font-heading);
  letter-spacing: -.06em;
}
.play-hero-copy h1 em { color: var(--accent-bright); font-style: normal; }
.play-hero-copy p { margin: 0 0 19px; max-width: 470px; color: var(--text-secondary); font-size: 1rem; line-height: 1.65; }
.play-hero-copy .btn { width: 100%; min-height: 50px; justify-content: space-between; }
.hero-platform { display: block; margin-top: 11px; font-size: .75rem; color: var(--text-secondary); }
.hero-feature {
  --tilt-x: 0deg; --tilt-y: 0deg;
  position: relative; min-width: 0; overflow: hidden; border-radius: 22px;
  border: 1px solid rgba(255,173,137,.24);
  background: linear-gradient(135deg, #452238, #19121e 70%);
}
.hero-feature-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px 0; position: relative; z-index: 3;
  color: #d8bcc7; font-size: .75rem;
}
.hero-feature-top > span:last-child { display: none; }
.hero-hit { padding: 5px 10px; border-radius: 99px; color: var(--accent-lime); background: rgba(212,255,83,.08); font-weight: 600; }
.hero-feature-art { height: 144px; background: transparent; isolation: isolate; }
.hero-feature-art::before { opacity: .15; }
.hero-feature-art .artwork-grid { opacity: .06; }
.hero-feature-art .artwork-ring { width: 145px; opacity: .3; }
.hero-feature-art img { width: 102px; height: 102px; transform: rotate(-8deg); object-fit: contain; }
.hero-feature-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px 18px; position: relative; z-index: 3; }
.hero-feature-bottom .kicker { color: #c8aab6; font-size: .65rem; letter-spacing: .08em; }
.hero-feature-bottom h2 { font: 600 1.65rem/1.2 var(--font-heading); letter-spacing: -.045em; margin: 3px 0 0; }
.hero-play { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 10px; padding: 0 15px; border-radius: 12px; background: #fff; color: #181018; font-weight: 700; font-size: .875rem; }
.hero-play svg { width: 18px; height: 18px; }
.game-card-copy > div { min-width: 0; }
.game-card-copy h3 { white-space: normal; overflow: visible; overflow-wrap: anywhere; line-height: 1.35; }
.game-card-copy > a { width: 44px; height: 44px; }
.footer-nav a, .footer-col a { min-height: 40px; display: flex; align-items: center; margin: 2px 0; }
.navlinks { overflow-y: auto; overscroll-behavior: contain; }
.search-box input, .field input, .field textarea, .select-wrap select { font-size: 16px; }
.select-wrap:focus-within { outline: 2px solid var(--accent-secondary); outline-offset: 3px; }
.search-box, .select-wrap, .contact-form, .field-row, .field { min-width: 0; }
.legal-content a, .developer-card a, .footer-col a { overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .reveal { opacity: 1; transform: none; transition: none; }
  :root { --header-height: 64px; }
  .nav { gap: 10px; }
  .nav-actions { margin-left: auto; }
  .nav-search { display: grid; width: 44px; height: 44px; }
  .navlinks {
    top: var(--header-height); height: calc(100dvh - var(--header-height));
    width: min(100%, 410px); padding: 24px;
  }
  .navlinks a { font-size: 1.2rem; padding: 17px 0; }
  .site-header:has(.navlinks.open) { background: #0a0a11; }
  .section-pad { padding: 48px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: clamp(1.9rem, 5.3vw, 3rem); line-height: 1.1; letter-spacing: -.05em; }
  .section-heading > p { font-size: 1rem; }
  .explorer .section-heading { display: block; }
  .explorer .section-heading > p { margin-top: 10px; }
  .game-toolbar { grid-template-columns: minmax(0, 1fr) 130px; gap: 8px; }
  .search-box { height: 52px; gap: 8px; padding-inline: 12px; }
  .search-box svg { flex: 0 0 18px; }
  .search-box kbd { display: none; }
  .select-wrap { height: 52px; min-width: 0; padding-inline: 10px; gap: 0; }
  .select-wrap > span { display: none; }
  .select-wrap select { width: 100%; }
  .explorer-filters { gap: 8px; padding: 6px 0; scroll-padding: 4px; }
  .explorer-filters .filter-pill { min-height: 44px; padding: 0 14px; font-size: .875rem; }
  .explorer-filters svg { width: 16px; height: 16px; }
  .results-count { margin-top: 16px; font-size: .75rem; }
  .spotlight { min-height: 0; }
  .spotlight-copy { padding: 30px 24px; }
  .spotlight-copy h2 { font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1; }
  .spotlight-art { min-height: 280px; }
  .benefits-grid, .contact-grid { gap: 28px; }
  .benefits-intro h2, .contact-copy h2 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; }
  .contact-meta { margin-top: 24px; font-size: .75rem; }
  .benefit p { font-size: 1rem; }
  .contact-form { padding: 22px; border-radius: 22px; }
  .field > span { font-size: .875rem; }
  .form-note { font-size: .75rem; }
  .cta-banner { padding: 40px 20px; }
  .cta-banner h2 { font-size: clamp(2.1rem, 7.6vw, 4rem); line-height: .98; }
  .site-footer, footer { padding: 44px 0 24px; }
  .footer-top, .footer-grid { gap: 28px; padding-bottom: 28px; }
  .footer-brand p { font-size: 1rem; }
  .footer-nav a, .footer-col a { font-size: .875rem; }
  .footer-bottom { color: var(--text-secondary); font-size: .75rem; line-height: 1.6; letter-spacing: .025em; }
  .cursor-glow { display: none; }
  .artwork, .artwork *, .spotlight-orbit, .cta-banner { animation: none !important; }
  .game-card-art, .game-card:hover .game-card-art, .magnetic, .magnetic:hover { transform: none; will-change: auto; }
}
@media (max-width: 599px) {
  .game-toolbar { grid-template-columns: minmax(0, 1fr); }
  .select-wrap { justify-self: end; width: 140px; height: 44px; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .game-card-art { aspect-ratio: 1.12; border-radius: 16px; }
  .game-card-art .artwork img { width: 49%; }
  .game-card-art .game-badge { font-size: .65rem; top: 8px; left: 8px; padding: 4px 7px; }
  .card-play { width: 30px; height: 30px; opacity: 1; transform: none; right: 8px; bottom: 8px; }
  .card-play svg { width: 17px; }
  .game-card-copy { padding: 10px 1px 0; }
  .game-card-copy h3 { font-size: .94rem; }
  .game-card-copy > div > span { font-size: .75rem; letter-spacing: .025em; }
  .spotlight { grid-template-columns: 1fr; border-radius: 22px; }
  .spotlight-art { min-height: 245px; }
  .spotlight-art .artwork { width: 185px; }
  .spotlight-art .artwork img { width: 50%; }
  .spotlight-copy { padding: 8px 20px 24px; }
  .spotlight-copy > p { font-size: 1rem; }
  .spotlight-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; padding-top: 20px; }
  .spotlight-meta small { font-size: .75rem; }
  .spotlight-copy .cta-row { margin-top: 24px; }
  .benefit { padding: 20px 0; min-height: 0; }
  .contact-form { padding: 18px; }
  .contact-meta { gap: 10px; }
  .email-link { font-size: .94rem; gap: 10px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-nav > div:first-child { grid-column: auto; }
  .legal-hero { padding: calc(var(--header-height) + 36px) 0 36px; }
  .legal-hero h1 { font-size: clamp(2.7rem, 11vw, 4rem); overflow-wrap: anywhere; }
  .legal-body { gap: 28px; padding-bottom: 48px; }
  .legal-content h2 { font-size: 1.5rem; }
  .legal-toc a { min-height: 44px; display: flex; align-items: center; }
}
@media (min-width: 760px) {
  .play-hero { padding: calc(var(--header-height) + 50px) 0 60px; }
  .play-hero-layout { grid-template-columns: 1fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
  .play-hero-copy h1 { font-size: clamp(2.6rem, 4.8vw, 5.3rem); }
  .play-hero-copy .btn { width: auto; gap: 25px; }
  .hero-feature { border-radius: 30px; }
  .hero-feature-top { padding: 20px 22px 0; }
  .hero-feature-top > span:last-child { display: inline; }
  .hero-feature-art { height: clamp(230px, 25vw, 380px); }
  .hero-feature-art img { width: 43%; height: auto; max-width: 205px; }
  .hero-feature-art .artwork-ring { width: 65%; }
  .hero-feature-bottom { padding: 0 22px 26px; }
  .hero-feature-bottom h2 { font-size: clamp(1.9rem, 2.6vw, 2.8rem); }
  .hero-feature-bottom .kicker { font-size: .75rem; }
  .hero-play { min-height: 52px; padding: 0 19px; }
}
@media (min-width: 1024px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-feature { transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform .3s ease; }
  .hero-feature-art img { animation: heroIconFloat 6s ease-in-out infinite; }
  .play-hero-copy { animation: mobileHeroEnter .6s ease both; }
}
@keyframes mobileHeroEnter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
  .reveal { transform: none; opacity: 1; }
}
