:root {
  --red: #ff3b3b;
  --orange: #ff8a1f;
  --yellow: #ffd23f;
  --green: #2fd27a;
  --blue: #3b8bff;
  --purple: #a45bff;
  --black: #0b0b10;
  --ink: #050507;
  --silver: #c9ced8;
  --silver-dim: #8b919e;
  --panel: #14141c;
  --panel-2: #1b1b26;
  --line: rgba(201, 206, 216, 0.16);
  --rainbow: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple));
  --radius: 22px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(164, 91, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(59, 139, 255, 0.12), transparent 60%), var(--black);
  color: #eef0f5;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }

.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.8s; }
body.snowing .snow { opacity: 1; }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--yellow); color: var(--ink); padding: 0.6rem 1rem; border-radius: 10px; z-index: 50; font-weight: 800; }
.skip-link:focus { top: 1rem; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(11, 11, 16, 0.78); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rainbow); opacity: 0.8; }
.logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; font-weight: 900; letter-spacing: 0.08em; line-height: 1.05; }
.logo b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--rainbow); color: var(--ink); font-size: 1.35rem; }
.logo small { font-size: 0.62rem; color: var(--silver-dim); letter-spacing: 0.14em; }
nav { display: flex; gap: 0.2rem; flex-wrap: wrap; }
nav a { text-decoration: none; padding: 0.4rem 0.75rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem; color: var(--silver); }
nav a:hover, nav a:focus-visible { background: var(--panel-2); color: #fff; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; color: var(--silver); white-space: nowrap; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border: 0; border-radius: 999px; padding: 0.85rem 1.35rem;
  font: inherit; font-weight: 800; font-size: 0.98rem; text-decoration: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:focus-visible, input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.button-rainbow { background: var(--rainbow); color: var(--ink); box-shadow: 0 8px 30px rgba(164, 91, 255, 0.3); }
.button-silver { background: linear-gradient(180deg, #eef0f5, var(--silver)); color: var(--ink); }
.button-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.button-ghost:hover { box-shadow: inset 0 0 0 2px var(--silver); }

/* hero */
.hero {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem);
  max-width: 1300px; margin: 0 auto;
}
.kicker, .card-label, .section-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; color: var(--silver-dim); margin: 0 0 0.8rem; }
.rainbow-name { margin: 0; font-size: clamp(5.5rem, 20vw, 14rem); line-height: 0.85; font-weight: 900; letter-spacing: -0.02em; display: flex; }
.rainbow-name span { display: inline-block; animation: bob 3.2s ease-in-out infinite; text-shadow: 0 0 40px currentColor; }
.rainbow-name span:nth-child(1) { color: var(--red); }
.rainbow-name span:nth-child(2) { color: var(--yellow); animation-delay: 0.2s; }
.rainbow-name span:nth-child(3) { color: var(--green); animation-delay: 0.4s; }
.rainbow-name span:nth-child(4) { color: var(--blue); animation-delay: 0.6s; }
.rainbow-name span:hover { color: var(--purple); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
.hero-intro { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 34ch; color: var(--silver); margin: 1.4rem 0 1.8rem; }
.hero-intro em { color: var(--yellow); font-style: normal; font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); position: relative; overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--rainbow); }
.hero-card dl { margin: 0; display: grid; gap: 0.9rem; }
.hero-card dl div { border-bottom: 1px dashed var(--line); padding-bottom: 0.7rem; }
.hero-card dt { font-size: 0.82rem; color: var(--silver-dim); font-weight: 700; }
.hero-card dd { margin: 0.1rem 0 0; font-size: 1.2rem; font-weight: 800; }
.countdown-mini { margin: 1rem 0 0; font-weight: 800; color: var(--green); }
.countdown-mini span { color: var(--red); font-size: 1.4rem; }

/* marquee */
.marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); padding: 0.9rem 0; }
.marquee-track { display: flex; gap: 1.4rem; width: max-content; animation: scroll 32s linear infinite; font-weight: 900; letter-spacing: 0.12em; font-size: 1.05rem; }
.marquee b { color: var(--silver-dim); }
@keyframes scroll { to { transform: translateX(-50%); } }
.c-red { color: var(--red); } .c-orange { color: var(--orange); } .c-yellow { color: var(--yellow); } .c-green { color: var(--green); }
.c-blue { color: var(--blue); } .c-purple { color: var(--purple); } .c-silver { color: var(--silver); }
.c-black { color: var(--ink); -webkit-text-stroke: 1px var(--silver); }

