/* StrayWireGames — modern stylesheet */

:root {
  color-scheme: dark;

  --bg-primary: #12131a;
  --bg-secondary: #1b1c26;
  --bg-card: #22232f;
  --bg-card-hover: #2d2e3d;
  --text-primary: #f0f0f5;
  --text-muted: #9a9ab0;
  --accent: #6c8cff;
  --accent-hover: #7d9aff;
  --accent-glow: rgba(108, 140, 255, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --header-height: 64px;
  --max-width: 1200px;
  --radius: 12px;
  --transition: 0.25s ease;

  --header-bg: rgba(18, 19, 26, 0.85);
  --header-bg-scrolled: rgba(18, 19, 26, 0.95);
  --header-shadow: rgba(0, 0, 0, 0.3);
  --nav-menu-bg: rgba(18, 19, 26, 0.98);

  --overlay-35: rgba(18, 19, 26, 0.35);
  --overlay-55: rgba(18, 19, 26, 0.55);
  --overlay-75: rgba(18, 19, 26, 0.75);
  --overlay-85: rgba(18, 19, 26, 0.85);

  /* Hero video overlays — stay dark in every theme so the background video stays visible */
  --hero-overlay-top: rgba(10, 12, 20, 0.35);
  --hero-overlay-mid: rgba(10, 12, 20, 0.55);
  --hero-overlay-bottom: rgba(10, 12, 20, 0.78);

  --shadow-sm: rgba(0, 0, 0, 0.3);
  --shadow-md: rgba(0, 0, 0, 0.35);
  --shadow-lg: rgba(0, 0, 0, 0.4);
  --shadow-xl: rgba(0, 0, 0, 0.45);
  --shadow-hero: rgba(0, 0, 0, 0.5);

  --surface-subtle: rgba(255, 255, 255, 0.06);
  --surface-muted: rgba(255, 255, 255, 0.1);
  --surface-divider: rgba(255, 255, 255, 0.5);

  --hero-text: #ffffff;
  --hero-text-shadow: rgba(0, 0, 0, 0.5);
  --hero-back: rgba(255, 255, 255, 0.65);
  --hero-back-hover: #ffffff;
  --hint-text: rgba(255, 255, 255, 0.7);
  --hint-bg: rgba(0, 0, 0, 0.45);

  --accent-subtle: rgba(108, 140, 255, 0.12);
  --accent-subtle-bg: rgba(108, 140, 255, 0.06);
  --accent-border: rgba(108, 140, 255, 0.25);
  --stats-hero-end: rgba(34, 35, 47, 0.9);
  --card-media-fade: var(--bg-card);

  --store-icon-filter: brightness(0) invert(0.72);
  --store-icon-filter-hover: brightness(0) invert(1);
  --on-accent: #ffffff;
  --media-bg: #000000;

  --crt-scanline: rgba(0, 0, 0, 0.03);
  --crt-vignette: rgba(0, 0, 0, 0.45);
  --crt-opacity: 0.4;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;

    --bg-primary: #e6eaf2;
    --bg-secondary: #eef1f8;
    --bg-card: #f8f9fc;
    --bg-card-hover: #f0f3fa;
    --text-primary: #12141f;
    --text-muted: #4e5266;
    --accent: #4f6de6;
    --accent-hover: #4260d4;
    --accent-glow: rgba(79, 109, 230, 0.24);
    --border: rgba(18, 22, 40, 0.1);

    --header-bg: rgba(238, 241, 248, 0.86);
    --header-bg-scrolled: rgba(238, 241, 248, 0.96);
    --header-shadow: rgba(16, 24, 48, 0.1);
    --nav-menu-bg: rgba(238, 241, 248, 0.98);

    --overlay-35: rgba(230, 234, 242, 0.35);
    --overlay-55: rgba(230, 234, 242, 0.5);
    --overlay-75: rgba(230, 234, 242, 0.7);
    --overlay-85: rgba(230, 234, 242, 0.85);

    --shadow-sm: rgba(16, 24, 48, 0.06);
    --shadow-md: rgba(16, 24, 48, 0.09);
    --shadow-lg: rgba(16, 24, 48, 0.12);
    --shadow-xl: rgba(16, 24, 48, 0.16);
    --shadow-hero: rgba(16, 24, 48, 0.2);

    --surface-subtle: rgba(18, 22, 40, 0.05);
    --surface-muted: rgba(18, 22, 40, 0.07);
    --surface-divider: rgba(18, 22, 40, 0.14);

    --hero-text: #ffffff;
    --hero-text-shadow: rgba(0, 0, 0, 0.4);
    --hero-back: rgba(255, 255, 255, 0.88);
    --hero-back-hover: #ffffff;
    --hint-text: rgba(255, 255, 255, 0.92);
    --hint-bg: rgba(0, 0, 0, 0.5);

    --accent-subtle: rgba(79, 109, 230, 0.14);
    --accent-subtle-bg: rgba(79, 109, 230, 0.08);
    --accent-border: rgba(79, 109, 230, 0.28);
    --stats-hero-end: rgba(210, 220, 248, 0.72);
    --card-media-fade: rgba(248, 249, 252, 0.88);

    --store-icon-filter: brightness(0) invert(0.28);
    --store-icon-filter-hover: brightness(0) invert(1);

    --crt-scanline: transparent;
    --crt-vignette: transparent;
    --crt-opacity: 0;
  }
}

