:root {
  --bg: #04060d;
  --bg2: #080d1c;
  --panel: rgba(14, 22, 46, 0.62);
  --line: rgba(120, 160, 255, 0.16);
  --blue: #2f6bff;
  --blue2: #5b9bff;
  --sky: #9fd0ff;
  --ice: #e8f1ff;
  --white: #ffffff;
  --text: #c6d3f0;
  --mute: #7d8db3;
  --font-d: "Sora", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% 8%, rgba(47, 107, 255, 0.2), transparent 60%),
    radial-gradient(800px 600px at 92% 38%, rgba(91, 155, 255, 0.12), transparent 60%),
    radial-gradient(700px 500px at 30% 100%, rgba(47, 107, 255, 0.16), transparent 60%);
}

body:not(.ready) {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-d);
  color: var(--white);
  line-height: 1.1;
}

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
  pointer-events: none;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sky);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin: 16px 0 14px;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--mute);
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.9s var(--ease);
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.06);
}

.loader-core {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.loader-ring {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid rgba(91, 155, 255, 0.18);
  border-top-color: var(--blue2);
  animation: spin 1s linear infinite;
}

.loader-ring span {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-bottom-color: var(--white);
  animation: spin 1.4s linear infinite reverse;
}

.loader-text {
  font-family: var(--font-d);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute);
}

.loader-bar {
  width: 200px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.loader-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transition: width 0.2s ease;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%;
  margin: -4px 0 0 -4px;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid rgba(159, 208, 255, 0.6);
  transition: opacity 0.3s ease, width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background 0.3s ease;
}

.cursor-ring.hover {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(47, 107, 255, 0.16);
}

body.has-cursor,
body.has-cursor a,
body.has-cursor button {
  cursor: none;
}

body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring {
  opacity: 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 120;
  background: linear-gradient(90deg, var(--blue), var(--sky), var(--white));
  box-shadow: 0 0 14px rgba(91, 155, 255, 0.8);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  z-index: 130;
  padding: 14px 26px;
  border-radius: 999px;
  background: rgba(10, 16, 34, 0.92);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--font-d);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(47, 107, 255, 0.35);
  opacity: 0;
  transform: translate(-50%, 30px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4vw;
  transition: padding 0.4s var(--ease), background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  padding: 14px 4vw;
  background: rgba(4, 6, 13, 0.72);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-d);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(91, 155, 255, 0.8);
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mute);
  transition: color 0.3s ease, background 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(91, 155, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.nav-toggle span:first-child {
  top: 17px;
}

.nav-toggle span:last-child {
  top: 25px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 6vw 80px;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}

.orb-a {
  width: 460px;
  height: 460px;
  left: -120px;
  top: 8%;
  background: #1d4fe0;
  animation: float 14s ease-in-out infinite;
}

.orb-b {
  width: 380px;
  height: 380px;
  right: 6%;
  top: 14%;
  background: #4a8cff;
  opacity: 0.35;
  animation: float 18s ease-in-out infinite reverse;
}

.orb-c {
  width: 320px;
  height: 320px;
  right: 30%;
  bottom: -80px;
  background: #0b2a8f;
  animation: float 16s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-title {
  margin: 22px 0 24px;
  font-size: clamp(3.4rem, 11vw, 8.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0;
}

.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}

.hero-title .line:nth-child(2) > span {
  transition-delay: 0.12s;
}

.hero-title .line:nth-child(3) > span {
  transition-delay: 0.24s;
}

body.ready .hero-title .line > span {
  transform: none;
}

.name-line {
  font-size: 0.42em;
  letter-spacing: -0.02em;
  margin-top: 0.1em;
}

.grad {
  background: linear-gradient(90deg, #ffffff, var(--sky) 40%, var(--blue) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.1em;
}

.hero-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease) 0.5s, transform 1s var(--ease) 0.5s;
}

body.ready .hero-fade {
  opacity: 1;
  transform: none;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--text);
  min-height: 2em;
  font-weight: 500;
}

.typed {
  color: var(--white);
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 4px;
  vertical-align: text-bottom;
  background: var(--sky);
  animation: blink 1s steps(1) infinite;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-d);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, background 0.4s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #1b45c9);
  box-shadow: 0 10px 34px rgba(47, 107, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}

