/* hololive brand palette — sampled from the official hololive production logo */
:root {
  --holo-sky: #34C9FE;
  --holo-sky-deep: #26C5FD;
  --holo-blue: #4E9EED;
  --holo-aqua: #75E5EE;
  --holo-aqua-soft: #5EDCEE;
  --navy: #17395c;
  --ink: #223a52;
  --muted: #6b8299;
  --bg: #f4fbff;
  --card: #ffffff;

  --jp: #ff5c8a;
  --en: #ffa41b;
  --id: #e6455a;
  --devis: #9b6bf2;
  --official: #4E9EED;
}

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

body {
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  font-weight: 500;
  background: var(--bg);
  color: var(--ink);
  /* subtle hololive polka-dot ground */
  background-image: radial-gradient(rgba(52, 201, 254, 0.10) 2.5px, transparent 2.5px);
  background-size: 34px 34px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, var(--holo-blue) 0%, var(--holo-sky) 45%, var(--holo-aqua-soft) 100%);
  padding: 56px 0 84px;
}

/* diagonal stripe accent, a staple of the hololive site style */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    rgba(255, 255, 255, 0.07) 0 18px,
    transparent 18px 46px
  );
  pointer-events: none;
}

.header-inner { position: relative; z-index: 2; }

.logo { display: flex; align-items: center; gap: 18px; }

.logo-mark {
  width: 74px;
  height: 74px;
  filter: drop-shadow(0 6px 14px rgba(23, 57, 92, 0.25));
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.05; }

.logo-holo {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 3px 0 rgba(23, 57, 92, 0.18);
}

.logo-sub {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #eafcff;
  margin-top: 6px;
}

.tagline {
  margin-top: 18px;
  max-width: 560px;
  font-size: 15px;
  font-weight: 700;
  color: #f2fdff;
  text-shadow: 0 1px 6px rgba(23, 57, 92, 0.25);
}

.header-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 70px;
  z-index: 1;
}

/* floating decorative art */
.sky-band { position: absolute; inset: 0; pointer-events: none; }
.deco { position: absolute; opacity: 0.9; z-index: 1; }
.deco polygon, .deco path { fill: rgba(255, 255, 255, 0.22); }
.deco-tri-1 { top: 8%; right: 6%; width: 130px; transform: rotate(14deg); animation: bob 7s ease-in-out infinite; }
.deco-tri-2 { top: 52%; right: 22%; width: 64px; transform: rotate(-18deg); animation: bob 9s ease-in-out infinite 1s; }
.deco-tri-3 { top: 20%; left: 42%; width: 40px; transform: rotate(30deg); animation: bob 6s ease-in-out infinite 0.5s; }
.deco-note-1 { top: 26%; right: 34%; width: 54px; transform: rotate(-10deg); animation: bob 8s ease-in-out infinite 0.3s; }
.deco-note-2 { top: 62%; left: 30%; width: 36px; transform: rotate(12deg); animation: bob 7.5s ease-in-out infinite 1.4s; }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

/* ---------- filters ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 26px 0 8px;
}

.chip {
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 9px 22px;
  border-radius: 999px;
  border: 2.5px solid var(--holo-sky);
  color: var(--holo-blue);
  background: var(--card);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.chip:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(52, 201, 254, 0.35); }

.chip.is-active {
  background: linear-gradient(135deg, var(--holo-blue), var(--holo-sky));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(52, 201, 254, 0.45);
}

.count { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--muted); }

/* ---------- status ---------- */

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 48px 0;
  font-weight: 700;
  color: var(--muted);
  justify-content: center;
}

.spinner {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 4px solid rgba(52, 201, 254, 0.25);
  border-top-color: var(--holo-sky);
  animation: spin 0.8s linear infinite;
}

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

/* ---------- song grid ---------- */

.grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 22px;
  padding: 18px 0 60px;
}

.card {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(23, 57, 92, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(52, 201, 254, 0.30);
}

.card a { text-decoration: none; color: inherit; display: block; }

.thumb-wrap { position: relative; aspect-ratio: 16 / 9; background: #dceefb; }

.thumb-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(23, 57, 92, 0);
  transition: background 0.15s ease;
}

.play-overlay svg { width: 52px; height: 52px; opacity: 0; transform: scale(0.7); transition: all 0.18s ease; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35)); }
.card:hover .play-overlay { background: rgba(23, 57, 92, 0.28); }
.card:hover .play-overlay svg { opacity: 1; transform: scale(1); }

.new-ribbon {
  position: absolute;
  top: 10px; left: -32px;
  transform: rotate(-35deg);
  background: linear-gradient(90deg, var(--holo-sky), var(--holo-aqua));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 4px 36px;
  box-shadow: 0 2px 8px rgba(23, 57, 92, 0.25);
  z-index: 3;
}

.card-body { padding: 14px 16px 16px; }

.card-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
  text-decoration: none;
}

a.card-title:hover, .thumb-link { color: var(--holo-blue); text-decoration: none; }

/* talent support links: profile, YouTube channel, X */
.channel-row { display: flex; align-items: center; gap: 8px; }

.talent-link {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.talent-link:hover { color: var(--holo-blue); text-decoration: underline; }

.sm-links { display: inline-flex; gap: 6px; margin-left: auto; flex-shrink: 0; }

.sm-icon {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.sm-icon svg { width: 16px; height: 16px; fill: currentColor; }
.sm-icon:hover { transform: translateY(-2px); }
.sm-yt { color: #f03; background: rgba(255, 0, 51, 0.09); }
.sm-yt:hover { background: #f03; color: #fff; }
.sm-x { color: #0f1419; background: rgba(15, 20, 25, 0.07); }
.sm-x:hover { background: #0f1419; color: #fff; }

.kind-live {
  border-color: #ffb64d;
  color: #d98300;
  background: rgba(255, 164, 27, 0.12);
}

/* toggle chip (e.g. "+ 3D LIVE") */
.chip-toggle { border-style: dashed; color: var(--muted); border-color: #ffb64d; }
.chip-toggle.is-on {
  background: linear-gradient(135deg, #ff9d1b, #ffc36b);
  border-color: transparent;
  border-style: solid;
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 164, 27, 0.45);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700;
  flex-wrap: wrap;
}

.badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
}

.badge-JP { background: var(--jp); }
.badge-EN { background: var(--en); }
.badge-ID { background: var(--id); }
.badge-DEV_IS { background: var(--devis); }
.badge-Official { background: var(--official); }

.kind {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 2px solid var(--holo-aqua);
  color: var(--holo-blue);
}

.kind-original { border-color: var(--holo-sky); background: rgba(52, 201, 254, 0.12); }

.card-channel { width: 100%; color: var(--ink); }
.card-date { margin-left: auto; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: #bcd8ee;
  font-size: 12.5px;
  padding: 26px 0;
  text-align: center;
  line-height: 1.8;
}

@media (max-width: 560px) {
  .logo-holo { font-size: 34px; }
  .logo-sub { font-size: 15px; letter-spacing: 0.3em; }
  .logo-mark { width: 56px; height: 56px; }
}
