/* KREATE SOUNDZ website
   Two looks, both from the plugins:
   - grief (default): After Blog's night-purple cartoon ink world
   - .lc: Little Computer's plated-metal robot panel                       */

:root {
  --bg: #050307;
  --bg2: #15101f;
  --panel: rgba(14, 9, 22, .9);
  --ink: #040307;
  --cream: #f4edf2;
  --text: #e9e0f0;
  --lav: #c7b4f6;
  --violet: #9c6df3;
  --blue: #22a9e2;
  --sky: #8fd3ff;
  --pink: #ff7ab8;
  --dim: #8d84a6;
  --accent: var(--violet);
  --accent2: var(--blue);
  --hand: "Patrick Hand", "Ink Free", "Segoe Print", cursive;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --pixel: "VT323", ui-monospace, monospace;
  --r: 16px;
  --shadow: 5px 6px 0 var(--ink);
  --nav-h: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lav); }
::selection { background: var(--violet); color: #fff; }

/* ---------- sky: fixed background scene (the KREATE banner art) ---------- */
.sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background: #050307 url(brand/banner.webp) center / cover no-repeat;
}
.sky::before { /* darken the middle so text stays readable; the art lives at the edges */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 50% 50%, rgba(5, 3, 7, .82), rgba(5, 3, 7, .45) 70%, rgba(5, 3, 7, .25)),
    linear-gradient(rgba(5, 3, 7, .35), rgba(5, 3, 7, .6));
}
.sky::after { /* print grain */
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* four-point sparkle like the brand art */
.spark { position: absolute; width: 22px; height: 22px; animation: twinkle var(--t, 4s) ease-in-out var(--d, 0s) infinite; filter: drop-shadow(0 0 6px rgba(220, 200, 255, .8)); }
.spark svg { width: 100%; height: 100%; display: block; }
.spark.px { width: 10px; height: 10px; background: #e6dbff; box-shadow: 10px 10px 0 #e6dbff, 10px -10px 0 rgba(156, 109, 243, .9); filter: none; opacity: .8; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.55) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(8deg); } }
.sparkle-ico { display: inline-block; width: .7em; height: .7em; vertical-align: .05em; }
@media (prefers-reduced-motion: reduce) { .spark, .orbit-spin, .bob, .dance, .floaty { animation: none !important; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 14px; padding: 0 22px;
  background: linear-gradient(rgba(5, 3, 7, .94), rgba(5, 3, 7, .78));
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 1px 0 rgba(199, 180, 246, .12);
}
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); flex: none; }
.nav .brand img { height: 30px; width: auto; filter: drop-shadow(0 0 10px rgba(156, 109, 243, .7)); }
.nav .brand span { font: 20px var(--hand); letter-spacing: 1px; color: var(--lav); }
.nav .links { display: flex; gap: 8px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav .links::-webkit-scrollbar { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 5px 14px; border-radius: 999px; text-decoration: none;
  font: 18px/1.2 var(--hand); letter-spacing: .5px; color: var(--lav);
  border: 2px solid rgba(199, 180, 246, .35); background: rgba(21, 16, 33, .6);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.pill:hover { border-color: var(--lav); color: var(--cream); transform: translateY(-1px); }
.pill.on { background: linear-gradient(90deg, var(--violet), var(--blue)); color: #fff; border-color: var(--ink); box-shadow: 2px 3px 0 var(--ink); }
.pill.cta { background: var(--lav); color: var(--ink); border-color: var(--ink); box-shadow: 2px 3px 0 var(--ink); }
.pill.cta:hover { background: #fff; }
@media (max-width: 720px) {
  .nav { padding: 0 12px; gap: 8px; }
  .nav .brand span { display: none; }
  .pill { font-size: 16px; padding: 4px 11px; }
}

/* ---------- layout ---------- */
main { padding-top: var(--nav-h); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
section { padding: 72px 0; position: relative; }
@media (max-width: 720px) { section { padding: 48px 0; } }

/* ---------- type ---------- */
h1, h2, h3, .hand { font-family: var(--hand); font-weight: 400; letter-spacing: .5px; }
.title {
  font-size: clamp(64px, 11vw, 136px); line-height: .9; margin: 0 0 10px; color: var(--cream);
  text-shadow:
    4px 6px 0 var(--violet),
    -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink),
    6px 8px 0 var(--ink);
  transform: rotate(-2deg); transform-origin: left center;
}
.tagline { font: clamp(22px, 2.6vw, 30px)/1.25 var(--hand); color: var(--lav); margin: 0 0 18px; }
.tagline b { color: var(--sky); font-weight: 400; }
h2.sec {
  font-size: clamp(38px, 5vw, 56px); line-height: 1; margin: 0 0 8px; color: var(--cream);
  text-shadow: 3px 4px 0 var(--violet), -1.5px -1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px 1.5px 0 var(--ink);
}
h2.sec .star { color: var(--lav); font-size: .5em; vertical-align: super; text-shadow: none; margin-left: 4px; }
.sub { color: var(--dim); font-size: 17px; margin: 0 0 34px; max-width: 640px; }
.kicker { font: 15px var(--pixel); letter-spacing: 2px; text-transform: uppercase; color: var(--sky); }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--text); max-width: 560px; }

/* ---------- sticker card ---------- */
.card {
  position: relative; background: var(--panel); border-radius: var(--r);
  border: 3px solid var(--ink); box-shadow: var(--shadow), inset 0 0 0 1px rgba(199, 180, 246, .25);
  padding: 22px;
}
.card.wobble { border-color: transparent; }
.card.wobble::before { /* hand-drawn outline: wobbled by the SVG filter */
  content: ""; position: absolute; inset: -3px; border: 3px solid var(--ink); border-radius: inherit;
  filter: url(#wobble); pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 26px; border-radius: 999px; text-decoration: none; cursor: pointer;
  font: 23px/1.1 var(--hand); letter-spacing: .5px; color: #fff;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .3);
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn:hover { transform: translate(-1px, -2px); box-shadow: 5px 7px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .3); filter: brightness(1.08); }
.btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: rgba(21, 16, 33, .8); color: var(--lav); }
.btn.small { font-size: 19px; padding: 8px 18px; }
.btn svg { width: 22px; height: 22px; }
.meta { font: 18px var(--pixel); letter-spacing: 1px; color: var(--dim); margin-top: 14px; }
.meta b { color: var(--lav); font-weight: 400; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; }
.hero .grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero .shot { position: relative; transform: rotate(1.5deg); }
.hero .shot .frame { border-radius: 18px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 8px 10px 0 var(--ink), 0 0 80px rgba(156, 109, 243, .35); }
.hero .shot .mo { position: absolute; width: 92px; top: -64px; left: 18%; }
.hero .shot .krx { position: absolute; width: 150px; bottom: -58px; right: -30px; }
@media (max-width: 920px) {
  .hero { min-height: 0; }
  .hero .grid { grid-template-columns: 1fr; gap: 72px; }
  .hero .shot .krx { width: 110px; right: -6px; bottom: -48px; }
}
.bob { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.dance { animation: dance .52s steps(2) infinite; }
@keyframes dance { 0% { transform: translateY(0) rotate(-6deg); } 100% { transform: translateY(-6px) rotate(6deg); } }

/* ---------- interface map (what's what) ---------- */
.map-wrap { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 1080px; margin-inline: auto; }
.map { position: relative; border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.map .dot {
  position: absolute; translate: -50% -50%; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; padding: 0;
  font: 17px/1 var(--hand); color: var(--ink); background: var(--lav);
  border: 2.5px solid var(--ink); box-shadow: 2px 3px 0 var(--ink);
  transition: transform .15s, background .15s;
}
.map .dot:hover, .map .dot.hot { transform: scale(1.25); background: #fff; z-index: 2; }
.map .dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--lav); opacity: 0; animation: ping 2.6s ease-out infinite; animation-delay: calc(var(--i) * 130ms); }
@keyframes ping { 0% { opacity: .8; transform: scale(.7); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
.map .tip {
  position: absolute; z-index: 3; pointer-events: none; max-width: 230px;
  padding: 8px 12px; border-radius: 10px; background: var(--cream); color: var(--ink);
  border: 2.5px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); font: 15px/1.35 var(--body);
  opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s;
}
.map .tip.show { opacity: 1; transform: none; }
.map .tip b { font: 19px var(--hand); display: block; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 14px; }
@media (max-width: 1000px) { .legend { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .legend { grid-template-columns: 1fr; } }
.legend li { display: flex; gap: 10px; padding: 6px 8px; border-radius: 10px; cursor: default; transition: background .15s; }
.legend li.hot { background: rgba(199, 180, 246, .12); }
.legend .n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 15px var(--hand); color: var(--ink); background: var(--lav); border: 2px solid var(--ink); margin-top: 2px; }
.legend b { font: 19px/1.1 var(--hand); color: var(--cream); font-weight: 400; display: block; }
.legend span.d { font-size: 14px; line-height: 1.4; color: var(--dim); display: block; }

/* ---------- views gallery ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { font: inherit; }
.tabs .pill { cursor: pointer; }
.gallery { max-width: 1080px; margin-inline: auto; }
.gallery .stage { position: relative; border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow); aspect-ratio: 2000 / 1388; background: #0b0910; }
.gallery .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.gallery .stage img.on { opacity: 1; }
.gallery .cap { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; min-height: 84px; }
.gallery .cap h3 { margin: 0; font-size: 28px; color: var(--cream); flex: none; min-width: 170px; }
.gallery .cap p { margin: 4px 0 0; color: var(--text); }
.gallery .nav-row { display: flex; align-items: center; gap: 14px; justify-content: flex-end; margin-top: 8px; }
.gallery .count { font: 18px var(--pixel); color: var(--dim); }
@media (max-width: 640px) { .gallery .cap { flex-direction: column; gap: 4px; } }

/* ---------- listen (A/B player, only shown when tracks are set) ---------- */
.listen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.ab { padding: 18px; }
.ab h3 { margin: 0 0 2px; font-size: 24px; color: var(--cream); }
.ab .row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.ab .play { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--ink); background: var(--lav); color: var(--ink); cursor: pointer; box-shadow: 2px 3px 0 var(--ink); font-size: 18px; }
.ab .seg { display: flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.ab .seg button { font: 17px var(--hand); padding: 4px 12px; border: 0; cursor: pointer; background: rgba(21, 16, 33, .8); color: var(--dim); }
.ab .seg button.on { background: var(--violet); color: #fff; }
.ab .bar { flex: 1; height: 8px; border-radius: 9px; background: rgba(199, 180, 246, .15); overflow: hidden; }
.ab .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--blue)); }

/* ---------- signal flow ---------- */
.flow { overflow-x: auto; padding: 26px 22px 30px; scrollbar-color: var(--violet) transparent; }
.flow .chain { display: flex; align-items: center; gap: 10px; width: max-content; }
.flow .node {
  font: 19px/1.1 var(--hand); color: var(--cream); padding: 10px 14px; border-radius: 12px; text-align: center;
  background: var(--g, #1d1530); border: 2.5px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); white-space: nowrap;
}
.flow .node small { display: block; font: 13px var(--body); color: var(--dim); margin-top: 2px; }
.flow .node.k1 { --g: #2a1a4a; } .flow .node.k2 { --g: #1a2a48; } .flow .node.k3 { --g: #3a1a3a; } .flow .node.k4 { --g: #16354a; }
.flow .arr { color: var(--lav); font-size: 22px; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 26px; }
@media (max-width: 860px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stages { grid-template-columns: 1fr; } }
.stages h3 { margin: 0; font-size: 26px; color: var(--cream); }
.stages .k { font: 15px var(--pixel); letter-spacing: 1.5px; text-transform: uppercase; }
.stages div:nth-child(1) .k { color: var(--lav); } .stages div:nth-child(2) .k { color: var(--sky); }
.stages div:nth-child(3) .k { color: var(--pink); } .stages div:nth-child(4) .k { color: #7fe0c6; }
.stages p { font-size: 15px; color: var(--dim); margin-top: 6px; }

/* ---------- crew ---------- */
.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .crew { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .crew { grid-template-columns: 1fr; } }
.crew .card { text-align: center; padding: 0 0 18px; overflow: hidden; transition: transform .2s; }
.crew .card > div { padding: 0 16px; }
.crew .card:hover { transform: rotate(-1.5deg) translateY(-4px); }
.crew img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 3px solid var(--ink); margin-bottom: 12px; transition: transform .4s; }
.crew .card:hover img { transform: scale(1.04); }
.crew .art-small { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-bottom: 3px solid var(--ink); margin-bottom: 12px; background: radial-gradient(circle at 50% 45%, rgba(156, 109, 243, .55), transparent 60%), #0b0712; }
.crew .art-small img { width: 70%; aspect-ratio: auto; border: 0; margin: 0; filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, .6)); }
.crew h3 { margin: 0; font-size: 30px; color: var(--cream); }
.crew .role { font: 14px var(--pixel); letter-spacing: 1.5px; text-transform: uppercase; color: var(--sky); }
.crew p { font-size: 15px; color: var(--dim); margin: 8px 0 0; }
.crew .blog { box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 122, 184, .4); }
.crew .blog .role { color: var(--pink); }

/* ---------- get it ---------- */
.get { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 920px) { .get { grid-template-columns: 1fr; } }
.get .card { display: flex; flex-direction: column; gap: 6px; }
.get .fmt { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 14px var(--pixel); letter-spacing: 1px; padding: 1px 8px; border-radius: 6px; background: rgba(199, 180, 246, .14); color: var(--lav); border: 1px solid rgba(199, 180, 246, .3); }
.get h3 { margin: 6px 0 0; font-size: 34px; color: var(--cream); }
.get .note { font-size: 14px; color: var(--dim); flex: 1; }
.get .btn { margin-top: 10px; align-self: flex-start; }
.get .card.off { opacity: .55; }
.get .card.off .btn { pointer-events: none; filter: grayscale(.8); }

/* ---------- support ---------- */
.support { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .support { grid-template-columns: 1fr; } }
.price { text-align: center; padding: 28px; }
.price .lbl { font: 15px var(--pixel); letter-spacing: 2px; color: var(--dim); }
.price .amt { font: 84px/1 var(--hand); color: var(--cream); text-shadow: 3px 4px 0 var(--violet); margin: 6px 0 12px; }
.price .presets { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.price .presets button { cursor: pointer; }
.price input[type=range] { width: 100%; accent-color: var(--violet); margin: 4px 0 18px; }
.price small { display: block; color: var(--dim); font-size: 13px; margin-top: 12px; }

/* ---------- release cards (home) ---------- */
.releases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .releases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .releases { grid-template-columns: 1fr; } }
.rel { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.rel:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 7px 10px 0 var(--ink), inset 0 0 0 1px rgba(199, 180, 246, .25); }
.rel .pic { aspect-ratio: 16 / 10.5; overflow: hidden; border-bottom: 3px solid var(--ink); background: #0b0910; }
.rel .pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
a.rel:hover .pic img { transform: scale(1.04); }
.rel .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rel h3 { margin: 0; font-size: 36px; line-height: 1; color: var(--cream); }
.rel .what { font: 15px var(--pixel); letter-spacing: 1.5px; text-transform: uppercase; color: var(--sky); }
.rel p { font-size: 15px; color: var(--dim); margin: 6px 0 10px; flex: 1; }
.rel .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.status { font: 15px var(--pixel); letter-spacing: 1px; padding: 2px 10px; border-radius: 999px; border: 2px solid var(--ink); }
.status.out { background: #7fe0c6; color: var(--ink); }
.status.test { background: var(--lav); color: var(--ink); }
.status.soon { background: #2a2338; color: var(--dim); border-color: #2a2338; }
.rel.lab .pic { max-height: 240px; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #15101f 0 14px, #120d1b 14px 28px); }
.rel.lab .pic span { font: 64px var(--hand); color: rgba(199, 180, 246, .25); transform: rotate(-6deg); }

/* ---------- home hero ---------- */
.home-hero { text-align: center; min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding: 40px 0 80px; }
.logo-big { position: relative; width: min(760px, 92vw); margin: 0 auto 8px; }
.logo-big img.logo { width: 100%; mix-blend-mode: screen; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
.blend { mix-blend-mode: screen; }
.logo-big svg.ring { position: absolute; inset: -30% -12%; width: 124%; height: 160%; pointer-events: none; overflow: visible; }
.orbit-spin { animation: spin 18s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes spin { to { stroke-dashoffset: -400; } }
.soundz { font: clamp(30px, 5vw, 56px)/1 var(--hand); letter-spacing: clamp(10px, 2vw, 22px); color: var(--lav); margin: 18px 0 18px; text-shadow: 2px 3px 0 var(--ink); padding-left: .4em; }
.home-hero .lead { margin: 0 auto 26px; }
.home-hero .krx { position: absolute; width: 120px; right: max(4vw, 10px); bottom: -20px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; }
.about img { width: 260px; border-radius: 18px; border: 3px solid var(--ink); box-shadow: var(--shadow), 0 0 60px rgba(156, 109, 243, .35); transform: rotate(-2deg); }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; text-align: center; } .about img { margin: 0 auto; width: 200px; } }

/* ---------- community / footer ---------- */
.community { text-align: center; padding: 40px 22px; }
.community .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
footer { position: relative; margin-top: 40px; }
footer svg.ground { display: block; width: 100%; height: 160px; }
footer .base { background: #08060d; padding: 18px 0 30px; }
footer .base .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; font: 18px var(--hand); color: var(--dim); }
footer .base img { height: 40px; width: auto; }
footer .base a { color: var(--dim); text-decoration: none; margin-left: 14px; }
footer .base a:hover { color: var(--lav); }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 99; translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--cream); color: var(--ink); padding: 10px 18px; border-radius: 12px;
  border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); font: 19px var(--hand);
  transition: opacity .2s, translate .2s;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .6s; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ======================================================================
   LITTLE COMPUTER theme: riveted steel plates, chunky robot buttons, CRT
   ====================================================================== */
body.lc {
  --bg: #1f3a44;
  --panel: #d9e1e5;
  --ink: #142128;
  --cream: #f6f1e3;
  --text: #22323a;
  --lav: #4fd1c5;
  --violet: #3fbfb2;
  --blue: #2d8f9e;
  --sky: #f2c94c;
  --pink: #e8534f;
  --dim: #5b6b73;
  --crt: #8ff5c8;
  --hand: "Kalam", "Segoe Print", cursive;
  color-scheme: light;
  color: var(--cream);
}
body.lc .sky {
  background:
    radial-gradient(ellipse 70% 50% at 70% 0%, rgba(79, 209, 197, .18), transparent 70%),
    linear-gradient(#24434e, #1c353f 70%, #172d35);
}
body.lc .sky::after { background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 5px); background-size: auto; }
body.lc .nav { background: linear-gradient(#cfd8dc, #b9c4c9); border-bottom: 3px solid var(--ink); }
body.lc .nav .brand img { filter: invert(1) drop-shadow(2px 2px 0 var(--blue)); }
body.lc .nav .brand span { color: var(--ink); }
body.lc .pill { color: var(--ink); background: var(--cream); border-color: var(--ink); }
body.lc .pill.on { background: var(--lav); color: var(--ink); }
body.lc .pill.cta { background: var(--sky); }
body.lc .title { color: var(--sky); text-shadow: 4px 6px 0 #c2851a, -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 6px 8px 0 var(--ink); }
body.lc .tagline { color: var(--cream); }
body.lc .tagline b { color: var(--lav); }
body.lc h2.sec { color: var(--cream); text-shadow: 3px 4px 0 var(--blue), -1.5px -1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px 1.5px 0 var(--ink); }
body.lc h2.sec .star { color: var(--sky); }
body.lc .sub, body.lc .meta { color: #a9bcc3; }
body.lc .meta b { color: var(--lav); }
body.lc .lead { color: #e3ecee; }
body.lc .kicker { color: var(--sky); }
body.lc .card { /* steel plate with rivets */
  background:
    radial-gradient(circle at 14px 14px, #8a989f 3px, #f4f7f8 3.5px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 14px) 14px, #8a989f 3px, #f4f7f8 3.5px, transparent 4.5px),
    radial-gradient(circle at 14px calc(100% - 14px), #8a989f 3px, #f4f7f8 3.5px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #8a989f 3px, #f4f7f8 3.5px, transparent 4.5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px 7px),
    linear-gradient(#e2e9ec, #c9d3d8);
  color: var(--text);
  box-shadow: var(--shadow), inset 0 2px 0 rgba(255, 255, 255, .7);
}
body.lc .card h3, body.lc .get h3 { color: var(--ink); }
body.lc .legend b, body.lc .stages h3 { color: var(--cream); }
body.lc .get .note { color: var(--dim); }
body.lc .legend span.d, body.lc .stages p { color: #a9bcc3; }
body.lc .legend .n, body.lc .map .dot { background: var(--sky); }
body.lc .map .dot::after { border-color: var(--sky); }
body.lc .legend li.hot { background: rgba(242, 201, 76, .16); }
body.lc .btn { background: var(--lav); color: var(--ink); box-shadow: 4px 5px 0 var(--ink), inset 0 3px 0 rgba(255, 255, 255, .55), inset 0 -4px 0 rgba(0, 0, 0, .15); }
body.lc .btn.ghost { background: var(--cream); }
body.lc .btn.red { background: var(--pink); color: #fff; }
body.lc .btn.yel { background: var(--sky); }
body.lc .chip { background: #1b2d34; color: var(--crt); border-color: #0f1c21; font-family: var(--pixel); }
body.lc .flow .node { background: var(--cream); color: var(--ink); }
body.lc .flow .node small { color: var(--dim); }
body.lc .flow .node.crt { background: #0f2a26; color: var(--crt); font-family: var(--pixel); font-size: 22px; letter-spacing: 1px; }
body.lc .flow .arr { color: var(--ink); }
body.lc .stages .k { color: var(--lav) !important; }
body.lc .price .amt { color: var(--ink); text-shadow: 3px 4px 0 var(--sky); }
body.lc .price .lbl, body.lc .price small { color: var(--dim); }
body.lc .price input[type=range] { accent-color: var(--blue); }
body.lc .spark { color: var(--crt); text-shadow: 0 0 8px rgba(143, 245, 200, .6); }
body.lc .spark.px { background: var(--crt); box-shadow: 4px 4px 0 var(--crt); }
body.lc footer .base { background: #10222a; }
body.lc .toast { background: var(--sky); }
body.lc ::selection { background: var(--sky); color: var(--ink); }

/* the CRT screen block */
.crt {
  background: radial-gradient(ellipse at 50% 40%, #12443b, #0a221e 75%);
  border: 4px solid var(--ink); border-radius: 22px; padding: 22px 26px; position: relative; overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .7), 0 0 0 10px #2f3f46, var(--shadow);
  color: var(--crt); font-family: var(--pixel); text-shadow: 0 0 6px rgba(143, 245, 200, .7);
}
.crt::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 2px, transparent 2px 4px); pointer-events: none; }
.crt .big { font-size: clamp(46px, 7vw, 84px); line-height: .95; letter-spacing: 3px; }
.crt .sm { font-size: 22px; letter-spacing: 2px; opacity: .85; }
.crt .face { position: absolute; right: 26px; top: 26px; width: 92px; height: 56px; }
.crt .face i { position: absolute; top: 0; width: 18px; height: 24px; background: var(--crt); box-shadow: 0 0 8px var(--crt); }
.crt .face i:nth-child(1) { left: 6px; } .crt .face i:nth-child(2) { right: 6px; }
.crt .face b { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 7px; background: var(--crt); box-shadow: 0 0 8px var(--crt); border-radius: 0 0 6px 6px; }
.crt .face.blink i { height: 4px; top: 12px; }

/* key demo (little computer) */
.keydemo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .keydemo { grid-template-columns: 1fr; } }
.keys { position: relative; display: flex; height: 150px; margin-top: 16px; background: #2f3f46; padding: 8px; border-radius: 14px; border: 3px solid var(--ink); }
.keys .w { flex: 1; margin: 0 2px; background: var(--cream); border: 2.5px solid var(--ink); border-radius: 0 0 10px 10px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font: 15px var(--hand); color: var(--ink); cursor: pointer; transition: background .12s, transform .1s; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .08); }
.keys .w:hover { background: #fff; }
.keys .w.on { background: var(--lav); transform: translateY(2px); }
.keys .w.home { background: linear-gradient(#f6f1e3 70%, #f2c94c 70%); }
.keys .b { position: absolute; top: 8px; width: calc((100% - 16px) / 15 * .62); height: 58%; background: #22323a; border: 2.5px solid var(--ink); border-radius: 0 0 8px 8px; cursor: pointer; z-index: 2; color: #9fb4bc; font: 12px var(--hand); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4px; }
.keys .b:hover { background: #31464f; }
.keys .b.on { background: var(--lav); color: var(--ink); }
.trbtns { display: flex; gap: 14px; justify-content: center; margin: 18px 0 6px; }
.rb { width: 76px; height: 76px; border-radius: 50%; border: 4px solid var(--ink); font: 36px/1 var(--hand); cursor: pointer; box-shadow: 0 6px 0 var(--ink), inset 0 6px 0 rgba(255, 255, 255, .45), inset 0 -6px 0 rgba(0, 0, 0, .15); transition: transform .08s, box-shadow .08s; color: var(--ink); }
.rb:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink), inset 0 6px 0 rgba(255, 255, 255, .45); }
.rb.r { background: #e8534f; color: #fff; } .rb.y { background: #f2c94c; } .rb.t { background: #4fd1c5; }
.rb + small { display: block; }
.trlbl { display: flex; gap: 14px; justify-content: center; font: 16px var(--hand); color: var(--dim); }
.trlbl span { width: 76px; text-align: center; }

/* LC keeps its own teal scene, not the purple banner */
body.lc .sky::before { display: none; }
body.lc .sky::after { mix-blend-mode: normal; opacity: 1; background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 5px); }
body.lc .spark { filter: drop-shadow(0 0 6px rgba(143, 245, 200, .6)); }
body.lc .spark svg path { fill: #bff8de; }
body.lc .hero .shot .frame { box-shadow: 8px 10px 0 var(--ink), 0 0 80px rgba(79, 209, 197, .3); }

/* ---------- flagship (After Blog on the home page) ---------- */
.pill.flag { border-color: var(--lav); color: var(--cream); background: rgba(156, 109, 243, .25); }
.flagship {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; padding: 44px;
  background:
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(156, 109, 243, .28), transparent 70%),
    linear-gradient(135deg, rgba(26, 16, 44, .95), rgba(10, 7, 16, .95));
  box-shadow: 8px 10px 0 var(--ink), inset 0 0 0 1px rgba(199, 180, 246, .4), 0 0 90px rgba(156, 109, 243, .25);
}
.badge {
  display: inline-block; font: 16px var(--pixel); letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 12px; border-radius: 999px; color: var(--ink); background: var(--lav); border: 2px solid var(--ink); box-shadow: 2px 3px 0 var(--ink);
}
.fs-title {
  font-size: clamp(56px, 8vw, 104px); line-height: .9; margin: 14px 0 8px; color: var(--cream);
  text-shadow: 4px 6px 0 var(--violet), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 6px 8px 0 var(--ink);
  transform: rotate(-2deg); transform-origin: left center;
}
.fs-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.fs-points li { font-size: 14px; color: var(--dim); line-height: 1.35; padding-left: 20px; position: relative; }
.fs-points li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: var(--lav); }
.fs-points b { display: block; font: 21px/1.1 var(--hand); color: var(--cream); font-weight: 400; }
.fs-shot { position: relative; display: block; transform: rotate(1.5deg); transition: transform .3s; }
.fs-shot:hover { transform: rotate(0) scale(1.015); }
.fs-shot .frame { border-radius: 16px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 8px 10px 0 var(--ink); }
.fs-shot .mo { position: absolute; width: 86px; top: -58px; left: 16%; z-index: 2; }
.fs-shot .krx { position: absolute; width: 140px; bottom: -54px; right: -24px; z-index: 2; }
@media (max-width: 960px) {
  .flagship { grid-template-columns: 1fr; padding: 28px 22px 64px; gap: 64px; }
  .fs-shot { order: -1; margin-top: 40px; }
  .fs-shot .krx { width: 104px; right: -8px; bottom: -44px; }
}
@media (max-width: 480px) { .fs-points { grid-template-columns: 1fr; } }
.releases.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
@media (max-width: 640px) { .releases.two { grid-template-columns: 1fr; } }
body.lc .pill.flag { background: #9c6df3; color: #fff; }