:root[data-theme="light"] {
  color-scheme: light;

  --bg-primary: #e6eaf2;
  --bg-secondary: #eef1f8;
  --bg-card: #f8f9fc;
  --bg-card-hover: #f0f3fa;
  --text-primary: #12141f;
  --text-muted: #4e5266;
  --accent: #4f6de6;
  --accent-hover: #4260d4;
  --accent-glow: rgba(79, 109, 230, 0.24);
  --border: rgba(18, 22, 40, 0.1);

  --header-bg: rgba(238, 241, 248, 0.86);
  --header-bg-scrolled: rgba(238, 241, 248, 0.96);
  --header-shadow: rgba(16, 24, 48, 0.1);
  --nav-menu-bg: rgba(238, 241, 248, 0.98);

  --overlay-35: rgba(230, 234, 242, 0.35);
  --overlay-55: rgba(230, 234, 242, 0.5);
  --overlay-75: rgba(230, 234, 242, 0.7);
  --overlay-85: rgba(230, 234, 242, 0.85);

  --shadow-sm: rgba(16, 24, 48, 0.06);
  --shadow-md: rgba(16, 24, 48, 0.09);
  --shadow-lg: rgba(16, 24, 48, 0.12);
  --shadow-xl: rgba(16, 24, 48, 0.16);
  --shadow-hero: rgba(16, 24, 48, 0.2);

  --surface-subtle: rgba(18, 22, 40, 0.05);
  --surface-muted: rgba(18, 22, 40, 0.07);
  --surface-divider: rgba(18, 22, 40, 0.14);

  --hero-text: #ffffff;
  --hero-text-shadow: rgba(0, 0, 0, 0.4);
  --hero-back: rgba(255, 255, 255, 0.88);
  --hero-back-hover: #ffffff;
  --hint-text: rgba(255, 255, 255, 0.92);
  --hint-bg: rgba(0, 0, 0, 0.5);

  --accent-subtle: rgba(79, 109, 230, 0.14);
  --accent-subtle-bg: rgba(79, 109, 230, 0.08);
  --accent-border: rgba(79, 109, 230, 0.28);
  --stats-hero-end: rgba(210, 220, 248, 0.72);
  --card-media-fade: rgba(248, 249, 252, 0.88);

  --store-icon-filter: brightness(0) invert(0.28);
  --store-icon-filter-hover: brightness(0) invert(1);

  --crt-scanline: transparent;
  --crt-vignette: transparent;
  --crt-opacity: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

ul {
  list-style: none;
}

.site-header,
.site-footer,
.project-card,
.project-featured,
.project-featured__grid,
.stats-app,
.game-card,
.game-gallery__item,
.game-video,
.store-icon {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ── CRT overlay (subtle retro touch) ── */

.crt-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

.crt-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    var(--crt-scanline) 2px,
    var(--crt-scanline) 4px
  );
  opacity: var(--crt-opacity);
}

.crt-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px var(--crt-vignette);
}

