/* Voron Creations — lightweight, responsive (no blur / no gradients) */
:root,
[data-theme="light"] {
  --canvas: 255 255 255;
  --canvas-muted: 243 245 247;
  --surface: 255 255 255;
  --surface-raised: 228 232 238;
  --hero-banner: 232 236 241;
  --text: 43 43 43;
  --text-muted: 110 110 110;
  --text-soft: 126 126 126;
  --border: 0 0 0;
  --nav-h: 5rem;
  --nav-h-m: 3.75rem;
  --max: 78.75rem;
  --orange: 254 157 67;
  --green: 0 208 15;
  --blue: 67 117 254;
  --page-pad: 1rem;
}

[data-theme="dark"] {
  --canvas: 30 32 36;
  --canvas-muted: 18 20 24;
  --surface: 42 44 49;
  --surface-raised: 54 57 63;
  --hero-banner: 18 20 24;
  --text: 232 234 236;
  --text-muted: 168 173 181;
  --text-soft: 139 144 153;
  --border: 255 255 255;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: rgb(var(--canvas-muted));
  color: rgb(var(--text));
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

@media (min-width: 640px) {
  :root {
    --page-pad: 1.25rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --page-pad: 1.5rem;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgb(var(--canvas) / 0.94);
  border-bottom: 1px solid rgb(var(--border) / 0.08);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  height: var(--nav-h-m);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

@media (min-width: 1024px) {
  .header-inner {
    height: var(--nav-h);
    gap: 1.5rem;
  }
}

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgb(110 110 110 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.logo-text {
  font-weight: 800;
  font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  letter-spacing: -0.02em;
  color: rgb(var(--text));
  line-height: 1.15;
  min-width: 0;
}

@media (min-width: 1024px) {
  .logo-text {
    font-size: 1.45rem;
    white-space: nowrap;
  }
}

.nav-divider {
  display: none;
  width: 1px;
  height: 2.5rem;
  background: rgb(var(--border) / 0.12);
}

@media (min-width: 1024px) {
  .nav-divider {
    display: block;
  }
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.primary-nav {
  display: none;
}

.primary-nav.is-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem var(--page-pad) calc(2rem + env(safe-area-inset-bottom));
  background: rgb(var(--canvas));
  border-bottom: 1px solid rgb(var(--border) / 0.08);
  max-height: calc(100dvh - var(--nav-h-m) - env(safe-area-inset-top));
  overflow-y: auto;
}

.primary-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border-radius: 999px;
  background: rgb(var(--surface-raised));
  font-weight: 600;
  font-size: 1.05rem;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: transparent;
    border: none;
    max-height: none;
    overflow: visible;
    margin-right: auto;
  }

  .primary-nav a {
    min-height: auto;
    height: auto;
    background: transparent;
    font-weight: 500;
    color: rgb(var(--text-muted));
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    border-radius: 0;
  }

  .primary-nav a:hover,
  .primary-nav a.is-active {
    color: rgb(var(--text));
    border-bottom-color: rgb(var(--orange));
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: filter 0.15s ease, transform 0.15s ease;
  max-width: 100%;
}

@media (min-width: 640px) {
  .btn {
    min-height: 3.125rem;
    padding: 0 1.5rem;
    font-size: 1.125rem;
  }
}

.btn:hover {
  filter: brightness(1.08);
}

.btn:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}

.btn-orange {
  background: rgb(var(--orange));
  color: #fff;
}

.btn-green {
  background: rgb(var(--green));
  color: #fff;
}

.btn-blue {
  background: rgb(var(--blue));
  color: #fff;
}

.btn-outline {
  background: rgb(var(--canvas));
  color: rgb(var(--text));
  border: 1px solid rgb(var(--border) / 0.15);
}

/* Main offset */
.page {
  padding-top: calc(var(--nav-h-m) + env(safe-area-inset-top));
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  .page {
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top));
  }
}

/* Hero */
.hero {
  background: rgb(var(--hero-banner));
  padding: 1.75rem var(--page-pad) 2.25rem;
}

@media (min-width: 1024px) {
  .hero {
    padding: 3.5rem var(--page-pad) 4rem;
  }
}

.hero-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
}

