/* ==========================================================================
   khaleej.bio — homepage
   ========================================================================== */

/* dhow rides the hero sea, then scrolls away with it */
.hero .bg-boat {
  position: absolute;
  left: 6%;
  bottom: -6px;
  width: min(300px, 28vw);
  z-index: 0;
  pointer-events: none;
  animation: boatDrift 9s ease-in-out infinite;
}
.hero .bg-boat img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 16px rgba(2, 8, 14, 0.45));
  opacity: 0.92;
}
@keyframes boatDrift {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-8px) rotate(0.45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 78px) 0 72px;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}
.hero h1 { margin: 22px 0 18px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1.05s var(--ease) forwards;
}
.hero h1 .display-em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, #fff 10%, #d7f3fb 46%, #7ec8e3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.2s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* claim bar */
.claim {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 7px 7px 7px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(186, 224, 236, 0.28);
  background:
    linear-gradient(180deg, rgba(16, 48, 64, 0.72), rgba(5, 14, 24, 0.82));
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  max-width: 490px;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.claim:focus-within {
  border-color: rgba(126, 200, 227, 0.7);
  box-shadow: 0 0 0 6px rgba(126, 200, 227, 0.16), 0 24px 50px -24px rgba(62, 168, 196, 0.55);
}
.claim .pre { color: var(--text-faint); font-size: 0.95rem; white-space: nowrap; }
.claim input { flex: 1; min-width: 0; height: 44px; font-size: 0.98rem; }
.claim input::placeholder { color: var(--text-faint); }
.claim .btn { height: 44px; }

.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.stack-av { display: flex; }
.stack-av .avatar {
  width: 34px; height: 34px;
  margin-left: -11px;
  box-shadow: 0 0 0 2px var(--bg);
  transition: transform var(--t) var(--ease);
}
.stack-av .avatar:first-child { margin-left: 0; }
.stack-av:hover .avatar { transform: translateY(-3px); }
.stack-av .avatar:hover { transform: translateY(-7px) scale(1.1); z-index: 2; }
.hero-trust p { font-size: 0.86rem; color: var(--text-dim); }
.hero-trust b { color: var(--text); font-weight: 600; }

/* ---------- Hero preview stage ---------- */
.stage {
  position: relative;
  perspective: 1400px;
  min-height: 560px;
  display: grid;
  place-items: center;
}
/* Opacity only. A scale that later becomes "none" rebuilds the card's 3D layer and it flashes out. */
.stage[data-reveal],
.stage[data-reveal].in { transform: none; }
.stage-glow {
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 230, 242, 0.28), rgba(62, 160, 190, 0.12) 42%, transparent 68%);
  filter: blur(40px);
  animation: breathe 7s var(--ease-io) infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.14); opacity: 1; } }