/* ── Header ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: 0 4px 24px var(--header-shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
}

.nav__brand {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav__brand:hover {
  color: var(--accent);
}

.nav__menu {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.lang-toggle__btn {
  min-width: 32px;
  height: 28px;
  padding: 0 8px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-toggle__btn:hover {
  color: var(--text-primary);
}

.lang-toggle__btn[aria-pressed="true"] {
  background: var(--accent-subtle);
  color: var(--accent);
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.theme-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.theme-toggle__btn svg {
  width: 16px;
  height: 16px;
}

.theme-toggle__btn svg:not(.theme-toggle__icon--fill) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle__btn svg.theme-toggle__icon--fill {
  fill: currentColor;
  stroke: none;
}

.theme-toggle__btn:hover {
  color: var(--text-primary);
}

.theme-toggle__btn[aria-pressed="true"] {
  background: var(--accent-subtle);
  color: var(--accent);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hero__video,
  :root:not([data-theme="dark"]) .game-hero__video {
    filter: brightness(0.9) contrast(1.1) saturate(1.08);
  }
}

:root[data-theme="light"] .hero__video,
:root[data-theme="light"] .game-hero__video {
  filter: brightness(0.9) contrast(1.1) saturate(1.08);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--hero-overlay-top) 0%,
    var(--hero-overlay-mid) 60%,
    var(--hero-overlay-bottom) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--hero-text);
  text-shadow: 0 2px 40px var(--hero-text-shadow);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  background: var(--accent);
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
  background: var(--accent-hover);
}

.hero__tagline {
  margin-top: 1.25rem;
}

.hero__slogan {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-shadow: 0 2px 24px var(--hero-text-shadow);
}

.hero__tagline-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hero-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity var(--transition);
}

.hero__tagline-link:hover {
  opacity: 0.75;
}

.hero__social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hero__social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.hero__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

/* ── One-page layout ── */

.onepage .hero,
.onepage .section {
  scroll-margin-top: var(--header-height);
}

.onepage .hero {
  --scroll-progress: 0;
  z-index: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .onepage .hero {
    position: sticky;
    top: 0;
  }

  .onepage .hero__video {
    transform: translate3d(0, calc(var(--scroll-progress) * 18%), 0)
      scale(calc(1 + var(--scroll-progress) * 0.1));
    will-change: transform;
  }

  .onepage .hero__overlay {
    opacity: calc(0.88 + var(--scroll-progress) * 0.12);
  }

  @media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .onepage .hero__overlay {
      opacity: calc(0.42 + var(--scroll-progress) * 0.45);
    }
  }

  :root[data-theme="light"] .onepage .hero__overlay {
    opacity: calc(0.42 + var(--scroll-progress) * 0.45);
  }

  .onepage .hero__content {
    transform: translate3d(0, calc(var(--scroll-progress) * -3.5rem), 0)
      scale(calc(1 - var(--scroll-progress) * 0.07));
    opacity: calc(1 - var(--scroll-progress) * 0.92);
    will-change: transform, opacity;
  }

  .onepage .hero__scroll {
    opacity: calc(1 - var(--scroll-progress) * 1.4);
  }

  .onepage .section--scroll-panel {
    position: relative;
    z-index: 2;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -28px 72px var(--shadow-xl);
    overflow: clip;
  }

  .onepage .section--scroll-panel::before {
    content: '';
    position: absolute;
    top: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: var(--border);
    opacity: 0.85;
    pointer-events: none;
    z-index: 3;
  }

  .onepage .section--games.section--scroll-panel {
    z-index: 2;
  }

  .projects-grid .reveal:nth-child(1) { transition-delay: 0ms; }
  .projects-grid .reveal:nth-child(2) { transition-delay: 70ms; }
  .projects-grid .reveal:nth-child(3) { transition-delay: 140ms; }
  .projects-grid .reveal:nth-child(4) { transition-delay: 210ms; }
  .projects-grid .reveal:nth-child(5) { transition-delay: 280ms; }

  .game-hero {
    --scroll-progress: 0;
  }

  .game-hero__bg,
  .game-hero__video {
    transform: translate3d(0, calc(var(--scroll-progress) * 14%), 0)
      scale(calc(1 + var(--scroll-progress) * 0.06));
    will-change: transform;
  }

  .game-hero__content {
    transform: translate3d(0, calc(var(--scroll-progress) * -2rem), 0);
    opacity: calc(1 - var(--scroll-progress) * 0.55);
    will-change: transform, opacity;
  }
}

.section--stats {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 5rem 1.5rem 7rem;
  min-height: 100vh;
}

/* ── Sections ── */

.section {
  padding: 6rem 1.5rem;
}

.section--games {
  background: var(--bg-secondary);
  padding: 5rem 1.5rem 7rem;
  min-height: 100vh;
}

@media (prefers-reduced-motion: no-preference) {
  .onepage .section--games {
    padding-top: 5.5rem;
  }
}

.games-header {
  text-align: center;
  margin-bottom: 2rem;
}

