/* creator.nuroplay.kr — the NuroCreator site, set in the homepage's night: the same faces
   (Bricolage, Paperlogy, Pretendard), the same night blues, starlight for type. */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,200..800&display=swap");

@font-face {
  font-family: "Paperlogy";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --night: #060d1f;
  --deep: #0b1833;
  --horizon: #1a2f5c;
  --star: #f4f8ff;
  --sky: #a9d6ff;
  --blue: #208efd;
  --coral: #ff9887;
  --mint: #55dfc1;
  --gold: #f6c453;
  --text: rgba(226, 236, 255, 0.82);
  --muted: rgba(214, 228, 255, 0.6);
  --faint: rgba(214, 228, 255, 0.4);
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.04);
  --f-latin: "Bricolage Grotesque", "Pretendard Variable", sans-serif;
  --f-kr: "Paperlogy", "Pretendard Variable", sans-serif;
  --f-body: "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: linear-gradient(180deg, var(--night) 0%, var(--deep) 55%, #12244a 100%) fixed;
  font-family: var(--f-body);
  line-height: 1.7;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* The sky: stars on a canvas behind everything, and a low glow at the horizon. */
#sky { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.horizon { position: fixed; right: 0; bottom: 0; left: 0; z-index: 0; height: 45vh; pointer-events: none; background: radial-gradient(70% 100% at 50% 100%, rgba(32, 142, 253, 0.16), transparent 70%); }
.page { position: relative; z-index: 1; }

/* Top bar --------------------------------------------------------------------------------------- */
.bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.9rem, 2.4vw, 1.5rem) var(--pad);
  background: linear-gradient(rgba(6, 13, 31, 0.92) 40%, rgba(6, 13, 31, 0));
}
.brand { font-family: var(--f-latin); font-size: 1.3rem; font-weight: 800; font-stretch: 87.5%; letter-spacing: -0.02em; color: var(--star); }
.brand span { color: var(--sky); }
.nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.8rem); font-size: 0.92rem; font-weight: 600; }
.nav a { color: var(--muted); transition: color 0.25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--star); }
.nav .home { padding: 0.45rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; color: var(--star); transition: border-color 0.25s, background-color 0.25s; }
.nav .home:hover { border-color: var(--sky); background: rgba(169, 214, 255, 0.08); }