.hero-copy {
  max-width: 36rem;
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-copy {
    text-align: left;
    margin: 0;
    flex: 1;
  }
}

.brand-label {
  font-weight: 700;
  font-size: clamp(0.85rem, 2.8vw, 1.125rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--orange));
}

.hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 8vw, 4.375rem);
  font-weight: 700;
  line-height: 1.05;
  color: rgb(var(--text));
  word-wrap: break-word;
}

.hero-lead {
  margin-top: 0.85rem;
  font-size: clamp(1rem, 3.2vw, 1.625rem);
  color: rgb(var(--text-muted));
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

.hero-actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 10.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-media {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-media {
    max-width: 28rem;
  }
}

@media (min-width: 1024px) {
  .hero-media {
    width: min(36rem, 48%);
    max-width: none;
    margin: 0;
    flex-shrink: 0;
  }
}

.hero-card {
  display: block;
  background: rgb(var(--canvas));
  border-radius: clamp(1.25rem, 4vw, 2rem);
  padding: 0.65rem;
  box-shadow: 0 12px 28px rgb(54 70 76 / 0.12);
}

.hero-card-img {
  position: relative;
  aspect-ratio: 1;
  border-radius: clamp(1rem, 3vw, 1.5rem);
  overflow: hidden;
  background: rgb(var(--surface-raised));
}

.hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-label {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgb(0 0 0 / 0.55);
  color: #fff;
  font-weight: 700;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
}

/* Featured */
.featured {
  padding: 2.5rem var(--page-pad) 3.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .featured {
    padding: 4rem var(--page-pad) 5rem;
  }
}

.featured-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .featured-grid {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }
}

.featured-art {
  width: 100%;
  max-width: 18rem;
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgb(var(--surface-raised));
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .featured-art {
    max-width: 22rem;
  }
}

@media (min-width: 1024px) {
  .featured-art {
    max-width: 28rem;
    flex: 0 0 42%;
    margin: 0;
  }
}

.featured-art img {
  width: 70%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.25rem;
}

.featured-copy {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 1024px) {
  .featured-copy {
    text-align: left;
    margin: 0;
    flex: 1;
  }
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(var(--orange));
  font-size: 0.9rem;
}

.tag {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgb(var(--surface-raised));
  color: rgb(var(--text-muted));
  font-weight: 700;
  font-size: 0.9rem;
}