.games-stats-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    'metric actions'
    'note note'
    'updated updated';
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--accent-subtle) 0%, var(--stats-hero-end) 100%);
}

.games-stats-bar__metric {
  grid-area: metric;
}

.games-stats-bar__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.games-stats-bar__number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.games-stats-bar__plus {
  font-size: 0.55em;
  color: var(--accent);
  vertical-align: super;
}

.games-stats-bar__actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.games-stats-bar__note,
.games-stats-bar__updated {
  grid-area: note;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.games-stats-bar__updated {
  grid-area: updated;
  font-size: 0.8125rem;
  opacity: 0.75;
}

.game-card__stats,
.project-card__store-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin: 0;
}

.project-featured__meta .game-card__stats {
  width: 100%;
  margin-top: 0.35rem;
}

.project-card__store-stats {
  margin: 0.15rem 0 0.5rem;
}

.game-stat {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.game-stat--rating {
  color: var(--accent);
}

.game-stat--ios {
  opacity: 0.85;
}

@media (max-width: 720px) {
  .games-stats-bar {
    grid-template-columns: 1fr;
    grid-template-areas:
      'metric'
      'actions'
      'note'
      'updated';
    text-align: center;
  }

  .games-stats-bar__actions {
    justify-content: center;
  }
}

/* ── About ── */

.section--about {
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
  padding: 5rem 1.5rem 6rem;
  border-top: 1px solid var(--border);
}

.about-grid {
  max-width: 40rem;
  margin: 0 auto;
}

.about-story {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--accent-subtle) 0%, var(--stats-hero-end) 100%);
  box-shadow: 0 16px 40px var(--shadow-md);
}

.about-story__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-story__lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.about-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 4.5rem;
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
}

.about-metric__value {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.about-metric__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.about-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.about-btn--primary {
  color: var(--on-accent);
  background: var(--accent);
}

.about-btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.about-btn--secondary {
  color: var(--text-primary);
  background: var(--bg-card);
  border-color: var(--border);
}

.about-btn--secondary:hover {
  border-color: var(--accent-border);
  background: var(--accent-subtle);
  color: var(--accent);
}

/* ── Contact ── */

.section--contact {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
  padding: 5rem 1.5rem 6rem;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  max-width: 52rem;
  margin: 0 auto;
  align-items: start;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--accent-subtle) 0%, var(--stats-hero-end) 100%);
  box-shadow: 0 16px 40px var(--shadow-md);
}

.contact-intro__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.contact-intro__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.contact-intro__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.contact-intro__link:hover {
  color: var(--accent-hover);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 16px 40px var(--shadow-md);
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form__input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form__input:focus {
  outline: none;
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.contact-form__submit {
  align-self: flex-start;
  min-height: 2.75rem;
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-accent);
  background: var(--accent);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.contact-form__submit:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.contact-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-form__status {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-form__status--success {
  color: #34d399;
}

.contact-form__status--error {
  color: #f87171;
}

.contact-form__status--pending {
  color: var(--accent);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-intro,
  .contact-form {
    padding: 1.5rem 1.25rem;
  }

  .contact-form__submit {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .about-story {
    padding: 1.5rem 1.25rem;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }

  .about-actions {
    flex-direction: column;
  }

  .about-btn {
    width: 100%;
  }
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0.5rem auto 0;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.6;
}

/* ── Featured project ── */

.project-featured {
  margin-bottom: 2rem;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px var(--shadow-xl);
}

.project-featured__link {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 380px;
}

.project-featured__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 380px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-featured:hover .project-featured__grid {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px var(--shadow-xl);
}

.project-featured__media-link {
  display: block;
  position: relative;
  min-height: 280px;
}

.project-featured__title-link {
  color: inherit;
}

.project-featured__title-link:hover .project-featured__title {
  color: var(--accent);
}

.project-featured__media {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.project-featured__media .hover-media {
  min-height: 380px;
}

.project-featured__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 48%, var(--card-media-fade) 100%);
  pointer-events: none;
  z-index: 2;
}

.hover-media__hint {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 3;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hint-text);
  background: var(--hint-bg);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  transition: opacity var(--transition);
}

.project-featured:hover .hover-media__hint,
.project-card:hover .hover-media__hint {
  opacity: 0;
}

/* ── Hover media (video / frame animation) ── */

.hover-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: var(--bg-primary);
}

.hover-media__poster,
.hover-media__frame,
.hover-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.55s ease;
}

.hover-media__frame,
.hover-media__video {
  opacity: 0;
}

