:root {
  --bg: #07040a;
  --bg-deep: #020106;
  --panel: rgba(18, 13, 24, 0.82);
  --panel-strong: rgba(25, 16, 30, 0.94);
  --line: rgba(232, 35, 26, 0.28);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #f7f5fb;
  --muted: #b6b2c3;
  --muted-2: #878396;
  --accent: #e8231a;
  --accent-2: #ff5b50;
  --gold: #f6c35a;
  --cyan: #65d3ff;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 12%, rgba(101, 211, 255, 0.11), transparent 28rem),
    radial-gradient(circle at 12% 8%, rgba(232, 35, 26, 0.14), transparent 24rem),
    linear-gradient(180deg, #07040a 0%, #12060b 42%, #050307 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(2, 1, 6, 0.78), rgba(2, 1, 6, 0.88)),
    url("https://d10tvjr1sv08er.cloudfront.net/cyberjoy/images/home-bg.jpg");
  background-position: center;
  background-size: cover;
  opacity: 0.42;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 0, 4, 0.92);
  backdrop-filter: blur(16px);
}

.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent-2);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(232, 35, 26, 0.08);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(5, 0, 4, 0.98);
}

.mobile-panel.open {
  display: block;
}

.mobile-panel a {
  display: block;
  padding: 14px 20px;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-hero {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  padding: 76px 0 62px;
  background:
    linear-gradient(180deg, rgba(2, 1, 6, 0.42) 0%, rgba(2, 1, 6, 0.78) 82%, rgba(7, 4, 10, 1) 100%),
    url("https://d10tvjr1sv08er.cloudfront.net/cyberjoy/images/home-bg.jpg") center / cover no-repeat;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at center, rgba(232, 35, 26, 0.16), transparent 27rem),
    radial-gradient(circle at 55% 45%, rgba(101, 211, 255, 0.13), transparent 22rem);
}

.hero-content {
  display: grid;
  justify-items: center;
  gap: 28px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(232, 35, 26, 0.12);
  color: #ffb2ab;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title,
.page-title,
.section-title,
.game-title,
.article-title {
  font-family: Orbitron, Inter, sans-serif;
  margin: 0;
  line-height: 1.05;
}

.hero-title {
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 20px 58px rgba(0, 0, 0, 0.66);
}

.hero-subtitle {
  margin: 0;
  max-width: 690px;
  color: #d8d4e1;
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.hero-device {
  width: min(620px, 86vw);
  margin: -4px auto 0;
  filter:
    drop-shadow(0 28px 46px rgba(0, 0, 0, 0.66))
    drop-shadow(0 0 22px rgba(232, 35, 26, 0.14))
    drop-shadow(0 0 30px rgba(101, 211, 255, 0.08))
    saturate(1.03)
    contrast(1.02);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, var(--accent), #9d0f0a);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(232, 35, 26, 0.24);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: none;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  text-transform: uppercase;
}

.section-copy {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--line-soft);
}

.metric {
  min-height: 132px;
  padding: 24px;
  background: rgba(12, 8, 18, 0.84);
}

.metric strong {
  display: block;
  color: var(--accent-2);
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.game-carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
}

.game-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.game-strip::-webkit-scrollbar {
  display: none;
}

.game-card,
.article-card,
.info-card {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(23, 15, 29, 0.86), rgba(10, 6, 14, 0.92));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.game-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-height: 292px;
  scroll-snap-align: start;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.game-card:hover,
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
}

.game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.game-card h3 {
  min-height: 62px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 12px;
  text-align: center;
  font-size: 1rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.carousel-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-2);
  background: rgba(232, 35, 26, 0.12);
}

.page-hero {
  padding: 88px 0 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(2, 1, 6, 0.54), rgba(7, 4, 10, 0.96)),
    url("https://d10tvjr1sv08er.cloudfront.net/cyberjoy/images/home-bg.jpg") center / cover no-repeat;
}

.page-title {
  margin-top: 16px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  font-weight: 900;
  text-transform: uppercase;
}

.page-copy {
  max-width: 760px;
  margin: 18px 0 0;
  color: #d7d3df;
  font-size: 1.08rem;
}

.game-list {
  display: grid;
  gap: 48px;
}

.game-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 36px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 13, 27, 0.88), rgba(8, 5, 12, 0.9));
}

.game-detail.reverse .game-art {
  order: 2;
}

.game-art {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #08070d;
}

.game-art img {
  width: 100%;
  aspect-ratio: 256 / 125;
  object-fit: cover;
}

.game-copy {
  min-width: 0;
}

.game-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #980f0a);
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
}

.game-kicker {
  margin: 16px 0 10px;
  color: #ffb2ab;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-title {
  font-size: clamp(1.35rem, 2.7vw, 2.2rem);
  font-weight: 900;
}

.game-description {
  margin: 16px 0 18px;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: #c9c4d2;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 16px rgba(232, 35, 26, 0.48);
}

