/* Wishy shell — the landing page's night sky, navigation and footer for the other pages (frames, info).
   Classes are prefixed (wn- nav, wf- footer, ws- sky) so they never clash with each page's own styles. */
@font-face { font-family: "WishyCard"; src: url("/fonts/font.ttf") format("truetype"); font-display: swap; }

:root {
  --w-bg: #0b0820; --w-ink: #f6f2ff; --w-mute: #b9b0d9; --w-dim: #8a80b3;
  --w-pink: #ff6fb5; --w-violet: #8b6cff; --w-cyan: #4fe3ff; --w-gold: #ffd36b;
  --w-line: rgba(255, 255, 255, .09); --w-glass: rgba(24, 16, 58, .55); --w-glass2: rgba(255, 255, 255, .04);
  --w-ease: cubic-bezier(.2, .8, .2, 1);
  --w-display: "WishyCard", "Trebuchet MS", system-ui, sans-serif;
  --w-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html { overflow-x: hidden; overflow-x: clip; }
body.wshell { margin: 0; min-height: 100vh; color: var(--w-ink); font-family: var(--w-body); position: relative; overflow-x: hidden; overflow-x: clip;
              background: radial-gradient(120% 80% at 50% -10%, #241653 0%, var(--w-bg) 55%) fixed, var(--w-bg) !important; }
body.wshell .bg { display: none !important; }

/* sky */
.ws-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ws-nebula { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ws-nebula i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .42; animation: wsDrift 26s ease-in-out infinite alternate; }
.ws-nebula .n1 { width: 55vw; height: 55vw; left: -15vw; top: -10vw; background: #5b2bd6; }
.ws-nebula .n2 { width: 45vw; height: 45vw; right: -12vw; top: 20vh; background: #c2307d; opacity: .28; animation-delay: -8s; }
.ws-nebula .n3 { width: 40vw; height: 40vw; left: 30vw; bottom: -20vw; background: #1aa6c7; opacity: .2; animation-delay: -16s; }
@keyframes wsDrift { to { transform: translate3d(4vw, 3vh, 0) scale(1.08); } }
body.wshell > main, body.wshell > .wrap { position: relative; z-index: 1; }

/* buttons */
.wn-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 999px; font: 700 14px/1 var(--w-body); color: #fff; text-decoration: none; white-space: nowrap;
          background: linear-gradient(135deg, var(--w-pink), var(--w-violet) 55%, #5a7bff); box-shadow: 0 10px 30px -8px rgba(255, 111, 181, .6), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .25s var(--w-ease), box-shadow .25s; }
.wn-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 111, 181, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }

/* nav */
.wn-nav { position: sticky; top: 0; z-index: 40; padding: 14px 16px; transition: background .3s, backdrop-filter .3s; }
.wn-nav.is-scrolled { background: rgba(11, 8, 32, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--w-line); }
.wn-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.wn-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wn-logo { width: 36px; height: 36px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15), 0 0 24px rgba(139, 108, 255, .55); }
.wn-name { font: 28px/1 var(--w-display); letter-spacing: .02em; background: linear-gradient(90deg, #fff, #ffd1ea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wn-links { display: flex; gap: 6px; margin-left: auto; }
.wn-links a { padding: 8px 14px; border-radius: 999px; color: var(--w-mute); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: color .2s, background .2s; }
.wn-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.wn-links a[aria-current="page"] { color: #fff; background: rgba(255, 111, 181, .14); box-shadow: inset 0 0 0 1px rgba(255, 111, 181, .35); }
.wn-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--w-line); background: var(--w-glass2); cursor: pointer; position: relative; }
.wn-burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--w-ease); }
.wn-burger span:first-child { top: 17px; } .wn-burger span:last-child { top: 25px; }
.wn-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.wn-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.wn-mobile { display: none; }

/* footer */
.wf-foot { position: relative; z-index: 1; margin-top: 80px; border-top: 1px solid var(--w-line); background: rgba(8, 6, 24, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.wf-inner { max-width: 1200px; margin: 0 auto; padding: 56px 20px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.wf-brand p { color: var(--w-dim); max-width: 320px; font-size: 14.5px; line-height: 1.6; }
.wf-col { display: flex; flex-direction: column; gap: 10px; }
.wf-col b { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--w-dim); margin-bottom: 4px; }
.wf-col a { color: var(--w-mute); font-size: 14.5px; text-decoration: none; } .wf-col a:hover { color: #fff; }
.wf-bar { max-width: 1200px; margin: 0 auto; padding: 18px 20px 30px; display: flex; justify-content: space-between; color: var(--w-dim); font-size: 13px; border-top: 1px solid var(--w-line); }
.wf-status { display: inline-flex; align-items: center; gap: 8px; } .wf-status i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 10px #3ee08f; }

/* shared page pieces: display-font headings, glass panels, pink accents */
.ws-eyebrow { font: 700 12.5px/1 var(--w-body); letter-spacing: .22em; text-transform: uppercase; color: var(--w-pink); margin: 0 0 14px; }
.ws-title { font: clamp(40px, 6vw, 68px)/1.02 var(--w-display); margin: 0 0 14px; letter-spacing: .01em; text-shadow: 0 8px 40px rgba(139, 108, 255, .35); }
.ws-shimmer { background: linear-gradient(90deg, #ffd1ea, #c9b8ff, #8ff3ff, #ffd1ea); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wsShimmer 8s linear infinite; }
@keyframes wsShimmer { to { background-position: 300% 0; } }

@media (max-width: 920px) {
  .wn-links, .wn-cta { display: none; }
  .wn-burger { display: block; }
  .wn-nav { background: rgba(11, 8, 32, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .wn-mobile { display: grid; gap: 4px; max-height: 0; overflow: hidden; transition: max-height .4s var(--w-ease); max-width: 1200px; margin: 0 auto; }
  .wn-mobile.show { max-height: 420px; padding: 12px 0 6px; }
  .wn-mobile a:not(.wn-btn) { padding: 12px 14px; border-radius: 12px; color: var(--w-mute); font-weight: 600; text-decoration: none; }
  .wn-mobile a:not(.wn-btn):hover, .wn-mobile a[aria-current="page"] { background: rgba(255, 255, 255, .06); color: #fff; }
  .wn-mobile .wn-btn { margin-top: 8px; height: 48px; }
  .wf-inner { grid-template-columns: 1fr 1fr; } .wf-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .wf-bar { flex-direction: column; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .ws-nebula i, .ws-shimmer { animation: none; } }