.hover-media.is-active .hover-media__poster {
  opacity: 0;
  transform: scale(1.06);
}

.hover-media.is-active .hover-media__frame,
.hover-media.is-active .hover-media__video {
  opacity: 1;
  transform: scale(1.02);
}

/* Frame slideshow animation on hover */
.hover-media[data-hover="frames"].is-active .hover-media__frame {
  animation: framePulse 1.2s ease-in-out infinite alternate;
}

@keyframes framePulse {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

.project-featured__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2.5rem 2.5rem 1.5rem;
}

.project-featured__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.project-featured__engine {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-featured__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.project-featured__desc {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-featured__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  transition: gap var(--transition);
}

.project-featured__action svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.project-featured:hover .project-featured__action {
  gap: 0.75rem;
}

/* ── Project grid ── */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow-lg);
}

.project-card--wip {
  opacity: 0.85;
}

.project-card--wip:hover {
  transform: none;
  box-shadow: none;
}

.project-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-card__media .hover-media {
  aspect-ratio: 16 / 10;
}

.project-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--overlay-85) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

.project-card__media .game-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  margin: 0;
  z-index: 3;
}

.project-card__badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: calc(100% - 2rem);
}

.project-card__badges .game-card__badge {
  position: static;
  margin: 0;
}

.game-card__year {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.project-featured__meta .game-card__year {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.project-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card__engine {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.project-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.55;
  flex: 1;
}

.project-card__action {
  display: block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* ── Store link buttons (app icon + platform) ── */

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border-radius: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-primary);
  flex: 1 1 auto;
  max-width: 100%;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.store-link:hover {
  transform: translateY(-2px);
  color: var(--on-accent);
}

.store-link__app {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px var(--shadow-sm);
}

.store-link__body {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.store-link__brand {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: none;
  transition: filter var(--transition);
}

.store-link__brand--google {
  width: 20px;
  height: 20px;
}

.store-link__brand--apple {
  width: 16px;
  height: 20px;
  filter: brightness(0) invert(0.9);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .store-link__brand--apple {
    filter: none;
  }
}

:root[data-theme="light"] .store-link__brand--apple {
  filter: none;
}

:root[data-theme="dark"] .store-link__brand--apple {
  filter: brightness(0) invert(0.9);
}

.store-link__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.store-link--google:hover {
  background: #1a8a48;
  border-color: #1a8a48;
}

.store-link--apple:hover {
  background: #0071e3;
  border-color: #0071e3;
}

.store-link:hover .store-link__brand--apple {
  filter: brightness(0) invert(1);
}

.store-link:hover .store-link__brand--google {
  filter: none;
}

.project-featured__content .store-link {
  min-height: 56px;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
}

.project-featured__content .store-link__app {
  width: 44px;
  height: 44px;
}

.project-featured__content .store-link__label {
  font-size: 0.75rem;
}

.game-stores--page .store-link {
  min-height: 56px;
  padding: 0.55rem 1.1rem 0.55rem 0.55rem;
}

/* ── Store icon buttons (legacy stats / dev links) ── */

.game-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.project-card .game-stores {
  margin-top: auto;
  padding: 0.85rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
  gap: 0.65rem;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .project-card .game-stores {
    background: rgba(0, 0, 0, 0.03);
  }
}

:root[data-theme="light"] .project-card .game-stores {
  background: rgba(0, 0, 0, 0.03);
}

.project-featured__content .game-stores {
  margin: 0 0 1.25rem;
}

.game-stores--page {
  padding: 0;
  margin: 0 0 2.5rem;
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.project-card .store-icon--app,
.project-featured__content .store-icon--app {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.store-icon img {
  width: 18px;
  height: 18px;
  display: block;
  filter: var(--store-icon-filter);
  transition: filter var(--transition);
}

.store-icon--google img,
.store-icon--apple img {
  filter: none;
}

.store-icon--apple img {
  filter: brightness(0) invert(0.9);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .store-icon--apple img {
    filter: none;
  }
}

:root[data-theme="light"] .store-icon--apple img {
  filter: none;
}

:root[data-theme="dark"] .store-icon--apple img {
  filter: brightness(0) invert(0.9);
}

.store-icon:hover {
  transform: translateY(-2px);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.store-icon:hover img {
  filter: var(--store-icon-filter-hover);
}

.store-icon--google:hover img {
  filter: none;
}

.store-icon--apple:hover img {
  filter: brightness(0) invert(1);
}

.store-icon--labeled {
  width: auto;
  height: auto;
  min-height: 36px;
  padding: 0.5rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-icon--labeled img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.project-featured__content .store-icon--labeled {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
}

.project-featured__content .store-icon--labeled img {
  width: 18px;
  height: 18px;
}

.store-icon--google:hover {
  background: #1a8a48;
  border-color: #1a8a48;
}

.store-icon--apple:hover {
  background: #0071e3;
  border-color: #0071e3;
}

.store-icon--large {
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-icon--large img {
  width: 20px;
  height: 20px;
}

.project-card .store-icon--labeled,
.project-featured__content .store-icon--labeled {
  flex: 1 1 auto;
  max-width: 100%;
}

.store-icon--google:hover,
.store-icon--apple:hover {
  color: var(--on-accent);
}

.store-icon--google:hover img,
.store-icon--apple:hover img {
  filter: var(--store-icon-filter-hover);
}

.store-icon--app {
  padding: 0;
  overflow: hidden;
  background: var(--bg-card);
}

.store-icon--app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  border-radius: inherit;
}

.store-icon--app:hover img {
  filter: none;
}

.store-icon--app.store-icon--cover img {
  object-position: center 25%;
}

.game-card__badge--latest {
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.15);
}

.game-card__badge--live {
  color: #5eead4;
  background: rgba(94, 234, 212, 0.12);
}

.game-card__badge--wip {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

/* ── Legacy game cards (detail pages) ── */

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.game-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 40px var(--shadow-md);
}

.game-card__link {
  display: block;
}

.game-card__image {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--bg-primary);
}

.game-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.game-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.game-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}

.game-card--disabled {
  opacity: 0.7;
  cursor: default;
}

.game-card--disabled:hover {
  transform: none;
  box-shadow: none;
}

.game-card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section__divider {
  width: 60px;
  height: 2px;
  background: var(--surface-divider);
  margin: 0 auto 3rem;
}

/* ── Footer ── */

.site-footer {
  padding: 1.75rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.site-footer__social a:hover {
  color: var(--text-primary);
  background: var(--accent);
  transform: translateY(-2px);
}

.site-footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── Game detail pages ── */

.page-game {
  padding-bottom: 0;
}

.game-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--header-height);
}

.game-hero__bg,
.game-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg-primary) 0%,
    var(--hero-overlay-mid) 45%,
    var(--hero-overlay-top) 100%
  );
}