.btn.primary:hover::after {
  transform: translateX(120%);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(47, 107, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn.ghost {
  color: var(--white);
  border: 1px solid rgba(159, 208, 255, 0.35);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.btn.ghost:hover {
  transform: translateY(-3px);
  background: rgba(91, 155, 255, 0.16);
  border-color: var(--sky);
}

.hero-orbit {
  position: absolute;
  right: 6vw;
  top: 50%;
  width: min(460px, 38vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  z-index: 1;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(159, 208, 255, 0.22);
  animation: spin 30s linear infinite;
}

.ring i {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 18px var(--blue2);
}

.r1 {
  inset: 0;
}

.r2 {
  inset: 12%;
  animation-duration: 22s;
  animation-direction: reverse;
  border-style: dashed;
}

.r2 i {
  background: var(--white);
}

.r3 {
  inset: 26%;
  animation-duration: 16s;
}

.orbit-core {
  position: absolute;
  inset: 38%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: radial-gradient(circle at 35% 30%, #4a8cff, #0e2a86 70%, #050a1d);
  box-shadow: 0 0 80px rgba(47, 107, 255, 0.7), inset 0 0 30px rgba(255, 255, 255, 0.2);
  animation: pulse 4s ease-in-out infinite;
}

.orbit-core svg {
  width: 42%;
  height: 42%;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 26px;
  height: 44px;
  margin-left: -13px;
  border: 1.5px solid rgba(159, 208, 255, 0.4);
  border-radius: 14px;
  z-index: 2;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--sky);
  animation: cue 1.8s ease-in-out infinite;
}

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 28, 0.6);
  backdrop-filter: blur(10px);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(159, 208, 255, 0.55);
}

.marquee-track span:nth-child(even) {
  color: var(--white);
  -webkit-text-stroke: 0;
}

.marquee-track span::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--blue2);
  transform: rotate(45deg);
  box-shadow: 0 0 14px var(--blue);
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 270px;
  padding: 32px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(22, 36, 78, 0.7), rgba(7, 11, 26, 0.78));
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 155, 255, 0.24), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover::before,
.panel:hover::before {
  opacity: 1;
}

.card.reveal.in,
.panel.reveal.in {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.card.tilting,
.panel.tilting {
  transition: opacity 0.9s var(--ease), transform 0.12s linear;
}

.c-blue,
.c-val,
.c-uke {
  grid-column: span 2;
}

.c-glam,
.c-mmo {
  grid-column: span 3;
}

.card-num {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: var(--font-d);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: rgba(159, 208, 255, 0.4);
}

.icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
  border-radius: 18px;
  color: var(--sky);
  background: rgba(47, 107, 255, 0.14);
  border: 1px solid rgba(91, 155, 255, 0.3);
  box-shadow: 0 0 30px rgba(47, 107, 255, 0.25);
  transition: transform 0.5s var(--ease), background 0.4s ease, color 0.4s ease;
}

.icon svg {
  width: 28px;
  height: 28px;
}

.card:hover .icon {
  transform: translateZ(30px) rotate(-8deg) scale(1.08);
  background: var(--blue);
  color: var(--white);
}

.card h3 {
  font-size: 1.7rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--mute);
  font-size: 0.98rem;
}

.tag {
  margin-top: auto;
  align-self: flex-start;
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-d);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  border: 1px solid rgba(91, 155, 255, 0.35);
  background: rgba(47, 107, 255, 0.1);
}

.chips {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.chips i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.4s var(--ease);
}

.chips i:nth-child(1) {
  background: #050a1f;
}

.chips i:nth-child(2) {
  background: #1b45c9;
}

.chips i:nth-child(3) {
  background: #3f86ff;
}

.chips i:nth-child(4) {
  background: #a6d4ff;
}

.chips i:nth-child(5) {
  background: #ffffff;
}

.card:hover .chips i:nth-child(odd) {
  transform: translateY(-6px);
}

.card:hover .chips i:nth-child(even) {
  transform: translateY(4px);
}

.uke {
  max-width: 920px;
  margin: 0 auto;
}

