﻿:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --line: rgba(26, 31, 36, 0.1);
  --text: #1a1f24;
  --muted: #6b7280;
  --orange: #f5b800;
  --orange-hover: #d9a000;
  --ink: #1a1f24;
  --wrap: 1160px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-brand: 'Bebas Neue', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --ease: 0.22s ease;
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
  /* Offset for fixed header when clicking nav anchors */
  scroll-padding-top: 120px;
}

body.site-body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.site-body > main,
body.site-body > .site-footer {
  position: relative;
  z-index: 1;
}

/* Scrollbars (match admin) */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 184, 0, 0.65) rgba(26, 31, 36, 0.05);
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: rgba(245, 184, 0, 0.75);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 0;
}

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

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

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

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin: 0 auto;
}

/* Fixed site-wide pattern (does not scroll) â€” soft, faded in the middle */
.site-pattern {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  /* Diagonal micro-hatch */
  background-image:
    repeating-linear-gradient(
      -32deg,
      transparent 0,
      transparent 11px,
      rgba(26, 31, 36, 0.35) 11px,
      rgba(26, 31, 36, 0.35) 12px
    ),
    repeating-linear-gradient(
      32deg,
      transparent 0,
      transparent 11px,
      rgba(26, 31, 36, 0.18) 11px,
      rgba(26, 31, 36, 0.18) 12px
    );
  background-attachment: fixed;
  background-repeat: repeat;
  opacity: 0.055;
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 50% 45%, transparent 18%, #000 78%);
  mask-image: radial-gradient(ellipse 58% 52% at 50% 45%, transparent 18%, #000 78%);
}

/* Film grain (graphic layer, not a color gradient) */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
  border: 1px solid var(--orange);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-light:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: rgba(26, 31, 36, 0.28);
  background: rgba(26, 31, 36, 0.04);
}

/* ===== Nav (fixed sticky header) ===== */
.site-nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  background: rgba(246, 245, 242, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--ease), border-color var(--ease), backdrop-filter var(--ease);
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(26, 31, 36, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(26, 31, 36, 0.06);
}

.site-nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-brand {
  display: flex;
  align-items: center;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.site-brand img {
  display: block;
  width: auto;
  height: 64px;
  max-width: min(180px, 52vw);
  aspect-ratio: 700 / 250;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left center;
  image-rendering: auto;
}

.site-brand--foot img {
  height: 72px;
  width: auto;
  max-width: min(202px, 70vw);
  aspect-ratio: 700 / 250;
}

.site-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(26, 31, 36, 0.62);
}

.site-menu a {
  position: relative;
}

.site-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.site-menu a:hover {
  color: var(--ink);
}

.site-menu a:hover::after {
  transform: scaleX(1);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav-actions .btn {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.menu-btn {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  flex-shrink: 0;
  place-items: center;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--ease), border-color var(--ease);
}

.menu-btn:hover,
.menu-btn:focus-visible {
  background: #fafafa;
  border-color: rgba(26, 31, 36, 0.22);
  outline: none;
}

.menu-btn span {
  position: absolute;
  left: 50%;
  display: block;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--ease), opacity var(--ease), top var(--ease);
}

.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 30px; }

.menu-btn.is-open span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn.is-open span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

/* ===== Hero — full-bleed photo + brand ===== */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  min-height: min(88dvh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background: var(--ink);
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: heroKen 18s ease-in-out infinite alternate;
}

.hero-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 31, 36, 0.45) 0%,
    rgba(26, 31, 36, 0.52) 45%,
    rgba(26, 31, 36, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--wrap));
  margin: 0 auto;
  padding: 120px 0 64px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-brand {
  font-family: var(--font-brand);
  font-size: clamp(3.6rem, 12vw, 7.2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 0.9;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 18px;
  text-shadow: 0 2px 0 rgba(245, 184, 0, 0.35), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-brand::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--orange);
  border-radius: 2px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.94);
  margin: 0 0 12px;
  max-width: 22ch;
}

.hero-lead {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  max-width: 28rem;
  margin: 0 0 26px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-actions .btn {
  min-height: 52px;
  padding: 0 22px;
}

.hero-actions .btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid #fff;
}

.hero-actions .btn-light:hover {
  background: #fffbeb;
  border-color: var(--orange);
  color: var(--ink);
}

.hero-anim {
  opacity: 0;
  will-change: transform, opacity;
}

