@font-face {
  font-family: Inter;
  src: url('assets/inter.woff') format('woff');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #0c0f0e;
  --surface: #141816;
  --line: #272c28;
  --muted: #8d958e;
  --text: #f4f6ee;
  --lime: #c3fa4c;
  --header: 78px;
  --sidebar: 214px;
  color-scheme: dark;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
img {
  max-width: 100%;
  display: block;
}
button svg {
  vertical-align: middle;
}
[hidden] {
  display: none !important;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 1000;
  background: var(--lime);
  color: #101509;
  padding: 14px;
}
.skip-link:focus {
  top: 10px;
}
#ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.65;
}
.scroll-progress {
  height: 2px;
  background: var(--lime);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  box-shadow: 0 0 14px var(--lime);
}
.site-header {
  height: var(--header);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: #0e1110ed;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 30px;
  gap: 55px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
  letter-spacing: -1px;
  font-size: 23px;
  white-space: nowrap;
}
.brand-domain {
  color: var(--lime);
  font-size: 14px;
  letter-spacing: -0.5px;
}
.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  background: var(--lime);
  color: #101907;
  font-size: 31px;
  font-weight: 950;
  font-style: italic;
  width: 33px;
  height: 36px;
  line-height: 1;
  border-radius: 8px;
  transform: skew(-8deg);
  box-shadow: 0 0 24px #c3fa4c18;
}
.brand-mark > span {
  font-size: 13px;
  position: absolute;
  right: 1px;
  bottom: 1px;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
}
.top-nav a {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  color: #969d97;
}
.top-nav a.active {
  color: var(--text);
}
.top-nav a.active:after {
  content: '';
  height: 3px;
  background: var(--lime);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.nav-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--lime);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 19px;
}
.free-label {
  font-size: 10px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aeb7ae;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 10px #c3fa4c80;
  animation: beacon 3s ease-in-out infinite;
  flex-shrink: 0;
}
.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  color: #b0b8b0;
}
.icon-button:hover {
  border-color: #7f9459;
  color: var(--lime);
}
.muted-slash {
  position: absolute;
  background: #0e1110;
  width: 24px;
  height: 2px;
  transform: rotate(-45deg);
  border-top: 1px solid #b0b8b0;
}
.primary-button,
.outline-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  padding: 15px 21px;
  border-radius: 7px;
  font-weight: 750;
  font-size: 13px;
  min-height: 48px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  overflow: hidden;
  isolation: isolate;
}
.primary-button {
  background: var(--lime);
  color: #111b06;
  box-shadow: 0 4px 25px #bbf1410d;
}
.primary-button:before {
  content: '';
  position: absolute;
  inset: -70%;
  background: linear-gradient(110deg, transparent 35%, #fff8 49%, transparent 63%);
  transform: translateX(-70%);
  animation: button-sheen 6s ease-in-out infinite;
  z-index: -1;
}
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px #bfff4333;
  background: #d0ff72;
}
.primary-button:active {
  transform: scale(0.97);
}
.primary-button.compact {
  min-height: 40px;
  padding: 10px 15px;
  font-size: 12px;
  gap: 17px;
}
.primary-button svg,
.outline-button svg {
  width: 18px;
  height: 18px;
}
.outline-button {
  border: 1px solid #49533d;
  background: #ffffff04;
  color: #e5edda;
}
.outline-button:hover {
  background: #c3fa4c13;
  border-color: var(--lime);
}
.sidebar {
  position: fixed;
  top: var(--header);
  left: 0;
  width: var(--sidebar);
  bottom: 0;
  border-right: 1px solid var(--line);
  padding: 31px 14px 20px;
  background: #0f1210;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #687468;
  margin: 0 15px 16px;
  font-weight: 650;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 47px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 550;
  text-align: left;
  color: #929d92;
  border-radius: 7px;
  transition:
    background 0.2s,
    color 0.2s;
  margin-bottom: 5px;
  white-space: nowrap;
}
.side-link svg {
  width: 18px;
  height: 18px;
  color: #879180;
}
.side-link.active {
  background: linear-gradient(110deg, #c3fa4c19, #c3fa4c07);
  color: var(--lime);
}
.side-link.active svg {
  color: var(--lime);
}
.side-link:hover {
  background: #c3fa4c0c;
  color: #edf4e8;
}
.side-active-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  margin-left: auto;
}
.count {
  margin-left: auto;
  background: #272d22;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
}
.side-divider {
  height: 1px;
  background: var(--line);
  margin: 20px 12px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 25px 7px 0;
}
.mini-promo {
  position: relative;
  border: 1px solid #353e2c;
  background: radial-gradient(ellipse at 90% 0%, #7e9d2c26, transparent 70%), #171c13;
  border-radius: 9px;
  padding: 18px 15px;
  overflow: hidden;
}
.mini-promo .eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
}
.mini-promo h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 10px 0;
}
.mini-promo p {
  font-size: 11px;
  color: #93a088;
  line-height: 1.7;
}
.mini-promo button {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--lime);
  font-weight: 650;
  margin-top: 17px;
  padding: 0;
  min-height: 28px;
}
.mini-promo svg {
  width: 15px;
}
.mini-spark {
  position: absolute;
  right: 15px;
  top: 20px;
  color: var(--lime);
  font-size: 31px;
  animation: slow-spin 18s linear infinite;
}
.motion-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: #9aa18e;
  width: 100%;
  margin: 21px 0 14px;
  padding: 8px 0;
}
.toggle-light {
  width: 23px;
  height: 13px;
  border-radius: 20px;
  background: #718a39;
  margin-left: auto;
  position: relative;
}
.toggle-light:after {
  content: '';
  position: absolute;
  right: 2px;
  top: 2px;
  height: 9px;
  width: 9px;
  background: var(--lime);
  border-radius: 50%;
}
.motion-toggle[aria-pressed='false'] .toggle-light {
  background: #343a30;
}
.motion-toggle[aria-pressed='false'] .toggle-light:after {
  right: 12px;
  background: #999;
}
.motion-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 16px;
}
.motion-bars i {
  width: 2px;
  height: 10px;
  background: var(--lime);
  animation: bars 1.4s ease-in-out infinite alternate;
}
.motion-bars i:nth-child(2) {
  animation-delay: -0.4s;
  height: 15px;
}
.motion-bars i:nth-child(3) {
  animation-delay: -0.8s;
}
.motion-bars i:nth-child(4) {
  animation-delay: -0.6s;
  height: 6px;
}
.sidebar-bottom > small {
  font-size: 9px;
  color: #6e796b;
}
main {
  margin-left: var(--sidebar);
  padding: calc(var(--header) + 28px) 32px 0;
  max-width: 1840px;
}
.hero {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid #343c28;
  border-radius: 13px;
  background: #10170e;
}
.hero:after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 80px #0004;
}
.hero-image {
  position: absolute;
  inset: -5%;
  background: url('assets/chess-hero.webp') center right/cover;
  animation: hero-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0d130df2 0%, #0d130dca 26%, #0d130d28 60%, transparent 100%),
    linear-gradient(0deg, #0b120dc9, transparent 30%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 51px 42px 69px;
  width: 65%;
}
.hero-kicker {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  color: #d7edb8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
h1 {
  font-size: clamp(34px, 3.5vw, 62px);
  line-height: 1.09;
  letter-spacing: -2.2px;
  font-weight: 820;
}
h1 > span {
  color: var(--lime);
}
.hero-copy > p {
  font-size: 13px;
  line-height: 1.85;
  color: #adb7a5;
  margin: 21px 0 26px;
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 27px;
}
.text-link {
  font-size: 12px;
  white-space: nowrap;
  color: #e0e6da;
  display: flex;
  align-items: center;
  gap: 15px;
}
.text-link span {
  display: inline-block;
  animation: down-bob 2s ease-in-out infinite;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9aa790;
  font-size: 10px;
  margin-top: 23px;
}
.hero-note svg {
  width: 13px;
  height: 13px;
  color: var(--lime);
}
.hero-note > span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #65755d;
  margin: 0 4px;
}
.hero-tag {
  position: absolute;
  right: 27px;
  bottom: 56px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #ffffff25;
  background: #131c1470;
  backdrop-filter: blur(15px);
  padding: 12px 15px;
  border-radius: 8px;
  transform: rotate(-3deg);
  animation: float-tag 6s ease-in-out infinite;
}
.tag-icon {
  font-family: 'Segoe UI Symbol', serif;
  font-size: 32px;
  color: var(--lime);
}
.hero-tag small {
  font-size: 7px;
  letter-spacing: 1.5px;
  color: #bfceab;
  display: block;
  margin-bottom: 5px;
}
.hero-tag strong {
  font-size: 15px;
  letter-spacing: 1px;
}
.hero-tag strong span {
  font-weight: 350;
  font-size: 10px;
}
.tag-arrow {
  font-size: 20px;
  color: var(--lime);
  margin-left: 10px;
}
.hero-bottom {
  position: absolute;
  bottom: 19px;
  left: 42px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #a6b495;
  z-index: 2;
}
.hero-bottom > span:first-child {
  display: flex;
  align-items: center;
  gap: 11px;
}
.hero-bottom i {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--lime) 25%, #73836340 25%);
}
.hero-orbit {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid #c3fa4c24;
  border-radius: 50%;
  right: 4%;
  top: 7%;
  transform: rotateX(65deg) rotate(-25deg);
  pointer-events: none;
  z-index: 1;
}
.hero-orbit:after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 3px solid transparent;
  border-top-color: #ddff7c80;
  border-radius: 50%;
  animation: slow-spin 10s linear infinite;
  filter: drop-shadow(0 0 7px #b4ff1b);
}
.orbit-two {
  width: 490px;
  height: 490px;
  right: 0;
  top: 0;
  opacity: 0.3;
}
.orbit-two:after {
  animation-direction: reverse;
  animation-duration: 14s;
}
.hero-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.hero-dust i {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #d5ff7e;
  box-shadow: 0 0 12px #c9ff49;
  border-radius: 50%;
  left: 70%;
  top: 80%;
  animation: dust-rise 7s infinite linear;
}
.hero-dust i:nth-child(2) {
  left: 90%;
  animation-delay: -3s;
}
.hero-dust i:nth-child(3) {
  left: 56%;
  animation-delay: -5s;
}
.hero-dust i:nth-child(4) {
  left: 82%;
  animation-delay: -1s;
  width: 2px;
}
.hero-dust i:nth-child(5) {
  left: 48%;
  animation-delay: -2.8s;
}
.hero-dust i:nth-child(6) {
  left: 76%;
  animation-delay: -4s;
}
.ticker {
  margin: 20px 0 37px;
  border-top: 1px solid #252c23;
  border-bottom: 1px solid #252c23;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 41px;
  padding: 15px 0;
  animation: marquee 40s linear infinite;
}
.ticker span {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 650;
  color: #818b79;
}
.ticker b {
  color: var(--lime);
  font-size: 16px;
  font-weight: 400;
}
.section {
  margin-bottom: 40px;
  scroll-margin-top: 10px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.eyebrow {
  font-size: 9px;
  color: var(--lime);
  letter-spacing: 1.7px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.eyebrow svg {
  width: 16px;
  height: 16px;
}
.section-heading h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  margin-top: 9px;
  font-weight: 730;
}
.section-heading h2 span {
  color: #899184;
  font-weight: 450;
}
.section-note {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  color: #98a18f;
  padding-bottom: 5px;
}
.section-note svg {
  width: 15px;
  height: 15px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.category-card {
  position: relative;
  min-width: 0;
  height: 270px;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  isolation: isolate;
  background: #131712;
  border: 1px solid #30382c;
  transform-style: preserve-3d;
  transition:
    transform 0.35s,
    border-color 0.35s,
    box-shadow 0.35s;
  --rx: 0deg;
  --ry: 0deg;
}
.category-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0004 0%, transparent 45%, #0a0e0be6 80%, #0a0e0b 100%);
  z-index: 1;
}
.category-card:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--accent) 55%, transparent);
  background: linear-gradient(115deg, transparent 30%, #ffffff12 44%, transparent 56%);
  background-size: 300% 100%;
  animation: card-sheen 10s ease-in-out infinite;
  animation-delay: var(--delay);
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  animation: art-float 7s ease-in-out infinite alternate;
  animation-delay: var(--delay);
  transition: filter 0.4s;
}
.category-board img {
  object-position: 70% 50%;
}
.category-dod img {
  object-position: 50% 22%;
}
.category-card:hover {
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px) !important;
  border-color: var(--accent);
  box-shadow: 0 10px 40px color-mix(in srgb, var(--accent) 13%, transparent);
}
.category-card:hover img {
  filter: brightness(1.25);
}
.category-number {
  position: absolute;
  top: 16px;
  left: 17px;
  color: #c3c9bb99;
  font-size: 10px;
  font-weight: 550;
  z-index: 3;
}
.category-status {
  position: absolute;
  right: 12px;
  top: 14px;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 6px;
  border: 1px solid #ffffff25;
  border-radius: 4px;
  color: #c2c7bd;
  background: #0e130a99;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
}
.category-status.available {
  color: var(--lime);
  border-color: #c3fa4c40;
}
.category-status.available span {
  width: 4px;
  height: 4px;
  background: var(--lime);
  border-radius: 50%;
}
.category-copy {
  position: absolute;
  bottom: 20px;
  left: 19px;
  right: 9px;
  z-index: 3;
}
.category-caption {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.3px;
  color: var(--accent);
}
.category-copy h3 {
  font-size: 22px;
  letter-spacing: -0.7px;
  margin: 7px 0 6px;
  font-weight: 750;
}
.category-sub {
  font-size: 10px;
  color: #a0a799;
}
.category-arrow {
  position: absolute;
  right: 14px;
  bottom: 22px;
  z-index: 3;
  color: var(--accent);
  opacity: 0.8;
  transition: transform 0.3s;
}
.category-arrow svg {
  width: 17px;
  height: 17px;
}
.category-card:hover .category-arrow {
  transform: translateX(4px);
}
.small-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #c3fa4c09;
  border: 1px solid #c3fa4c20;
  color: #b5c49e;
  border-radius: 4px;
  font-size: 9px;
  padding: 7px 9px;
}
.small-badge .status-dot {
  width: 4px;
  height: 4px;
}
.filter-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
  overflow: auto;
  scrollbar-width: none;
  padding: 2px;
}
.filter {
  white-space: nowrap;
  border: 1px solid #2a3128;
  border-radius: 6px;
  padding: 10px 15px;
  color: #929b8d;
  font-size: 10px;
  font-weight: 550;
  transition: background 0.2s;
}
.filter.active {
  background: #c3fa4c15;
  color: var(--lime);
  border-color: #c3fa4c40;
}
.filter:hover {
  color: var(--lime);
}
.favorite-filter {
  margin-left: auto;
  padding: 8px 12px;
}
.favorite-filter svg {
  width: 16px;
  height: 16px;
}
.featured-game {
  display: grid;
  grid-template-columns: 42% 1fr;
  position: relative;
  border: 1px solid #303729;
  border-radius: 10px;
  background: linear-gradient(110deg, #151d10, #171c15);
  overflow: hidden;
  min-height: 300px;
}
.featured-art {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: #10190b;
}
.featured-art img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 70% 50%;
  animation: hero-drift 22s ease-in-out infinite alternate;
}
.featured-art:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0c150cee, transparent 65%);
  pointer-events: none;
}
.game-new {
  position: absolute;
  left: 20px;
  top: 18px;
  background: var(--lime);
  color: #243010;
  border-radius: 4px;
  padding: 5px 7px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
  z-index: 1;
}
.favorite-button {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 33px;
  height: 33px;
  border: 1px solid #fff3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1219108c;
  z-index: 2;
}
.favorite-button svg {
  width: 15px;
  height: 15px;
}
.favorite-button[aria-pressed='true'] svg {
  fill: var(--lime);
  color: var(--lime);
}
.art-title {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  font-size: 40px;
  letter-spacing: 5px;
  font-weight: 750;
  line-height: 1;
}
.art-title > span {
  display: block;
  letter-spacing: 7px;
  font-size: 11px;
  font-weight: 400;
  margin-top: 9px;
  color: #cfddb9;
}
.featured-copy {
  padding: 28px 31px;
  position: relative;
  z-index: 1;
  max-width: 500px;
}
.featured-copy .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.featured-copy h3 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.7px;
  margin: 12px 0;
}
.featured-copy > p {
  color: #a0aa95;
  font-size: 11px;
  line-height: 1.8;
  max-width: 340px;
}
.game-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 15px 0 20px;
}
.game-tags span {
  color: #a3af96;
  border: 1px solid #39412f;
  padding: 5px 7px;
  border-radius: 4px;
  font-size: 8px;
}
.featured-copy .primary-button {
  font-size: 11px;
  min-height: 41px;
  padding: 11px 18px;
  gap: 25px;
}
.featured-watermark {
  font-family: 'Segoe UI Symbol', serif;
  position: absolute;
  right: -10px;
  bottom: -60px;
  line-height: 1;
  font-size: 320px;
  color: #c3fa4c05;
  transform: rotate(-10deg);
}
.empty-state {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed #48523b;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 0, #c3fa4c0e, transparent 70%);
  padding: 30px;
  animation: fade-up 0.4s both;
}
.empty-state > svg {
  width: 33px;
  height: 33px;
  color: var(--lime);
  margin-bottom: 16px;
  animation: slow-spin 20s linear infinite;
}
.empty-state h3 {
  font-size: 23px;
  margin: 12px 0;
}
.empty-state p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 400px;
}
.empty-state button {
  margin-top: 22px;
  font-size: 11px;
}
.tournament-banner {
  min-height: 310px;
  position: relative;
  border: 1px solid #453a26;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 70%, #ad711d16, transparent 70%), #161710;
  margin: 45px 0 31px;
}
.tournament-copy {
  position: relative;
  z-index: 3;
  padding: 34px 35px;
  width: 58%;
}
.tournament-copy .eyebrow {
  color: #d9ad5c;
  font-size: 8px;
}
.tournament-copy h2 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 13px 0;
}
.tournament-copy p {
  font-size: 11px;
  line-height: 1.7;
  color: #9b9e8c;
  margin-bottom: 23px;
}
.tournament-copy button {
  font-size: 10px;
  min-height: 40px;
  border-color: #7c6741;
  color: #e1c28d;
  padding: 10px 14px;
}
.tournament-visual {
  position: absolute;
  right: 5%;
  top: 0;
  width: 36%;
  height: 100%;
  z-index: 2;
}
.tournament-visual img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  animation: trophy-float 7s ease-in-out infinite alternate;
  mask-image: radial-gradient(ellipse, #000 30%, transparent 73%);
}
.tournament-soon {
  position: absolute;
  bottom: 27px;
  left: 50%;
  transform: translateX(-50%);
  background: #292416c9;
  border: 1px solid #aa833744;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 6px;
  letter-spacing: 1px;
  white-space: nowrap;
  color: #d2b978;
  display: flex;
  align-items: center;
  gap: 3px;
}
.tournament-soon i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #e4c37e;
  animation: beacon 1.4s infinite;
}
.tournament-soon i:nth-child(2) {
  animation-delay: 0.2s;
}
.tournament-soon i:nth-child(3) {
  animation-delay: 0.4s;
}
.banner-word {
  position: absolute;
  right: -15px;
  bottom: -28px;
  color: #aa97510b;
  font-size: 115px;
  font-weight: 900;
  letter-spacing: -4px;
  white-space: nowrap;
}
.tournament-rings {
  position: absolute;
  right: 5%;
  width: 40%;
  height: 100%;
  transform: rotate(-20deg);
  pointer-events: none;
}
.tournament-rings i {
  position: absolute;
  inset: 20px;
  border: 1px solid #b88b3525;
  border-radius: 50%;
  animation: arena-pulse 7s infinite;
}
.tournament-rings i:nth-child(2) {
  inset: 0;
  animation-delay: 2s;
}
.tournament-rings i:nth-child(3) {
  inset: -25px;
  animation-delay: 4s;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0 36px;
}
.benefits > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.benefits svg {
  color: #9dac7a;
  width: 23px;
  height: 23px;
  animation: icon-breathe 6s ease-in-out infinite;
}
.benefits > div:nth-child(2) svg {
  animation-delay: 2s;
}
.benefits strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 5px;
}
.benefits small {
  font-size: 9px;
  color: #85907c;
  line-height: 1.5;
}
footer {
  padding: 28px 0 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.footer-top .brand {
  font-size: 18px;
}
.footer-top .brand-mark {
  width: 25px;
  height: 28px;
  font-size: 25px;
  border-radius: 6px;
}
.footer-top .brand-mark > span {
  font-size: 10px;
}
.footer-top .brand-domain {
  font-size: 10px;
}
.footer-top > span {
  font-size: 8px;
  letter-spacing: 2px;
  color: #6f7b64;
}
.footer-about {
  max-width: 760px;
  margin-top: 24px;
}
.footer-about h2 {
  margin: 0 0 8px;
  color: #c7d1ba;
  font-size: 16px;
}
.footer-about p {
  color: #929f87;
  font-size: 12px;
  line-height: 1.8;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 8px;
  color: #77836f;
  margin-top: 23px;
}
.footer-bottom button {
  font-size: 8px;
  color: #97a087;
  padding: 5px 0;
}
.footer-motion {
  display: none;
}
.mobile-nav {
  display: none;
}
.reveal {
  opacity: 1;
}
.js-motion .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s ease var(--delay, 0ms),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0ms);
}
.js-motion .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
dialog {
  border: 1px solid #485437;
  border-radius: 14px;
  background: #121810;
  color: var(--text);
  padding: 0;
  box-shadow: 0 25px 120px #000b;
  max-height: 92dvh;
}
dialog[open] {
  animation: dialog-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
dialog::backdrop {
  background: #020702c9;
  backdrop-filter: blur(12px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.chess-dialog {
  width: min(880px, 96vw);
  overflow: auto;
}
.chess-shell {
  padding: 24px;
  position: relative;
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dialog-header .eyebrow {
  font-size: 7px;
  letter-spacing: 1.5px;
}
.dialog-header h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin-top: 5px;
}
.dialog-header h2 span {
  color: #b6c49f;
  font-weight: 350;
}
.chess-layout {
  display: grid;
  grid-template-columns: 1fr 245px;
  gap: 25px;
}
.board-column {
  min-width: 0;
}
.player-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}
.player-row:last-child {
  margin: 12px 0 0;
}
.player-avatar {
  display: grid;
  place-items: center;
  background: #c3fa4c20;
  border: 1px solid #c3fa4c40;
  color: #e8f4cc;
  width: 35px;
  height: 35px;
  border-radius: 7px;
  font-family: 'Segoe UI Symbol', serif;
  font-size: 28px;
}
.player-avatar.opponent {
  color: #949e87;
  background: #272e23;
  border-color: #454e3b;
}
.player-row strong {
  display: block;
  font-size: 11px;
}
.player-row small {
  display: block;
  font-size: 9px;
  color: #8d9b7f;
  margin-top: 4px;
}
.turn-pill {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 1px;
  padding: 6px 8px;
  border: 1px solid #39442e;
  border-radius: 4px;
  color: #8d9b7f;
}
.turn-pill.active {
  color: var(--lime);
  border-color: #c3fa4c66;
  background: #c3fa4c10;
}
.chess-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  aspect-ratio: 1;
  border: 5px solid #303b24;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 25px #c3fa4c07;
}
.square {
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 0;
  background: #ced6b4;
  isolation: isolate;
}
.square.dark {
  background: #60704a;
}
.square.selected {
  background: #c8ee4a;
}
.square.last-move {
  box-shadow: inset 0 0 0 100px #d6fa5044;
}
.square:focus-visible {
  outline: 3px solid #fb9c36;
  outline-offset: -3px;
  z-index: 3;
}
.square.legal:after {
  content: '';
  width: 24%;
  height: 24%;
  position: absolute;
  left: 38%;
  top: 38%;
  border-radius: 50%;
  background: #1f421c70;
  z-index: 2;
  pointer-events: none;
}
.square.legal.has-piece:after {
  inset: 3%;
  width: 94%;
  height: 94%;
  border: 4px solid #d7ff6b;
  box-shadow: 0 0 12px #0006;
  background: none;
}
.square.checked {
  background: #d88366;
}
.piece {
  font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', serif;
  font-size: clamp(28px, 3.4vw, 49px);
  line-height: 1;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 2px 1px #0005);
  font-weight: 400;
  user-select: none;
}
.piece.white {
  color: #fffbe7;
  -webkit-text-stroke: 1px #3b412d;
  text-shadow: 0 1px 0 #1a2113;
}
.piece.black {
  color: #202a1a;
  -webkit-text-stroke: 0.5px #b4c197;
}
.square.moved .piece {
  animation: piece-land 0.3s ease-out;
}
.coordinate {
  position: absolute;
  font-family: Inter, 'Segoe UI', sans-serif;
  font-size: 8px;
  font-weight: 650;
  color: #4f603c;
  pointer-events: none;
}
.dark .coordinate {
  color: #d9e2c2;
}
.coordinate.rank {
  top: 3px;
  left: 3px;
}
.coordinate.file {
  bottom: 2px;
  right: 3px;
}
.game-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.game-status {
  display: flex;
  gap: 9px;
  align-items: center;
  background: #c3fa4c0c;
  border: 1px solid #c3fa4c22;
  padding: 13px;
  border-radius: 7px;
  margin-bottom: 18px;
}
.game-status strong {
  font-size: 12px;
}
.game-panel label {
  font-size: 10px;
  color: #adb89f;
  margin-bottom: 7px;
}
.game-panel select {
  font-size: 11px;
  color: #d8e2c9;
  background: #1c2516;
  border: 1px solid #465238;
  padding: 11px 9px;
  border-radius: 6px;
  width: 100%;
}
.game-help {
  font-size: 10px;
  color: #8b9c7a;
  line-height: 1.7;
  margin: 13px 0;
}
.board-controls {
  display: flex;
  gap: 8px;
}
.board-controls .outline-button {
  padding: 7px 12px;
  min-height: 36px;
  font-size: 11px;
}
.board-controls button:first-child {
  flex: 1;
}
.history-heading {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 10px;
  color: #a8b39b;
  font-size: 10px;
}
.move-history {
  background: #0d130b;
  border: 1px solid #28341e;
  border-radius: 5px;
  min-height: 75px;
  max-height: 150px;
  overflow: auto;
  padding: 9px 12px 9px 32px;
  margin: 0 0 15px;
  font-size: 11px;
  line-height: 2;
  color: #a8b894;
  flex: 1;
}
.move-history li {
  padding-left: 4px;
}
.move-history li span {
  display: inline-block;
  width: 48%;
}
.game-panel > .primary-button {
  min-height: 42px;
  font-size: 11px;
  gap: 50px;
}
.chess-note {
  font-size: 8px;
  color: #899779;
  line-height: 1.7;
  text-align: center;
  margin: 12px 0 0;
}
.promotion-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #11190beb;
  backdrop-filter: blur(8px);
  z-index: 5;
  padding: 20px;
  text-align: center;
}
.promotion-panel h3 {
  font-size: 19px;
  margin-bottom: 25px;
}
.promotion-panel > div {
  display: flex;
  gap: 10px;
}
.promotion-panel button {
  font-family: 'Segoe UI Symbol', serif;
  font-size: 45px;
  width: 65px;
  height: 75px;
  background: #c3fa4c18;
  border: 1px solid #c3fa4c55;
  border-radius: 7px;
  color: var(--lime);
}
.promotion-panel button:hover {
  background: #c3fa4c3a;
}
.info-dialog {
  max-width: 480px;
  width: 92vw;
  padding: 42px;
  text-align: center;
  background: radial-gradient(ellipse at top, #87a83222, transparent), #121810;
}
.info-dialog > .close-dialog {
  position: absolute;
  top: 12px;
  right: 12px;
}
.info-symbol {
  display: block;
  font-size: 65px;
  color: var(--lime);
  margin: 0 0 20px;
  animation: slow-spin 30s linear infinite;
}
.info-dialog .eyebrow {
  display: block;
}
.info-dialog h2 {
  font-size: 29px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 15px 0;
}
.info-dialog p {
  font-size: 13px;
  line-height: 1.8;
  color: #abb69e;
  margin-bottom: 25px;
}
.info-dialog .primary-button {
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 13px 20px;
  background: #24311a;
  border: 1px solid #6a8747;
  border-radius: 8px;
  box-shadow: 0 5px 25px #0006;
  font-size: 12px;
  color: #e4f6cb;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: 90vw;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes hero-drift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-1%, 0.7%, 0);
  }
}
@keyframes art-float {
  from {
    transform: scale(1.02) translateY(1px) rotate(-1deg);
  }
  to {
    transform: scale(1.08) translateY(-6px) rotate(1deg);
  }
}
@keyframes trophy-float {
  from {
    transform: translateY(4px) rotate(-3deg);
  }
  to {
    transform: translateY(-10px) rotate(3deg);
  }
}
@keyframes float-tag {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}
@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes beacon {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px #c3fa4c66;
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 3px #c3fa4c22;
  }
}
@keyframes bars {
  to {
    transform: scaleY(0.3);
  }
}
@keyframes down-bob {
  50% {
    transform: translateY(4px);
  }
}
@keyframes dust-rise {
  0% {
    transform: translate(0, 30px);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 0.5;
  }
  100% {
    transform: translate(-50px, -330px);
    opacity: 0;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes button-sheen {
  0%,
  65% {
    transform: translateX(-70%);
  }
  90%,
  100% {
    transform: translateX(70%);
  }
}
@keyframes card-sheen {
  0%,
  65% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
@keyframes arena-pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.85;
  }
}
@keyframes icon-breathe {
  50% {
    color: var(--lime);
    filter: drop-shadow(0 0 7px #c3fa4c70);
    transform: translateY(-3px);
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes piece-land {
  from {
    transform: translateY(-5px) scale(1.15);
  }
  to {
    transform: translateY(0) scale(1);
  }
}
body.motion-off *,
body.motion-off *:before,
body.motion-off *:after {
  animation: none !important;
  scroll-behavior: auto !important;
  transition: none !important;
}
.motion-off .reveal {
  opacity: 1;
  transform: none;
}
.motion-off #ambient {
  opacity: 0.25;
}
body.page-hidden *,
body.page-hidden *:before,
body.page-hidden *:after {
  animation-play-state: paused !important;
}
@media (min-width: 1700px) {
  main {
    margin-left: max(var(--sidebar), calc((100vw - 1580px) / 2));
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1420px;
  }
  .hero {
    min-height: 510px;
  }
  .hero-copy {
    padding-top: 70px;
  }
  .category-card {
    height: 310px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 185px;
  }
  .site-header {
    padding: 0 22px;
    gap: 35px;
  }
  .brand {
    font-size: 20px;
  }
  .sidebar {
    padding: 27px 10px 15px;
  }
  .side-link {
    font-size: 11px;
    padding: 12px 10px;
    gap: 9px;
  }
  .mini-promo {
    padding: 15px 12px;
  }
  .sidebar-bottom {
    padding-left: 0;
    padding-right: 0;
  }
  main {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-copy {
    padding: 43px 30px 65px;
    width: 70%;
  }
  .hero {
    min-height: 411px;
  }
  h1 {
    font-size: 43px;
  }
  .hero-buttons {
    gap: 18px;
  }
  .hero-buttons .primary-button {
    font-size: 11px;
    gap: 14px;
    padding: 13px 16px;
  }
  .hero-tag {
    right: 17px;
    bottom: 49px;
    padding: 10px;
  }
  .category-grid {
    gap: 12px;
  }
  .category-card {
    height: 241px;
  }
  .category-copy {
    left: 14px;
  }
  .category-copy h3 {
    font-size: 19px;
  }
  .category-sub {
    font-size: 8px;
  }
  .category-caption {
    font-size: 6px;
  }
  .category-arrow {
    right: 10px;
    bottom: 19px;
  }
  .category-status {
    font-size: 5px;
    right: 9px;
  }
  .category-number {
    font-size: 8px;
    left: 13px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-note {
    font-size: 9px;
    gap: 8px;
  }
  .featured-copy {
    padding: 25px;
  }
  .featured-copy h3 {
    font-size: 23px;
  }
  .benefits {
    gap: 15px;
  }
  .benefits > div {
    gap: 9px;
  }
  .benefits strong {
    font-size: 9px;
  }
  .benefits small {
    font-size: 8px;
  }
  .footer-bottom {
    font-size: 7px;
  }
  .footer-bottom button {
    font-size: 7px;
  }
}
@media (max-width: 1000px) {
  :root {
    --sidebar: 0px;
    --header: 70px;
  }
  .sidebar {
    display: none;
  }
  .site-header {
    gap: 40px;
  }
  .hero {
    min-height: 425px;
  }
  .hero-copy {
    width: 65%;
    padding: 47px 35px 66px;
  }
  h1 {
    font-size: 48px;
  }
  .hero-buttons .primary-button {
    font-size: 12px;
  }
  main {
    padding-top: 94px;
  }
  .category-card {
    height: 265px;
  }
  .category-copy h3 {
    font-size: 23px;
  }
  .category-caption {
    font-size: 7px;
  }
  .category-sub {
    font-size: 9px;
  }
  .category-status {
    font-size: 6px;
  }
  .footer-motion {
    display: inline-block;
    font-size: 9px;
    color: #a9b591;
  }
  .footer-top > span {
    margin-left: auto;
  }
  .benefits strong {
    font-size: 11px;
  }
  .benefits small {
    font-size: 9px;
  }
  .footer-bottom {
    font-size: 8px;
  }
  .footer-bottom button {
    font-size: 8px;
  }
}
@media (max-width: 760px) {
  .free-label {
    display: none;
  }
  .top-nav {
    gap: 20px;
  }
  .header-actions {
    gap: 10px;
  }
  .hero-copy {
    width: 76%;
  }
  .hero-tag {
    display: none;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #0d130df0 0%, #0d130dbf 35%, #0d130d1a 90%),
      linear-gradient(0deg, #0b120dbb, transparent 40%);
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .category-card {
    height: 270px;
  }
  .category-copy h3 {
    font-size: 25px;
  }
  .category-caption {
    font-size: 8px;
  }
  .category-sub {
    font-size: 11px;
  }
  .category-number {
    font-size: 10px;
    top: 17px;
    left: 17px;
  }
  .category-status {
    font-size: 7px;
    top: 15px;
    right: 13px;
  }
  .category-arrow {
    right: 20px;
    bottom: 22px;
  }
  .category-copy {
    left: 20px;
    bottom: 23px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-note {
    display: none;
  }
  .featured-copy {
    padding: 25px 23px;
  }
  .featured-copy h3 {
    font-size: 24px;
  }
  .featured-copy > p {
    font-size: 11px;
  }
  .featured-art {
    min-height: 335px;
  }
  .art-title {
    font-size: 34px;
    left: 20px;
  }
  .tournament-copy {
    padding: 30px;
  }
  .tournament-copy h2 {
    font-size: 28px;
  }
  .tournament-visual {
    right: 0;
    width: 46%;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 15px 5px 32px;
  }
  .benefits > div {
    gap: 17px;
  }
  .benefits svg {
    width: 26px;
    height: 26px;
  }
  .benefits strong {
    font-size: 12px;
  }
  .benefits small {
    font-size: 10px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 13px 30px;
  }
  .chess-layout {
    grid-template-columns: 1fr 210px;
    gap: 18px;
  }
  .chess-shell {
    padding: 20px;
  }
  .piece {
    font-size: clamp(27px, 5vw, 44px);
  }
}
@media (max-width: 600px) {
  :root {
    --header: 65px;
  }
  .site-header {
    padding: 0 17px;
    gap: 10px;
  }
  .brand {
    font-size: 20px;
    gap: 7px;
  }
  .brand-mark {
    width: 29px;
    height: 31px;
    font-size: 28px;
  }
  .brand-domain {
    font-size: 11px;
  }
  .top-nav {
    display: none;
  }
  .header-actions {
    gap: 9px;
  }
  .header-actions .compact {
    font-size: 10px;
    min-height: 35px;
    padding: 8px 12px;
  }
  .header-actions .compact svg {
    display: none;
  }
  .icon-button {
    width: 35px;
    height: 35px;
  }
  .header-actions .icon-button svg {
    width: 16px;
    height: 16px;
  }
  main {
    padding: calc(var(--header) + 15px) 16px 85px;
    margin-left: 0;
  }
  .hero {
    min-height: 550px;
    border-radius: 11px;
  }
  .hero-image {
    inset: 0 -20% 0 -35%;
    background-position: 61% top;
    background-size: auto 89%;
    background-repeat: no-repeat;
    opacity: 0.9;
    animation: hero-drift 16s infinite alternate;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      #0c140c 0%,
      #0c140cf2 21%,
      #0c140c88 48%,
      #0c140c16 72%,
      #0c140c33 100%
    );
  }
  .hero-copy {
    padding: 222px 22px 62px;
    width: 100%;
    position: relative;
  }
  .hero-kicker {
    font-size: 8px;
    letter-spacing: 1.6px;
    margin-bottom: 17px;
  }
  h1 {
    font-size: 41px;
    letter-spacing: -1.8px;
    line-height: 1.07;
  }
  .hero-copy > p {
    font-size: 11px;
    line-height: 1.8;
    margin: 16px 0 20px;
  }
  .hero-buttons {
    gap: 20px;
  }
  .hero-buttons .primary-button {
    font-size: 11px;
    padding: 13px 14px;
    gap: 13px;
    min-height: 45px;
  }
  .text-link {
    font-size: 10px;
    gap: 7px;
  }
  .hero-note {
    font-size: 8px;
    margin-top: 17px;
    gap: 5px;
  }
  .hero-bottom {
    bottom: 17px;
    left: 24px;
    right: 20px;
    font-size: 6px;
    letter-spacing: 1.4px;
  }
  .hero-tag {
    display: flex;
    top: 21px;
    bottom: auto;
    right: 16px;
    padding: 9px 11px;
    gap: 8px;
  }
  .hero-tag small {
    font-size: 5px;
  }
  .hero-tag strong {
    font-size: 10px;
  }
  .hero-tag strong span {
    font-size: 7px;
  }
  .hero-tag .tag-icon {
    font-size: 25px;
  }
  .tag-arrow {
    font-size: 14px;
    margin-left: 2px;
  }
  .hero-orbit {
    top: -20px;
    right: -130px;
    width: 420px;
    height: 320px;
    transform: rotateX(65deg) rotate(-30deg);
  }
  .orbit-two {
    top: -50px;
    right: -160px;
    width: 470px;
    height: 390px;
  }
  .hero-dust i {
    top: 50%;
    animation-duration: 10s;
  }
  .ticker {
    margin: 17px 0 29px;
  }
  .ticker-track {
    gap: 27px;
    padding: 11px 0;
  }
  .ticker span {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .ticker b {
    font-size: 13px;
  }
  .section {
    margin-bottom: 31px;
  }
  .section-heading {
    gap: 8px;
    margin-bottom: 18px;
    align-items: flex-start;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .section-heading h2 {
    font-size: 23px;
    letter-spacing: -0.8px;
    margin-top: 8px;
    line-height: 1.2;
  }
  .section-heading h2 span {
    display: block;
    margin-top: 3px;
  }
  .category-grid {
    gap: 11px;
  }
  .category-card {
    height: 232px;
    border-radius: 9px;
  }
  .category-copy {
    left: 13px;
    bottom: 18px;
    right: 8px;
  }
  .category-copy h3 {
    font-size: 20px;
    letter-spacing: -0.6px;
    margin: 7px 0 5px;
  }
  .category-caption {
    font-size: 5.8px;
    letter-spacing: 1px;
  }
  .category-sub {
    font-size: 8px;
  }
  .category-number {
    top: 13px;
    left: 13px;
    font-size: 8px;
  }
  .category-status {
    top: 12px;
    right: 9px;
    font-size: 5px;
    padding: 4px 4px;
    letter-spacing: 0.4px;
  }
  .category-arrow {
    bottom: 19px;
    right: 10px;
  }
  .category-arrow svg {
    width: 14px;
    height: 14px;
  }
  .category-card img {
    object-position: 50% 25%;
    animation-duration: 9s;
  }
  .category-board img {
    object-position: 72% 50%;
  }
  .small-badge {
    font-size: 7px;
    white-space: nowrap;
    padding: 6px 7px;
    margin-top: 3px;
    gap: 5px;
  }
  .filter-bar {
    gap: 7px;
    margin: 0 -16px 16px;
    padding: 2px 16px 4px;
  }
  .filter {
    font-size: 10px;
    padding: 11px 14px;
    min-height: 39px;
  }
  .favorite-filter {
    margin-left: 0;
  }
  .featured-game {
    display: block;
  }
  .featured-art {
    min-height: 222px;
    height: 222px;
  }
  .featured-art img {
    object-position: 65% 49%;
    height: 140%;
    top: -25%;
  }
  .featured-art:after {
    background: linear-gradient(0deg, #151d10, transparent 80%);
  }
  .game-new {
    left: 17px;
    top: 16px;
  }
  .art-title {
    bottom: 14px;
    left: 22px;
    font-size: 34px;
  }
  .art-title > span {
    font-size: 8px;
    letter-spacing: 8px;
  }
  .featured-copy {
    padding: 22px 23px 25px;
    max-width: none;
  }
  .featured-copy h3 {
    font-size: 27px;
    line-height: 1.25;
    margin-top: 12px;
  }
  .featured-copy .eyebrow {
    font-size: 7px;
  }
  .featured-copy > p {
    font-size: 11px;
    max-width: none;
    line-height: 1.9;
  }
  .game-tags {
    margin: 16px 0 20px;
    gap: 7px;
  }
  .game-tags span {
    font-size: 8px;
    padding: 6px 8px;
  }
  .featured-copy .primary-button {
    width: 100%;
    justify-content: space-between;
    font-size: 12px;
    padding: 13px 17px;
    min-height: 45px;
  }
  .featured-watermark {
    font-size: 240px;
    bottom: -25px;
    right: -25px;
  }
  .tournament-banner {
    min-height: 410px;
    margin: 30px 0 25px;
  }
  .tournament-copy {
    padding: 29px 23px;
    width: 100%;
    z-index: 3;
  }
  .tournament-copy h2 {
    font-size: 28px;
    max-width: 240px;
    margin-top: 17px;
  }
  .tournament-copy p {
    max-width: 190px;
    font-size: 10px;
    line-height: 1.8;
    margin-bottom: 22px;
  }
  .tournament-copy .eyebrow {
    font-size: 7px;
  }
  .tournament-copy button {
    margin-top: 111px;
    width: 100%;
    justify-content: space-between;
    font-size: 11px;
  }
  .tournament-visual {
    right: -22px;
    top: 100px;
    height: 230px;
    width: 68%;
    z-index: 2;
    pointer-events: none;
  }
  .tournament-visual img {
    object-fit: contain;
    mask-image: radial-gradient(ellipse, #000 20%, transparent 75%);
  }
  .tournament-soon {
    display: none;
  }
  .tournament-rings {
    top: 80px;
    right: -17px;
    width: 65%;
    height: 280px;
  }
  .banner-word {
    bottom: 70px;
    font-size: 67px;
    letter-spacing: -2px;
    right: -5px;
  }
  .benefits {
    padding-top: 9px;
    gap: 22px;
  }
  .footer-top {
    flex-wrap: wrap;
  }
  .footer-top .brand {
    font-size: 18px;
  }
  .footer-top > span {
    display: none;
  }
  .footer-motion {
    font-size: 8px;
    min-height: 32px;
  }
  .footer-bottom {
    font-size: 8px;
    line-height: 1.7;
    display: block;
    margin-top: 17px;
  }
  .footer-bottom p {
    margin-bottom: 7px;
  }
  .footer-bottom button {
    font-size: 9px;
    margin-top: 3px;
    min-height: 30px;
  }
  footer {
    padding-top: 24px;
    padding-bottom: 10px;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 35;
    height: calc(65px + env(safe-area-inset-bottom));
    padding: 6px 8px calc(5px + env(safe-area-inset-bottom));
    background: #11170ff2;
    backdrop-filter: blur(16px);
    border-top: 1px solid #3a4430;
    box-shadow: 0 -10px 30px #0004;
  }
  .mobile-nav button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: #8a9781;
    font-size: 8px;
    position: relative;
  }
  .mobile-nav button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.25s;
  }
  .mobile-nav button.active {
    color: var(--lime);
  }
  .mobile-nav button.active:before {
    content: '';
    position: absolute;
    top: -6px;
    width: 25px;
    height: 2px;
    background: var(--lime);
    box-shadow: 0 0 12px #c3fa4c99;
  }
  .mobile-nav button.active svg {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 6px #c3fa4c55);
  }
  .toast {
    bottom: calc(82px + env(safe-area-inset-bottom));
    font-size: 11px;
    min-width: 230px;
  }
  .chess-dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    border: 0;
    margin: 0;
  }
  .chess-shell {
    padding: 17px 14px calc(22px + env(safe-area-inset-bottom));
  }
  .dialog-header {
    margin-bottom: 18px;
  }
  .dialog-header h2 {
    font-size: 22px;
  }
  .chess-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .piece {
    font-size: clamp(30px, 9vw, 48px);
  }
  .player-row {
    margin-bottom: 10px;
  }
  .player-row:last-child {
    margin-top: 10px;
  }
  .game-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
  }
  .game-status {
    grid-column: 1/-1;
    margin: 0;
  }
  .game-panel label {
    grid-column: 1/-1;
    margin: 2px 0 -5px;
  }
  .game-panel select {
    grid-column: 1/-1;
    font-size: 12px;
    min-height: 43px;
  }
  .game-help {
    grid-column: 1/-1;
    margin: 0;
    font-size: 11px;
  }
  .board-controls {
    grid-column: 1;
  }
  .board-controls .outline-button {
    min-height: 43px;
    padding: 8px 10px;
  }
  .game-panel > .primary-button {
    grid-column: 2;
    grid-row: 5;
    gap: 15px;
    font-size: 11px;
    min-height: 43px;
  }
  .history-heading {
    grid-column: 1/-1;
    margin: 8px 0 -3px;
  }
  .move-history {
    grid-column: 1/-1;
    max-height: 100px;
    min-height: 56px;
    margin: 0;
  }
  .chess-note {
    grid-column: 1/-1;
    font-size: 9px;
    margin: 2px 0;
  }
  .promotion-panel {
    position: fixed;
  }
  .info-dialog {
    padding: 43px 25px 30px;
  }
  .info-dialog h2 {
    font-size: 27px;
  }
}
@media (max-width: 370px) {
  .site-header {
    padding: 0 12px;
  }
  .brand {
    font-size: 18px;
  }
  .brand-mark {
    width: 26px;
    height: 29px;
    font-size: 25px;
  }
  .header-actions {
    gap: 7px;
  }
  .header-actions .compact {
    padding: 8px 10px;
    font-size: 9px;
  }
  .header-actions .icon-button {
    width: 30px;
    height: 32px;
  }
  main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-copy {
    padding-left: 19px;
    padding-right: 19px;
  }
  h1 {
    font-size: 37px;
  }
  .hero-buttons {
    gap: 14px;
  }
  .hero-buttons .primary-button {
    font-size: 10px;
    padding: 12px 11px;
    gap: 9px;
  }
  .text-link {
    font-size: 9px;
  }
  .category-card {
    height: 215px;
  }
  .category-copy h3 {
    font-size: 18px;
  }
  .category-sub {
    font-size: 7px;
  }
  .category-caption {
    font-size: 5px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .small-badge {
    font-size: 6px;
  }
  .hero-copy > p {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body:not(.motion-on) *,
  body:not(.motion-on) *:before,
  body:not(.motion-on) *:after {
    animation: none !important;
    transition: none !important;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
}