.uke-board {
  position: relative;
  padding: 18px 0;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #0c1531, #050914);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(47, 107, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  user-select: none;
  touch-action: manipulation;
}

.fret-grid {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 64px;
  right: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
}

.fret-grid i {
  border-right: 3px solid rgba(190, 215, 255, 0.28);
}

.fret-grid i:last-child {
  border-right: 0;
}

.string {
  position: relative;
  display: flex;
  align-items: center;
  height: 68px;
  cursor: pointer;
}

.string:hover .string-line {
  background: linear-gradient(90deg, var(--ice), var(--sky));
  box-shadow: 0 0 16px rgba(91, 155, 255, 0.7);
}

.string-label {
  flex: none;
  width: 64px;
  text-align: center;
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sky);
}

.string-line {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #c9d9f5, #8fb0e8);
  box-shadow: 0 0 8px rgba(143, 176, 232, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.string:nth-of-type(2) .string-line {
  height: 3.5px;
}

.string:nth-of-type(3) .string-line {
  height: 4px;
}

.string:nth-of-type(4) .string-line {
  height: 4.5px;
}

.string.vibe .string-line {
  animation: vibe 0.9s ease-out;
  background: linear-gradient(90deg, #ffffff, var(--sky));
  box-shadow: 0 0 22px rgba(159, 208, 255, 0.95);
}

.ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid var(--sky);
  pointer-events: none;
  animation: ripple 0.8s ease-out forwards;
}

.fret-labels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding-left: 64px;
  margin-top: 12px;
  font-family: var(--font-d);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.fret-labels span {
  text-align: center;
}

.uke-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
  padding: 24px 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.note-out {
  display: grid;
  gap: 2px;
  min-width: 110px;
}

.note-title {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.note-out strong {
  font-family: var(--font-d);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 0 24px rgba(91, 155, 255, 0.8);
}

.note-out strong.pop {
  animation: pop 0.4s var(--ease);
}

.eq {
  flex: 1;
  min-width: 180px;
  height: 56px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.eq i {
  flex: 1;
  height: 8%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--sky), var(--blue));
  opacity: 0.45;
  transform-origin: bottom;
}

.eq.live i {
  opacity: 1;
  animation: eq var(--s, 0.8s) ease-in-out infinite alternate;
}

.glam-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.case {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 26px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #0d1736, #04070f);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pan {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--c2), var(--c1) 72%);
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.4s ease, border-color 0.4s ease;
}

.pan::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease);
}

.pan:hover {
  transform: translateY(-6px) scale(1.05);
}

.pan:hover::after {
  transform: translateX(130%);
}

.pan.active {
  transform: scale(1.08);
  border-color: var(--white);
  box-shadow: 0 0 0 4px rgba(91, 155, 255, 0.45), 0 0 40px var(--c2);
}

.glam-preview {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.swatch-stage {
  position: relative;
  width: 100%;
  height: 190px;
  margin-bottom: 14px;
}

.smear {
  position: absolute;
  left: 4%;
  top: 8%;
  width: 82%;
  height: 56px;
  border-radius: 60px 14px 60px 14px;
  background: linear-gradient(105deg, var(--c1), var(--c2));
  transform: skewX(-18deg) rotate(-4deg);
  box-shadow: 0 14px 44px var(--c2);
  transition: background 0.6s ease, box-shadow 0.6s ease;
  animation: smear 5s ease-in-out infinite;
}

.smear.s2 {
  top: 38%;
  left: 14%;
  width: 70%;
  height: 46px;
  opacity: 0.8;
  animation-delay: -1.6s;
}

.smear.s3 {
  top: 66%;
  left: 8%;
  width: 56%;
  height: 38px;
  opacity: 0.6;
  animation-delay: -3.2s;
}

.glam-preview h3 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
}

.glam-preview p {
  color: var(--mute);
  max-width: 420px;
}

.game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  position: relative;
  padding: 34px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(22, 36, 78, 0.7), rgba(7, 11, 26, 0.8));
  overflow: hidden;
  transform-style: preserve-3d;
}

.panel h3 {
  margin: 22px 0 22px;
  font-size: 1.8rem;
  letter-spacing: -0.01em;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge {
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-d);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #1b45c9);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.45);
}