.hero-anim--brand {
  animation: heroRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.hero-anim--tag {
  animation: heroRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero-anim--lead {
  animation: heroRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

.hero-anim--actions {
  animation: heroRise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroKen {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

/* ===== Marquee (infinite game names) ===== */
.marquee {
  border: 0;
  background: transparent;
  overflow: hidden;
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(26, 31, 36, 0.45);
}

.marquee-group .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ===== Sections ===== */
.section,
.hero {
  scroll-margin-top: 120px;
}

.section {
  padding: 100px 0;
  background: transparent;
  position: relative;
}

.section-alt {
  background: transparent;
  border: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-head h2,
.visit-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-desc {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
  max-width: 28rem;
}

/* ===== Filters ===== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.filter:hover {
  color: var(--ink);
  border-color: rgba(26, 31, 36, 0.22);
}

.filter.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

/* ===== Games ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 300px);
  justify-content: center;
  gap: 18px;
}

.game {
  --i: 0;
  width: 300px;
  min-width: 0;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 31, 36, 0.04);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.game:hover {
  border-color: rgba(245, 184, 0, 0.5);
  transform: translateY(-6px);
}

.game-media {
  position: relative;
  width: 300px;
  height: 300px;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  overflow: hidden;
}

.game-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  object-position: center;
  transition: transform 0.55s ease;
}

.game:hover .game-media img {
  transform: scale(1.06);
}

.game-shine {
  position: absolute;
  inset: 0;
  background: rgba(245, 184, 0, 0);
  transition: background 0.35s ease;
  pointer-events: none;
}

.game:hover .game-shine {
  background: rgba(245, 184, 0, 0.08);
}

.game-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  color: rgba(26, 31, 36, 0.28);
  background: var(--surface-2);
}

.game-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 16px 18px;
  border-top: 1px solid var(--line);
}

.game-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  transition: color var(--ease);
}

.game:hover .game-body h3 {
  color: var(--orange);
}

.game-body p {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.35;
}

.game-tag {
  display: inline-flex;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 184, 0, 0.35);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 20px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: transparent;
}

/* ===== Why / Experience ===== */
.why-head {
  margin-bottom: 40px;
}

.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}

.why-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.why-frame {
  position: relative;
  flex: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  min-height: 320px;
  background: var(--surface-2);
}

.why-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.why-visual:hover .why-frame img {
  transform: scale(1.04);
}

.why-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.why-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.why-meta-item i {
  color: var(--orange);
  font-size: 0.85rem;
}

.why-meta-item--accent {
  border-color: rgba(245, 184, 0, 0.4);
  color: var(--ink);
  background: rgba(245, 184, 0, 0.12);
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.why-card {
  --i: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 18px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  min-width: 0;
  box-shadow: 0 4px 16px rgba(26, 31, 36, 0.04);
  transition: border-color var(--ease), transform var(--ease);
}

.why-card:hover {
  border-color: rgba(245, 184, 0, 0.45);
  transform: translateY(-4px);
}

.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(245, 184, 0, 0.35);
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 1.05rem;
}

.why-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(26, 31, 36, 0.28);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.why-card.reveal.is-in {
  transition-delay: calc(var(--i) * 0.08s);
}

/* ===== Visit ===== */
.visit {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  padding: 44px;
  border-radius: 28px;
  background: transparent;
  border: 1px solid var(--line);
  overflow: hidden;
}

.visit-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -40px;
  top: -40px;
  background: var(--orange);
  opacity: 0.12;
  pointer-events: none;
}

.visit-copy {
  position: relative;
  z-index: 1;
}

.visit-copy h2 {
  margin-bottom: 12px;
}

.visit-copy .section-desc {
  margin-bottom: 26px;
}

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

.visit-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: center;
}

.visit-card {
  padding: 18px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid var(--line);
}

.visit-card dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.visit-card dt i {
  color: var(--orange);
}

.visit-card dd {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.visit-card a:hover {
  color: var(--orange);
}

/* ===== Footer ===== */
.site-footer {
  border: 0;
  padding: 40px 0 48px;
  background: transparent;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.site-foot-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.site-copy {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.site-crafted {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.site-crafted a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 31, 36, 0.2);
  transition: color var(--ease), border-color var(--ease);
}

.site-crafted a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ===== Reveal motion ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

.game.reveal.is-in {
  transition-delay: calc(var(--i) * 0.05s);
}

/* ===== Moments (how a visit works) ===== */
.moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.moment {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 100%;
}

.moment-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(245, 184, 0, 0.18);
  color: #9a6b00;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.moment h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--ink);
}

.moment p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== Occasions ===== */
.occasions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.occasion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.occasion:hover {
  border-color: rgba(245, 184, 0, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(26, 31, 36, 0.08);
}

.occasion-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--orange);
  font-size: 1.05rem;
}

.occasion h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.occasion p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ===== FAQ ===== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

.faq-item summary i {
  color: var(--orange);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary i {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== Final CTA band ===== */
.cta-band {
  border-radius: 20px;
  padding: 36px 40px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band .eyebrow {
  color: var(--orange);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 8px 0 10px;
  color: var(--ink);
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  line-height: 1.55;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cta-band .btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.cta-band .btn-ghost:hover {
  border-color: var(--orange);
  color: var(--ink);
  background: #fffbeb;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .game {
    width: 100%;
  }

  .game-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .hero {
    min-height: min(78vh, 640px);
    align-items: center;
  }

  .hero-content {
    padding: 110px 0 48px;
  }

  .why {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .why-frame {
    aspect-ratio: 16 / 10;
    max-height: 380px;
    min-height: 220px;
  }

  .why-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .moments {
    grid-template-columns: 1fr;
  }

  .occasions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .cta-band-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 104px;
  }

  .section,
  .hero {
    scroll-margin-top: 104px;
  }

  .site-nav-inner {
    grid-template-columns: 1fr auto;
    min-height: 84px;
    gap: 12px;
  }

  .site-brand img {
    height: 52px;
    max-width: min(146px, 58vw);
  }

  .site-menu {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(26, 31, 36, 0.12);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 14px 12px;
    border-radius: 10px;
  }

  .site-menu a::after {
    display: none;
  }

  .site-menu a:hover {
    background: rgba(245, 184, 0, 0.12);
  }

  .site-nav-actions {
    gap: 8px;
  }

  .site-nav-actions .btn-ghost {
    display: none;
  }

  .site-nav-actions .btn-primary {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding: 36px 0 44px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
  }

  .site-brand--foot img {
    height: 64px;
    max-width: min(180px, 72vw);
  }

  .site-footer-links {
    justify-content: center;
    gap: 10px 16px;
  }

  .site-foot-meta {
    align-items: center;
    text-align: center;
  }

  .site-copy {
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 28px, var(--wrap));
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .game {
    width: 100%;
    border-radius: 14px;
  }

  .game-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .hero-content {
    padding: 100px 0 40px;
  }

  .hero-brand {
    font-size: clamp(3.2rem, 16vw, 4.4rem);
    letter-spacing: 0.06em;
  }

  .hero-tagline {
    max-width: none;
    font-size: 1.1rem;
  }

  .hero-actions .btn {
    min-width: 160px;
    justify-content: center;
  }

  .game-body {
    padding: 12px;
  }

  .game-body h3 {
    font-size: 0.95rem;
  }

  .game-body p {
    font-size: 0.75rem;
  }

  .game-tag {
    font-size: 0.62rem;
    padding: 3px 8px;
  }

  .why-features {
    gap: 10px;
  }

  .why-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .why-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .why-card h3 {
    font-size: 0.98rem;
  }

  .why-card p {
    font-size: 0.78rem;
  }

  .occasions {
    grid-template-columns: 1fr;
  }
}

/* ===== 404 / error page ===== */
.error-body {
  min-height: 100vh;
  min-height: 100dvh;
}

.error-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 0;
}

.error-brand {
  margin-bottom: 36px;
}

.error-brand img {
  height: 56px;
  width: auto;
  max-width: min(200px, 70vw);
  aspect-ratio: 700 / 250;
  object-fit: contain;
}

.error-code {
  margin: 0 0 8px;
  font-family: var(--font-brand);
  font-size: clamp(5.5rem, 22vw, 9rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 0.9;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(245, 184, 0, 0.4);
}

.error-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.error-copy {
  margin: 0 0 28px;
  max-width: 28rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.error-actions .btn {
  min-height: 48px;
}

@media (max-width: 520px) {
  .error-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .marquee-track,
  .reveal,
  .hero-anim,
  .game,
  .game-media img,
  .btn {
    animation: none !important;
    transition: none !important;
  }

  .hero-media img {
    transform: none;
  }

  .reveal,
  .hero-anim {
    opacity: 1;
    transform: none;
  }
}