.feature-list strong {
  color: var(--text);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 150px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 800;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.store-link::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.store-link.apple::before {
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20384%20512'%3E%3Cpath%20d='M318.7%20268.7c-.2-36.7%2016.4-64.4%2050-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3%2020.7-88.5%2020.7-15%200-49.4-19.7-76.4-19.7C63.3%20141.2%204%20184.8%204%20273.5c0%2026.2%204.8%2053.3%2014.4%2081.2%2012.8%2036.7%2059%20126.7%20107.2%20125.2%2025.2-.6%2043-17.9%2075.8-17.9%2031.8%200%2048.3%2017.9%2076.4%2017.9%2048.6-.7%2090.4-82.5%20102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zM262.1%20104.5c27.3-32.4%2024.8-61.9%2024-72.5-24.1%201.4-52%2016.4-67.9%2034.9-17.5%2019.8-27.8%2044.3-25.6%2071.9%2026.1%202%2049.9-11.4%2069.5-34.3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20384%20512'%3E%3Cpath%20d='M318.7%20268.7c-.2-36.7%2016.4-64.4%2050-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3%2020.7-88.5%2020.7-15%200-49.4-19.7-76.4-19.7C63.3%20141.2%204%20184.8%204%20273.5c0%2026.2%204.8%2053.3%2014.4%2081.2%2012.8%2036.7%2059%20126.7%20107.2%20125.2%2025.2-.6%2043-17.9%2075.8-17.9%2031.8%200%2048.3%2017.9%2076.4%2017.9%2048.6-.7%2090.4-82.5%20102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zM262.1%20104.5c27.3-32.4%2024.8-61.9%2024-72.5-24.1%201.4-52%2016.4-67.9%2034.9-17.5%2019.8-27.8%2044.3-25.6%2071.9%2026.1%202%2049.9-11.4%2069.5-34.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.store-link.play::before {
  border-radius: 3px;
  background: conic-gradient(from 310deg, #34a853 0 25%, #4285f4 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
  clip-path: polygon(8% 0, 100% 50%, 8% 100%);
}

.store-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent-2);
  background: rgba(232, 35, 26, 0.12);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.article-media {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
  background:
    radial-gradient(circle at 65% 35%, rgba(232, 35, 26, 0.24), transparent 12rem),
    url("https://d10tvjr1sv08er.cloudfront.net/cyberjoy/images/home-bg.jpg") center / cover;
}

.article-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.article-meta {
  color: var(--accent-2);
  font-family: Orbitron, Inter, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 12px 0 10px;
  font-size: 1.16rem;
  line-height: 1.28;
}

.article-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.read-link {
  margin-top: auto;
  color: #ffb2ab;
  font-weight: 900;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  padding: 24px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.article-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.article-hero-image {
  width: 100%;
  margin: 0 0 32px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
}

.article-content {
  padding: 38px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(14, 9, 19, 0.88);
}

.article-content h2 {
  margin: 34px 0 12px;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 1.28rem;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p,
.article-content li {
  color: #d2cddd;
}

.article-content p {
  margin: 0 0 16px;
}

.article-content ul {
  margin: 0 0 20px;
  padding-left: 21px;
}

.article-content strong {
  color: #fff;
}

.article-content blockquote {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent-2);
  background: rgba(255, 255, 255, 0.04);
  color: #e5e0eb;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 0, 4, 0.94);
  padding: 44px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-copy {
  max-width: 370px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-title {
  margin: 0 0 12px;
  color: #ffb2ab;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-static,
.footer-button {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-button {
  display: none;
  width: fit-content;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease;
}

.footer-button:hover,
.footer-button:focus-visible {
  color: var(--text);
}

.footer-button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(232, 35, 26, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(23, 15, 29, 0.88), rgba(8, 5, 12, 0.94));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
}

.contact-title {
  margin: 12px 0 10px;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.contact-copy-text {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-field {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 500;
  outline: none;
  padding: 13px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-field textarea {
  min-height: 138px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(232, 35, 26, 0.18);
}

.contact-form .btn {
  justify-self: start;
  min-width: 132px;
  border: 0;
  cursor: pointer;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 1, 7, 0.76);
  backdrop-filter: blur(10px);
}

.contact-modal.open {
  display: flex;
}

.contact-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 15% 0%, rgba(232, 35, 26, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(23, 15, 29, 0.96), rgba(8, 5, 12, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.58);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: var(--accent-2);
  background: rgba(232, 35, 26, 0.12);
  color: #fff;
}

.contact-dialog .contact-form {
  margin-top: 22px;
}

.contact-dialog .contact-form .btn {
  justify-self: start;
}

.contact-error {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 86, 76, 0.42);
  border-radius: 8px;
  background: rgba(232, 35, 26, 0.12);
  color: #ffb2ab;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-error.visible {
  display: block;
}

body.modal-open {
  overflow: hidden;
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-2);
  font-size: 0.84rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .metrics-grid,
  .article-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-card {
    flex-basis: calc((100% - 54px) / 4);
  }

  .game-detail,
  .game-detail.reverse {
    grid-template-columns: 1fr;
  }

  .game-detail.reverse .game-art {
    order: 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container,
  .article-shell {
    width: min(100% - 28px, 1180px);
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .home-hero {
    min-height: auto;
    padding: 56px 0 52px;
  }

  .hero-device {
    width: min(520px, 98vw);
  }

  .section,
  .page-hero {
    padding: 58px 0;
  }

  .metrics-grid,
  .article-grid,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .game-card {
    flex-basis: calc((100% - 18px) / 2);
    min-height: 0;
  }

  .metric {
    min-height: 104px;
    padding: 20px 14px;
  }

  .metric strong {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  .metric span {
    font-size: clamp(0.72rem, 2.65vw, 0.82rem);
  }

  .game-card h3 {
    min-height: 52px;
    padding: 10px 8px;
    font-size: 0.9rem;
  }

  .article-content,
  .game-detail,
  .contact-panel,
  .contact-dialog {
    padding: 20px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .store-link {
    width: 100%;
  }
}