/* Shared type -------------------------------------------------------------------------------------- */
.eyebrow { font-family: var(--f-latin); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  background: var(--blue);
  font-weight: 800;
  color: #fff;
  box-shadow: 0 16px 34px -16px rgba(32, 142, 253, 0.9);
  transition: background-color 0.25s;
}
.btn:hover { background: #1478dd; }
.btn.line { border: 1.5px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); box-shadow: none; }
.btn.line:hover { border-color: #fff; }
.mask { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
/* Starlight on type: a pale core and a faint halo. */
.lit { color: var(--star); text-shadow: 0 0 0.03em rgba(200, 225, 255, 0.8), 0 0 0.16em rgba(90, 150, 255, 0.28); }
.spark { position: absolute; top: 48%; left: 50%; width: 0.5em; height: 0.5em; margin: -0.25em 0 0 -0.25em; overflow: visible; fill: #fff; filter: drop-shadow(0 0 0.06em #bfe0ff); pointer-events: none; visibility: hidden; }
.ch { position: relative; display: inline-block; }
.ch .g { display: inline-block; }
/* With motion on, titles that light up wait hidden until the script takes them over. */
.motion [data-ignite] { opacity: 0; }

/* Hero ------------------------------------------------------------------------------------------- */
.hero { position: relative; display: grid; overflow: clip; min-height: 100svh; align-content: center; padding: 7rem var(--pad) 4rem; }
.hero-copy { position: relative; z-index: 2; max-width: 62rem; }
/* The name, as on nuroplay.kr: sized to span the column, Nuro in starlight and Creator in sky blue. */
.hero-copy { max-width: none; }
.hero-title {
  margin: 1.2rem 0 0;
  font-family: var(--f-latin);
  font-size: min(15rem, 26vh, calc((100vw - 2 * var(--pad)) / 5.7));
  font-weight: 800;
  font-stretch: 87.5%;
  line-height: 0.95;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.hero-title .t-creator, .hero-title .t-creator .g { color: var(--sky); }
/* After lighting, each letter breathes at its own pace. */
.twinkle { animation: twinkle var(--tw, 3s) ease-in-out var(--twd, 0s) infinite alternate; }
@keyframes twinkle { to { opacity: 0.72; } }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: clamp(1.4rem, 3.5vh, 2.4rem); }
.hero-row > div { max-width: 36rem; }
.hero-kicker { margin: 0; font-family: var(--f-latin); font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
.hero-kicker em { font-style: normal; color: var(--sky); }
.hero-kr { margin: 0.5rem 0 0; font-family: var(--f-kr); font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--star); }
.hero-sub { max-width: 32rem; margin: 0.6rem 0 0; font-size: clamp(1rem, 1.2vw, 1.12rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: clamp(1.6rem, 4vh, 2.4rem); }
.hero-foot { position: absolute; right: var(--pad); bottom: 1.6rem; left: var(--pad); display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-latin); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; color: var(--faint); }
/* The five members as one constellation. */
.constellation { position: absolute; right: var(--pad); bottom: 9vh; z-index: 1; width: min(30vw, 26rem); height: auto; overflow: visible; }
.constellation path { fill: none; stroke: rgba(169, 214, 255, 0.42); stroke-width: 1.2; stroke-dasharray: 2 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.constellation .node circle { fill: var(--star); }
.constellation .node .halo { fill: rgba(169, 214, 255, 0.18); }
.constellation .node.lead circle:not(.halo) { fill: var(--gold); }
.constellation text { font-family: var(--f-kr); font-size: 13px; font-weight: 800; fill: var(--muted); }

/* The way in: up from the ivory ground, through the clouds, into the night ------------------------- */
.ascent, .ascent-skip { display: none; }
.ascend .ascent { position: fixed; inset: 0; z-index: 60; display: block; overflow: hidden; background: #f8f6f1; }
/* The sky, three screens tall: night at the top, the ground filling the bottom third, which is
   where the page starts. (Placed with `translate`, so the script's own movement adds to it cleanly.) */
.ascent-sky {
  position: absolute;
  inset: 0 0 auto;
  height: 300%;
  translate: 0 -66.6667%;
  background: linear-gradient(#081329 0%, #0e1d3e 18%, #1a2f5c 30%, #33568f 40%, #75a6d6 49%, #b3d8f0 56%, #ddeef6 62%, #f8f6f1 67%);
}
.ascent-ground { position: absolute; top: 83.333%; right: 0; left: 0; margin: 0; translate: 0 -50%; text-align: center; font-family: var(--f-kr); font-size: clamp(1.3rem, 2.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; color: #19344f; }
.ascent-ground i { display: inline-block; font-style: normal; color: var(--blue); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0.12em); } 50% { transform: translateY(-0.12em); } }
.ascent-clouds { position: absolute; inset: 0; translate: 0 -100%; pointer-events: none; }
.cloud {
  position: absolute;
  aspect-ratio: 2.6;
  --puff: radial-gradient(closest-side, #fff 58%, rgba(255, 255, 255, 0));
  background:
    var(--puff) 4% 78% / 34% 62% no-repeat,
    var(--puff) 28% 44% / 40% 86% no-repeat,
    var(--puff) 58% 30% / 46% 100% no-repeat,
    var(--puff) 90% 70% / 34% 64% no-repeat,
    radial-gradient(closest-side, #fff 64%, rgba(255, 255, 255, 0)) 50% 92% / 96% 44% no-repeat;
}
.ascent-alt { position: absolute; top: 50%; right: var(--pad); display: grid; justify-items: end; gap: 0.3rem; margin: 0; translate: 0 -50%; font-family: var(--f-latin); color: #19344f; }
.ascent-alt span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.26em; opacity: 0.62; }
.ascent-alt em { font-style: normal; font-size: 0.95rem; font-weight: 700; }
.ascent-alt b { font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ascend .ascent-skip { position: fixed; right: var(--pad); bottom: 1.4rem; z-index: 61; display: block; padding: 0.55rem 1.1rem; border: 1px solid rgba(25, 52, 79, 0.25); border-radius: 999px; background: rgba(255, 255, 255, 0.7); font-size: 0.85rem; font-weight: 700; color: #19344f; }

/* Sections ------------------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(6rem, 14vh, 10rem) var(--pad); }
.sec-head { max-width: 56rem; margin-bottom: clamp(2.4rem, 6vh, 4rem); }
.sec-title { margin: 1rem 0 0; font-family: var(--f-kr); font-size: clamp(2.2rem, 5vw, 4.8rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.045em; color: var(--star); }
.sec-title em { font-style: normal; color: var(--sky); }
.sec-lede { max-width: 36rem; margin: 1.2rem 0 0; font-size: clamp(1rem, 1.2vw, 1.12rem); color: var(--muted); word-break: keep-all; }

/* Members ---------------------------------------------------------------------------------------- */
.leader, .mcard {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  transition: border-color 0.35s, background-color 0.35s;
}
.leader { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center; padding: clamp(1.6rem, 3vw, 2.6rem); margin-bottom: 1.1rem; border-color: rgba(246, 196, 83, 0.32); background: linear-gradient(120deg, rgba(246, 196, 83, 0.1), rgba(255, 255, 255, 0.02) 60%); }
.members { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.1rem; }
.mcard { padding: 1.6rem; }
.leader:hover, .mcard:hover { border-color: rgba(169, 214, 255, 0.45); }
/* The avatar: the member's colour (or their channel picture) inside a slowly turning ring of light. */
.ava { position: relative; display: grid; flex: none; place-items: center; width: 4.8rem; height: 4.8rem; border-radius: 50%; font-family: var(--f-kr); font-size: 1.8rem; font-weight: 800; color: #0b1833; }
.leader .ava { width: 7.5rem; height: 7.5rem; font-size: 2.8rem; }
.ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ava::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, var(--sky), var(--mint), var(--gold), var(--coral), var(--sky));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ring 9s linear infinite;
}
@keyframes ring { to { transform: rotate(1turn); } }
.role { display: inline-flex; align-items: center; gap: 0.35rem; margin: 1rem 0 0.35rem; padding: 0.2rem 0.65rem; border-radius: 999px; font-family: var(--f-latin); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.leader .role { margin-top: 0; }
.role.leader-b { background: rgba(246, 196, 83, 0.14); color: var(--gold); }
.role.member-b { background: rgba(169, 214, 255, 0.12); color: var(--sky); }
.mname { margin: 0.2rem 0 0.4rem; font-family: var(--f-kr); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--star); }
.leader .mname { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.mdesc { margin: 0; font-size: 0.95rem; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.plats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.42rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.82rem; font-weight: 700; color: var(--text); transition: border-color 0.25s, background-color 0.25s; }
.chip:hover { border-color: rgba(169, 214, 255, 0.5); background: rgba(169, 214, 255, 0.08); }
.chip b { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--c, var(--sky)); }
.chip.yt { --c: #ff5c5c; }
.chip.cz { --c: var(--mint); }
.chip[aria-disabled="true"] { opacity: 0.45; cursor: default; }
.note { margin-top: 1.2rem; font-size: 0.85rem; color: var(--faint); }

/* What they make --------------------------------------------------------------------------------- */
.acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.act { padding: clamp(1.4rem, 2.4vw, 2rem); border: 1px solid var(--line); border-radius: 1.4rem; background: var(--panel); transition: border-color 0.3s, background-color 0.3s; }
.act:hover { border-color: rgba(169, 214, 255, 0.45); background: rgba(169, 214, 255, 0.07); }
.act b { display: flex; align-items: center; gap: 0.5rem; font-family: var(--f-latin); font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 800; font-stretch: 87.5%; letter-spacing: -0.01em; color: var(--sky); }
.act:first-child b::after { content: ""; width: 0.28em; height: 0.28em; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0.12em rgba(255, 152, 135, 0.2); }
.act p { margin: 0.6rem 0 0; font-size: 0.95rem; color: var(--muted); word-break: keep-all; }

/* Channels ------------------------------------------------------------------------------------- */
.meet { text-align: center; }
.meet .sec-head { margin-inline: auto; }
.meet .plats { justify-content: center; }

/* Subpages ------------------------------------------------------------------------------------- */
.sub-hero { padding: clamp(9rem, 20vh, 12rem) var(--pad) clamp(2rem, 5vh, 3rem); }
.sub-title { margin: 1rem 0 0; font-family: var(--f-kr); font-size: clamp(3rem, min(8vw, 14vh), 7.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.05em; }
.sub-hero p { max-width: 34rem; margin: 1.1rem 0 0; color: var(--muted); }
.feed { padding: 0 var(--pad) clamp(6rem, 14vh, 9rem); }
.tabs { display: inline-flex; gap: 0.4rem; margin-bottom: 1.8rem; padding: 0.35rem; border: 1px solid var(--line); border-radius: 999px; }
.tab { padding: 0.55rem 1.2rem; border-radius: 999px; font-weight: 700; color: var(--muted); transition: background-color 0.25s, color 0.25s; }
.tab[aria-selected="true"] { background: var(--star); color: var(--deep); }
.soon { padding: 3rem 1.5rem; border: 1px dashed var(--line); border-radius: 1.4rem; text-align: center; color: var(--muted); }

/* Posts from the feed (news-feed.js builds these). */
.synced-news { margin: 0 0 1.1rem; padding: clamp(1.4rem, 2.6vw, 2rem); border: 1px solid var(--line); border-radius: 1.4rem; background: var(--panel); overflow-wrap: anywhere; }
.synced-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; font-size: 0.82rem; font-weight: 700; color: var(--sky); }
.synced-meta time { font-family: var(--f-latin); font-weight: 600; color: var(--faint); }
.synced-news h3 { margin: 0.8rem 0; font-family: var(--f-kr); font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 800; line-height: 1.35; letter-spacing: -0.03em; color: var(--star); }
.synced-body { margin: 0; white-space: pre-wrap; line-height: 1.9; color: var(--text); }
.synced-news > img { max-height: 800px; margin: 1.2rem auto; border-radius: 1rem; object-fit: contain; }
.synced-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.synced-links a { padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; font-weight: 700; color: var(--sky); }
.synced-news footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--faint); }
.synced-news footer a { font-weight: 700; color: var(--sky); }
.schedule-filter, .member-news-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.schedule-chip { padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--muted); transition: border-color 0.25s, background-color 0.25s, color 0.25s; }
.schedule-chip:hover { border-color: rgba(169, 214, 255, 0.5); color: var(--star); }
.schedule-chip[aria-pressed="true"] { border-color: var(--star); background: var(--star); color: var(--deep); }
.schedule-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1.1rem; }
.schedule-card .schedule-author { font-size: 0.92rem; font-weight: 800; color: var(--sky); }
.schedule-card .schedule-edited { font-size: 0.75rem; color: var(--gold); }
.schedule-card .schedule-img { margin: 1rem auto; border-radius: 1rem; }
.schedule-card .schedule-change-note { margin: 0.8rem 0 0; padding: 0.7rem 0.9rem; border: 1px solid rgba(246, 196, 83, 0.25); border-radius: 0.8rem; background: rgba(246, 196, 83, 0.08); font-size: 0.88rem; color: var(--gold); }

/* Footer ---------------------------------------------------------------------------------------- */
.foot { position: relative; z-index: 1; overflow: hidden; padding: clamp(4rem, 10vh, 6rem) var(--pad) 1.4rem; border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.6rem; font-size: 0.9rem; color: var(--muted); }
.foot-row a:hover { color: var(--star); }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
/* The name, huge and dim, lit letter by letter as the page ends. */
.foot-mark { margin-top: clamp(2.4rem, 6vh, 4rem); font-family: var(--f-latin); font-size: min(17rem, calc((100vw - 2 * var(--pad)) / 5.6)); font-weight: 800; font-stretch: 87.5%; line-height: 0.95; letter-spacing: -0.04em; white-space: nowrap; color: rgba(169, 214, 255, 0.1); user-select: none; }
.foot-mark .ch.on { color: var(--star); text-shadow: 0 0 0.04em rgba(200, 225, 255, 0.7), 0 0 0.2em rgba(90, 150, 255, 0.3); }

@media (max-width: 960px) {
  .constellation { right: -10vw; bottom: 8vh; width: 70vw; opacity: 0.4; }
  .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .nav a:not(.home) { display: none; }
  .leader { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .hero-foot span:nth-child(2) { display: none; }
  .acts { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ava::after { animation: none; }
}