.game-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.game-hero__content .page-game__back {
  margin-bottom: 1.5rem;
  color: var(--hero-back);
}

.game-hero__content .page-game__back:hover {
  color: var(--hero-back-hover);
}

.game-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.game-hero__engine {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.game-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--hero-text);
  text-shadow: 0 2px 24px var(--hero-text-shadow);
}

.game-hero__tagline {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.game-hero__subtitle-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--hero-text);
  opacity: 0.85;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  padding: 0 0 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.game-meta strong {
  color: var(--text-primary);
  font-weight: 600;
}

.game-features {
  list-style: disc;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.game-features li + li {
  margin-top: 0.45rem;
}

.game-stores--page {
  padding: 0;
  margin: 0 0 2.5rem;
}

.page-game__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-game__text a:hover {
  opacity: 0.85;
}

.page-game__text + .page-game__text {
  margin-top: 1rem;
}

.page-game__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.game-block {
  margin-bottom: 3.5rem;
}

.game-block__title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.game-video {
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--media-bg);
  box-shadow: 0 16px 48px var(--shadow-md);
}

.game-video iframe,
.page-game__video {
  display: block;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: none;
  background: var(--media-bg);
}

.game-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.game-videos .game-video iframe {
  border-radius: var(--radius);
}

.game-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.game-gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 16 / 9;
  transition: transform var(--transition), box-shadow var(--transition);
}

.game-gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--shadow-md);
}

.game-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-gallery__item--wide {
  grid-column: 1 / -1;
}

/* Screenshot carousel */
.media-slider {
  position: relative;
  margin-bottom: 0.5rem;
}

.media-slider__viewport {
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  background: var(--media-bg);
  box-shadow: 0 16px 48px var(--shadow-md);
}

.media-slider__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.media-slider__slide {
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
}

.media-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.media-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), opacity var(--transition);
}

.media-slider__btn:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-subtle-bg);
}

.media-slider__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.media-slider__btn svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.media-slider__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.media-slider__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.media-slider__dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

.media-slider--single .media-slider__controls {
  display: none;
}

