/* ==========================================================
   Cozy Animals — playcozyanimals.com
   ========================================================== */
:root {
  --cream: #fff7ea;
  --cream-2: #fbecd3;
  --paper: #fffdf8;
  --cocoa: #2b1a10;
  --cocoa-2: #4a3021;
  --ink: #3a281c;
  --muted: #7a6352;
  --fox: #f2780c;
  --fox-2: #ff9a2e;
  --honey: #ffc94a;
  --teal: #1f9e98;
  --sky: #5aa8e6;
  --rose: #e2687a;
  --fire-1: #ff5a1f;
  --fire-2: #ffb02e;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 18px 50px -18px rgba(60, 30, 10, .35);
  --shadow-sm: 0 6px 18px -8px rgba(60, 30, 10, .3);
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; color: var(--cocoa); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section__sub { color: var(--muted); font-size: 1.12rem; margin: 0; }
.eyebrow {
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; color: var(--fox); margin: 0 0 .9em;
}
.eyebrow--fire { color: var(--fire-2); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--cocoa); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  padding: .85em 1.6em; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn--sm { font-size: .95rem; padding: .6em 1.2em; }
.btn--primary { background: linear-gradient(180deg, var(--fox-2), var(--fox)); color: #fff; box-shadow: 0 6px 0 #c95d04, 0 14px 30px -10px rgba(242, 120, 12, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #c95d04, 0 18px 34px -10px rgba(242, 120, 12, .8); }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 3px 0 #c95d04; }
.btn--fire { background: linear-gradient(180deg, var(--fire-2), var(--fire-1)); color: #2b0f02; box-shadow: 0 6px 0 #b8380b, 0 16px 40px -10px rgba(255, 90, 31, .8); }
.btn--fire:hover { transform: translateY(-2px); }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 182px; height: 60px; padding: 0 20px 0 16px;
  background: #0d0906; color: #fff; text-decoration: none;
  border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .22);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
}
.store svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: .7rem; opacity: .85; letter-spacing: .02em; }
.store strong { font-family: var(--display); font-size: 1.32rem; font-weight: 600; letter-spacing: .005em; }
a.store:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .55); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .7); }
.store--android svg { color: #3ddc84; fill: #3ddc84; }
.store--android svg .eye { fill: #0d0906; }
.store--steam { background: rgba(23, 26, 33, .55); border-style: dashed; border-color: rgba(255, 255, 255, .35); cursor: default; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.store--steam svg { color: #c7d5e0; fill: #c7d5e0; }
.store--steam small { color: var(--honey); opacity: 1; font-weight: 700; }

/* ---------- Pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(43, 26, 16, .55); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .92rem;
  border: 1px solid rgba(255, 201, 74, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s;
}
.pill:hover { background: rgba(43, 26, 16, .75); }
.pill__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fire-2); box-shadow: 0 0 0 0 rgba(255, 176, 46, .8); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 176, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 176, 46, 0); } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; width: min(1200px, 100% - 32px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: #fff; }
.brand img { border-radius: 10px; box-shadow: var(--shadow-sm); }
.brand--logo img { width: auto; height: 54px; border-radius: 0; box-shadow: none; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .25)); transition: transform .3s var(--ease); }
.brand--logo:hover img { transform: rotate(-3deg) scale(1.05); }
.brand--footer img { height: 80px; }
.nav:not(.is-solid) .brand--logo img { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.nav .brand--logo img { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.hero__logo { width: clamp(220px, 24vw, 340px); height: auto; margin: 0 0 14px -6px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); animation: logoIn 1s var(--ease) both, float 6s ease-in-out 1s infinite; }
@keyframes logoIn { from { opacity: 0; transform: translateY(-16px) scale(.92); } to { opacity: 1; transform: none; } }
.cta__logo { width: min(360px, 80%); height: auto; margin: 0 auto 20px; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .55)); animation: float 5s ease-in-out infinite; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { color: #fff; text-decoration: none; font-weight: 700; font-size: .98rem; padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.nav__links a:hover { background: rgba(255, 255, 255, .16); }
.nav.is-solid { background: rgba(255, 250, 242, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(60, 30, 10, .08), 0 10px 30px -20px rgba(60, 30, 10, .4); }
.nav.is-solid .brand, .nav.is-solid .nav__links a { color: var(--cocoa); }
.nav.is-solid .nav__links a:hover { background: rgba(242, 120, 12, .1); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .18); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .3s, top .3s; }
.nav__toggle span:first-child { top: 16px; } .nav__toggle span:last-child { top: 25px; }
.nav.is-solid .nav__toggle { background: rgba(60, 30, 10, .08); }
.nav.is-solid .nav__toggle span { background: var(--cocoa); }
.nav.menu-open .nav__toggle span:first-child { top: 20.5px; transform: rotate(45deg); }
.nav.menu-open .nav__toggle span:last-child { top: 20.5px; transform: rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px 16px 20px; background: rgba(255, 250, 242, .97); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: var(--cocoa); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.2rem; padding: 12px 8px; border-bottom: 1px solid rgba(60, 30, 10, .08); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; padding: 90px 0 90px; }
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 55% 45%; animation: kenburns 28s ease-in-out infinite alternate; }
@media (min-width: 901px) {
  .hero__media { left: -3%; right: auto; width: 142%; top: -14%; height: 128%; }
  .hero__media img { max-width: none; object-position: 50% 50%; }
}
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero__shade { position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(25, 14, 6, .78) 0%, rgba(25, 14, 6, .45) 38%, rgba(25, 14, 6, 0) 70%),
    linear-gradient(180deg, rgba(25, 14, 6, .5) 0%, rgba(25, 14, 6, 0) 22%, rgba(25, 14, 6, 0) 70%, rgba(25, 14, 6, .55) 100%);
}
.hero__content { position: relative; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 700; margin: 18px 0 14px; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); max-width: 13ch; }
.accent { background: linear-gradient(180deg, #ffd56b 10%, #ff8a1f 95%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(120, 50, 0, .35)); }
.hero__lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 34em; color: rgba(255, 255, 255, .92); margin-bottom: 32px; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.hero__facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .98rem; color: rgba(255, 255, 255, .88); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--honey); }
.hero__facts b { color: #fff; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; opacity: .9; }
.hero__scroll svg { width: 26px; height: 26px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

.sparkles, .embers { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.sparkles i, .embers i { position: absolute; border-radius: 50%; }
.sparkles i { background: rgba(255, 255, 255, .85); box-shadow: 0 0 8px rgba(255, 255, 255, .9); animation: drift linear infinite; }
@keyframes drift { from { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { transform: translateY(-110vh) translateX(40px); opacity: 0; } }

/* ---------- Trailer ---------- */
.trailer { background: linear-gradient(180deg, #2b1a10 0%, #3b2416 100%); color: #fff; }
.trailer h2 { color: #fff; }
.trailer .section__sub { color: rgba(255, 255, 255, .75); }
.player { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); aspect-ratio: 16 / 9; background: #000; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player__play { position: absolute; inset: 0; margin: auto; width: 104px; height: 104px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(180deg, var(--fox-2), var(--fox)); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 0 #c95d04, 0 20px 50px -10px rgba(0, 0, 0, .7); transition: transform .3s var(--ease); }
.player__play svg { width: 44px; height: 44px; fill: currentColor; margin-left: 6px; }
.player__play:hover { transform: scale(1.07); }
.player__ring { position: absolute; inset: -14px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .55); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.player.is-playing .player__play { opacity: 0; pointer-events: none; transform: scale(.7); }
.player:not(.is-playing) video::-webkit-media-controls { display: none !important; }

/* ---------- Pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid rgba(60, 30, 10, .06); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, white); margin-bottom: 18px; }
.pillar__icon svg { width: 30px; height: 30px; fill: var(--c); }
.pillar p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Feature rows ---------- */
.features .container { display: grid; gap: clamp(72px, 10vw, 120px); }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transform: rotate(-1.2deg); transition: transform .5s var(--ease); }
.feature--flip .feature__media img { transform: rotate(1.2deg); }
.feature:hover .feature__media img { transform: rotate(0) scale(1.015); }
.feature__media::before { content: ""; position: absolute; inset: 8% -4% -6% 6%; border-radius: var(--radius-lg); background: var(--cream-2); z-index: -1; transform: rotate(2.5deg); }
.feature--flip .feature__media::before { inset: 8% 6% -6% -4%; transform: rotate(-2.5deg); background: #dff1ee; }
.feature__copy p { color: var(--muted); font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 700; color: var(--cocoa-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Ember Peak ---------- */
.ember { color: #fff; overflow: hidden; isolation: isolate; background: #1a0b05; }
.ember__bg { position: absolute; inset: 0; z-index: -3; }
.ember__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(1.2) blur(2px); transform: scale(1.05); }
.ember::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 50% 120%, rgba(255, 90, 31, .45), transparent 60%), linear-gradient(180deg, #1a0b05 0%, rgba(26, 11, 5, .6) 30%, rgba(26, 11, 5, .75) 100%); }
.ember h2, .ember h3, .ember h4 { color: #fff; }
.ember h2 { background: linear-gradient(180deg, #fff2c9 0%, #ffb02e 55%, #ff5a1f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ember .section__sub { color: rgba(255, 235, 215, .78); }
.embers i { background: radial-gradient(circle, #ffd27a 0%, #ff6a1f 60%, transparent 70%); animation: rise linear infinite; }
@keyframes rise { from { transform: translateY(0) translateX(0) scale(1); opacity: 0; } 10% { opacity: 1; } to { transform: translateY(-100vh) translateX(var(--dx, 30px)) scale(.4); opacity: 0; } }
.ember__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; background: linear-gradient(135deg, rgba(255, 120, 40, .14), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 160, 80, .22); border-radius: var(--radius-lg); padding: clamp(16px, 2.4vw, 24px); margin-bottom: 24px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ember__hero-media img { border-radius: calc(var(--radius-lg) - 10px); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.ember__hero-copy { padding: 8px clamp(4px, 2vw, 24px) 8px 0; }
.ember__hero-copy h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ember__hero-copy p { color: rgba(255, 235, 215, .82); font-size: 1.1rem; margin-bottom: 26px; }
.ember__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ecard { margin: 0; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 160, 80, .18); transition: transform .35s var(--ease), border-color .35s; }
.ecard:hover { transform: translateY(-6px); border-color: rgba(255, 176, 46, .55); }
.ecard img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ecard figcaption { padding: 18px 20px 22px; }
.ecard h4 { font-size: 1.2rem; margin-bottom: 4px; }
.ecard p { margin: 0; color: rgba(255, 235, 215, .72); font-size: .97rem; }

/* ---------- Gallery ---------- */
.masonry { columns: 3 300px; column-gap: 18px; }
.shot { break-inside: avoid; margin: 0 0 18px; border-radius: 18px; overflow: hidden; cursor: zoom-in; position: relative; box-shadow: var(--shadow-sm); background: var(--cream-2); border: 0; padding: 0; display: block; width: 100%; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.shot:nth-child(4n+2) img { aspect-ratio: 4 / 3; }
.shot:nth-child(5n+4) img { aspect-ratio: 1 / 1; }
.shot:hover img { transform: scale(1.06); }
.shot::after { content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-weight: 700; font-size: .92rem; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); opacity: 0; transform: translateY(8px); transition: .3s var(--ease); }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Crossplay ---------- */
.crossplay__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.crossplay__copy p { color: var(--muted); font-size: 1.08rem; }
.crossplay__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stats div { background: var(--cream); border-radius: 18px; padding: 18px 16px; text-align: center; }
.stats b { display: block; font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--fox); }
.stats span { font-size: .88rem; font-weight: 700; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(30, 16, 40, .55), rgba(20, 10, 25, .82)); }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta p { font-size: 1.15rem; color: rgba(255, 255, 255, .88); margin-bottom: 32px; }
.cta__icon { width: 112px; height: 112px; border-radius: 28px; margin: 0 auto 24px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6), 0 0 0 4px rgba(255, 255, 255, .15); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); border: 1px solid rgba(60, 30, 10, .06); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--cocoa); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font-size: 1.3rem; color: var(--fox); transition: transform .3s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--cocoa); color: rgba(255, 255, 255, .75); padding: 56px 0 32px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand p { margin: 8px 0 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { text-decoration: none; font-weight: 700; color: rgba(255, 255, 255, .85); }
.footer__links a:hover { color: var(--honey); }
.footer__legal { padding-top: 22px; font-size: .9rem; }
.footer__legal p { margin: 0 0 6px; }
.footer__small { font-size: .78rem; opacity: .6; }

/* ---------- Socials ---------- */
.socials { display: flex; gap: 6px; align-items: center; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .14); transition: background .2s, color .2s, transform .25s var(--ease); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.socials a:hover { transform: translateY(-2px); color: #fff; }
.socials .s-discord:hover { background: #5865f2; }
.socials .s-tiktok:hover { background: #111; }
.socials .s-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.socials .s-reddit:hover { background: #ff4500; }
.nav.is-solid .socials--nav a { color: var(--cocoa); background: rgba(60, 30, 10, .07); }
.nav.is-solid .socials--nav a:hover { color: #fff; }
.socials--menu { gap: 10px; padding: 14px 0 4px; }
.socials--menu a { width: 46px; height: 46px; color: var(--cocoa); background: rgba(60, 30, 10, .07); }
.socials--menu svg { width: 22px; height: 22px; }
.socials--footer a { color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .08); }
.footer__inner .socials--footer { width: 100%; justify-content: flex-start; }

/* ---------- Community ---------- */
.discord-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); text-decoration: none; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .18), transparent 45%), linear-gradient(135deg, #5865f2, #7b5cf0 60%, #9b6bf2);
  box-shadow: 0 24px 60px -24px rgba(88, 101, 242, .8); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  margin-bottom: 20px;
}
.discord-card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -24px rgba(88, 101, 242, .95); }
.discord-card__icon { width: 84px; height: 84px; border-radius: 24px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.discord-card__icon svg { width: 50px; height: 50px; fill: #fff; }
.discord-card h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.discord-card p { margin: 0; color: rgba(255, 255, 255, .88); }
.discord-card__btn { font-family: var(--display); font-weight: 600; font-size: 1.1rem; background: #fff; color: #4752c4; padding: 14px 26px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 0 rgba(30, 30, 90, .25); }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.social-card { display: flex; align-items: center; gap: 14px; padding: 20px; background: #fff; border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow-sm); border: 1px solid rgba(60, 30, 10, .06); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.social-card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; color: #fff; }
.social-card__icon svg { width: 28px; height: 28px; fill: currentColor; }
.social-card.s-tiktok .social-card__icon { background: #111; box-shadow: -2px -2px 0 #25f4ee inset, 2px 2px 0 #fe2c55 inset; }
.social-card.s-instagram .social-card__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-card.s-reddit .social-card__icon { background: #ff4500; }
.social-card__text { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.social-card__text strong { font-family: var(--display); font-size: 1.2rem; color: var(--cocoa); }
.social-card__text small { color: var(--muted); font-weight: 700; }
.social-card__cta { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--fox); background: #fff1e0; padding: 8px 16px; border-radius: 999px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15, 8, 4, .92); display: grid; place-items: center; padding: 24px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); }
.lightbox img { max-height: 82vh; width: auto; margin: auto; border-radius: 16px; box-shadow: 0 30px 80px -20px #000; }
.lightbox figcaption { text-align: center; color: #fff; margin-top: 14px; font-weight: 700; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .socials--nav { display: none; }
}
@media (max-width: 1024px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .discord-card { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .feature, .ember__hero, .crossplay__inner { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .ember__grid { grid-template-columns: 1fr; }
  .ember__hero-copy { padding: 4px 8px 12px; }
  .hero__shade { background: linear-gradient(180deg, rgba(25, 14, 6, .55) 0%, rgba(25, 14, 6, .35) 35%, rgba(25, 14, 6, .75) 100%); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { align-items: flex-end; padding: 110px 0 90px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .stores { flex-direction: column; align-items: stretch; }
  .store { width: 100%; justify-content: center; }
  .stores--center .store { max-width: 340px; margin-inline: auto; }
  .stats b { font-size: 1.8rem; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .shot { margin-bottom: 10px; border-radius: 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 22px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); }
  .hero__scroll { display: none; }
  .sticky-cta {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    background: rgba(255, 250, 242, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 18px; padding: 10px 10px 10px 12px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta img { border-radius: 10px; }
  .sticky-cta div { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
  .sticky-cta strong { font-family: var(--display); color: var(--cocoa); }
  .sticky-cta span { font-size: .8rem; color: var(--muted); font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Sub-pages (news, support, privacy)
   ========================================================== */
.page-hero { padding: 140px 0 56px; background: radial-gradient(ellipse at 80% 0%, rgba(255, 201, 74, .35), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(31, 158, 152, .14), transparent 50%), var(--cream); text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); margin-bottom: .3em; }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }
.page-body { padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 120px); }
.crumbs { font-size: .9rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--fox); text-decoration: none; }

/* Prose (privacy) */
.prose { color: var(--ink); }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.prose p, .prose li { color: #5a4434; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--fox); font-weight: 700; }
.prose .meta { display: inline-block; background: var(--cream-2); color: var(--cocoa-2); font-weight: 700; font-size: .9rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 28px; }
.toc { background: var(--cream); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 36px; }
.toc strong { font-family: var(--display); color: var(--cocoa); }
.toc ol { margin: 10px 0 0; padding-left: 1.3em; columns: 2 220px; column-gap: 32px; }
.toc a { color: var(--cocoa-2); text-decoration: none; font-weight: 700; }
.toc a:hover { color: var(--fox); }

/* Support */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(48px, 7vw, 80px); }
.contact-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid rgba(60, 30, 10, .06); display: flex; flex-direction: column; }
.contact-card .pillar__icon { margin-bottom: 16px; }
.contact-card p { color: var(--muted); font-size: .98rem; }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
.contact-card .email { font-weight: 800; color: var(--cocoa); word-break: break-all; margin-bottom: 16px; }
.btn--ghost { background: var(--cream-2); color: var(--cocoa); }
.btn--ghost:hover { background: #f6dfba; transform: translateY(-2px); }
.btn--discord { background: #5865f2; color: #fff; box-shadow: 0 6px 0 #3c45b5; }
.btn--discord:hover { transform: translateY(-2px); }
.help-steps { display: grid; gap: 10px; counter-reset: s; padding: 0; list-style: none; margin: 12px 0 0; }
.help-steps li { counter-increment: s; position: relative; padding-left: 38px; color: var(--muted); }
.help-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--fox); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.note { background: #e9f6f4; border-left: 4px solid var(--teal); border-radius: 12px; padding: 16px 20px; color: #2f5754; margin-top: 28px; }

/* News */
.news-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 40px; }
.news-featured__media { position: relative; min-height: 320px; }
.news-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-featured__copy { padding: clamp(24px, 4vw, 44px); }
.tag { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: #fff1e0; color: var(--fox); margin-right: 8px; }
.tag--fire { background: #ffe3d6; color: #d2420f; }
.tag--teal { background: #dff1ee; color: #157a75; }
.post-date { font-size: .9rem; font-weight: 700; color: var(--muted); }
.post { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid rgba(60, 30, 10, .06); padding: clamp(24px, 4vw, 44px); margin-bottom: 28px; scroll-margin-top: 100px; }
.post__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 4px; margin-bottom: 12px; }
.post h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 4px 0 .5em; }
.post p { color: #5a4434; }
.post h3 { font-size: 1.15rem; margin: 1.5em 0 .5em; }
.post ul { padding-left: 1.2em; margin: 0; }
.post li { color: #5a4434; margin-bottom: .4em; }
.post li b { color: var(--cocoa); }
.post__img { border-radius: 18px; margin: 20px 0 6px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 6px; }
.post__imgs img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.news-cta { text-align: center; background: var(--cocoa); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); margin-top: 48px; }
.news-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.news-cta p { color: rgba(255, 255, 255, .8); }
.news-cta .socials { justify-content: center; margin-top: 18px; }
.news-cta .socials a { width: 48px; height: 48px; }
.news-cta .socials svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured__media { min-height: 0; aspect-ratio: 16 / 9; }
  .post__imgs { grid-template-columns: 1fr 1fr; }
}

/* YouTube */
.socials .s-youtube:hover { background: #ff0000; }
.social-card.s-youtube .social-card__icon { background: #ff0000; }
.trailer__more { text-align: center; margin: 28px 0 0; }
.trailer__more a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; padding: 10px 20px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background .2s; }
.trailer__more a:hover { background: #ff0000; border-color: #ff0000; }
.trailer__more svg { width: 22px; height: 22px; fill: currentColor; }
.social-grid { grid-template-columns: repeat(4, 1fr); }
.social-grid .social-card { flex-wrap: wrap; }
@media (max-width: 1280px) { .socials--nav { display: none; } }
@media (max-width: 1100px) and (min-width: 641px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .social-grid { grid-template-columns: 1fr; } }

/* itch.io */
.store--itch svg { color: #fa5c5c; fill: #fa5c5c; }
.socials .s-itch:hover { background: #fa5c5c; }
@media (min-width: 641px) { .hero .stores { max-width: 400px; } .hero .store { flex: 1 1 182px; } }
@media (min-width: 901px) and (max-height: 960px) {
  .hero__logo { width: clamp(200px, 20vw, 290px); margin-bottom: 8px; }
  .hero__lede { margin-bottom: 22px; }
  .hero__facts { margin-top: 18px; }
  .hero__scroll { display: none; }
}
