@font-face {
  font-family: "Fredoka";
  src: url("../assets/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #0c0812;
  --bg-2: #151020;
  --cream: #fff6ea;
  --cream-soft: #e8d8e2;
  --muted: #bca9bc;
  --dim: #796b80;
  --rose: #ff7fa9;
  --pink: #ffb4c8;
  --lilac: #c4b2ff;
  --mint: #9ce6d1;
  --gold: #ffd38c;
  --line: rgba(255, 245, 240, .12);
  --line-strong: rgba(255, 245, 240, .22);
  --glass: rgba(24, 16, 32, .56);
  --font-display: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Fredoka", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#top, #games, #manifesto { scroll-margin-top: 92px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--rose); color: #1a0f19; }

.page-bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(12, 8, 18, .16) 0%, rgba(12, 8, 18, .52) 45%, rgba(12, 8, 18, .92) 82%, var(--bg) 100%),
    radial-gradient(80% 60% at 72% 12%, rgba(255, 126, 170, .2), transparent 64%),
    url("../assets/art/arcade-bg.webp") center / cover no-repeat;
  transform: scale(1.035);
  filter: saturate(.92) contrast(1.06);
}
.page-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 7, 15, .8) 0%, transparent 42%, transparent 74%, rgba(10, 7, 15, .4)),
    radial-gradient(70% 70% at 50% 0%, transparent 40%, rgba(10,7,15,.56) 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.cursor-glow {
  position: fixed; z-index: 1; left: 0; top: 0;
  width: 420px; height: 420px; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 139, 177, .16), rgba(255, 139, 177, .04) 44%, transparent 68%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .35s ease;
  mix-blend-mode: screen;
}

