:root {
  color-scheme: dark;
  --bg: #101010;
  --panel: #181818;
  --panel-raised: #222220;
  --line: rgba(255, 255, 255, .13);
  --text: #f9f8f2;
  --muted: #aaa9a1;
  --yellow: #ffc400;
  --yellow-soft: #ffdc45;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
::selection { color: #0d0d0d; background: var(--yellow); }
.skip-link { position: absolute; top: -70px; left: 16px; z-index: 20; padding: 10px 16px; background: var(--yellow); color: #101010; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 16px; }

.site-shell { width: min(100%, 1600px); margin-inline: auto; overflow: clip; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 80px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: #101010;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; }
.brand__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: #242424; overflow: hidden; flex: none; }
.brand__icon img { width: 100%; height: 100%; object-fit: contain; }
.brand__name { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .3em; font-size: 13px; font-weight: 750; letter-spacing: -.035em; line-height: 1; }
.brand__name strong { color: var(--yellow); font-weight: 950; }
.brand__name small { width: 100%; margin-top: 6px; font-size: 9px; color: #92918e; font-weight: 750; letter-spacing: .18em; }
.site-header__note { display: inline-flex; align-items: center; gap: 9px; color: #b7b7af; white-space: nowrap; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 14px rgba(255, 196, 0, .65); }

.hero { position: relative; isolation: isolate; background: #171717; overflow: hidden; }
.hero__visual { position: absolute; inset: 0; z-index: -1; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 7, 7, .97) 0%, rgba(9, 9, 9, .86) 32%, rgba(9, 9, 9, .31) 63%, rgba(9, 9, 9, .04) 100%), linear-gradient(0deg, rgba(7,7,7,.28), transparent 30%); }
.hero__content { position: relative; width: min(58%, 800px); min-height: clamp(630px, 49vw, 800px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 60px clamp(28px, 5.3vw, 84px) 76px; }
.app-logo { width: clamp(76px, 7vw, 100px); height: auto; aspect-ratio: 1; object-fit: contain; margin-bottom: 22px; border-radius: 22%; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: clamp(9px, .75vw, 11px); letter-spacing: .25em; font-weight: 900; color: var(--yellow); }
.eyebrow__line { width: 24px; height: 2px; background: currentColor; }
h1, h2 { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif; font-stretch: condensed; letter-spacing: .015em; font-weight: 900; }
h1 { margin: 0; font-size: clamp(68px, 8.4vw, 143px); line-height: .86; text-shadow: 0 4px 28px rgba(0, 0, 0, .2); }
h1 span { color: var(--yellow); }
.hero__period { color: var(--text); }
.hero__lead { margin: 32px 0 0; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.13; font-weight: 850; letter-spacing: -.05em; }
.hero__description { max-width: 380px; margin: 15px 0 0; color: #c7c6c1; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6; }
.download-actions { display: grid; width: min(100%, 390px); gap: 10px; margin-top: 35px; }
.store-button { position: relative; display: flex; align-items: center; min-height: 74px; gap: 15px; padding: 11px 20px; border-radius: 13px; text-decoration: none; overflow: hidden; }
.store-button > svg:first-child { width: 30px; height: 30px; flex: none; }
.store-button__text { display: flex; flex-direction: column; min-width: 0; }
.store-button__text small { font-size: 9px; font-weight: 900; line-height: 1.3; letter-spacing: .16em; }
.store-button__text strong { font-size: 22px; line-height: 1.2; font-weight: 850; letter-spacing: -.05em; }
.store-button--apple { color: #141414; background: var(--yellow); box-shadow: 0 12px 30px rgba(0, 0, 0, .24); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.store-button--apple:hover { transform: translateY(-3px); background: var(--yellow-soft); box-shadow: 0 17px 35px rgba(0, 0, 0, .32); }
.store-button--apple:active { transform: translateY(0); }
.store-button__arrow { width: 20px; height: 20px; margin-left: auto; flex: none; }
.store-button--android { color: #f9f8f2; background: rgba(25, 25, 25, .88); border: 1px solid rgba(255, 196, 0, .55); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.store-button--android > svg:first-child { color: var(--yellow); }
.store-button--android .store-button__text small { color: var(--yellow); }
.store-button--android:hover { transform: translateY(-3px); background: #292719; border-color: var(--yellow); }
.store-button--android:active { transform: translateY(0); }
.hero__index { position: absolute; right: clamp(26px, 5vw, 72px); bottom: 30px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-shadow: 0 2px 8px #000; }

.skins-download { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 390px); align-items: center; gap: 36px; padding: clamp(36px, 4.5vw, 64px) clamp(20px, 5vw, 72px); border-block: 1px solid rgba(255, 196, 0, .22); background: var(--panel); }
.skins-download .eyebrow { margin-bottom: 16px; }
.skins-download h2 { font-size: clamp(34px, 4.7vw, 64px); line-height: 1; text-transform: uppercase; }
.skins-download__content > p:not(.eyebrow) { max-width: 480px; margin: 18px 0 0; color: #b8b8b2; font-size: 15px; line-height: 1.65; }
.skins-download .download-actions { width: 100%; margin-top: 0; }

.game-gallery { padding: clamp(56px, 7vw, 105px) clamp(20px, 5vw, 72px); background: #111110; }
.game-gallery__intro { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 35px; }
.game-gallery__intro .eyebrow { margin-bottom: 22px; }
.game-gallery__intro h2 { font-size: clamp(54px, 6.3vw, 100px); }
.game-gallery__intro > p { max-width: 310px; margin: 0 0 7px; color: #b8b8b2; font-size: 15px; line-height: 1.65; }
.game-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.game-gallery__card { position: relative; isolation: isolate; aspect-ratio: 1.18; min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .11); border-radius: 18px; background: #222; }
.game-gallery__card::after { position: absolute; inset: 45% 0 0; z-index: -1; content: ""; background: linear-gradient(0deg, rgba(0, 0, 0, .8), transparent); pointer-events: none; }
.game-gallery__card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.game-gallery__card:hover img { transform: scale(1.035); }
.game-gallery__card figcaption { position: absolute; right: 28px; bottom: 27px; left: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
.game-gallery__card figcaption span { color: var(--yellow); font-size: 10px; font-weight: 900; letter-spacing: .23em; }
.game-gallery__card figcaption strong { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif; font-size: clamp(32px, 3.5vw, 55px); line-height: .96; letter-spacing: .015em; }

.community { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 610px; background: var(--panel); }
.community__visual { position: relative; min-height: 610px; overflow: hidden; }
.community__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.community__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5), transparent 48%); pointer-events: none; }
.community__stamp { position: absolute; left: clamp(25px, 4vw, 60px); bottom: 35px; z-index: 1; display: flex; align-items: end; gap: 9px; color: var(--yellow); font-family: Impact, "Arial Black", sans-serif; font-size: clamp(43px, 5vw, 80px); font-style: italic; line-height: .82; transform: rotate(-7deg); text-shadow: 3px 4px 0 #0b0b0b; }
.community__stamp span { font-size: .5em; font-family: sans-serif; transform: rotate(7deg); }
.community__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(42px, 6vw, 95px) clamp(30px, 5.5vw, 85px); }
.community .eyebrow { margin-bottom: 24px; }
h2 { margin: 0; font-size: clamp(46px, 5.2vw, 84px); line-height: .92; }
h2 span { color: var(--yellow); }
.community__content > p:not(.eyebrow) { max-width: 430px; margin: 25px 0 0; color: #b8b8b2; font-size: 15px; line-height: 1.65; }
.social-links { display: grid; width: min(100%, 470px); gap: 10px; margin-top: 33px; }
.social-link { display: flex; align-items: center; min-height: 84px; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 13px; background: #252523; text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.social-link:hover { border-color: rgba(255, 196, 0, .65); background: #302d22; transform: translateX(4px); }
.social-link__icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 10px; flex: none; background: #393936; color: #fff; }
.social-link__icon svg { width: 22px; height: 22px; }
.social-link__icon--instagram { background: linear-gradient(135deg, #a72bc0, #f35255 60%, #f9ac51); }
.social-link__icon--discord { background: #5865f2; }
.social-link__copy { display: flex; flex-direction: column; min-width: 0; }
.social-link__copy strong { font-size: 16px; font-weight: 850; }
.social-link__copy small { margin-top: 3px; font-size: 12px; color: #a7a69e; }
.social-link__arrow { margin-left: auto; color: var(--yellow); font-size: 24px; line-height: 1; }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); }
.site-footer__brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.site-footer__brand > span { font-family: Impact, "Arial Black", sans-serif; color: var(--yellow); font-size: 25px; letter-spacing: -.07em; }
.site-footer__brand > span span { color: #fff; }
.site-footer p { margin: 0; color: #888780; text-align: center; font-size: 11px; }
.site-footer a { color: #e5e5dd; white-space: nowrap; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }

@media (max-width: 1050px) {
  .hero__content { width: 64%; }
  .hero__visual::after { background: linear-gradient(90deg, rgba(7,7,7,.97), rgba(8,8,8,.78) 46%, rgba(8,8,8,.08) 100%); }
  .community { grid-template-columns: 1fr 1fr; }
  .community__content { padding-inline: 36px; }
}

@media (max-width: 760px) {
  .site-header { height: 68px; padding-inline: 20px; }
  .site-header__note { font-size: 8px; letter-spacing: .12em; }
  .brand__icon { width: 38px; height: 38px; }
  .brand__name { font-size: 12px; }
  .brand__name small { font-size: 8px; }
  .hero { display: flex; flex-direction: column; }
  .hero__visual { position: relative; height: clamp(250px, 55vw, 415px); z-index: 0; }
  .hero__visual img { object-position: center 42%; }
  .hero__visual::after { background: linear-gradient(0deg, #171717, transparent 32%); }
  .hero__content { width: 100%; min-height: 0; padding: 18px 24px 48px; }
  .eyebrow { margin-bottom: 18px; }
  h1 { font-size: clamp(69px, 13.7vw, 110px); line-height: .84; }
  .hero__lead { margin-top: 20px; font-size: clamp(22px, 5.2vw, 30px); }
  .hero__description { margin-top: 9px; }
  .download-actions { margin-top: 24px; width: min(100%, 450px); }
  .hero__index { display: none; }
  .skins-download { grid-template-columns: 1fr; gap: 24px; padding-inline: 24px; }
  .skins-download .download-actions { max-width: 450px; }
  .game-gallery { padding-block: 56px; }
  .game-gallery__intro { display: block; margin-bottom: 26px; }
  .game-gallery__intro h2 { font-size: clamp(52px, 11vw, 78px); }
  .game-gallery__intro > p { max-width: 450px; margin-top: 18px; }
  .game-gallery__grid { grid-template-columns: 1fr; gap: 14px; }
  .game-gallery__card { aspect-ratio: 1.18; }
  .game-gallery__card figcaption strong { font-size: clamp(36px, 8vw, 55px); }
  .community { display: flex; flex-direction: column; }
  .community__visual { height: clamp(240px, 56vw, 450px); min-height: 0; }
  .community__stamp { font-size: clamp(45px, 10vw, 68px); }
  .community__content { padding: 48px 24px 58px; }
  h2 { font-size: clamp(43px, 10.6vw, 78px); }
  .site-footer { flex-wrap: wrap; gap: 13px; padding: 26px 24px; }
  .site-footer p { order: 3; flex: 1 0 100%; text-align: left; }
}

@media (max-width: 390px) {
  .site-header__note { display: none; }
  .hero__visual { height: 260px; }
  .hero__content { padding-inline: 19px; }
  h1 { font-size: 64px; }
  .store-button { min-height: 69px; padding-inline: 15px; gap: 11px; }
  .skins-download { padding-inline: 19px; }
  .game-gallery { padding-inline: 19px; }
  .game-gallery__card figcaption { right: 20px; bottom: 20px; left: 20px; }
  .community__content { padding-inline: 19px; }
  .site-footer { padding-inline: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
