/* ==========================================================================
   Y2K / ANIME IDOL LAYER — sits on top of the studio landing.
   ========================================================================== */

/* chrome wordmark + rotated diamond */
.brand-mark {
  transform: rotate(45deg);
  border-radius: 8px;
  background: var(--grad);
  color: #03101d;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(3, 16, 29, 0.25) inset,
    0 0 26px rgba(125, 249, 255, 0.45);
}
.brand-mark > span {
  display: block;
  transform: rotate(-45deg);
  font-size: 13px;
}
.brand-text {
  background: linear-gradient(180deg, #ffffff 0%, #b9d8f2 45%, #6e8fb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-text small {
  color: var(--mute);
  -webkit-text-fill-color: var(--mute);
}
.nav-y2k {
  margin-left: 6px;
  padding: 4px 7px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff8bd0, #ff2d8e);
  color: #12040a;
  font: 700 7px var(--mono);
  letter-spacing: 0.14em;
  transform: rotate(6deg);
  box-shadow: 0 6px 18px rgba(255, 45, 142, 0.35);
}

/* Y2K scene overlays */
.scene-rays {
  position: absolute;
  inset: -32%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: screen;
  background: repeating-conic-gradient(
    from 0deg at 50% 42%,
    rgba(125, 249, 255, 0.12) 0deg 1deg,
    transparent 1deg 9deg,
    rgba(255, 45, 142, 0.09) 9deg 10deg,
    transparent 10deg 19deg
  );
  -webkit-mask-image: radial-gradient(circle at 50% 42%, transparent 18%, #000 64%);
  mask-image: radial-gradient(circle at 50% 42%, transparent 18%, #000 64%);
  animation: y2kSpin 120s linear infinite;
}
@keyframes y2kSpin {
  to { transform: rotate(360deg); }
}

.scene-halftone {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: screen;
  background-image: radial-gradient(rgba(125, 249, 255, 0.5) 1.2px, transparent 1.9px);
  background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(115deg, transparent 0%, transparent 52%, #000 82%);
  mask-image: linear-gradient(115deg, transparent 0%, transparent 52%, #000 82%);
}

.scene-checker {
  position: absolute;
  left: -5%;
  right: -5%;
  z-index: 2;
  height: 10px;
  pointer-events: none;
  opacity: 0.45;
  background: repeating-conic-gradient(
      rgba(125, 249, 255, 0.55) 0 25%,
      rgba(255, 45, 142, 0.28) 0 50%
    )
    0 0 / 10px 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.scene-checker-top {
  top: 96px;
  transform: rotate(-2.4deg);
}
.scene-checker-bottom {
  bottom: 70px;
  height: 7px;
  transform: rotate(2deg);
  opacity: 0.28;
}

.scene-bigword {
  position: absolute;
  right: -3%;
  bottom: 2%;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  font-family: var(--display);
  font-size: clamp(130px, 19vw, 290px);
  line-height: 0.78;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(125, 249, 255, 0.18);
  opacity: 0.8;
}

.scene-sfx {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  user-select: none;
  font-family: var(--display), "Noto Sans JP", sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  color: var(--pink-500);
  -webkit-text-stroke: 0;
  opacity: 0.55;
  letter-spacing: -0.02em;
  text-shadow: 0 0 18px rgba(255, 45, 142, 0.35);
}
.scene-sfx-a {
  left: 4%;
  top: auto;
  bottom: 7%;
  transform: rotate(-12deg);
}
.scene-sfx-b {
  right: 3%;
  top: 11%;
  font-size: clamp(18px, 2.4vw, 32px);
  color: var(--lime);
  text-shadow: 0 0 18px rgba(200, 255, 106, 0.3);
  transform: rotate(7deg);
}

.scene-scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.24) 0 1px,
    transparent 1px 4px
  );
  opacity: 0.16;
  mix-blend-mode: multiply;
}

/* Y2K player details */
.player-sticker {
  position: absolute;
  top: -9px;
  left: 22px;
  right: auto;
  z-index: 6;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: linear-gradient(135deg, #ff8bd0, #ff2d8e);
  color: #12040a;
  font: 700 9px var(--mono);
  letter-spacing: 0.14em;
  transform: rotate(6deg);
  box-shadow: 0 10px 24px rgba(255, 45, 142, 0.38);
}
.player-barcode {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: rgba(206, 226, 240, 0.42);
  font: 400 7px var(--mono);
  letter-spacing: 0.16em;
}
.player-barcode .bars {
  flex: 1;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    rgba(125, 249, 255, 0.5) 0 1px,
    transparent 1px 3px,
    rgba(255, 139, 208, 0.45) 3px 4px,
    transparent 4px 6px
  );
  opacity: 0.55;
}

/* neon accents */
.accent {
  background: linear-gradient(105deg, #ffffff 0%, #9cf8ff 28%, #ff8bd0 62%, #c9a8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.btn-primary {
  background: linear-gradient(120deg, #7df9ff 0%, #4b8dff 46%, #ff8bd0 100%);
  box-shadow: 0 12px 34px rgba(255, 45, 142, 0.22), 0 8px 24px rgba(56, 146, 255, 0.2);
}
.btn-primary:hover {
  box-shadow: 0 18px 48px rgba(255, 45, 142, 0.3), 0 10px 34px rgba(56, 146, 255, 0.26);
}

.eyebrow-num {
  color: var(--pink-500);
  border-color: rgba(255, 139, 208, 0.3);
}
.section-live .eyebrow-num {
  color: var(--lime);
  border-color: rgba(200, 255, 106, 0.3);
}

/* checker details around section headers and the marquee */
.section-head {
  position: relative;
}
.section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: -18px;
  width: 58px;
  height: 4px;
  background: repeating-conic-gradient(
      rgba(125, 249, 255, 0.7) 0 25%,
      rgba(255, 45, 142, 0.4) 0 50%
    )
    0 0 / 5px 5px;
  opacity: 0.7;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-conic-gradient(
      rgba(125, 249, 255, 0.5) 0 25%,
      rgba(255, 45, 142, 0.35) 0 50%
    )
    0 0 / 6px 6px;
  opacity: 0.65;
  pointer-events: none;
}
.marquee::before { top: 0; }
.marquee::after { bottom: 0; }
.marquee-track i:nth-child(4n) { color: var(--pink-500); }
.marquee-track i:nth-child(4n + 2) { color: var(--lime); }

/* provider cards get a tiny Y2K trace */
.provider-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--aqua), var(--pink-500));
  opacity: 0.4;
  pointer-events: none;
}

/* live badge becomes a sticker */
.post-live {
  padding: 4px 7px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff8bd0, #ff2d8e);
  color: #12040a;
  transform: rotate(4deg);
  box-shadow: 0 6px 16px rgba(255, 45, 142, 0.3);
}
.post-live i {
  background: #12040a;
  box-shadow: none;
  animation: none;
}

/* final SFX */
.final {
  position: relative;
  overflow: hidden;
}
.final-sfx {
  position: absolute;
  top: 66px;
  right: 9%;
  pointer-events: none;
  user-select: none;
  font-family: var(--display), "Noto Sans JP", sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  color: var(--lime);
  -webkit-text-stroke: 0;
  opacity: 0.4;
  text-shadow: 0 0 18px rgba(200, 255, 106, 0.3);
  transform: rotate(8deg);
}

@media (max-width: 980px) {
  .scene-bigword {
    font-size: 170px;
    bottom: 0;
  }
  .scene-sfx-a {
    display: none;
  }
  .scene-sfx-b {
    top: 120px;
    right: 4%;
    font-size: 22px;
    opacity: 0.4;
  }
  .scene-checker-top { top: 118px; }
  .scene-checker-bottom { bottom: 40px; }
  .final-sfx { display: none; }
}

@media (max-width: 640px) {
  .scene-bigword {
    font-size: 120px;
    opacity: 0.55;
  }
  .scene-sfx-b {
    display: none;
  }
  .scene-halftone { opacity: 0.12; }
  .scene-rays { opacity: 0.35; }
  .nav-y2k { display: none; }
  .player-sticker { top: -7px; left: 14px; right: auto; }
  .player-barcode { display: none; }
}
