/* Ashbound: skill-tree night sky + friends-list panes + red flame. Pixel art stays crisp. */
@font-face { font-family: Jacquard; src: url(/assets/ashbound/Jacquard24-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: FusionPixel; src: url(/assets/ashbound/FusionPixel-12-Latin.woff2) format("woff2"); font-display: swap; }
:root { --flame: #ff5a2a; --flame-hi: #ffb37a; --ash: #2a1513; --pulse: 2.6s; }
body.ash { background: #050304; }
.ash img { image-rendering: pixelated; image-rendering: crisp-edges; }
.ash-main { position: relative; overflow: hidden; padding: 56px var(--gutter) 80px; display: grid; gap: 28px; justify-items: center; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #050304; }
.sky .l { position: absolute; inset: 0; background-repeat: repeat; background-size: 1280px 720px; image-rendering: pixelated; }
.sky .nebula { background-image: url(/assets/ashbound/sky_nebula.png); filter: sepia(1) saturate(4) hue-rotate(-28deg) brightness(.75); opacity: .85; }
.sky .dim { background-image: url(/assets/ashbound/sky_stars_dim.png); animation: drift 160s linear infinite; }
.sky .bright { background-image: url(/assets/ashbound/sky_stars_bright.png); animation: drift 90s linear infinite, twinkle 4s steps(4) infinite; }
.sky .dust { background-image: url(/assets/ashbound/sky_dust.png); mix-blend-mode: screen; filter: sepia(1) saturate(5) hue-rotate(-30deg); opacity: .5; }
.sky .horizon { top: auto; height: 192px; background-image: url(/assets/ashbound/sky_horizon.png); background-size: 1280px 192px; background-repeat: repeat-x; mix-blend-mode: screen; filter: sepia(1) saturate(6) hue-rotate(-30deg); opacity: .8; }
.sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, transparent 30%, rgba(3,1,2,.75) 100%); }
@keyframes drift { to { background-position: -1280px 0; } }
@keyframes twinkle { 50% { opacity: .55; } }
.embers i { position: absolute; bottom: -8px; width: 4px; height: 4px; background: var(--flame-hi); box-shadow: 0 0 6px 2px rgba(255,90,42,.8); animation: rise 9s steps(48) infinite; opacity: 0; }
@keyframes rise { 0% { transform: translate(0,0); opacity: 0; } 10% { opacity: 1; } 70% { background: var(--flame); } 100% { transform: translate(24px,-110vh); opacity: 0; } }
.hero, .pane { width: min(860px, 100%); }
.hero { text-align: center; display: grid; gap: 18px; justify-items: center; }
.kicker, .badge, .tag, .soon, .sub, .track, .included em, .included small, .gifts figcaption, .price .per, .title-chip { font-family: FusionPixel, monospace; letter-spacing: .06em; }
.kicker { color: var(--flame-hi); text-transform: uppercase; font-size: 15px; margin: 0; }
.hero h1 { font-family: Jacquard, serif; font-weight: 400; font-size: clamp(72px, 13vw, 136px); line-height: .9; margin: 0; color: #ffe2c2;
  text-shadow: 0 0 4px #ff7a3a, 0 0 18px rgba(255,74,32,.85), 0 0 48px rgba(255,40,20,.55), 3px 3px 0 #1a0605; animation: breathe var(--pulse) ease-in-out infinite; }
.lede { max-width: 560px; color: var(--quiet); font-size: 1.15rem; margin: 0; }
@keyframes breathe { 50% { filter: brightness(1.25) drop-shadow(0 0 10px rgba(255,90,42,.6)); } }
.glow { animation: pulse var(--pulse) ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 2px #1a0605, 0 0 0 4px rgba(255,90,42,.55), 0 0 14px 4px rgba(255,60,24,.35); }
  50% { box-shadow: 0 0 0 2px #1a0605, 0 0 0 4px rgba(255,140,80,.95), 0 0 34px 10px rgba(255,60,24,.6); } }
.glow:hover { animation-duration: 1.2s; }
.card { margin: 0; position: relative; line-height: 0; background: #0b0506; }
.card img { display: block; width: 600px; max-width: 100%; height: auto; }
.month .card img { width: 600px; }
.flame { position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; background:
  repeating-linear-gradient(90deg, transparent 0 6px, rgba(255,120,60,.9) 6px 8px, transparent 8px 14px); filter: drop-shadow(0 0 4px #ff4a20); animation: lick .5s steps(3) infinite; opacity: .8; }
@keyframes lick { 33% { transform: translateY(-2px) scaleY(1.2); } 66% { transform: translateY(1px) scaleY(.8); } }
.price { display: grid; justify-items: center; gap: 6px; padding: 18px 28px; background: linear-gradient(#1b0d0c, #0e0607); }
.price .amt { font-family: Jacquard, serif; font-size: 64px; line-height: 1; color: #fff0dc; text-shadow: 0 0 12px rgba(255,90,42,.9); }
.price .per { color: var(--flame-hi); text-transform: uppercase; }
.join { margin-top: 10px; font: 400 26px Jacquard, serif; letter-spacing: .03em; padding: 10px 26px; color: #ffe2c2; background: linear-gradient(#5a1a10, #2b0b08); border: 2px solid #ff7a3a; border-radius: 0;
  box-shadow: inset 0 0 0 2px #1a0605, 0 0 16px rgba(255,74,32,.6); cursor: not-allowed; }
.join:disabled { opacity: .78; filter: saturate(.75); }
.soon { color: var(--dim); font-size: 13px; margin: 0; }
.promise { color: var(--type); margin: 0; } .promise b { color: var(--flame-hi); }
.pane { position: relative; padding: 26px clamp(18px, 4vw, 36px); background: linear-gradient(rgba(26,14,14,.92), rgba(12,7,8,.92)); border: 2px solid #3a1d18;
  box-shadow: inset 0 0 0 2px #120708, inset 0 0 0 4px rgba(255,90,42,.18), 0 0 0 2px #0a0405; }
.pane h2 { font-family: Jacquard, serif; font-weight: 400; font-size: 40px; margin: 0 0 6px; color: #ffd9b8; text-shadow: 0 0 10px rgba(255,74,32,.55); }
.pane h2::after { content: ""; display: block; height: 2px; margin-top: 8px; background: linear-gradient(90deg, transparent, var(--flame) 20%, var(--flame-hi) 50%, var(--flame) 80%, transparent); box-shadow: 0 0 8px var(--flame); }
.sub { color: var(--quiet); font-size: 14px; margin: 0 0 14px; }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.included li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px; border-bottom: 2px solid rgba(255,90,42,.12); transition: background .15s, box-shadow .15s; }
.included li:hover { background: rgba(255,90,42,.09); box-shadow: inset 2px 0 0 var(--flame), 0 0 18px rgba(255,74,32,.25); }
.included b { display: block; color: #ffe6cc; font-size: 1.12rem; } .included small { color: var(--quiet); font-size: 13px; }
.included em, .tag { font-style: normal; color: #1a0605; background: var(--flame-hi); padding: 2px 8px; font-size: 12px; text-transform: uppercase; box-shadow: 0 0 10px rgba(255,140,80,.8); }
.ico { width: 32px; height: 32px; display: block; background: radial-gradient(circle, #fff1d6 0 18%, #ff8a3a 19% 42%, #b0200e 43% 58%, transparent 60%); filter: drop-shadow(0 0 6px rgba(255,74,32,.9)); image-rendering: pixelated; animation: breathe var(--pulse) ease-in-out infinite; }
.ico-aether { background: radial-gradient(circle, #f1eaff 0 18%, #b49cff 19% 42%, #5a3bbf 43% 58%, transparent 60%); filter: drop-shadow(0 0 6px rgba(180,150,255,.9)); }
.beta { display: grid; gap: 10px; border-color: #6a2a18; }
.badge { justify-self: start; margin: 0; color: #1a0605; background: linear-gradient(#ffd49a, #ff7a3a); padding: 4px 10px; text-transform: uppercase; box-shadow: 0 0 14px rgba(255,120,60,.9); }
.beta p { color: var(--type); margin: 0; }
.aura { position: absolute; right: 30px; top: 22px; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, rgba(255,230,200,.95) 0 10%, rgba(255,110,50,.7) 20%, rgba(255,50,20,.25) 45%, transparent 70%); animation: breathe 1.8s ease-in-out infinite; }
.beta .tag { justify-self: start; }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; font-size: 13px; counter-reset: n; }
.track li { position: relative; padding: 12px 10px 10px; background: rgba(8,4,5,.8); border: 2px solid #2e1714; color: var(--quiet); display: grid; gap: 2px; }
.track li b { font-family: var(--reading); font-size: 1.05rem; color: #e9d9c8; letter-spacing: 0; }
.track .cost { color: var(--dim); } .track .cost::after { content: " embers"; }
.track li.lit { border-color: #ff7a3a; box-shadow: 0 0 14px rgba(255,74,32,.45), inset 0 0 12px rgba(255,74,32,.18); }
.track li.lit .cost { color: var(--flame-hi); }
.track li:hover { border-color: var(--flame-hi); box-shadow: 0 0 20px rgba(255,120,60,.7); }
.month .card { justify-self: center; }
.gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.gifts figure { margin: 0; display: grid; gap: 8px; justify-items: center; }
.gifts img { width: 100%; max-width: 292px; height: auto; box-shadow: 0 0 16px rgba(255,74,32,.5); }
.gifts figcaption { color: var(--quiet); font-size: 13px; }
.title-chip { color: #ffb37a; font-size: 20px; padding: 10px 14px; border: 2px solid #5a2a18; text-shadow: 0 0 8px rgba(255,120,60,.9); background: #0d0607; }
.wisp { width: 64px; height: 64px; background: url(/assets/ashbound/ember-wisp-strip.png) 0 0 / 384px 64px no-repeat; image-rendering: pixelated; filter: drop-shadow(0 0 8px rgba(255,90,42,.9)); animation: wisp .6s steps(6) infinite; }
@keyframes wisp { to { background-position: -384px 0; } }
.fine p { color: var(--dim); font-size: .9rem; margin: 0; }
@media (max-width: 640px) { .track { grid-template-columns: repeat(2, 1fr); } .gifts { grid-template-columns: 1fr; } .aura { width: 44px; height: 44px; } .included li { grid-template-columns: 32px 1fr; } .included em { grid-column: 2; justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .ash *, .ash *::before, .ash *::after { animation: none !important; } }
.embers .e0 { left: 43%; animation-delay: -8.5s; animation-duration: 9.4s; }
.embers .e1 { left: 8%; animation-delay: -0.7s; animation-duration: 10.2s; }
.embers .e2 { left: 48%; animation-delay: -5.2s; animation-duration: 12.5s; }
.embers .e3 { left: 29%; animation-delay: -0.3s; animation-duration: 9.6s; }
.embers .e4 { left: 10%; animation-delay: -2.2s; animation-duration: 10.3s; }
.embers .e5 { left: 9%; animation-delay: -7.4s; animation-duration: 7.7s; }
.embers .e6 { left: 30%; animation-delay: -5.7s; animation-duration: 10.5s; }
.embers .e7 { left: 9%; animation-delay: -5.2s; animation-duration: 9.4s; }
.embers .e8 { left: 30%; animation-delay: -0.4s; animation-duration: 12.2s; }
.embers .e9 { left: 39%; animation-delay: -3.8s; animation-duration: 10.2s; }
.embers .e10 { left: 75%; animation-delay: -2.8s; animation-duration: 11.9s; }
.embers .e11 { left: 25%; animation-delay: -0.9s; animation-duration: 10.4s; }
.embers .e12 { left: 26%; animation-delay: -3.4s; animation-duration: 10.3s; }
.embers .e13 { left: 10%; animation-delay: -5.1s; animation-duration: 10.7s; }
.embers .e14 { left: 65%; animation-delay: -6.1s; animation-duration: 9.6s; }
.embers .e15 { left: 42%; animation-delay: -4.2s; animation-duration: 12.5s; }
.embers .e16 { left: 48%; animation-delay: -2.7s; animation-duration: 11.8s; }
.embers .e17 { left: 91%; animation-delay: -7.0s; animation-duration: 7.5s; }
.embers .e18 { left: 40%; animation-delay: -4.7s; animation-duration: 12.3s; }
.embers .e19 { left: 95%; animation-delay: -4.0s; animation-duration: 10.7s; }
.embers .e20 { left: 11%; animation-delay: -1.1s; animation-duration: 9.5s; }
.embers .e21 { left: 98%; animation-delay: -3.1s; animation-duration: 12.6s; }
.embers .e22 { left: 55%; animation-delay: -0.4s; animation-duration: 11.0s; }
.embers .e23 { left: 73%; animation-delay: -5.2s; animation-duration: 12.3s; }
/* payments open (2026-11-24) */
.starter { margin-top: 14px; font: 400 20px Jacquard, serif; padding: 7px 18px; color: #ffe2c2; background: #241009; border: 2px solid #b8562e; cursor: pointer; }
.starter:disabled, .join:disabled { cursor: default; }
.join:not(:disabled) { cursor: pointer; }
.join:not(:disabled):hover, .starter:not(:disabled):hover { box-shadow: 0 0 22px #ff6a2a, 0 0 4px #ffd08a inset; }
.acct { margin: 12px 0 0; font-size: 14px; color: var(--dim); }
.linkish { background: none; border: 0; padding: 0 0 0 10px; color: #ffb37a; font: inherit; text-decoration: underline; cursor: pointer; }
body.signed-in #ash-signin-link { display: none; }
.ash-status { min-height: 1.2em; margin: 8px 0 0; color: #ffd9b8; font-size: 14px; }
.ash-status.bad { color: #ff8f7a; }
.ash-dialog { max-width: 420px; width: calc(100% - 32px); background: #120a0b; color: #f6e7d4; border: 2px solid #ff7a3a; box-shadow: 0 0 40px #b8301a; padding: 22px; }
.ash-dialog::backdrop { background: rgba(4, 2, 3, .82); }
.ash-dialog h2 { font: 400 34px Jacquard, serif; margin: 0 0 6px; color: #ffe2c2; }
.ash-dialog label { display: block; margin: 12px 0 4px; font-family: FusionPixel, monospace; letter-spacing: .06em; color: #d9a58c; font-size: 13px; }
.ash-dialog input { width: 100%; box-sizing: border-box; padding: 9px 10px; font-size: 17px; background: #0a0607; color: #fff1dc; border: 1px solid #8f3a1e; }
.join.small { font-size: 20px; padding: 6px 18px; margin-top: 12px; }
.ash-success { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(4, 2, 3, .88); }
.ash-success[hidden] { display: none; }
.ash-success-box { position: relative; max-width: 460px; width: calc(100% - 32px); text-align: center; background: #120a0b; border: 2px solid #ff7a3a; padding: 26px 22px; }
.ash-success-box h2 { font: 400 42px Jacquard, serif; margin: 4px 0 10px; color: #ffe2c2; text-shadow: 0 0 14px #ff5a2a; }
.reveal { list-style: none; padding: 0; margin: 12px 0; display: none; text-align: left; }
.ash-success.revealed .reveal { display: block; }
.reveal li { display: flex; align-items: center; gap: 10px; padding: 6px 4px; opacity: 0; transform: translateY(14px); animation: rise .5s forwards; }
.reveal li:nth-child(2) { animation-delay: .12s } .reveal li:nth-child(3) { animation-delay: .24s } .reveal li:nth-child(4) { animation-delay: .36s } .reveal li:nth-child(5) { animation-delay: .48s }
@keyframes rise { to { opacity: 1; transform: none; } }
.aura.mini { width: 28px; height: 28px; position: static; display: inline-block; }
.burst { position: absolute; inset: 0; pointer-events: none; }
.burst i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; background: #ffc76a; box-shadow: 0 0 10px #ff6a2a; opacity: 0; }
.ash-success.revealed .burst i { animation: burst 1.3s ease-out forwards; }
.burst i:nth-child(odd) { background: #ff7a2a; width: 4px; height: 4px; }
.burst i:nth-child(1) { --x: 220px; --y: -160px } .burst i:nth-child(2) { --x: -230px; --y: -140px } .burst i:nth-child(3) { --x: 180px; --y: 170px } .burst i:nth-child(4) { --x: -170px; --y: 190px }
.burst i:nth-child(5) { --x: 300px; --y: 10px } .burst i:nth-child(6) { --x: -300px; --y: -10px } .burst i:nth-child(7) { --x: 40px; --y: -260px } .burst i:nth-child(8) { --x: -60px; --y: 250px }
.burst i:nth-child(9) { --x: 120px; --y: -230px } .burst i:nth-child(10) { --x: -130px; --y: -240px } .burst i:nth-child(11) { --x: 260px; --y: 120px } .burst i:nth-child(12) { --x: -250px; --y: 130px }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) scale(1.4); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.6); } }
@media (prefers-reduced-motion: reduce) { .burst i, .reveal li { animation: none; opacity: 1; transform: none; } }
