:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-alt: #f3efe8;
  --text: #18181b;
  --text-muted: #52525b;
  --text-subtle: #71717a;
  --border: #e7e2d9;
  --accent: #ff5a36;
  --accent-hover: #e54624;
  --accent-soft: #fff1ed;
  --gold: #f59e0b;
  --green: #0f9d58;
  --green-hover: #0b8047;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(24, 24, 27, 0.05);
  --shadow-md: 0 8px 24px rgba(24, 24, 27, 0.06);
  --shadow-lg: 0 16px 40px rgba(24, 24, 27, 0.1);
  --container: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 0;
  color: var(--text);
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8a3d 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(255, 90, 54, 0.28);
  flex-shrink: 0;
}

.brand-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface-alt);
}

.nav-links a.nav-cta {
  background: var(--text);
  color: #fff;
  margin-left: 6px;
}

.nav-links a.nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  font-family: inherit;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 90, 54, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 22px rgba(255, 90, 54, 0.34);
}

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

.btn-play:hover {
  background: var(--green-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: #d2cabd;
  background: var(--surface-alt);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.86rem;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.45rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 28px;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.stat-value {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  display: block;
}

.stat-label {
  font-size: 0.84rem;
  color: var(--text-subtle);
}

.hero-showcase {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 0.86rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.showcase-badge {
  background: #ecfdf5;
  color: #047857;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.showcase-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.showcase-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.showcase-tile:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.showcase-tile img {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  margin-bottom: 8px;
}

.showcase-tile span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 560px;
}

/* Filter Pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.16s ease;
}

.filter-btn:hover {
  border-color: #cfc7ba;
  color: var(--text);
}

.filter-btn.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d8d1c5;
}

.game-card.hidden {
  display: none;
}

.game-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.game-icon {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: var(--surface-alt);
}

.game-meta {
  min-width: 0;
  flex: 1;
}

.game-meta h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.tag {
  background: var(--surface-alt);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b45309;
  background: #fef3c7;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
}

.game-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex: 1;
}

.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f1ede6;
}

.game-platform {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 500;
}

/* Feature / Studio Strip */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.pillar-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.pillar-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* CTA Banner */
.cta-banner {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 8px;
}

.cta-banner p {
  color: #d4d4d8;
  margin: 0;
  max-width: 540px;
}

.cta-banner .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.cta-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Subpage Header */
.page-hero {
  padding: 54px 0 36px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0;
}

.meta-pill {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-subtle);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Support & Contact Cards & Forms */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.card h2, .card h3 {
  margin-bottom: 10px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}

.info-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
}

.info-value {
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.14);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.84rem;
  color: var(--text-subtle);
  margin: 4px 0 0;
}

.status-msg {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.status-msg.show {
  display: block;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-body p {
  margin: 0;
}

/* Privacy Policy Layout */
.policy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 94px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.policy-toc h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.policy-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.policy-toc a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.policy-toc a:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.policy-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.policy-content section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f0ece4;
  scroll-margin-top: 96px;
}

.policy-content section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.policy-content h2 {
  font-size: 1.32rem;
  margin-bottom: 12px;
}

.policy-content h3 {
  font-size: 1.03rem;
  margin: 18px 0 8px;
}

.policy-content p {
  color: var(--text-muted);
  margin: 0 0 12px;
}

.policy-content ul {
  color: var(--text-muted);
  padding-left: 20px;
  margin: 0 0 14px;
  display: grid;
  gap: 8px;
}

.policy-content a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.callout {
  background: var(--accent-soft);
  border: 1px solid #ffd5ca;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 18px 0;
}

.callout strong {
  color: var(--text);
}

/* Footer */
.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 44px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-grid h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.86rem;
  color: var(--text-subtle);
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid,
  .pillars-grid,
  .two-col,
  .policy-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .policy-toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px 14px;
  }

  .nav-links a.nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    padding: 44px 0 36px;
  }

  .policy-content {
    padding: 22px;
  }

  .cta-banner {
    padding: 28px 22px;
  }
}