.featured-copy h2 {
  margin-top: 1rem;
  font-size: clamp(1.6rem, 5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.15;
}

.featured-copy p {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  color: rgb(var(--text-muted));
  line-height: 1.55;
}

.featured-copy .btn {
  margin-top: 1.25rem;
  width: 100%;
}

@media (min-width: 640px) {
  .featured-copy .btn {
    width: auto;
  }
}

/* Numbers */
.numbers {
  background: rgb(var(--canvas));
  padding: 3rem var(--page-pad) 3.5rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .numbers {
    padding: 5rem var(--page-pad) 6rem;
  }
}

.numbers h2 {
  font-size: clamp(1.75rem, 5vw, 3.125rem);
  font-weight: 700;
}

.numbers > p {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 2.8vw, 1.375rem);
  color: rgb(var(--text) / 0.9);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.stats {
  margin-top: 2rem;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .stats {
    margin-top: 2.5rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .stats {
    margin-top: 3rem;
    gap: 1.5rem;
  }
}

.stat {
  padding: 1.25rem 0.75rem;
  background: rgb(var(--canvas-muted));
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .stat {
    padding: 1.5rem 1rem;
    background: transparent;
  }
}

.stat-value {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  color: rgb(var(--orange));
  line-height: 1.1;
  word-break: break-word;
}

.stat-label {
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: clamp(0.75rem, 2.2vw, 0.95rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(var(--text));
}

.stat-note {
  margin-top: 0.35rem;
  color: rgb(var(--text-muted));
  font-size: clamp(0.8rem, 2.2vw, 0.95rem);
  line-height: 1.35;
}

/* Games */
.games-section {
  padding: 3rem var(--page-pad) 4rem;
  background: rgb(var(--canvas-muted));
}

@media (min-width: 1024px) {
  .games-section {
    padding: 4rem var(--page-pad) 5rem;
  }
}

.games-section-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 5vw, 3.125rem);
  font-weight: 700;
}

.section-head p {
  margin-top: 0.5rem;
  color: rgb(var(--text-muted));
  font-size: clamp(1rem, 2.8vw, 1.125rem);
}

.games-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.game-card {
  background: rgb(var(--surface));
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgb(var(--border) / 0.06);
  transition: transform 0.15s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (hover: hover) {
  .game-card:hover {
    transform: translateY(-2px);
  }
}

.game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: rgb(var(--surface-raised));
}

.game-card-body {
  padding: 1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-card h3 {
  font-size: clamp(1.05rem, 3vw, 1.15rem);
  font-weight: 700;
}

.game-year {
  margin-top: 0.15rem;
  color: rgb(var(--text-muted));
  font-size: 0.9rem;
  font-weight: 600;
}

.game-desc {
  margin-top: 0.5rem;
  color: rgb(var(--text-soft));
  font-size: 0.95rem;
  line-height: 1.45;
  flex: 1;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: rgb(var(--text-muted));
  font-weight: 600;
}

.game-meta span strong {
  color: rgb(var(--text));
  font-weight: 700;
}

.game-card .btn {
  margin-top: 1rem;
  width: 100%;
  min-height: 2.75rem;
  font-size: 1rem;
}

/* Games hero */
.games-hero {
  background: rgb(var(--hero-banner));
  padding: 2.5rem var(--page-pad) 2rem;
  text-align: center;
}

.games-hero .over {
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(var(--orange));
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
}

.games-hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  word-wrap: break-word;
}

.games-hero p {
  margin-top: 0.5rem;
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  color: rgb(var(--text-muted));
}

/* Community */
.community-wrap {
  padding: 0 var(--page-pad);
  margin-top: -0.5rem;
  position: relative;
  z-index: 2;
}

.community {
  max-width: 80rem;
  margin: 0 auto;
  background: rgb(var(--surface));
  border-radius: clamp(1.25rem, 4vw, 1.875rem);
  padding: 2rem 1.25rem;
  box-shadow: 0 10px 28px rgb(54 70 76 / 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid rgb(var(--border) / 0.06);
}

@media (min-width: 1024px) {
  .community {
    flex-direction: row;
    padding: 2rem 3rem;
    min-height: 16rem;
    gap: 1.5rem;
  }
}

.community-copy {
  text-align: center;
  flex: 1;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .community-copy {
    text-align: left;
  }
}

.community-copy h2 {
  font-size: clamp(1.5rem, 4.5vw, 3.125rem);
  font-weight: 700;
}

.community-copy p {
  margin-top: 0.5rem;
  color: rgb(var(--text-muted));
  font-size: clamp(1rem, 2.8vw, 1.15rem);
}

.community-copy .hero-actions {
  margin-top: 1.25rem;
}

.community-mascot {
  display: none;
  width: 30%;
  max-width: 240px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .community-mascot {
    display: block;
  }
}

.community-mascot img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Footer */
.site-footer {
  padding: 4.5rem var(--page-pad) calc(2.5rem + env(safe-area-inset-bottom));
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 7rem var(--page-pad) 4rem;
  }
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .footer-inner {
    flex-direction: row-reverse;
    align-items: flex-start;
  }
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
  flex: 1;
  width: 100%;
}

@media (min-width: 640px) {
  .footer-cols {
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;
  }
}

.footer-col h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  padding: 0.35rem 0;
  font-size: clamp(0.95rem, 2.8vw, 1.125rem);
  font-weight: 500;
  color: rgb(var(--text-muted));
  word-break: break-word;
}

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

.footer-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .footer-brand {
    align-items: flex-start;
    text-align: left;
  }
}

.footer-copy {
  color: rgb(var(--text-muted));
  font-weight: 500;
  font-size: 0.95rem;
}

.theme-switch {
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgb(var(--border) / 0.12);
  background: rgb(var(--surface));
  padding: 0.2rem;
  gap: 0.15rem;
}

.theme-switch button {
  width: 2.25rem;
  height: 1.85rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--text-soft));
}

.theme-switch button.is-active {
  background: rgb(var(--orange));
  color: #fff;
}

.theme-switch svg {
  width: 1rem;
  height: 1rem;
}

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