.radar {
  position: relative;
  width: min(250px, 70%);
  aspect-ratio: 1;
  margin: 28px auto 0;
  border-radius: 50%;
  border: 1px solid rgba(91, 155, 255, 0.5);
  background: radial-gradient(circle, rgba(47, 107, 255, 0.12), rgba(4, 8, 20, 0.9) 70%);
  box-shadow: 0 0 50px rgba(47, 107, 255, 0.35), inset 0 0 40px rgba(47, 107, 255, 0.2);
  overflow: hidden;
}

.radar-grid {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(rgba(91, 155, 255, 0.28), rgba(91, 155, 255, 0.28)) center / 1px 100% no-repeat,
    linear-gradient(rgba(91, 155, 255, 0.28), rgba(91, 155, 255, 0.28)) center / 100% 1px no-repeat,
    repeating-radial-gradient(circle, transparent 0 34px, rgba(91, 155, 255, 0.28) 34px 35px);
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(47, 107, 255, 0) 0deg, rgba(47, 107, 255, 0) 270deg, rgba(120, 180, 255, 0.55) 360deg);
  animation: spin 4s linear infinite;
}

.radar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 18px var(--sky);
}

.radar-blips {
  position: absolute;
  inset: 0;
}

.blip {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 14px var(--blue2);
  animation: blip 3s ease-out forwards;
}

.stats {
  display: grid;
  gap: 16px;
}

.stat-row,
.xp-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.86rem;
  color: var(--mute);
}

.stat-row b,
.xp-row b {
  font-family: var(--font-d);
  color: var(--white);
}

.stat-bar,
.xp-bar {
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.stat-bar i,
.xp-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  box-shadow: 0 0 14px rgba(91, 155, 255, 0.7);
  transition: width 1.6s var(--ease) 0.4s;
}

.panel.in .stat-bar i {
  width: var(--v);
}

.xp-bar i {
  transition: width 0.9s var(--ease);
}

.moon {
  display: grid;
  place-items: center;
  margin-top: 18px;
}

.moon svg {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 0 30px rgba(91, 155, 255, 0.7));
  animation: float 7s ease-in-out infinite;
}

.xp {
  margin-bottom: 22px;
}

.quests {
  display: grid;
  gap: 10px;
  list-style: none;
}

.quest {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  text-align: left;
  font-size: 0.95rem;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease);
}

.quest:hover {
  transform: translateX(6px);
  border-color: rgba(159, 208, 255, 0.45);
}

.check {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1.5px solid rgba(159, 208, 255, 0.5);
  color: transparent;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s var(--ease);
}

.check svg {
  width: 14px;
  height: 14px;
}

.quest.done {
  background: rgba(47, 107, 255, 0.16);
  border-color: rgba(91, 155, 255, 0.5);
  color: var(--white);
}

.quest.done .check {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: scale(1.1);
}

.wish {
  padding-bottom: 140px;
}

.cake-wrap {
  display: grid;
  justify-items: center;
  gap: 36px;
}

.cake {
  position: relative;
  width: min(320px, 82vw);
  height: 300px;
}

.tier {
  position: absolute;
  background: linear-gradient(180deg, #2457e8, #0f2a80);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 -10px 24px rgba(0, 0, 0, 0.35);
}

.tier::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 22px;
  border-radius: 20px 20px 0 0;
  background: var(--ice);
}

.tier::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 21px;
  height: 20px;
  background: radial-gradient(circle at 20px 0, var(--ice) 14px, transparent 15px) 0 0 / 40px 20px repeat-x;
}

.tier-base {
  left: 0;
  right: 0;
  bottom: 14px;
  height: 120px;
}