/* ---------------- header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  width: min(1500px, calc(100% - 64px));
  height: 92px; margin: 0 auto;
  transition: height .35s var(--ease), background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(12, 8, 18, .64);
  border-color: var(--line);
  backdrop-filter: blur(22px);
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-type { display: flex; flex-direction: column; gap: 2px; }
.brand-type strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: .14em; color: var(--cream); }
.brand-type em { font-style: normal; font-size: 9px; letter-spacing: .36em; color: var(--muted); }
.brand-cup {
  position: relative; width: 36px; height: 42px; flex: 0 0 auto;
  border: 1px solid rgba(255, 248, 238, .8);
  border-radius: 7px 7px 13px 13px;
  background: linear-gradient(150deg, rgba(255, 247, 238, .92), rgba(255, 194, 207, .82));
  box-shadow: 0 8px 20px rgba(255, 139, 177, .24), inset 0 2px 0 #fff;
  transform: rotate(-5deg);
}
.brand-cup.small { width: 26px; height: 31px; border-radius: 5px 5px 10px 10px; }
.brand-straw { position: absolute; right: 7px; top: -11px; width: 4px; height: 25px; border-radius: 4px; background: var(--mint); transform: rotate(17deg); }
.brand-tea { position: absolute; left: 4px; right: 4px; bottom: 12px; height: 14px; border-radius: 4px 4px 9px 9px; background: linear-gradient(180deg, #f7b7b4, #d98f9c); opacity: .85; }
.brand-pearl { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #4b2b39; box-shadow: inset 1px 1px 1px rgba(255,255,255,.3); }
.brand-pearl.p1 { left: 8px; bottom: 7px; }
.brand-pearl.p2 { left: 16px; bottom: 5px; width: 4px; height: 4px; }
.brand-pearl.p3 { right: 8px; bottom: 8px; width: 4px; height: 4px; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a { position: relative; font-size: 12px; color: var(--muted); letter-spacing: .08em; transition: color .2s ease; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--rose); transition: right .28s var(--ease); }
.site-nav a:hover, .site-nav a.is-active { color: var(--cream); }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.live-pill { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border: 1px solid var(--line); border-radius: 99px; background: rgba(12, 8, 18, .25); color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.live-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: pulse 2s ease-in-out infinite; }
.live-pill b { color: var(--cream); font-weight: 600; font-size: 11px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); color: var(--muted); transition: .2s ease; }
.icon-btn:hover { color: var(--cream); border-color: var(--line-strong); background: rgba(255,255,255,.08); }
.icon-btn svg { width: 17px; height: 17px; fill: currentColor; }
.icon-btn svg .sound-wave { fill: none; }
.icon-btn.is-muted .sound-wave { display: none; }
.menu-btn { display: none; }
.menu-btn span { display: block; width: 15px; height: 1px; background: currentColor; margin: 3px 0; transition: transform .2s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(2px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-2px) rotate(-45deg); }

/* ---------------- shared bits ---------------- */
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 9px; letter-spacing: .27em; font-weight: 600; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 12px rgba(255,127,169,.8); }
.eyebrow-line { display: inline-block; width: 50px; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 22px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .08em; transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease, border-color .25s ease; }
.btn span { font-size: 16px; line-height: 1; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #261321; background: linear-gradient(110deg, #ffd0d7, #ff9fba 52%, #da9bea); box-shadow: 0 12px 34px rgba(255, 116, 159, .22), inset 0 1px 0 rgba(255,255,255,.7); }
.btn-primary:hover { box-shadow: 0 17px 42px rgba(255, 116, 159, .32), inset 0 1px 0 rgba(255,255,255,.8); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--cream); background: rgba(12,8,18,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,245,240,.36); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  align-items: center; gap: 30px;
  width: min(1500px, calc(100% - 64px)); min-height: 100svh;
  margin: 0 auto; padding: 128px 0 84px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-title { margin: 24px 0 0; font-family: var(--font-display); font-size: clamp(78px, 10.5vw, 158px); line-height: .78; letter-spacing: -.065em; font-weight: 600; }
.hero-title > span { display: block; }
.title-play { color: var(--cream); text-shadow: 0 12px 60px rgba(255, 226, 218, .12); }
.title-after { color: transparent; -webkit-text-stroke: 1px rgba(255, 246, 234, .42); text-stroke: 1px rgba(255, 246, 234, .42); transform: translateX(5px); }
.title-hours { display: inline-block !important; background: linear-gradient(100deg, var(--pink), #ffb6d2 34%, var(--lilac) 76%, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 30px rgba(255, 127, 169, .16)); }
.title-hours i { font-style: normal; color: var(--rose); -webkit-text-fill-color: var(--rose); }
.hero-sub { margin: 32px 0 0; color: var(--muted); font-size: 14px; line-height: 2; letter-spacing: .05em; }
.hero-sub span { color: var(--cream-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 31px; }
.hero-stats { display: flex; gap: 34px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); width: min(100%, 440px); }
.hero-stats div { display: flex; flex-direction: column; gap: 3px; }
.hero-stats b { font-family: var(--font-display); color: var(--cream); font-size: 20px; font-weight: 500; letter-spacing: .02em; }
.hero-stats span { font-size: 9px; color: var(--dim); letter-spacing: .16em; }

.hero-visual { position: relative; min-height: 650px; perspective: 1300px; display: grid; place-items: center; }
.hero-orbit { position: absolute; border: 1px solid rgba(255, 205, 218, .15); border-radius: 50%; pointer-events: none; }
.orbit-a { width: 500px; height: 500px; transform: rotateX(62deg) rotateZ(18deg); }
.orbit-b { width: 620px; height: 620px; border-color: rgba(196,178,255,.1); transform: rotateX(72deg) rotateZ(-30deg); }
.orbit-c { width: 380px; height: 380px; border-style: dashed; border-color: rgba(156,230,209,.15); transform: rotateX(48deg) rotateZ(40deg); }
.hero-visual::before { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; background: radial-gradient(circle, rgba(255,126,169,.21), rgba(196,178,255,.08) 42%, transparent 69%); filter: blur(18px); }
.feature-card {
  position: relative; z-index: 2; width: min(386px, 76%);
  padding: 11px; border-radius: 33px;
  background: linear-gradient(145deg, rgba(255, 247, 238, .16), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 246, 234, .22);
  box-shadow: 0 45px 100px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255,255,255,.22);
  transform: rotateY(-10deg) rotateX(4deg) rotateZ(2deg);
  transform-style: preserve-3d;
  transition: transform .55s var(--ease), box-shadow .55s ease;
}
.feature-card:hover { transform: rotateY(-3deg) rotateX(1deg) rotateZ(0) translateY(-8px); box-shadow: 0 55px 120px rgba(0,0,0,.55), 0 0 60px rgba(255,126,169,.12); }
.feature-art { position: relative; overflow: hidden; border-radius: 25px; aspect-ratio: 4 / 5; background: #291826; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-card:hover .feature-art img { transform: scale(1.035); }
.feature-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(25,12,23,.68)); pointer-events: none; }
.feature-live { position: absolute; top: 17px; left: 17px; display: flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 99px; color: #fff; font-size: 8px; letter-spacing: .14em; background: rgba(15,10,17,.48); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(10px); }
.feature-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: pulse 2s ease-in-out infinite; }
.feature-number { position: absolute; right: 17px; top: 14px; font-family: var(--font-display); font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: .1em; }
.feature-info { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 20px 12px 9px; }
.feature-kicker { display: block; font-size: 8px; letter-spacing: .24em; color: var(--muted); }
.feature-info h2 { margin: 7px 0 0; font-size: 20px; font-weight: 500; letter-spacing: .02em; }
.feature-info h2 em { display: block; font-style: normal; font-family: var(--font-display); font-size: 9px; letter-spacing: .22em; color: var(--rose); margin-top: 3px; }
.round-arrow { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: #28141f; font-size: 19px; transition: transform .25s var(--ease); }
.round-arrow:hover { transform: rotate(45deg); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 12px 8px; }
.feature-tags span { padding: 4px 7px; border-radius: 99px; border: 1px solid rgba(255,246,234,.16); color: var(--muted); font-size: 8px; letter-spacing: .06em; }
.hero-floating-tag { position: absolute; z-index: 3; display: flex; align-items: center; gap: 7px; font-size: 8px; letter-spacing: .18em; color: var(--muted); }
.hero-floating-tag i { width: 5px; height: 5px; background: var(--rose); border-radius: 50%; box-shadow: 0 0 9px var(--rose); }
.tag-top { top: 15%; right: 1%; transform: rotate(6deg); }
.tag-right { right: -2%; bottom: 30%; writing-mode: vertical-rl; letter-spacing: .28em; color: var(--dim); }
.tag-bottom { bottom: 8%; left: 4%; color: var(--dim); }
.tag-bottom span { color: var(--rose); font-size: 13px; }
.hero-scroll { position: absolute; bottom: 30px; left: 0; display: flex; align-items: center; gap: 11px; color: var(--dim); font-size: 8px; letter-spacing: .22em; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-scroll span { display: block; width: 1px; height: 48px; background: linear-gradient(180deg, var(--rose), transparent); animation: scrollLine 2.2s ease-in-out infinite; }

/* ---------------- library ---------------- */
.library { position: relative; z-index: 2; width: min(1500px, calc(100% - 64px)); margin: 0 auto; padding: 125px 0 105px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-head h2 { margin: 20px 0 0; font-family: var(--font-display); font-size: clamp(42px, 5.4vw, 76px); line-height: .98; letter-spacing: -.04em; font-weight: 500; }
.section-head h2 span { color: var(--rose); }
.section-head p { margin: 0 0 8px; color: var(--dim); font-size: 11px; line-height: 2; letter-spacing: .06em; text-align: right; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 34px; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--line); color: var(--dim); font-size: 10px; letter-spacing: .08em; transition: .22s ease; }
.filter span { font-family: var(--font-display); font-size: 9px; opacity: .65; }
.filter:hover { color: var(--cream); border-color: var(--line-strong); }
.filter.is-active { color: #24131f; background: var(--cream); border-color: var(--cream); }
.filter.is-active span { opacity: .55; }
.game-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 28px; perspective: 1600px; }
.game-card {
  position: relative; grid-column: span 12; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(36, 23, 44, .78), rgba(16, 11, 23, .9));
  box-shadow: 0 28px 70px rgba(0,0,0,.26);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), border-color .3s ease, box-shadow .35s ease, opacity .35s ease;
  outline: none;
}
.game-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.game-card:hover, .game-card:focus-visible { border-color: rgba(255, 206, 217, .35); box-shadow: 0 32px 90px rgba(0,0,0,.38), 0 0 50px rgba(255,127,169,.08); }
.game-card--bubble { grid-column: span 7; }
.game-card--pool { grid-column: span 5; }
.game-card--soon { grid-column: span 12; display: grid; grid-template-columns: 1.05fr 1fr; }
.game-card.is-filtered { display: none; }
.game-art { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #291826; }
.game-card--bubble .game-art { aspect-ratio: 16 / 9; }
.game-card--pool .game-art { aspect-ratio: 16 / 10; }
.game-card--soon .game-art { aspect-ratio: auto; min-height: 280px; height: 100%; }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s ease; }
.game-card:hover .game-art img { transform: scale(1.045); }
.game-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(17,10,22,.65)); pointer-events: none; }
.game-badge { position: absolute; top: 17px; left: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); color: var(--cream); background: rgba(14,9,17,.38); backdrop-filter: blur(10px); font-size: 8px; letter-spacing: .15em; }
.game-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 9px var(--mint); }
.badge-new i { background: var(--gold); box-shadow: 0 0 9px var(--gold); }
.badge-soon i { background: var(--lilac); box-shadow: 0 0 9px var(--lilac); }
.game-index { position: absolute; top: 15px; right: 19px; color: rgba(255,255,255,.72); font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; }
.game-arrow { position: absolute; right: 20px; bottom: 19px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(14,9,17,.3); backdrop-filter: blur(8px); color: var(--cream); font-size: 16px; transition: .25s var(--ease); }
.game-card:hover .game-arrow { transform: rotate(45deg); background: var(--cream); color: #28141f; }
.game-info { display: flex; flex-direction: column; flex: 1; padding: 22px 23px 20px; }
.game-card--soon .game-info { justify-content: center; padding: 34px 38px; }
.game-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.game-kicker { font-size: 8px; letter-spacing: .22em; color: var(--dim); }
.game-head h3 { margin: 7px 0 0; font-family: var(--font-display); font-weight: 500; font-size: 27px; line-height: 1; letter-spacing: -.02em; }
.game-head h3 em { font-style: normal; display: block; margin-top: 5px; font-size: 9px; letter-spacing: .2em; color: var(--rose); }
.game-status { flex: 0 0 auto; padding-top: 2px; font-size: 9px; letter-spacing: .1em; color: var(--mint); }
.status-new { color: var(--gold); }
.game-info > p { max-width: 460px; margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.85; letter-spacing: .03em; }
.game-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.game-meta span { padding: 5px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--dim); font-size: 8px; letter-spacing: .06em; }
.game-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.foot-note { color: var(--dim); font-size: 9px; letter-spacing: .04em; }
.foot-note b { color: var(--cream-soft); font-weight: 500; }
.game-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 13px; border-radius: 99px; background: var(--cream); color: #271320; font-size: 10px; font-weight: 600; letter-spacing: .04em; transition: transform .22s var(--ease), background .22s ease; }
.game-cta span { font-size: 13px; }
.game-cta:hover { transform: translateY(-2px); background: var(--pink); }
.game-card--soon .game-arrow { color: var(--lilac); }
.game-card--soon .game-status { color: var(--lilac); }
.game-card--soon .game-cta { background: rgba(255,255,255,.1); border: 1px solid var(--line); color: var(--cream); }
.game-card--soon:hover .game-cta { background: var(--lilac); color: #1b1127; }

/* ---------------- manifesto ---------------- */
.manifesto {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: .8fr 1.45fr .42fr; align-items: center; gap: 38px;
  width: min(1500px, calc(100% - 64px)); margin: 0 auto; padding: 90px 0 110px;
  border-top: 1px solid var(--line);
}
.manifesto-mark { font-family: var(--font-display); font-size: clamp(62px, 8.5vw, 120px); line-height: .77; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px rgba(255,246,234,.25); }
.manifesto-mark span { color: var(--pink); -webkit-text-stroke: 0; }
.manifesto-copy h2 { margin: 20px 0 18px; font-family: var(--font-display); font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.03em; font-weight: 500; }
.manifesto-copy h2 em { font-style: normal; color: var(--rose); }
.manifesto-copy p { max-width: 480px; margin: 0; color: var(--muted); font-size: 11px; line-height: 2; letter-spacing: .04em; }
.manifesto-facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; color: var(--dim); font-size: 9px; letter-spacing: .08em; }
.manifesto-facts b { margin-right: 4px; color: var(--cream); font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.manifesto-stamp { width: 120px; height: 120px; margin-left: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px dashed rgba(255,246,234,.25); border-radius: 50%; color: var(--dim); font-size: 7px; letter-spacing: .18em; text-align: center; transform: rotate(8deg); }
.manifesto-stamp b { color: var(--cream); font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: .06em; }
.manifesto-stamp span:first-child { color: var(--rose); }

/* ---------------- footer ---------------- */
.site-footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 22px; width: min(1500px, calc(100% - 64px)); margin: 0 auto; padding: 28px 0 38px; border-top: 1px solid var(--line); color: var(--dim); font-size: 9px; letter-spacing: .05em; }
.footer-brand { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.footer-brand strong { color: var(--cream-soft); font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.footer-brand span:last-child { color: var(--dim); }
.footer-brand .brand-cup { margin-right: 2px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 16px; }
.footer-links a:hover { color: var(--cream); }

/* ---------------- toast ---------------- */
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; transform: translate(-50%, 15px); padding: 11px 16px; border-radius: 99px; border: 1px solid var(--line-strong); background: rgba(18,11,23,.9); color: var(--cream); font-size: 10px; letter-spacing: .04em; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s var(--ease); backdrop-filter: blur(12px); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.75); } }
@keyframes scrollLine { 0%, 100% { transform: scaleY(.5); transform-origin: top; opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------------- responsive ---------------- */
@media (max-width: 1180px) {
  .site-header, .hero, .library, .manifesto, .site-footer { width: calc(100% - 42px); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 18px; }
  .hero-visual { min-height: 560px; }
  .hero-title { font-size: clamp(68px, 10vw, 116px); }
  .game-card--bubble { grid-column: span 7; }
  .game-card--pool { grid-column: span 5; }
  .stage-body { grid-template-columns: 155px minmax(0, 1fr) 220px; gap: 12px; }
  .stage-panel { padding: 15px 12px; }
  .score-block strong { font-size: 34px; }
}
@media (max-width: 980px) {
  .site-nav { display: none; }
  .menu-btn { display: grid; }
  .site-header { gap: 14px; }
  .header-actions { margin-left: auto; }
  .site-nav.is-open {
    position: absolute; top: 70px; right: 0; display: flex; flex-direction: column; align-items: flex-end;
    gap: 18px; padding: 22px 24px; border-radius: 18px;
    background: rgba(18,11,23,.94); border: 1px solid var(--line); backdrop-filter: blur(18px);
  }
  .site-nav.is-open a { font-size: 13px; }
  .hero { display: block; min-height: auto; padding-top: 130px; padding-bottom: 90px; }
  .hero-visual { min-height: 540px; margin-top: 20px; }
  .hero-title { font-size: clamp(76px, 14vw, 128px); }
  .hero-copy { max-width: 720px; }
  .hero-scroll { display: none; }
  .tag-right { right: 2%; }
  .game-card--bubble, .game-card--pool { grid-column: span 12; }
  .game-card--pool .game-art { aspect-ratio: 16 / 8; }
  .game-card--soon { grid-column: span 12; }
  .manifesto { grid-template-columns: .7fr 1.3fr; }
  .manifesto-stamp { display: none; }
  .stage-body { display: flex; flex-direction: column; overflow-y: auto; align-items: stretch; }
  .stage-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 12px 15px; align-self: stretch; }
  .stage-left .score-block { width: auto; padding: 0 20px 0 0; border: 0; border-right: 1px solid var(--line); }
  .stage-left .score-row { border: 0; padding: 0; gap: 12px; }
  .stage-left .score-row span { display: none; }
  .stage-note { display: none; }
  .stage-right { order: 3; }
  .challenge-copy, .challenge-tip { display: none; }
  .challenge-head { flex: 1; }
  .timer-track { width: 100%; }
  .power-block { flex: 1; min-width: 160px; border: 0; margin: 0; padding: 0; }
  .pool-area { order: 2; }
  .stage-head { flex-wrap: wrap; }
  .stage-title { order: -1; width: 100%; }
  .stage-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .site-header, .hero, .library, .manifesto, .site-footer { width: calc(100% - 30px); }
  .site-header { height: 72px; }
  .brand-type strong { font-size: 13px; letter-spacing: .1em; }
  .brand-type em { font-size: 7px; letter-spacing: .25em; }
  .brand-cup { width: 30px; height: 35px; }
  .live-pill { display: none; }
  .icon-btn { width: 34px; height: 34px; }
  .hero { padding-top: 110px; padding-bottom: 70px; }
  .hero-title { font-size: clamp(66px, 21vw, 100px); line-height: .79; }
  .title-after { transform: none; }
  .hero-sub { margin-top: 24px; font-size: 12px; line-height: 1.9; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 22px; margin-top: 28px; }
  .hero-stats b { font-size: 17px; }
  .hero-visual { min-height: 480px; margin-top: 8px; }
  .feature-card { width: min(320px, 82%); }
  .hero-orbit.orbit-a { width: 340px; height: 340px; }
  .hero-orbit.orbit-b { width: 420px; height: 420px; }
  .hero-orbit.orbit-c { width: 280px; height: 280px; }
  .tag-top { top: 8%; right: 2%; }
  .tag-right { display: none; }
  .tag-bottom { bottom: 3%; left: 0; }
  .library { padding: 75px 0 70px; }
  .section-head { display: block; }
  .section-head h2 { font-size: 42px; }
  .section-head p { margin-top: 16px; text-align: left; }
  .filters { margin-top: 24px; overflow-x: auto; padding-bottom: 3px; flex-wrap: nowrap; }
  .filter { flex: 0 0 auto; }
  .game-card--soon { display: flex; }
  .game-card--soon .game-art { min-height: 220px; height: auto; aspect-ratio: 16 / 10; }
  .game-info { padding: 18px; }
  .game-card--soon .game-info { padding: 22px 20px; }
  .game-head h3 { font-size: 22px; }
  .game-info > p { font-size: 10px; }
  .game-foot { flex-wrap: wrap; }
  .manifesto { display: block; padding: 70px 0; }
  .manifesto-mark { font-size: 64px; margin-bottom: 28px; }
  .manifesto-copy h2 { font-size: 36px; }
  .site-footer { display: block; line-height: 1.9; }
  .footer-links { margin-top: 12px; }
  .stage-shell { width: calc(100% - 20px); padding: 10px 0 14px; }
  .stage-head { padding-bottom: 10px; }
  .stage-back { font-size: 9px; }
  .stage-title strong { font-size: 15px; letter-spacing: .07em; }
  .stage-title em { font-size: 9px; }
  .stage-actions .stage-live { display: none; }
  .stage-pill { height: 25px; font-size: 8px; }
  .stage-body { padding-top: 10px; gap: 8px; }
  .stage-left { order: 1; }
  .stage-left .score-block { padding-right: 12px; }
  .score-block strong { font-size: 27px; }
  .stage-left .score-row b { font-size: 11px; }
  .pool-frame { border-radius: 15px; }
  .pool-hint { min-height: 28px; font-size: 7px; }
  .hint-key { display: none; }
  .pool-overlay h2 { font-size: 28px; }
  .pool-overlay p { font-size: 9px; }
  .pool-overlay .btn { min-height: 39px; font-size: 10px; }
  .stage-right { order: 3; }
  .challenge-head b { font-size: 19px; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 58px; }
  .hero-stats { gap: 14px; }
  .hero-stats span { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
@media (max-width: 640px) {
  .site-header {
    left: 15px;
    right: 15px;
    width: auto;
    max-width: calc(100vw - 30px);
  }
}
@media (max-width: 640px) {
  .header-actions {
    position: fixed;
    top: 18px;
    right: max(15px, env(safe-area-inset-right));
    z-index: 60;
  }
  .site-nav.is-open {
    position: fixed;
    top: 64px;
    right: max(15px, env(safe-area-inset-right));
    left: auto;
    z-index: 61;
  }
}
html, body { overflow-x: clip; }
.page-bg { transform: none; }
.hero-visual { overflow: hidden; }
@media (max-width: 980px) {
  .menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .stage-left .score-row span {
    display: inline;
    font-size: 7px;
    letter-spacing: .08em;
  }
  .stage-left .score-row { gap: 5px; }
}
.section-head p {
  color: rgba(255, 246, 234, .66);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .48);
}
/* Dominus monogram + warmer brass accent */
.brand-mark {
  position: relative; width: 40px; height: 40px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #1a100d;
  background: linear-gradient(145deg, #f7dfb0, #d8aa63 54%, #8a6332);
  border: 1px solid rgba(255, 240, 205, .7);
  box-shadow: 0 8px 22px rgba(216, 170, 99, .22), inset 0 1px 0 #fff4d7;
  transform: rotate(-3deg);
}
.brand-mark b {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: -.08em; line-height: 1;
}
.brand-mark i {
  position: absolute; right: 7px; bottom: 7px; width: 6px; height: 6px;
  border-radius: 50%; background: #17100e; box-shadow: 0 0 0 2px rgba(255, 247, 224, .6);
}
.brand-mark.small { width: 28px; height: 28px; border-radius: 8px; }
.brand-mark.small b { font-size: 16px; }
.footer-brand .brand-mark { margin-right: 2px; }

:root {
  --rose: #e7bd78;
  --pink: #f4d9ad;
  --lilac: #a8c0ff;
  --mint: #8fe6cf;
  --gold: #ffd38c;
}
.btn-primary {
  background: linear-gradient(110deg, #ffe4b3, #e7bd78 52%, #a8c0ff);
  color: #24160f;
}
.title-hours {
  background: linear-gradient(100deg, #f4d9ad, #e7bd78 34%, #a8c0ff 76%, #8fe6cf);
  -webkit-background-clip: text; background-clip: text;
}
/* Move the scroll hint out of the stats block: short horizontal cue at bottom center. */
.hero-scroll {
  left: 50%;
  right: auto;
  bottom: 14px;
  transform: translateX(-50%);
  writing-mode: horizontal-tb;
  flex-direction: row;
  gap: 9px;
  letter-spacing: .2em;
}
.hero-scroll span {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose));
  animation: scrollLineX 2.4s ease-in-out infinite;
}
@keyframes scrollLineX {
  0%, 100% { transform: scaleX(.3); transform-origin: left; opacity: .4; }
  50% { transform: scaleX(1); opacity: 1; }
}
/* Show the full bubble-shooter card art instead of cropping the subject. */
.game-card--bubble .game-art {
  background:
    radial-gradient(70% 90% at 50% 42%, rgba(255, 213, 224, .28), transparent 70%),
    #241723;
}
.game-card--bubble .game-art > img {
  object-fit: contain;
  object-position: center;
}

/* Gomoku editorial game card */
.game-card--gomoku {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.game-card--gomoku .game-art {
  aspect-ratio: auto;
  min-height: 330px;
  height: 100%;
}
.game-card--gomoku .game-info {
  justify-content: center;
  padding: 34px 38px;
}
.game-card--gomoku .game-head h3 em { color: var(--gold); }
.game-card--gomoku .game-status { color: var(--gold); }
.game-card--gomoku .game-cta {
  background: linear-gradient(110deg, #f7dfae, #d9b576 60%, #b9925e);
  color: #24170e;
}
.game-card--gomoku:hover .game-cta { background: var(--gold-hi); }
.game-card--gomoku .game-arrow { color: var(--gold); }
.game-card--gomoku .game-shade {
  background: linear-gradient(180deg, rgba(6,11,10,0) 42%, rgba(6,11,10,.56));
}
.btn-new { border-color: rgba(216,180,119,.34); color: var(--gold-hi); }
.btn-new span { color: var(--gold); font-size: 8px; letter-spacing: .12em; padding: 3px 6px; border: 1px solid rgba(216,180,119,.3); border-radius: 99px; }
.btn-new:hover { color: #21150c; }

@media (max-width: 980px) {
  .game-card--gomoku {
    display: flex;
    flex-direction: column;
  }
  .game-card--gomoku .game-art {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .game-card--gomoku .game-info {
    padding: 22px 20px;
  }
}


/* Cloud Hop editorial card */
.game-card--flight {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-color: rgba(255, 206, 188, .20);
}
.game-card--flight .game-art {
  aspect-ratio: auto;
  min-height: 330px;
  height: 100%;
}
.game-card--flight .game-info {
  justify-content: center;
  padding: 34px 38px;
}
.game-card--flight .game-head h3 em { color: var(--coral, #ff9f95); }
.game-card--flight .game-status { color: var(--coral, #ff9f95); }
.game-card--flight .game-arrow { color: #ffd0c4; }
.game-card--flight .game-cta {
  background: linear-gradient(110deg, #ffd2c3, #ff9f95 58%, #f4cc8c);
  color: #3a2420;
}
.game-card--flight:hover .game-cta { background: #ffe0d2; }
.game-card--flight .game-shade { background: linear-gradient(180deg, rgba(35,26,31,0) 44%, rgba(35,26,31,.42)); }
@media (max-width: 980px) {
  .game-card--flight { display: flex; flex-direction: column; }
  .game-card--flight .game-art { min-height: 0; aspect-ratio: 16 / 10; }
  .game-card--flight .game-info { padding: 22px 20px; }
}