/* sections */
.section, .hero { scroll-margin-top: 80px; }
.section { position: relative; z-index: 2; padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 6vw, 5rem); max-width: 1300px; margin: 0 auto; }
.section-alt { max-width: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent); border-block: 1px solid var(--line); }
.section-alt > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.section-label span { display: inline-grid; place-items: center; min-width: 2.2rem; height: 1.6rem; margin-right: 0.5rem; border-radius: 999px; background: var(--rainbow); color: var(--ink); }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; margin: 0 0 1.2rem; font-weight: 900; letter-spacing: -0.02em; }
h2 em { font-style: normal; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
h3 { margin: 0; }
p { margin: 0 0 1rem; }
.lede { max-width: 60ch; color: var(--silver); font-size: 1.12rem; margin-bottom: 2.2rem; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split p { color: var(--silver); }

/* art studio */
.studio-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-top: 1.6rem; }
.chaos { display: grid; gap: 0.3rem; font-weight: 700; font-size: 0.9rem; color: var(--silver); }
.chaos b { color: var(--yellow); }
.chaos input { accent-color: var(--purple); width: 170px; }
.easel { margin: 0; }
.easel canvas {
  width: 100%; height: auto; aspect-ratio: 900 / 640; border-radius: var(--radius); background: var(--ink);
  border: 3px solid transparent; background-image: linear-gradient(var(--ink), var(--ink)), var(--rainbow);
  background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
}
.easel figcaption { margin-top: 0.8rem; color: var(--silver-dim); font-size: 0.92rem; }
.easel figcaption i { color: var(--silver); }

/* swatches */
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.swatch { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; transition: transform 0.2s, box-shadow 0.2s; }
.swatch:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 16px 40px color-mix(in srgb, var(--sw) 35%, transparent); }
.swatch i { display: block; height: 90px; border-radius: 14px; background: var(--sw); margin-bottom: 0.9rem; }
.swatch-black i { box-shadow: inset 0 0 0 2px var(--line); }
.swatch-silver i { background: linear-gradient(135deg, #f3f5f9, var(--silver) 45%, #8b919e 70%, #eef0f5); }
.swatch h3 { font-size: 1.2rem; }
.swatch p { color: var(--silver-dim); font-size: 0.92rem; margin: 0.2rem 0 0; }

/* music */
.player { display: flex; gap: 1.5rem; align-items: center; background: linear-gradient(135deg, rgba(164, 91, 255, 0.22), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.vinyl { flex: 0 0 auto; width: 170px; height: 170px; border-radius: 50%; box-shadow: 0 0 0 4px var(--silver-dim), 0 20px 50px rgba(0, 0, 0, 0.6); animation: spin 6s linear infinite; }
.vinyl.fast { animation-duration: 0.6s; }
@keyframes spin { to { transform: rotate(360deg); } }
.track h3 { font-size: 1.8rem; color: var(--purple); }
.track p { color: var(--silver); }
.eq { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin: 0.4rem 0 1.1rem; }
.eq i { width: 7px; border-radius: 4px; background: var(--rainbow); background-size: 700% 100%; animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(1) { background: var(--red); animation-delay: -0.1s; } .eq i:nth-child(2) { background: var(--orange); animation-delay: -0.5s; }
.eq i:nth-child(3) { background: var(--yellow); animation-delay: -0.3s; } .eq i:nth-child(4) { background: var(--green); animation-delay: -0.8s; }
.eq i:nth-child(5) { background: var(--blue); animation-delay: -0.2s; } .eq i:nth-child(6) { background: var(--purple); animation-delay: -0.6s; }
.eq i:nth-child(7) { background: var(--silver); animation-delay: -0.4s; }
@keyframes eq { from { height: 6px; } to { height: 34px; } }
.track-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
blockquote { margin: 1.8rem 0 0; padding: 1.2rem 1.4rem; border-left: 5px solid var(--purple); background: var(--panel); border-radius: 0 16px 16px 0; }
blockquote p { font-size: 1.5rem; font-weight: 900; color: #fff !important; margin: 0; }
cite { color: var(--silver-dim); font-style: normal; font-size: 0.9rem; }

/* christmas */
.section-xmas { max-width: none; background: radial-gradient(800px 400px at 50% 0%, rgba(255, 59, 59, 0.14), transparent 70%), radial-gradient(800px 400px at 50% 100%, rgba(47, 210, 122, 0.12), transparent 70%); }
.section-xmas > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.section-xmas strong { color: var(--red); }
.policy { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.policy-card { border-radius: var(--radius); padding: 1.6rem; border: 2px solid var(--line); background: var(--panel); }
.policy-card h3 { font-size: 1.7rem; }
.verdict { display: inline-block; margin: 0.8rem 0; padding: 0.35rem 0.9rem; border-radius: 999px; font-weight: 900; letter-spacing: 0.12em; font-size: 0.85rem; }
.policy-card p:last-child { color: var(--silver); margin: 0; }
.policy-no { opacity: 0.75; }
.policy-no h3 { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 4px; }
.policy-no .verdict { background: rgba(255, 59, 59, 0.15); color: var(--red); }
.policy-yes { border-color: var(--green); box-shadow: 0 0 50px rgba(47, 210, 122, 0.18); }
.policy-yes .verdict { background: var(--green); color: var(--ink); }
.countdown { margin-top: 1.6rem; padding: 1.8rem; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line); text-align: center; }
.count-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.count-grid b { display: block; font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.count-grid div:nth-child(odd) b { color: var(--red); }
.count-grid div:nth-child(even) b { color: var(--green); }
.count-grid small { color: var(--silver-dim); font-weight: 800; letter-spacing: 0.15em; font-size: 0.72rem; }
.lights { display: flex; justify-content: space-between; margin-top: 1.6rem; padding: 0 0.5rem; border-top: 2px solid #333; }
.lights i { width: 14px; height: 20px; margin-top: -2px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; animation: twinkle 1.6s ease-in-out infinite; }
.lights i:nth-child(6n+1) { background: var(--red); color: var(--red); } .lights i:nth-child(6n+2) { background: var(--orange); color: var(--orange); animation-delay: 0.3s; }
.lights i:nth-child(6n+3) { background: var(--yellow); color: var(--yellow); animation-delay: 0.6s; } .lights i:nth-child(6n+4) { background: var(--green); color: var(--green); animation-delay: 0.9s; }
.lights i:nth-child(6n+5) { background: var(--blue); color: var(--blue); animation-delay: 1.2s; } .lights i:nth-child(6n) { background: var(--purple); color: var(--purple); animation-delay: 1.5s; }
@keyframes twinkle { 0%, 100% { opacity: 1; box-shadow: 0 0 14px currentColor; } 50% { opacity: 0.35; box-shadow: none; } }

/* cats */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.cat-card { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1.2rem; align-items: center; }
.cat { width: 170px; flex: 0 0 auto; transition: transform 0.25s; }
.cat-card:hover .cat, .cats.petted .cat { transform: rotate(-4deg) scale(1.04); }
.eye { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }
.cat-card h3 { font-size: 1.5rem; }
.cat-card p { color: var(--silver-dim); margin: 0.3rem 0 0; }
.pet-zone { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.6rem; }
.pet-zone p { margin: 0; font-weight: 800; color: var(--silver); }
.pet-zone b { color: var(--purple); font-size: 1.4rem; }

/* family */
.siblings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sib { display: flex; gap: 0.9rem; align-items: center; padding: 1.1rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: transform 0.2s, border-color 0.2s; }
a.sib:hover { transform: translateY(-4px); border-color: var(--silver); }
.sib b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--panel-2); border: 2px solid var(--silver-dim); font-size: 1.3rem; font-weight: 900; }
.sib span { display: grid; }
.sib small { color: var(--silver-dim); }
.sib-you { border: 2px solid transparent; background-image: linear-gradient(var(--panel), var(--panel)), var(--rainbow); background-origin: border-box; background-clip: padding-box, border-box; }
.sib-you b { background: var(--rainbow); color: var(--ink); border: 0; }

/* footer */
.site-footer { position: relative; z-index: 2; text-align: center; padding: 3rem 1rem 3.5rem; color: var(--silver-dim); }
.rainbow-bar { height: 6px; max-width: 420px; margin: 0 auto 1.6rem; border-radius: 6px; background: var(--rainbow); }
.site-footer strong { color: #fff; letter-spacing: 0.1em; }
.fine b { color: var(--green); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, calc(100% + 3rem)); visibility: hidden; z-index: 60; background: var(--silver); color: var(--ink); font-weight: 800; padding: 0.8rem 1.3rem; border-radius: 999px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); transition: transform 0.3s, visibility 0.3s; max-width: calc(100vw - 2rem); text-align: center; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* responsive */
@media (max-width: 980px) {
  .status { display: none; }
  .hero, .split { grid-template-columns: 1fr; }
  .swatches, .siblings { grid-template-columns: repeat(2, 1fr); }
  .cats, .policy { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { flex-wrap: wrap; }
  nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  .section, .hero { scroll-margin-top: 120px; }
  nav a { white-space: nowrap; }
  .player, .cat-card { flex-direction: column; text-align: center; }
  .track-actions, .eq { justify-content: center; }
  .count-grid { grid-template-columns: repeat(2, 1fr); }
  .swatch i { height: 64px; }
  .siblings { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
