:root {
  color-scheme: dark;
  --bg: #10130f;
  --panel: #181c16;
  --panel-2: #20251d;
  --text: #f5f4ea;
  --muted: #b6bbad;
  --subtle: #858c7d;
  --line: #32392d;
  --lime: #c7f36b;
  --orange: #ff9872;
  --radius: 18px;
  font-family:
    "DM Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(
      ellipse at 76% 0%,
      rgba(79, 101, 58, 0.2),
      transparent 34rem
    ),
    var(--bg);
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  z-index: 99;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  color: #10130f;
  background: var(--lime);
  border-radius: 8px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 max(28px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid rgba(225, 235, 213, 0.1);
  background: rgba(16, 19, 15, 0.91);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font:
    700 18px/1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.06em;
}
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #13160f;
  background: var(--lime);
  font-size: 19px;
  letter-spacing: -0.08em;
}
.brand-accent {
  color: var(--lime);
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.primary-nav a:hover,
.primary-nav .active {
  color: var(--text);
}
.header-cta {
  padding: 10px 15px;
  border: 1px solid #566145;
  border-radius: 999px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
}
.header-cta span {
  padding-left: 6px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: 56px;
  width: min(1260px, calc(100% - 56px));
  min-height: 510px;
  margin: 0 auto;
  padding: 60px 0 72px;
}
.hero-copy {
  padding: 4px 0 0 4px;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
}
.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(199, 243, 107, 0.75);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero h1 {
  margin-bottom: 22px;
  font:
    600 clamp(46px, 6.2vw, 82px)/0.98 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.075em;
}
.hero h1 em {
  color: var(--lime);
  font-style: normal;
}
.hero-lead {
  max-width: 490px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-light {
  color: #14170f;
  background: var(--lime);
}
.button-light:hover {
  background: #d7ff88;
}
.hero-note {
  display: block;
  margin-top: 13px;
  color: var(--subtle);
  font-size: 11px;
}
.hero-art {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 365px;
  overflow: hidden;
  border: 1px solid #394033;
  border-radius: 28px;
  background: linear-gradient(152deg, #323c28 0%, #20271d 46%, #171b16 100%);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.34);
}
.hero-art:before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(230, 240, 220, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 240, 220, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(140deg, #000, transparent 85%);
  content: "";
}
.hero-art:after {
  position: absolute;
  right: 15%;
  bottom: 18%;
  width: 63%;
  height: 18px;
  transform: rotate(-11deg);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  filter: blur(14px);
  content: "";
}
.hero-sun {
  position: absolute;
  top: 38px;
  right: 44px;
  width: 188px;
  height: 188px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f6ffc4, #c7f36b 63%, #81ac48);
  box-shadow: 0 0 90px rgba(199, 243, 107, 0.18);
}
.hero-lane {
  position: absolute;
  top: 17%;
  bottom: 9%;
  width: 31%;
  transform: skewY(-15deg);
  border: 1px solid rgba(238, 243, 215, 0.22);
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(13, 17, 12, 0.06),
    rgba(13, 17, 12, 0.4)
  );
}
.hero-lane-one {
  left: 22%;
}
.hero-lane-two {
  left: 54%;
}
.hero-leaf {
  position: absolute;
  z-index: 2;
  color: #dbff8e;
  text-shadow: 0 6px 19px #91ba51;
  animation: float 2.8s ease-in-out infinite;
}
.leaf-one {
  top: 27%;
  left: 37%;
  font-size: 37px;
}
.leaf-two {
  top: 53%;
  right: 24%;
  font-size: 25px;
  animation-delay: -1.4s;
}
.hero-rock {
  position: absolute;
  z-index: 2;
  top: 48%;
  left: 26%;
  width: 28px;
  height: 24px;
  transform: rotate(-22deg);
  border: 1px solid #adb7a0;
  border-radius: 44% 56% 49% 51%;
  background: linear-gradient(145deg, #b9c1ad, #636e5a);
  box-shadow: 0 8px 16px #0e130b;
}
.hopper {
  position: absolute;
  z-index: 3;
  right: 34%;
  bottom: 19%;
  width: 94px;
  height: 106px;
  transform: rotate(-8deg);
  border: 2px solid rgba(245, 255, 219, 0.5);
  border-radius: 52% 48% 45% 44%;
  background: linear-gradient(142deg, #dcff92, #96cc55 74%);
  box-shadow:
    inset -9px -8px 0 rgba(74, 114, 45, 0.18),
    0 15px 28px rgba(0, 0, 0, 0.28);
}
.hopper:before,
.hopper:after {
  position: absolute;
  top: -20px;
  width: 29px;
  height: 38px;
  border: 2px solid rgba(245, 255, 219, 0.48);
  border-radius: 60% 45% 30% 30%;
  background: #b9e978;
  content: "";
}
.hopper:before {
  left: 8px;
  transform: rotate(-23deg);
}
.hopper:after {
  right: 8px;
  transform: rotate(24deg);
}
.hopper i,
.hopper b {
  position: absolute;
  top: 34px;
  width: 7px;
  height: 10px;
  border-radius: 50%;
  background: #26311d;
}
.hopper i {
  left: 25px;
}
.hopper b {
  right: 25px;
}
.hopper small {
  position: absolute;
  left: 39px;
  top: 51px;
  width: 13px;
  height: 8px;
  border-bottom: 2px solid #344428;
  border-radius: 50%;
}
.hero-art-label {
  position: absolute;
  right: 25px;
  bottom: 23px;
  left: 25px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #e9eddf;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.hero-art-label b {
  color: var(--lime);
}
.hero-play {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(245, 244, 234, 0.25);
  border-radius: 50%;
  color: var(--lime);
  background: rgba(13, 17, 12, 0.25);
}
@keyframes float {
  50% {
    transform: translateY(-10px) rotate(15deg);
  }
}
.discovery,
.curated-row {
  width: min(1260px, calc(100% - 56px));
  margin: 0 auto;
}
.discovery {
  padding: 46px 0 72px;
  border-top: 1px solid rgba(225, 235, 213, 0.11);
}
.section-topline,
.row-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section-topline h2,
.row-heading h2 {
  margin: 0;
  font:
    600 clamp(29px, 3.5vw, 43px)/1.1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.055em;
}
.section-topline h2 span {
  color: var(--lime);
}
.section-topline .eyebrow,
.row-heading .eyebrow {
  margin-bottom: 10px;
}
.library-note {
  margin: 0 0 5px;
  color: var(--subtle);
  font-size: 12px;
}
.library-note strong {
  color: var(--text);
}
.discovery-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 25px;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(320px, 100%);
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #171b15;
}
.search-icon {
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}
.search-wrap input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 12px;
}
.search-wrap input::placeholder {
  color: #81887a;
}
.search-wrap kbd {
  padding: 2px 6px;
  border: 1px solid #3e4538;
  border-radius: 5px;
  color: var(--subtle);
  font-size: 10px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.filter-button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}
.filter-button:hover {
  border-color: #48523e;
  color: var(--text);
}
.filter-button.active {
  border-color: var(--lime);
  color: #151910;
  background: var(--lime);
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.game-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #30372c;
  border-radius: 16px;
  background: #181c16;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: #657752;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}
.game-card-link {
  display: block;
}
.game-art {
  position: relative;
  display: grid;
  min-height: 175px;
  overflow: hidden;
  place-items: center;
  background: radial-gradient(circle at 58% 35%, #455437, #23291f 64%, #1c2119);
}
.game-art:after {
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(236, 241, 223, 0.08);
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.075),
    transparent 43%
  );
  content: "";
}
.game-art-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 28px;
  color: #20271a;
  background: linear-gradient(145deg, #deff9c, #9acb5a);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.27);
  font:
    700 36px "Space Grotesk",
    sans-serif;
}
.art-solitaire {
  background: radial-gradient(circle at 52% 43%, #a45547, #442a25 67%, #211a18);
}
.art-solitaire .game-art-icon {
  border-radius: 13px;
  color: #f8f2e8;
  background: #f0e7d6;
  font:
    700 34px Georgia,
    serif;
  text-shadow: 15px 7px 0 #c46c54;
}
.art-reaction {
  background: radial-gradient(circle at 55% 45%, #516c45, #283222 70%, #1d241a);
}
.art-reaction .game-art-icon {
  color: #2c351f;
  background: linear-gradient(140deg, #e9ff9c, #b7e45d);
  font-size: 44px;
}
.art-typing {
  background: radial-gradient(circle at 50% 45%, #585177, #302b45 70%, #211e2c);
}
.art-typing .game-art-icon {
  color: #332d49;
  background: linear-gradient(145deg, #e4d8ff, #b2a0ed);
  font-size: 31px;
}
.art-leaf-hopper {
  background: radial-gradient(circle at 52% 42%, #596b43, #2a3422 65%, #1c2119);
}
.art-leaf-hopper .game-art-icon {
  position: relative;
  border-radius: 32px 30px 36px 31px;
  color: #28351e;
  background: linear-gradient(145deg, #e1ff9f, #91c84f);
  font-size: 32px;
}
.art-leaf-hopper .game-art-icon:before,
.art-leaf-hopper .game-art-icon:after {
  position: absolute;
  top: -12px;
  width: 18px;
  height: 27px;
  border-radius: 80% 25%;
  background: #b9e778;
  content: "";
}
.art-leaf-hopper .game-art-icon:before {
  left: 13px;
  transform: rotate(-25deg);
}
.art-leaf-hopper .game-art-icon:after {
  right: 13px;
  transform: rotate(25deg);
}
.game-card-content {
  padding: 14px 15px 16px;
}
.game-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--subtle);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.game-card-meta span:first-child {
  color: var(--lime);
}
.game-card h3 {
  margin: 9px 0 5px;
  font:
    600 19px/1.15 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.035em;
}
.game-card p {
  min-height: 39px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}
.card-play {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
}
.card-play span {
  color: var(--lime);
  font-size: 15px;
}
.empty-state {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}
.recent-section {
  margin: 39px 0 30px;
}
.recent-section[hidden] {
  display: none;
}
.recent-section .row-heading {
  align-items: center;
  margin-bottom: 14px;
}
.recent-section h2 {
  margin: 0;
  font:
    600 21px "Space Grotesk",
    sans-serif;
}
.text-button {
  border: 0;
  color: var(--muted);
  background: none;
  cursor: pointer;
  font-size: 11px;
}
.text-button:hover {
  color: var(--text);
}
.recent-list {
  display: flex;
  gap: 10px;
  overflow: auto;
}
.recent-chip {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 11px;
}
.recent-chip:hover {
  border-color: var(--lime);
}
.curated-row {
  padding: 10px 0 80px;
}
.curated-row .row-heading {
  align-items: flex-end;
  margin-bottom: 19px;
}
.curated-row h2 {
  font-size: 27px;
}
.text-link {
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}
.quick-card:hover {
  transform: translateY(-2px);
  border-color: #657752;
}
.quick-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 13px;
  color: #242d1d;
  background: #d2f881;
  font:
    700 17px "Space Grotesk",
    sans-serif;
}
.quick-icon-bolt {
  color: #31321c;
  background: #f5dc77;
  font-size: 24px;
}
.quick-icon-type {
  color: #342c49;
  background: #d4c4ff;
}
.quick-card b,
.quick-card small {
  display: block;
}
.quick-card b {
  font-size: 12px;
}
.quick-card small {
  margin-top: 4px;
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.5;
}
.quick-arrow {
  margin-left: auto;
  color: var(--lime);
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1260px, calc(100% - 56px));
  min-height: 104px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.site-footer p {
  margin: 0;
  color: var(--subtle);
  font-size: 11px;
}
.site-footer nav {
  display: flex;
  gap: 17px;
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}
.site-footer nav a:hover {
  color: var(--lime);
}
.site-footer > small {
  color: var(--subtle);
  font-size: 9px;
}
@media (max-width: 950px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 28px;
    min-height: 460px;
  }
  .hero-art {
    min-height: 320px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .discovery-tools {
    align-items: flex-start;
    flex-direction: column;
  }
  .search-wrap {
    width: min(450px, 100%);
  }
  .filters {
    gap: 4px;
  }
  .site-footer {
    flex-wrap: wrap;
    padding: 22px 0;
  }
  .site-footer p {
    flex: 1;
  }
  .site-footer > small {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .site-header {
    min-height: 63px;
    padding: 0 16px;
  }
  .brand {
    font-size: 16px;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
  }
  .primary-nav {
    gap: 14px;
    margin-left: auto;
    font-size: 10px;
  }
  .primary-nav a:nth-child(2) {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    width: calc(100% - 32px);
    min-height: 0;
    padding: 44px 0 46px;
  }
  .hero h1 {
    font-size: clamp(47px, 13vw, 68px);
  }
  .hero-lead {
    max-width: 440px;
    font-size: 14px;
  }
  .hero-art {
    min-height: 265px;
    border-radius: 21px;
  }
  .hero-sun {
    top: 27px;
    right: 26px;
    width: 135px;
    height: 135px;
  }
  .hero-lane {
    top: 16%;
    bottom: 12%;
    width: 35%;
  }
  .hero-lane-one {
    left: 16%;
  }
  .hero-lane-two {
    left: 51%;
  }
  .hopper {
    right: 29%;
    bottom: 19%;
    transform: scale(0.76) rotate(-8deg);
    transform-origin: bottom;
  }
  .hero-art-label {
    right: 15px;
    bottom: 15px;
    left: 15px;
    display: grid;
    gap: 3px;
    font-size: 8px;
  }
  .hero-play {
    top: 13px;
    left: 13px;
  }
  .discovery,
  .curated-row {
    width: calc(100% - 32px);
  }
  .discovery {
    padding: 36px 0 48px;
  }
  .section-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
  .section-topline h2 {
    font-size: 34px;
  }
  .library-note {
    font-size: 11px;
  }
  .discovery-tools {
    gap: 11px;
    margin: 20px 0 19px;
  }
  .search-wrap {
    height: 46px;
  }
  .filters {
    width: calc(100vw - 24px);
    overflow: auto;
    flex-wrap: nowrap;
    padding: 2px 3px 7px;
  }
  .filter-button {
    flex: 0 0 auto;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .game-art {
    min-height: clamp(112px, 35vw, 165px);
  }
  .game-art-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    font-size: 29px;
  }
  .art-solitaire .game-art-icon {
    font-size: 26px;
  }
  .art-typing .game-art-icon {
    font-size: 25px;
  }
  .game-card-content {
    padding: 11px 10px 12px;
  }
  .game-card-meta {
    font-size: 8px;
    letter-spacing: 0.06em;
  }
  .game-card h3 {
    margin-top: 8px;
    font-size: 16px;
  }
  .game-card p {
    min-height: 50px;
    font-size: 10px;
  }
  .card-play {
    margin-top: 11px;
    padding-top: 9px;
    font-size: 9px;
  }
  .recent-section h2 {
    font-size: 17px;
  }
  .curated-row {
    padding: 0 0 54px;
  }
  .curated-row .row-heading {
    align-items: flex-start;
    gap: 9px;
  }
  .curated-row h2 {
    font-size: 23px;
  }
  .quick-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .quick-card {
    min-height: 75px;
  }
  .site-footer {
    width: calc(100% - 32px);
    gap: 10px;
    padding: 19px 0;
  }
  .site-footer p {
    order: 3;
    width: 100%;
    flex-basis: 100%;
  }
  .site-footer nav {
    order: 4;
    width: 100%;
    margin: 0;
  }
  .site-footer > small {
    order: 5;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