.tier-top {
  left: 13%;
  right: 13%;
  bottom: 124px;
  height: 92px;
  z-index: 2;
  background: linear-gradient(180deg, #3a73ff, #1a3fb8);
}

.plate {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1b2547, #05070f);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.candles {
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 214px;
  z-index: 3;
  display: flex;
  justify-content: space-around;
  padding: 0 10px;
}

.candle {
  position: relative;
  width: 12px;
  height: 52px;
  border-radius: 4px;
  background: repeating-linear-gradient(135deg, #ffffff 0 6px, #7fb2ff 6px 12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease);
}

.candle:hover {
  transform: translateY(-3px);
}

.flame {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 16px;
  height: 28px;
  margin: 0 0 4px -8px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 75%, #ffffff 0%, #a6d4ff 40%, #2f6bff 85%);
  box-shadow: 0 0 22px 6px rgba(91, 155, 255, 0.7);
  transform-origin: 50% 100%;
  animation: flicker 0.18s ease-in-out infinite alternate;
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.flame.out {
  opacity: 0;
  transform: scale(0.1) translateY(10px);
  animation: none;
}

.smoke {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: rgba(200, 220, 255, 0.5);
  filter: blur(3px);
  opacity: 0;
}

.flame.out + .smoke {
  animation: smoke 1.6s ease-out forwards;
}

.wish-card {
  max-width: 640px;
  padding: 34px 38px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid rgba(91, 155, 255, 0.4);
  background: linear-gradient(160deg, rgba(30, 60, 150, 0.45), rgba(6, 10, 26, 0.85));
  box-shadow: 0 0 80px rgba(47, 107, 255, 0.3);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.wish-card.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.wish-card .eyebrow {
  margin-bottom: 16px;
}

.wish-card p {
  min-height: 7.5em;
  font-size: 1.12rem;
  color: var(--ice);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 36px 6vw;
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 13, 0.8);
  color: var(--mute);
  font-size: 0.9rem;
}

.footer span {
  color: var(--white);
  font-weight: 600;
}

.to-top {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: background 0.3s ease, color 0.3s ease;
}

.to-top:hover {
  background: rgba(91, 155, 255, 0.16);
  color: var(--white);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(24px, -30px, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(16px);
    opacity: 0;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes vibe {
  0% {
    transform: translateY(-7px);
  }
  15% {
    transform: translateY(6px);
  }
  30% {
    transform: translateY(-5px);
  }
  45% {
    transform: translateY(4px);
  }
  60% {
    transform: translateY(-2px);
  }
  80% {
    transform: translateY(1px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes ripple {
  to {
    transform: scale(5);
    opacity: 0;
  }
}

@keyframes pop {
  0% {
    transform: scale(0.7);
  }
  60% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes eq {
  from {
    transform: scaleY(0.15);
  }
  to {
    transform: scaleY(5.5);
  }
}

@keyframes smear {
  0%,
  100% {
    transform: skewX(-18deg) rotate(-4deg) translateX(0);
  }
  50% {
    transform: skewX(-18deg) rotate(-4deg) translateX(14px);
  }
}

@keyframes blip {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  15% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes flicker {
  from {
    transform: scale(1, 1) rotate(-2deg);
  }
  to {
    transform: scale(0.92, 1.08) rotate(2deg);
  }
}

@keyframes smoke {
  0% {
    opacity: 0.7;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-46px) scale(5);
  }
}

@media (max-width: 1020px) {
  .hero-orbit {
    opacity: 0.35;
    right: -8vw;
    width: 62vw;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .c-blue,
  .c-val,
  .c-uke,
  .c-glam,
  .c-mmo {
    grid-column: span 1;
  }

  .c-mmo {
    grid-column: span 2;
  }

  .glam-grid,
  .game-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 82vw);
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    background: rgba(4, 6, 13, 0.96);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transform: translateX(105%);
    transition: transform 0.6s var(--ease);
    z-index: -1;
  }

  .nav-links.open {
    transform: none;
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 12px 20px;
  }

  .nav-toggle {
    z-index: 2;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 88px 0;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .c-mmo {
    grid-column: span 1;
  }

  .card,
  .panel {
    padding: 26px;
  }

  .case {
    gap: 12px;
    padding: 18px;
  }

  .uke-panel {
    padding: 20px;
  }

  .string {
    height: 58px;
  }

  .string-label {
    width: 48px;
  }

  .fret-grid {
    left: 48px;
  }

  .fret-labels {
    padding-left: 48px;
    font-size: 0.6rem;
  }

  .wish-card {
    padding: 26px 22px;
  }

  .hero-title {
    letter-spacing: -0.03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}