.media-slider__source {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.game-video iframe {
  min-height: 0;
}

.game-quote {
  padding: 1.5rem 1.75rem;
  margin: 0 0 3.5rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-subtle-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  font-style: normal;
}

.game-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.game-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  max-width: 45%;
}

.game-nav__link:hover {
  color: var(--accent);
}

.game-nav__link--next {
  text-align: right;
  margin-left: auto;
}

.game-nav__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.page-game__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-game__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.page-game__tagline {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 300;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.page-game__media {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: 0 8px 32px var(--shadow-sm);
}

.page-game__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 2rem 0;
  line-height: 1.7;
}

.page-game__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color var(--transition);
}

.page-game__back:hover {
  color: var(--accent);
}

.page-game__back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.page-game__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-game__videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.page-game__videos iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: none;
  border-radius: var(--radius);
  background: var(--media-bg);
}

/* ── Privacy policy ── */

.page-legal {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
}

.page-legal__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-legal h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.page-legal h2,
.page-legal .c0 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}

.page-legal p,
.page-legal li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.page-legal ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-legal ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-legal a:hover {
  opacity: 0.85;
}

.legal-card {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 12px 40px var(--shadow-md);
}

.legal-hero {
  margin-bottom: 1.5rem;
}

.legal-hero__game {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.legal-hero__sub {
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-top: 0.5rem;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.legal-meta__item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--accent-subtle-bg);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.legal-meta__item span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.legal-summary {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  background: var(--accent-subtle-bg);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.legal-summary strong {
  color: var(--text-primary);
}

.legal-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-section h2 {
  margin-top: 0;
}

.legal-contact {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-primary);
}

.legal-contact p:last-child {
  margin-bottom: 0;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}

.game-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.game-legal__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.game-legal__link:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: var(--accent-subtle-bg);
}

.game-legal__link svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ── Stats page ── */

.page-stats {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
}

.page-stats__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-stats__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-stats__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-stats__intro {
  color: var(--text-muted);
  font-weight: 300;
}

.stats-hero {
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, var(--accent-subtle) 0%, var(--stats-hero-end) 100%);
  border: 1px solid var(--border);
}

