@font-face {
  font-family: Anybody;
  src: url("assets/fonts/anybody-semi-expanded-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Anybody;
  src: url("assets/fonts/anybody-semi-expanded-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root { color-scheme: light; --pink: #eb9bc1; --background: #fff; --soft-pink: #fcf5f8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--pink); font-family: Anybody, Arial, sans-serif; font-weight: 500; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid #000; outline-offset: 6px; }
.page-width { width: calc(100% - 64px); max-width: 1220px; margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 12px; background: var(--pink); color: #000; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.brand { display: block; width: 125.4px; }
.brand img { width: 100%; height: auto; }
nav { display: flex; gap: 32px; }
nav button { border: 0; padding: 10px 0; background: none; color: var(--pink); font-size: 20px; line-height: 1.2; transition: color 160ms ease; }
nav button:hover { color: #b84f83; }
h1 { margin: 34px 0 27px; font-size: 76px; line-height: 1; letter-spacing: -1.6px; font-weight: 700; }
.games { display: grid; grid-template-columns: repeat(2, 324px); gap: 30px; scroll-margin-top: 24px; }
.game-card { height: 482px; border: 2px solid var(--pink); border-radius: 21px; overflow: hidden; }
.featured-game { display: flex; flex-direction: column; gap: 13px; padding: 14px 12px 15px; border: 0; background: var(--pink); }
.game-art { display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; flex-shrink: 0; border-radius: 14px; object-fit: cover; }
.card-action { display: flex; height: 80px; flex-shrink: 0; }
.steam-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 80px; padding: 12px 23px; border-radius: 14px; background: #fff; color: #000; font-size: 14px; line-height: 1.2; text-align: center; transition: background 150ms ease; }
.steam-button:hover { background: #fff0f7; }
.steam-button:active { background: #fce0ed; }
.steam-button:focus-visible { outline-color: #000; outline-offset: 3px; }
.upcoming-game { border-color: var(--soft-pink); display: grid; place-items: center; font-size: 14px; }
.socials { margin-top: 105px; }
h2 { font-size: 34px; line-height: 1; margin: 0; font-weight: 700; letter-spacing: -.4px; }
.social-links { display: flex; gap: 29px; align-items: center; margin-top: 21px; }
.social-links a { display: flex; align-items: center; min-height: 44px; transition: opacity 150ms ease; }
.social-links a:hover { opacity: .72; }
.site-footer { padding-top: 97px; padding-bottom: 73px; }
.footer-logo { width: 281.4px; height: auto; }
.copyright { font-size: 12px; line-height: 1.5; margin: 24px 0 0; color: var(--pink); }
.copyright span { color: inherit; }
dialog { position: fixed; width: min(480px, calc(100% - 40px)); padding: 48px 32px 32px; border: 2px solid var(--pink); border-radius: 21px; background: var(--background); color: var(--pink); }
dialog::backdrop { background: rgb(0 0 0 / .8); backdrop-filter: blur(5px); }
dialog h2 { font-size: 30px; line-height: 1.15; }
dialog p { margin: 20px 0 0; font-size: 16px; line-height: 1.6; }
.dialog-close { position: absolute; top: 6px; right: 8px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 30px; }
.contact-link { display: inline-block; margin-top: 20px; text-decoration: underline; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 1050px) {
  h1 { font-size: clamp(48px, 6.2vw, 72px); }
}
@media (max-width: 740px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { min-height: 76px; gap: 20px; }
  .brand { width: 102px; flex-shrink: 0; }
  nav { gap: 18px; }
  nav button { font-size: 14px; min-height: 44px; }
  h1 { margin: 30px 0 32px; font-size: clamp(38px, 7.3vw, 54px); line-height: 1.02; letter-spacing: -.8px; }
  .games { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .game-card { height: auto; min-width: 0; }
  .upcoming-game { aspect-ratio: 324 / 482; }
  .steam-button { padding-inline: 12px; }
  .socials { margin-top: 76px; }
  h2 { font-size: 30px; }
  .site-footer { padding-top: 76px; padding-bottom: 40px; }
  .footer-logo { max-width: 60%; }
  .copyright { max-width: 520px; line-height: 1.7; }
}
@media (max-width: 480px) {
  .site-header { gap: 12px; }
  .brand { width: 87px; }
  nav { gap: 15px; }
  nav button { font-size: 12px; }
  .steam-button { font-size: 14px; padding-inline: 23px; }
  h1 br { display: none; }
  .socials { margin-top: 64px; }
  h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
