:root {
  --bg: #f5f6f3;
  --surface: #ffffff;
  --surface-muted: #ecefea;
  --ink: #1e2524;
  --muted: #6b7471;
  --line: #dfe4df;
  --line-strong: #cbd3cd;
  --coral: #ef5a55;
  --coral-dark: #cb413e;
  --aqua: #88d9d0;
  --aqua-soft: #dff3ef;
  --yellow: #f4c85a;
  --navy: #192b38;
  --navy-soft: #294253;
  --shadow: 0 18px 45px rgba(31, 45, 45, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

body.modal-open {
  overflow: hidden;
}

body.dark-theme {
  --bg: #101719;
  --surface: #182122;
  --surface-muted: #202d2e;
  --ink: #f3f5ef;
  --muted: #a1adaa;
  --line: #30403f;
  --line-strong: #425351;
  --aqua-soft: #1d3a3a;
  --navy: #0c171d;
  --navy-soft: #1a3542;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(239, 90, 85, 0.35);
  outline-offset: 3px;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.brand-logo {
  display: block;
  width: 82px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  background: #05090d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.brand-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--coral);
  border-radius: 10px 6px 10px 6px;
  box-shadow: 4px 4px 0 var(--aqua);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a,
.header-link {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a.active,
.header-link:hover {
  color: var(--ink);
}

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-button,
.round-button,
.dismiss-button,
.modal-close {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.icon-button {
  width: 34px;
  height: 34px;
  font-size: 18px;
  border-radius: 50%;
}

.icon-button:hover {
  color: var(--coral);
  background: var(--surface-muted);
  transform: translateY(-1px);
}

.header-link {
  margin-left: 10px;
  color: var(--ink);
}

.header-link span,
.text-link span {
  color: var(--coral);
  transition: transform 160ms ease;
}

.header-link:hover span,
.text-link:hover span {
  display: inline-block;
  transform: translate(2px, -2px);
}

.announcement {
  color: #fff;
  background: var(--navy);
}

.announcement-inner {
  display: flex;
  align-items: center;
  min-height: 41px;
  gap: 10px;
}

.announcement p {
  margin: 0;
  color: #d9e5e1;
  font-size: 12px;
}

.announcement p strong {
  color: #fff;
}

.announcement a {
  margin-left: 6px;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 800;
}

.announcement a span {
  margin-left: 3px;
}

.announcement-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(244, 200, 90, 0.12);
}

.dismiss-button {
  width: 26px;
  height: 26px;
  margin-left: auto;
  color: #9db1aa;
  font-size: 20px;
  line-height: 1;
}

.dismiss-button:hover {
  color: #fff;
}

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 355px;
  padding-top: 82px;
  padding-bottom: 68px;
  gap: 60px;
}

.intro-copy {
  max-width: 650px;
}

.hero-logo {
  display: block;
  width: min(245px, 62vw);
  height: 115px;
  margin-bottom: 24px;
  object-fit: cover;
  object-position: center;
  background: #05090d;
  border-radius: 9px;
  box-shadow: 12px 12px 0 rgba(239, 90, 85, 0.12);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.eyebrow-light {
  color: var(--aqua);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
}

h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: 56px;
  font-weight: 780;
  line-height: 1.04;
}

.intro-lede {
  max-width: 560px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 17px;
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button span {
  margin-left: 10px;
  font-size: 16px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 4px 4px 0 rgba(239, 90, 85, 0.18);
}

.button-primary:hover {
  background: var(--coral-dark);
}

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  border-color: var(--coral);
}

.text-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.text-link span {
  margin-left: 5px;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 390px);
  border-top: 1px solid var(--line-strong);
}

.stat-block {
  padding: 16px 14px 0 0;
  border-right: 1px solid var(--line);
}

.stat-block + .stat-block {
  padding-left: 14px;
}

.stat-block:last-child {
  border-right: 0;
}

.stat-block strong {
  display: block;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.stat-block span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.featured-band {
  padding: 42px 0 48px;
  color: #f5fbf7;
  background: var(--navy);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
}

.section-count {
  margin-left: 4px;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: middle;
}

.section-heading-inverse h2 {
  color: #f5fbf7;
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.round-button {
  width: 35px;
  height: 35px;
  color: #f5fbf7;
  border: 1px solid rgba(235, 248, 240, 0.24);
  border-radius: 50%;
  font-size: 17px;
}

.round-button:hover {
  color: var(--navy);
  background: var(--aqua);
  border-color: var(--aqua);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
}

.featured-card,
.game-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.featured-card {
  border-color: rgba(219, 241, 233, 0.16);
  background: var(--navy-soft);
}

.featured-card:hover,
.game-card:hover {
  border-color: rgba(239, 90, 85, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5;
  background: #29404b;
}

.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  color: transparent;
  font-size: 0;
  object-fit: cover;
  transition: transform 300ms ease;
}

.featured-card:hover .card-image img,
.game-card:hover .card-image img {
  transform: scale(1.06);
}

.card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 17, 21, 0.55));
  content: "";
  pointer-events: none;
}

.game-preview {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.game-preview.is-active {
  opacity: 1;
}

.rank-badge,
.card-badge,
.clip-indicator {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  color: #fff;
  background: rgba(25, 43, 56, 0.83);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clip-indicator {
  top: 10px;
  right: 10px;
  left: auto;
  min-height: 20px;
  padding: 0 7px;
  color: #fff;
  background: rgba(25, 43, 56, 0.72);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.clip-indicator:empty {
  display: none;
}

.rank-badge {
  color: var(--navy);
  background: var(--yellow);
}

.card-badge.badge-new {
  background: var(--coral);
}

.card-badge.badge-hot {
  background: var(--yellow);
  color: #5b4412;
}

.card-badge.badge-free {
  background: var(--aqua);
  color: #164842;
}

.featured-card-body {
  padding: 13px 13px 15px;
}

.featured-card h3 {
  overflow: hidden;
  margin: 0 0 5px;
  color: #f5fbf7;
  font-size: 15px;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-card p,
.game-card p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-card p {
  color: #a8bcb5;
}

.catalog {
  padding-top: 75px;
  padding-bottom: 90px;
}

.catalog-heading {
  align-items: center;
}

.catalog-heading h2 {
  font-size: 34px;
}

.heading-count {
  display: inline-grid;
  width: 29px;
  height: 24px;
  margin-left: 4px;
  place-items: center;
  color: var(--coral-dark);
  background: #ffe2df;
  border-radius: 5px;
  font-size: 12px;
  letter-spacing: 0;
  vertical-align: middle;
}

.section-note {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  gap: 14px;
}

.search-field {
  display: flex;
  align-items: center;
  width: min(100%, 520px);
  height: 45px;
  padding: 0 12px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.search-field:focus-within {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(239, 90, 85, 0.11);
}

.search-icon {
  margin-right: 9px;
  font-size: 20px;
  line-height: 1;
}

.search-field input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.search-field input::placeholder {
  color: var(--muted);
}

kbd {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--muted);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
}

.select-field {
  position: relative;
}

.select-field::after {
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--muted);
  content: "⌄";
  pointer-events: none;
  transform: translateY(-53%);
}

.select-field select {
  height: 45px;
  padding: 0 36px 0 13px;
  color: var(--ink);
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.category-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.category-chip:hover,
.category-chip[aria-pressed="true"] {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

.category-chip img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.results-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.clear-filter {
  padding: 4px 0;
  color: var(--coral);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.clear-filter:hover {
  color: var(--coral-dark);
  text-decoration: underline;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.game-card {
  cursor: pointer;
}

.game-card-body {
  padding: 15px 15px 16px;
}

.game-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.game-category {
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-card h3 {
  overflow: hidden;
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.17;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card .game-note {
  min-height: 35px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
}

.game-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  margin-top: 13px;
  border-top: 1px solid var(--line);
}

.card-contact {
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.card-contact:hover {
  color: var(--coral);
}

.card-contact span {
  margin-left: 3px;
}

.download-count {
  color: var(--muted);
  font-size: 11px;
}

.download-count strong {
  color: var(--ink);
  font-weight: 800;
}

.game-price {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
}

.game-price.is-free {
  color: #299c83;
}

.empty-state {
  padding: 75px 20px 20px;
  text-align: center;
}

.empty-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--coral);
  background: #ffe2df;
  border-radius: 50%;
  font-size: 25px;
}

.empty-state h3 {
  margin: 18px 0 5px;
  font-size: 22px;
}

.empty-state p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}

.page-button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
}

.page-button:hover,
.page-button[aria-current="page"] {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.page-button.page-arrow {
  color: var(--ink);
  border-color: var(--line);
}

.page-button.page-arrow:hover {
  color: var(--navy);
  background: var(--aqua-soft);
  border-color: var(--aqua);
}

.page-ellipsis {
  display: grid;
  width: 25px;
  height: 32px;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}

.guides-band {
  padding: 76px 0;
  background: var(--aqua-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guides-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 90px;
}

.guides-intro h2 {
  max-width: 300px;
  margin-bottom: 13px;
  font-size: 34px;
  line-height: 1.08;
}

.guides-intro > p:not(.eyebrow) {
  max-width: 310px;
  margin-bottom: 19px;
  color: var(--muted);
  font-size: 13px;
}

.guides-list {
  display: grid;
  gap: 0;
}

.guide-item {
  display: grid;
  grid-template-columns: 48px 145px minmax(0, 1fr);
  padding: 19px 0;
  gap: 20px;
  border-top: 1px solid rgba(35, 75, 72, 0.18);
}

.guide-item:last-child {
  border-bottom: 1px solid rgba(35, 75, 72, 0.18);
}

.guide-thumb {
  display: block;
  align-self: start;
  overflow: hidden;
  aspect-ratio: 1.45;
  border-radius: 5px;
  background: #d1e8e2;
}

.guide-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.guide-thumb:hover img {
  transform: scale(1.05);
}

.guide-number {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.guide-tag {
  margin-bottom: 8px;
  color: #3a8277;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.guide-item h3 {
  max-width: 470px;
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.12;
}

.guide-item p:not(.guide-tag) {
  max-width: 510px;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 12px;
}

.guide-item a {
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 800;
}

.guide-item a span {
  margin-left: 4px;
}

.site-footer {
  padding: 58px 0 22px;
  color: #cad7d2;
  background: #14232a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 46px;
}

.brand-footer .brand-copy strong {
  color: #f7fbf7;
}

.brand-footer .brand-copy small {
  color: #849a92;
}

.footer-brand > p {
  max-width: 270px;
  margin-top: 18px;
  color: #94aaa3;
  font-size: 12px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-label {
  margin-bottom: 6px;
  color: #f4fbf7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a {
  color: #94aaa3;
  font-size: 12px;
}

.footer-column a:hover {
  color: var(--aqua);
}

.language-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
  padding: 5px 9px;
  color: #deeee8;
  border: 1px solid #36504f;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  color: #718782;
  border-top: 1px solid #2b4448;
  font-size: 10px;
}

.modal-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 23, 29, 0.7);
  backdrop-filter: blur(7px);
}

.modal-backdrop[hidden] {
  display: none;
}

.game-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(300px, 1.1fr);
  width: min(760px, 100%);
  overflow: hidden;
  background: var(--surface);
  border-radius: 9px;
  box-shadow: 0 28px 80px rgba(4, 15, 18, 0.35);
}

.modal-image {
  position: relative;
  min-height: 390px;
  background-color: #29404b;
  background-position: center;
  background-size: cover;
}

.modal-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.modal-body {
  padding: 42px 38px 36px;
}

.modal-close {
  position: absolute;
  z-index: 1;
  top: 13px;
  right: 13px;
  width: 32px;
  height: 32px;
  color: #fff;
  background: rgba(25, 43, 56, 0.7);
  border-radius: 50%;
  font-size: 22px;
}

.modal-close:hover {
  background: var(--coral);
}

.modal-kicker {
  margin-bottom: 11px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.modal-body h2 {
  margin-bottom: 12px;
  font-size: 33px;
  line-height: 1.05;
}

.modal-description {
  margin-bottom: 21px;
  color: var(--muted);
  font-size: 13px;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.modal-spec {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.modal-spec span {
  color: var(--muted);
  font-size: 10px;
}

.modal-spec strong {
  color: var(--ink);
  font-size: 13px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
  gap: 10px;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  max-width: 310px;
  padding: 12px 15px;
  color: #fff;
  background: var(--navy);
  border-left: 3px solid var(--aqua);
  border-radius: 5px;
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .main-nav {
    gap: 18px;
  }

  .header-link {
    display: none;
  }

  h1 {
    font-size: 49px;
  }

  .intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 45px;
  }

  .intro-stats {
    width: 100%;
    max-width: 490px;
  }

  .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-card:nth-child(n + 4) {
    display: none;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guides-layout {
    gap: 45px;
  }

  .guide-item {
    grid-template-columns: 42px 120px minmax(0, 1fr);
    gap: 15px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 32px, 520px);
  }

  .nav-wrap {
    min-height: 66px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .announcement-inner {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .announcement p {
    max-width: 230px;
    line-height: 1.35;
  }

  .announcement a {
    display: none;
  }

  .intro {
    min-height: 0;
    padding-top: 55px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: 42px;
  }

  .intro-lede {
    font-size: 15px;
  }

  .intro-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-heading,
  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading h2,
  .catalog-heading h2 {
    font-size: 28px;
  }

  .section-note {
    max-width: 100%;
    text-align: left;
  }

  .featured-band {
    padding-top: 35px;
    padding-bottom: 39px;
  }

  .slider-controls {
    align-self: flex-end;
    margin-top: -38px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .featured-card:nth-child(n + 3) {
    display: none;
  }

  .catalog {
    padding-top: 57px;
    padding-bottom: 66px;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field,
  .select-field,
  .select-field select {
    width: 100%;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .guides-band {
    padding: 60px 0;
  }

  .guides-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .guide-item {
    grid-template-columns: 38px 105px minmax(0, 1fr);
    gap: 12px;
  }

  .guides-intro h2 {
    font-size: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .game-modal {
    display: block;
    max-height: calc(100vh - 48px);
    overflow: auto;
  }

  .modal-image {
    min-height: 220px;
  }

  .modal-video {
    min-height: 220px;
  }

  .modal-body {
    padding: 28px 23px 25px;
  }

  .modal-body h2 {
    font-size: 27px;
  }
}

@media (max-width: 420px) {
  .brand-copy small {
    display: none;
  }

  .brand-logo {
    width: 70px;
    height: 41px;
  }

  h1 {
    font-size: 37px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-card:nth-child(n + 2) {
    display: none;
  }

  .intro-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-block strong {
    font-size: 21px;
  }

  .stat-block span {
    font-size: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guide-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guide-number {
    order: 0;
  }

  .guide-thumb {
    width: min(210px, 100%);
    order: 1;
  }

  .guide-item > div:last-child {
    order: 2;
  }
}