/* profile preview card */
.pcard {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  border-radius: var(--r-xl);
  border: 1px solid rgba(198, 230, 240, 0.28);
  background: linear-gradient(180deg, rgba(12, 36, 50, 0.9), rgba(6, 16, 28, 0.92));
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    0 40px 80px -36px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(210, 236, 244, 0.08) inset,
    0 0 80px -24px rgba(126, 200, 227, 0.35);
  overflow: hidden;
}
.pcard-banner { position: relative; height: 104px; }
.pcard-banner img { width: 100%; height: 100%; object-fit: cover; }
.pcard-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(6, 18, 28, 0.96));
}
.pcard-body { padding: 0 22px 22px; margin-top: -36px; position: relative; }
.pcard .avatar { width: 74px; height: 74px; border: 3px solid #070e1c; }
.pcard .avatar img { object-position: 42% 24%; }
.pcard-name { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 1.22rem; font-weight: 600; letter-spacing: -0.03em; }
.pcard-name .ico { width: 17px; height: 17px; color: #8eb4ff; }
.pcard-handle { font-size: 0.85rem; color: var(--text-faint); }
.pcard-bio { margin: 11px 0 15px; font-size: 0.875rem; color: var(--text-dim); line-height: 1.55; font-weight: 300; }
.pcard-socials { display: flex; gap: 8px; margin-bottom: 15px; }
.pcard-socials a {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-dim);
  transition: all var(--t) var(--ease);
}
.pcard-socials a:hover { transform: translateY(-4px) scale(1.06); }
.pcard-links { display: grid; gap: 8px; }
.plink {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: all var(--t) var(--ease);
}
.plink .ico { width: 16px; height: 16px; color: var(--mist-500); transition: color var(--t) var(--ease); }
.plink .arr { margin-left: auto; width: 14px; height: 14px; color: var(--text-faint); transition: transform var(--t) var(--ease); }
.plink:hover {
  border-color: rgba(120, 160, 255, 0.4);
  background: rgba(110, 150, 255, 0.35);
  transform: translateX(4px);
}
.plink:hover .ico { color: #c5e8f4; }
.plink:hover .arr { transform: translateX(4px); }

/* floating widgets around the card */
.float {
  position: absolute;
  border-radius: var(--r-md);
  border: 1px solid rgba(198, 230, 240, 0.28);
  background: linear-gradient(180deg, rgba(12, 36, 48, 0.88), rgba(6, 16, 26, 0.92));
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  z-index: 3;
  animation: floaty 6s var(--ease-io) infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(var(--tilt-z, 0px)); }
  50% { transform: translateY(-13px) perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(var(--tilt-z, 0px)); }
}

.float-presence { top: 18px; left: -42px; width: 280px; animation-delay: -1.2s; }
.fw-val { align-items: center; }
.fw-val-mark {
  display: grid;
  place-items: center;
  width: 112px;
  height: 72px;
  padding: 7px 8px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid rgba(255, 70, 85, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 70, 85, 0.2), 0 0 16px rgba(255, 70, 85, 0.28);
  flex: none;
}
.fw-val-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.fw-kind {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.float-presence .fw-kind .ico { width: 13px; height: 13px; color: #1db954; }
.float-rank .fw-kind .ico { width: 13px; height: 13px; color: #8eb4ff; }
.fw-sp { gap: 11px; }
.fw-sp-disc {
  width: 64px;
  height: 64px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 12px 26px -8px rgba(0, 0, 0, 0.85),
    0 4px 10px -4px rgba(0, 0, 0, 0.6);
}
.fw-sp-art {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  animation: discSpin 18s linear infinite;
}
.fw-sp-disc { position: relative; }
.fw-sp-disc::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: radial-gradient(circle, #12303c 40%, #7ec8e3 42%, #12303c 68%);
  box-shadow: 0 0 0 2px rgba(6, 16, 24, 0.55);
}
@keyframes discSpin { to { transform: rotate(360deg); } }
.fw-sp-txt { min-width: 0; }
.fw-sp-txt .fw-title { font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fw-sp-txt .fw-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-presence .fw-bar { margin-top: 11px; background: rgba(255, 255, 255, 0.22); }
.float-presence .fw-bar i { background: linear-gradient(90deg, #6b93f5, #7ec8e3); transition: width 1s linear; }
.fw-times { display: flex; justify-content: space-between; margin-top: 5px; font-size: 0.62rem; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.float-views { bottom: 124px; right: -38px; width: 168px; animation-delay: -3s; }
.float-rank { bottom: 118px; left: -36px; width: 210px; animation-delay: -4.4s; }

.fw-head { display: flex; align-items: center; gap: 9px; }
.fw-head .avatar { width: 32px; height: 32px; }
.fw-head .avatar img { width: 100%; height: 100%; object-fit: cover; }
.fw-title { font-size: 0.8rem; font-weight: 600; letter-spacing: -0.01em; }
.fw-sub { font-size: 0.7rem; color: var(--text-faint); }
.fw-live { display: flex; align-items: center; gap: 5px; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6fc9a6; }
.fw-live i { width: 6px; height: 6px; border-radius: 50%; background: #3f9d7a; box-shadow: 0 0 0 3px rgba(63, 157, 122, 0.2); animation: pulse 2s infinite; }
.fw-num { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.04em; margin-top: 3px; }
.fw-label { font-size: 0.7rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; }
.fw-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 9px; }
.fw-bars i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, var(--brand-300), var(--brand-600)); animation: eq 1.4s var(--ease-io) infinite; }
.fw-bars i:nth-child(2n) { animation-delay: -0.4s; }
.fw-bars i:nth-child(3n) { animation-delay: -0.8s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.fw-rank { display: flex; align-items: center; gap: 10px; }
.fw-rank .badge {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--brand-400), var(--brand-700));
  border: 1px solid rgba(200, 200, 200, 0.3);
  color: #fff;
}
.fw-bar { height: 4px; border-radius: 9px; background: var(--surface-3); margin-top: 8px; overflow: hidden; }
.fw-bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--brand-500), var(--mist-500)); }

/* ---------- Marquee ---------- */
.marquee-sec { padding: 26px 0 10px; }
.marquee {
  display: flex;
  gap: 14px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track { display: flex; gap: 14px; flex: none; animation: slide 44s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
.mq-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  white-space: nowrap;
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: all var(--t) var(--ease);
}
.mq-item [data-social] {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(126, 200, 227, 0.12);
  color: var(--sky);
}
.mq-item .ico { width: 15px; height: 15px; }
.mq-item:hover { color: var(--text); border-color: var(--line-2); background: var(--surface-2); transform: translateY(-3px); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(12, 28, 64, 0.82), rgba(5, 10, 22, 0.7));
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.stat { padding: 34px 28px; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .n {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(170deg, #eef3ff, #8eb4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .l { margin-top: 9px; font-size: 0.84rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; }
.stat::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-300), transparent);
  scale: 0 1;
  transition: scale 0.5s var(--ease);
}
.stat:hover::after { scale: 1 1; }

/* ---------- Bento features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.bento .card { padding: 30px; display: flex; flex-direction: column; min-height: 240px; }
.bento .card:hover { transform: translateY(-6px); border-color: rgba(186, 224, 236, 0.4); }
.b-6 { grid-column: span 6; }
.b-4 { grid-column: span 4; }
.b-3 { grid-column: span 3; }
.b-2 { grid-column: span 2; }

.f-ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(120, 160, 255, 0.32);
  background: linear-gradient(160deg, rgba(47, 99, 235, 0.38), rgba(8, 16, 40, 0.7));
  color: #d5e2ff;
  margin-bottom: 20px;
  transition: all 0.45s var(--ease);
}
.card:hover .f-ico {
  transform: translateY(-3px) rotate(-6deg);
  border-color: rgba(120, 160, 255, 0.55);
  box-shadow: 0 14px 30px -14px rgba(80, 130, 255, 0.45);
}
.card h3 { font-size: 1.14rem; margin-bottom: 9px; }
.card .ctext { font-size: 0.92rem; color: var(--text-dim); line-height: 1.6; font-weight: 300; }

/* mini visual inside bento cards */
.b-visual { margin-top: auto; padding-top: 24px; }

.swatches { display: flex; gap: 9px; }
.swatches i {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease);
  cursor: pointer;
}
.swatches i:hover { transform: translateY(-6px) scale(1.12); }
.swatches i:nth-child(1) { background: linear-gradient(150deg, #f4fbfd, #7ec8e3); }
.swatches i:nth-child(2) { background: linear-gradient(150deg, #d9f1f8, #1d6f8f); }
.swatches i:nth-child(3) { background: linear-gradient(150deg, #f6edd4, #c4a15a); }
.swatches i:nth-child(4) { background: linear-gradient(150deg, #fff, #b7e0ee); }
.swatches i:nth-child(5) { background: linear-gradient(150deg, #123444, #061018); }

.chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 92px;
}
.chart i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #8eb4ff, rgba(8, 16, 40, 0.2));
  transform-origin: bottom;
  scale: 1 0;
  transition: scale 0.8s var(--ease), filter 0.3s var(--ease);
}
.card.in .chart i { scale: 1 1; }
.chart i:hover { filter: brightness(1.45); }
.chart i:nth-child(1) { height: 36%; transition-delay: 0.02s; }
.chart i:nth-child(2) { height: 58%; transition-delay: 0.07s; }
.chart i:nth-child(3) { height: 44%; transition-delay: 0.12s; }
.chart i:nth-child(4) { height: 76%; transition-delay: 0.17s; }
.chart i:nth-child(5) { height: 62%; transition-delay: 0.22s; }
.chart i:nth-child(6) { height: 92%; transition-delay: 0.27s; }
.chart i:nth-child(7) { height: 70%; transition-delay: 0.32s; }
.chart i:nth-child(8) { height: 100%; transition-delay: 0.37s; }

.b-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.b-tiles span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-dim);
  transition: all var(--t) var(--ease);
}
.b-tiles span:hover { transform: translateY(-4px); }

.b-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: var(--r-sm);
  border: 1px dashed var(--line-2);
  background: var(--surface);
}
.b-upload .ico { color: var(--brand-300); }
.b-upload .ub { flex: 1; }
.b-upload .fw-bar { margin-top: 6px; }

/* ---------- Soundtrack section ---------- */
.sound-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}
.steps { display: grid; gap: 4px; margin-top: 34px; }
.step {
  display: flex;
  gap: 16px;
  padding: 17px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.step:hover, .step.active { border-color: var(--line); background: var(--surface); }
.step .num {
  flex: none;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-faint);
  transition: all var(--t) var(--ease);
}
.step.active .num, .step:hover .num {
  color: #fff;
  border-color: rgba(170, 170, 170, 0.5);
  background: linear-gradient(150deg, var(--brand-400), var(--brand-700));
}
.step h4 { font-size: 0.98rem; margin-bottom: 4px; }
.step p { font-size: 0.875rem; color: var(--text-dim); font-weight: 300; line-height: 1.55; }

/* player */
.player {
  position: relative;
  padding: 26px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
  background: rgba(8, 26, 40, 0.86);
  backdrop-filter: blur(22px);
  box-shadow: 0 50px 110px -46px rgba(0, 0, 0, 1);
  overflow: hidden;
}
.player-bg {
  position: absolute;
  inset: -40%;
  background-image: url("../img/album-art.svg");
  background-size: cover;
  filter: blur(54px) saturate(170%);
  opacity: 0.5;
  animation: spinSlow 34s linear infinite;
}
@keyframes spinSlow { to { rotate: 360deg; } }
.player-in { position: relative; }
.player-top { display: flex; gap: 18px; align-items: center; }
.player-art {
  width: 104px; height: 104px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 1);
  flex: none;
}
.player-art img { width: 100%; height: 100%; object-fit: cover; }
.player-stage {
  margin-top: 18px;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
}
.player-stage iframe,
.player-stage > div,
.pv-media-host iframe,
.pv-media-host > div {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.player-stage.is-file { display: none; }
.player-stage.is-spotify { aspect-ratio: auto; height: 152px; }
.player-stage.is-soundcloud { aspect-ratio: auto; height: 166px; }
.player-note {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  padding: 16px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}
.player-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  color: #fff;
  background: #000;
}
.player-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.player-fallback span {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ff0000;
  font-size: 0.82rem;
  font-weight: 600;
}
.player.is-embed .player-ctrls,
.player.is-embed .seek { opacity: 0.55; }
.player.playing .player-art { animation: artPulse 3.4s var(--ease-io) infinite; }
@keyframes artPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.player-meta { min-width: 0; }
.player-meta .t { font-size: 1.26rem; font-weight: 600; letter-spacing: -0.035em; }
.player-meta .a { font-size: 0.9rem; color: var(--text-dim); }

.seek { margin: 20px 0 12px; }
.seek-bar {
  position: relative;
  height: 5px;
  border-radius: 9px;
  background: var(--surface-3);
  cursor: pointer;
  overflow: hidden;
}
.seek-bar i { display: block; height: 100%; width: 0%; border-radius: 9px; background: linear-gradient(90deg, var(--brand-400), var(--mist-400)); transition: width 0.25s linear; }
.seek-bar:hover { height: 7px; }
.seek-time { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--text-faint); margin-top: 7px; font-variant-numeric: tabular-nums; }

.player-ctrls { display: flex; align-items: center; justify-content: center; gap: 10px; }
.pbtn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--text-dim);
  transition: all var(--t) var(--ease);
}
.pbtn:hover { color: var(--text); background: var(--surface-2); transform: scale(1.1); }
.pbtn.on { color: var(--brand-200); }
.pbtn-main {
  width: 52px; height: 52px;
  background: linear-gradient(165deg, var(--mist-200), var(--mist-400));
  color: var(--brand-900);
  box-shadow: 0 14px 30px -12px rgba(170, 170, 170, 0.7);
}
.pbtn-main:hover { background: #fff; transform: scale(1.08); }

.lyrics {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  height: 132px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(180deg, transparent, #000 26%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%, #000 70%, transparent);
}
.lyrics-track { padding: 42px 0; transition: transform 0.55s var(--ease); }
.lyrics p {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 7px 0;
  color: var(--text-faint);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease), opacity 0.4s var(--ease);
  opacity: 0.55;
}
.lyrics p.on {
  color: var(--text);
  opacity: 1;
  transform: scale(1.035);
  transform-origin: left;
  text-shadow: 0 0 26px rgba(110, 150, 255, 0.45);
}

.flash { animation: flash 1.1s var(--ease); }
@keyframes flash {
  0% { filter: none; }
  28% { filter: drop-shadow(0 0 22px rgba(120, 160, 255, 0.7)) brightness(1.12); }
  100% { filter: none; }
}

/* ---------- Templates / showcase ---------- */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tpl {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.tpl img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.5s var(--ease); }
.tpl:hover { transform: translateY(-8px); border-color: rgba(126, 200, 227, 0.5); box-shadow: 0 40px 70px -34px rgba(40, 120, 150, 0.4); }
.tpl:hover img { transform: scale(1.07); }
.tpl-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(14, 42, 61, 0.82));
  color: #f7fcff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tpl-cap b { font-size: 0.95rem; font-weight: 600; }
.tpl-cap span { font-size: 0.78rem; color: #d4eef8; }

/* ---------- Pricing ---------- */
.price-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  margin: 0 auto 44px;
}
.price-toggle button {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: all var(--t) var(--ease);
}
.price-toggle button.on { color: #07101f; background: linear-gradient(165deg, #d5e2ff, #6b93f5); box-shadow: var(--sh-brand); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plans.plans-2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan.featured {
  border-color: rgba(120, 160, 255, 0.4);
  background: linear-gradient(168deg, rgba(18, 40, 96, 0.92), rgba(6, 12, 28, 0.88));
  box-shadow: 0 40px 90px -46px rgba(47, 99, 235, 0.55);
}
.plan-tag {
  position: absolute;
  top: 18px; right: 18px;
}
.plan h3 { font-size: 1.05rem; letter-spacing: -0.02em; }
.plan .p-desc { font-size: 0.86rem; color: var(--text-dim); margin-top: 6px; font-weight: 300; }
.plan .p-price { display: flex; align-items: flex-end; gap: 7px; margin: 24px 0 4px; }
.plan .p-price .v { font-size: 2.9rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.plan .p-price .u { font-size: 0.86rem; color: var(--text-faint); padding-bottom: 7px; }
.plan .p-note { font-size: 0.78rem; color: var(--text-faint); min-height: 18px; }
.plan .btn { margin: 24px 0; }
.p-feats { display: grid; gap: 11px; }
.p-feats li { display: flex; gap: 10px; font-size: 0.89rem; color: var(--text-dim); align-items: flex-start; }
.p-feats .ico { width: 17px; height: 17px; margin-top: 2px; color: var(--brand-300); }
.p-feats li.off { opacity: 0.4; }
.p-feats li.off .ico { color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.qa {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.qa:hover { border-color: var(--line-2); }
.qa.open { border-color: rgba(126, 200, 227, 0.45); background: rgba(16, 52, 70, 0.55); }
.qa-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.qa-q .pm { position: relative; width: 16px; height: 16px; flex: none; }
.qa-q .pm::before, .qa-q .pm::after {
  content: "";
  position: absolute;
  background: var(--mist-400);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.qa-q .pm::before { top: 7.2px; left: 0; width: 16px; height: 1.6px; }
.qa-q .pm::after { left: 7.2px; top: 0; width: 1.6px; height: 16px; }
.qa.open .pm::after { transform: rotate(90deg); opacity: 0; }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 22px 22px; font-size: 0.93rem; color: var(--text-dim); line-height: 1.68; font-weight: 300; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 80px 48px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(186, 224, 236, 0.28);
  background:
    radial-gradient(ellipse 70% 80% at 50% -10%, rgba(210, 240, 248, 0.28), transparent 55%),
    linear-gradient(165deg, rgba(14, 52, 70, 0.92), rgba(4, 12, 20, 0.94) 58%, rgba(18, 72, 90, 0.72));
  overflow: hidden;
  text-align: center;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  top: -340px; left: 50%;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 160, 255, 0.48), transparent 65%);
  filter: blur(40px);
}
.cta-band .in { position: relative; display: grid; justify-items: center; gap: 20px; }
.cta-band img.paw { width: 88px; height: 88px; object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 16px 30px rgba(60, 110, 230, 0.4)); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .sound-grid { grid-template-columns: 1fr; gap: 48px; }
  .stage { min-height: 520px; }
  .float-presence { left: 0; }
  .float-rank { display: none; }
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .b-4, .b-3, .b-2 { grid-column: span 3; }
}
@media (max-width: 760px) {
  .bg-boat { width: 180px; left: 4%; bottom: 0; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .b-6, .b-4, .b-3, .b-2 { grid-column: span 6; }
  .showcase { grid-template-columns: 1fr; }
  .cta-band { padding: 54px 24px; }
  .float-presence { left: -8px; transform: scale(0.88); }
}
@media (max-width: 480px) {
  .float { display: none; }
  .stage { min-height: 470px; }
  .claim { flex-wrap: wrap; border-radius: var(--r-lg); padding: 14px; }
  .claim .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-boat, .fw-sp-art, .marquee-track { animation: none; }
}
