*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#fff}

.bg-video{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}

.overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1}

.content{position:relative;z-index:2;min-height:100vh;display:grid;place-items:center;gap:18px;padding:32px 16px;text-align:center}
.content{
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.content.visible{
  opacity: 1;
  transform: translateY(0);
}


.logo{
  width:140px;
  height:140px;

  object-fit: cover;    
  object-position: center;

  border-radius:999px;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}



.links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:10px 14px;border-radius:16px;background:rgba(0,0,0,.28);backdrop-filter:blur(8px)}
.pipe{opacity:.6;user-select:none}

.link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:#fff;
  padding:10px 12px;
  border-radius:12px;

  transition:
    transform 120ms ease,
    background 120ms ease,
    opacity 120ms ease;
}

.link img{
  width:18px;
  height:18px;
  opacity:.9;
  transition:
    opacity 120ms ease,
    filter 160ms ease;
}

.link:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.12);
}

.link:hover img{
  opacity:1;
  filter: drop-shadow(0 2px 6px rgba(255,255,255,0.25));
}

.link:active{
  transform:translateY(0);
  opacity:.85;
}


.controls{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.btn{border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.35);color:#fff;padding:10px 14px;border-radius:14px;cursor:pointer;transition:transform 120ms ease,background 120ms ease}
.btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.12)}

.hint{font-size:12px;opacity:.7;max-width:420px}

.splash {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  background: #000;

  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 420ms cubic-bezier(.22,1,.36,1),
              transform 420ms cubic-bezier(.22,1,.36,1),
              visibility 420ms;
}

.splash::before,
.splash::after {
  content: none !important;
}

.splash-inner {
  position: relative;
  text-align: center;
  display: grid;
  gap: 10px;
  padding: 22px 26px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);

  transform: translateY(0);
  transition: transform 240ms ease;
}

.splash-inner:hover {
  transform: translateY(-2px);
}

.splash-title {
  font-size: clamp(26px, 4.8vw, 54px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.1;
  color: rgba(255,255,255,0.92);
}

.splash-sub {
  font-size: 12px;
  opacity: 0.70;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.splash-ripple {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  pointer-events: none;

  border: 1px solid rgba(255,255,255,0.18);
  opacity: 0.55;

  transform: translate(-50%, -50%) scale(1);
  animation: ripple 520ms ease-out forwards;
}

@keyframes ripple {
  from {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.55;
  }
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}

.splash.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .splash,
  .splash-inner {
    transition: none !important;
  }
  .splash-ripple {
    animation: none !important;
  }
}

.audio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  border-radius: 14px;
}

.audio-controls button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.audio-controls button:hover {
  opacity: 1;
}

.audio-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}

.vol-label {
  font-size: 12px;
  opacity: 0.65;
  letter-spacing: 0.08em;
}

.audio-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.audio-controls input[type="range"]:hover {
  background: rgba(255, 255, 255, 0.4);
}

.audio-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s ease;
}

.audio-controls input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.audio-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  border: none;
}

#musicVolumeValue {
  font-size: 12px;
  opacity: 0.7;
  min-width: 36px;
  text-align: right;
}

@media (max-width: 480px) {
  .audio-controls {
    gap: 10px;
    padding: 8px 10px;
  }

  .audio-controls input[type="range"] {
    width: 110px;
  }
}

.nowplaying{
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(680px, 92vw);
  padding: 10px 12px;
  border-radius: 16px;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
}

.np-btn{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, opacity 120ms ease;
}

.np-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
}

.np-btn:active{
  transform: translateY(0);
  opacity: 0.85;
}

.np-meta{
  display: grid;
  gap: 2px;
  min-width: 160px;
  flex: 1;
}

.np-title{
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-sub{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  opacity: 0.65;
}

.np-dot{ opacity: 0.6; }

.np-seek{
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.np-seek:hover{
  background: rgba(255,255,255,0.4);
}

.np-seek::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.np-seek::-moz-range-thumb{
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #fff;
}

@media (max-width: 520px){
  .np-seek{ width: 120px; }
  .np-meta{ min-width: 120px; }
}

.audio-stack{
  display: grid;
  gap: 8px;               
  align-items: center;
}

@media (max-width: 520px){
  .audio-stack{
    gap: 6px;
  }
}