.stats-hero__label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.stats-hero__number {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.stats-hero__plus {
  font-size: 0.55em;
  color: var(--accent);
  vertical-align: super;
}

.stats-hero__note,
.stats-hero__updated {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 0.75rem;
}

.stats-hero__updated {
  font-size: 0.8125rem;
  opacity: 0.7;
}

.stats-store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.store-badge {
  display: inline-block;
  transition: transform var(--transition), opacity var(--transition);
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.store-badge img {
  height: 56px;
  width: auto;
}

.store-badge--apple svg {
  height: 56px;
  width: auto;
  display: block;
}

.page-game__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.stats-status {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.stats-status--error {
  color: #fbbf24;
}

.stats-section {
  margin-bottom: 3rem;
}

.stats-section__head {
  margin-bottom: 1.25rem;
}

.stats-section__head h2,
.stats-section__head h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.stats-section__head p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.stats-section__head em {
  color: var(--accent);
  font-style: normal;
}

.stats-apps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stats-app {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.stats-app:hover {
  transform: translateX(4px);
  background: var(--bg-card-hover);
  border-color: var(--accent-border);
}

.stats-app__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border);
}

.stats-app__info {
  flex: 1;
  min-width: 0;
}

.stats-app__store {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.stats-app__name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.2rem 0 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stats-app__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.stats-app__rating {
  color: #fbbf24;
}

.stats-app__arrow {
  font-size: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.stats-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.8;
}

/* ── Footer (detail pages fallback) ── */

.site-footer:not(:has(.site-footer__inner)) {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

/* ── Animations ── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ── Responsive ── */

.hero__subtitle strong {
  color: var(--text-primary);
  font-weight: 500;
}

@media (hover: none) {
  .hover-media__hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hover-media[data-hover="frames"].is-active .hover-media__frame {
    animation: none;
  }
}

@media (max-width: 992px) {
  .project-featured__link,
  .project-featured__grid {
    grid-template-columns: 1fr;
  }

  .project-featured__shade {
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 60%);
  }

  .project-featured__content {
    padding: 2rem 1.5rem;
  }

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

@media (max-width: 768px) {
  .game-hero {
    min-height: 360px;
  }

  .game-gallery {
    grid-template-columns: 1fr;
  }

  .game-videos,
  .page-game__videos {
    grid-template-columns: 1fr;
  }

  .nav__toggle {
    display: flex;
  }

  .theme-toggle__btn {
    width: 28px;
    height: 26px;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--nav-menu-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__menu li {
    text-align: center;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1.5rem;
  }

  .page-game__videos {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 1.25rem;
  }
}

/* ── Light theme polish ── */

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) body {
    background: linear-gradient(180deg, #e9edf5 0%, #e6eaf2 48%, #e2e7f0 100%);
  }

  :root:not([data-theme="dark"]) .project-featured,
  :root:not([data-theme="dark"]) .project-featured__grid,
  :root:not([data-theme="dark"]) .project-card,
  :root:not([data-theme="dark"]) .games-stats-bar,
  :root:not([data-theme="dark"]) .about-story {
    box-shadow: 0 10px 32px rgba(16, 24, 48, 0.07);
  }

  :root:not([data-theme="dark"]) .onepage .section--scroll-panel {
    border-top: 1px solid rgba(18, 22, 40, 0.08);
    box-shadow: 0 -24px 64px rgba(16, 24, 48, 0.12);
  }

  :root:not([data-theme="dark"]) .games-stats-bar {
    background: linear-gradient(
      135deg,
      rgba(79, 109, 230, 0.16) 0%,
      rgba(210, 220, 248, 0.55) 55%,
      rgba(232, 236, 244, 0.92) 100%
    );
  }

  :root:not([data-theme="dark"]) .about-story {
    background: linear-gradient(
      160deg,
      rgba(79, 109, 230, 0.12) 0%,
      rgba(232, 236, 244, 0.96) 100%
    );
  }

  :root:not([data-theme="dark"]) .project-featured__shade {
    background: linear-gradient(
      to right,
      transparent 58%,
      rgba(248, 249, 252, 0.5) 80%,
      var(--card-media-fade) 100%
    );
  }

  :root:not([data-theme="dark"]) .theme-toggle__btn[aria-pressed="true"] {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 24, 48, 0.08);
  }

  :root:not([data-theme="dark"]) .lang-toggle__btn[aria-pressed="true"] {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 24, 48, 0.08);
  }

  :root:not([data-theme="dark"]) .site-footer {
    border-top-color: rgba(18, 22, 40, 0.1);
  }
}

:root[data-theme="light"] body {
  background: linear-gradient(180deg, #e9edf5 0%, #e6eaf2 48%, #e2e7f0 100%);
}

:root[data-theme="light"] .project-featured,
:root[data-theme="light"] .project-featured__grid,
:root[data-theme="light"] .project-card,
:root[data-theme="light"] .games-stats-bar,
:root[data-theme="light"] .about-story {
  box-shadow: 0 10px 32px rgba(16, 24, 48, 0.07);
}

:root[data-theme="light"] .onepage .section--scroll-panel {
  border-top: 1px solid rgba(18, 22, 40, 0.08);
  box-shadow: 0 -24px 64px rgba(16, 24, 48, 0.12);
}

:root[data-theme="light"] .games-stats-bar {
  background: linear-gradient(
    135deg,
    rgba(79, 109, 230, 0.16) 0%,
    rgba(210, 220, 248, 0.55) 55%,
    rgba(232, 236, 244, 0.92) 100%
  );
}

:root[data-theme="light"] .about-story {
  background: linear-gradient(
    160deg,
    rgba(79, 109, 230, 0.12) 0%,
    rgba(232, 236, 244, 0.96) 100%
  );
}

:root[data-theme="light"] .project-featured__shade {
  background: linear-gradient(
    to right,
    transparent 58%,
    rgba(248, 249, 252, 0.5) 80%,
    var(--card-media-fade) 100%
  );
}

:root[data-theme="light"] .theme-toggle__btn[aria-pressed="true"] {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 24, 48, 0.08);
}

:root[data-theme="light"] .lang-toggle__btn[aria-pressed="true"] {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 24, 48, 0.08);
}

:root[data-theme="light"] .site-footer {
  border-top-color: rgba(18, 22, 40, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__content,
  .hero__scroll {
    animation: none;
  }

  .onepage .hero__video,
  .onepage .hero__content,
  .onepage .hero__scroll,
  .game-hero__bg,
  .game-hero__video,
  .game-hero__content {
    transform: none !important;
    opacity: 1 !important;
  }

  .onepage .section--scroll-panel {
    border-radius: 0;
    box-shadow: none;
  }

  .onepage .section--scroll-panel::before {
    display: none;
  }
}
