:root {
  --ink: #101623;
  --ink-soft: #25314b;
  --accent: #1f3a6f;
  --accent-dark: #162a50;
  --teal: #3f6a8a;
  --cream: #f4f6fb;
  --stone: #e7ecf4;
  --shadow: rgba(16, 22, 35, 0.18);
  --glass: rgba(255, 255, 255, 0.78);
  --radius: 24px;
  --title-font: "Fraunces", serif;
  --body-font: "Manrope", sans-serif;
}

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

body {
  font-family: var(--body-font);
  color: var(--ink);
  background: radial-gradient(circle at top left, #f6f8fc 0%, #eef2f8 45%, #fbfcff 100%);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  z-index: -2;
}

.orb-one {
  background: #c9d7ef;
  top: -180px;
  left: -140px;
}

.orb-two {
  background: #a9bfdc;
  bottom: -160px;
  right: -120px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(20, 18, 28, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 18, 28, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.35;
  z-index: -3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(244, 246, 251, 0.85);
  border-bottom: 1px solid rgba(20, 18, 28, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-wordmark {
  height: 26px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  padding: 90px 0 70px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--title-font);
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(31, 58, 111, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(31, 58, 111, 0.35);
}

.btn.ghost {
  border-color: rgba(20, 18, 28, 0.2);
  background: rgba(255, 255, 255, 0.6);
}

.btn.ghost:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

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

.hero-meta div {
  background: var(--glass);
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: 0 8px 20px var(--shadow);
}

.hero-meta strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.75);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(20, 18, 28, 0.2);
  border: 1px solid rgba(20, 18, 28, 0.06);
}

.hero-card h2 {
  font-family: var(--title-font);
  margin: 12px 0 16px;
  font-size: 2rem;
}

.hero-card .card-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 16px;
}

.hero-card .hero-icon {
  margin-bottom: 12px;
}
.hero-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.hero-card li {
  padding-left: 20px;
  position: relative;
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-family: var(--title-font);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.games {
  padding: 20px 0 80px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.game-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 20px;
  box-shadow: 0 20px 45px rgba(20, 18, 28, 0.12);
  border: 1px solid rgba(20, 18, 28, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 55px rgba(20, 18, 28, 0.18);
}

.game-art {
  height: 140px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: var(--title-font);
  font-size: 2.4rem;
  color: #fff;
  letter-spacing: 2px;
  padding: 16px;
  overflow: hidden;
}

.game-art.full-bleed {
  padding: 0;
}


.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 8px 20px rgba(20, 18, 28, 0.2));
  border-radius: inherit;
}

.art-human {
  background: linear-gradient(135deg, #2a3b68, #3f5a9a);
}

.art-circix {
  background: linear-gradient(135deg, #1f2c4c, #2a415f);
}

.art-word {
  background: linear-gradient(135deg, #345c7e, #5b7ea6);
}

.game-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.game-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.game-tags span {
  font-size: 0.8rem;
  background: var(--stone);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.about {
  background: var(--cream);
  padding: 80px 0;
  border-top: 1px solid rgba(20, 18, 28, 0.08);
  border-bottom: 1px solid rgba(20, 18, 28, 0.08);
}

.about-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: start;
}

.about-inner h2 {
  font-family: var(--title-font);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.about-panel {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(20, 18, 28, 0.1);
}

.panel-title {
  font-weight: 700;
  margin-bottom: 12px;
}

.about-panel ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.about-panel li {
  padding-left: 18px;
  position: relative;
}

.about-panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 9px;
}

.contact {
  padding: 80px 0 100px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(20, 18, 28, 0.16);
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 32px 0 40px;
  background: #0f1628;
  color: #f2f2f5;
}

.footer-inner {
  display: grid;
  gap: 16px;
}

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

.footer-brand strong {
  display: none;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #f2f2f5;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(242, 242, 245, 0.75);
}

.policy-page {
  padding: 80px 0 100px;
}

.policy-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(20, 18, 28, 0.12);
  display: grid;
  gap: 18px;
}

.policy-card h1 {
  font-family: var(--title-font);
  font-size: 2.4rem;
}

.policy-card h2 {
  font-size: 1.25rem;
}

.policy-card ul {
  list-style: disc;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 64px;
    right: 4vw;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(20, 18, 28, 0.12);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .menu-toggle {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 70px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .contact-card {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .nav-links {
    width: 92vw;
    right: 4vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
