/* ═══════════════════════════════════════════════════════════
   NOTICE ONE — links.css
   Link in Bio page — mobile-first, full-screen
═══════════════════════════════════════════════════════════ */

:root {
  --bg:         #0a0a0a;
  --text:       #f0ece4;
  --text-muted: #888880;
  --accent:     #c9a96e;
  --border:     rgba(255,255,255,0.08);
  --card-bg:    rgba(255,255,255,0.05);
  --card-hover: rgba(255,255,255,0.09);
  --radius:     6px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

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

/* ── Background ───────────────────────────────────────────── */
.links-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.links-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.18;
  filter: blur(2px) grayscale(30%);
}

.links-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.7) 0%,
    rgba(10,10,10,0.85) 50%,
    rgba(10,10,10,0.95) 100%
  );
}

/* ── Main layout ──────────────────────────────────────────── */
.links-main {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 56px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  min-height: 100vh;
}

/* ── Header ───────────────────────────────────────────────── */
.links-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fade-up 0.6s var(--ease-out) both;
}

.links-logo-mark {
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 12px;
  background: rgba(201,169,110,0.08);
}

.links-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.links-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.links-location {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

/* ── Countdown pill ───────────────────────────────────────── */
.links-countdown-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 999px;
  background: rgba(201,169,110,0.07);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  animation: fade-up 0.6s var(--ease-out) 0.1s both;
}

.pill-label {
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.65rem;
}

.pill-sep { color: var(--border); }

.pill-timer {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 0.85rem;
}

/* ── Link cards ───────────────────────────────────────────── */
.links-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition:
    background 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
  animation: fade-up 0.5s var(--ease-out) both;
}

/* Stagger card animations */
.link-card:nth-child(1) { animation-delay: 0.15s; }
.link-card:nth-child(2) { animation-delay: 0.20s; }
.link-card:nth-child(3) { animation-delay: 0.25s; }
.link-card:nth-child(4) { animation-delay: 0.30s; }
.link-card:nth-child(5) { animation-delay: 0.35s; }
.link-card:nth-child(6) { animation-delay: 0.40s; }

.link-card:hover {
  background: var(--card-hover);
  border-color: rgba(201,169,110,0.3);
  transform: translateY(-1px);
}

.link-card:active { transform: translateY(0); }

/* Featured card */
.link-card--featured {
  border-color: rgba(201,169,110,0.4);
  background: rgba(201,169,110,0.08);
}

.link-card--featured:hover {
  background: rgba(201,169,110,0.14);
  border-color: rgba(201,169,110,0.6);
}

.link-card-icon {
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.link-card-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.link-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.link-card-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.link-card-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.link-card:hover .link-card-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ── Social pills ─────────────────────────────────────────── */
.links-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fade-up 0.5s var(--ease-out) 0.45s both;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.social-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.social-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201,169,110,0.06);
}

/* ── Footer ───────────────────────────────────────────────── */
.links-footer {
  margin-top: auto;
  padding-top: 16px;
  animation: fade-up 0.5s var(--ease-out) 0.5s both;
}

.links-home {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.links-home:hover { color: var(--accent); }

/* ── Share buttons on gallery ─────────────────────────────── */
.gallery-share {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.share-btn {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border: 1px solid rgba(240,236,228,0.3);
  color: rgba(240,236,228,0.8);
  border-radius: 3px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.share-btn:hover {
  background: rgba(201,169,110,0.2);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Entrance animation ───────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Prefers reduced motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .links-header, .links-countdown-pill,
  .link-card, .links-socials, .links-footer {
    animation: none;
  }
}


/* CM6 FIX — Notice One Radio styling for the Links page (top-right corner) */
.music-player { position: absolute; top: 16px; right: 16px; z-index: 1000; display: flex; align-items: center; }
.music-player .music-info { display: none; }
.music-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,10,10,0.85);
  border: 1px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  outline: none;
  box-shadow: 0 4px 20px rgba(201,169,110,0.15);
}

.music-btn:hover {
  background: var(--accent);
  color: #0a0a0a;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(201,169,110,0.35);
}

.music-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.music-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
  background: rgba(10,10,10,0.7);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.music-player:hover .music-label {
  opacity: 1;
  transform: translateX(0);
}

/* Equalizer bars animation when playing */
.music-btn .eq-bars {
  display: none;
  gap: 2px;
  align-items: flex-end;
  height: 16px;
}

.music-btn.playing .eq-bars { display: flex; }
.music-btn.playing .play-icon { display: none; }

.eq-bar {
  width: 3px;
  border-radius: 2px;
  background: currentColor;
  animation: eq-bounce 0.6s ease-in-out infinite alternate;
}
.eq-bar:nth-child(1) { height: 8px;  animation-delay: 0s; }
.eq-bar:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.eq-bar:nth-child(3) { height: 6px;  animation-delay: 0.3s; }
.eq-bar:nth-child(4) { height: 12px; animation-delay: 0.1s; }
@keyframes eq-bounce {
  from { transform: scaleY(0.4); }
  to   { transform: scaleY(1); }
}
.music-btn { width: 40px; height: 40px; }
.music-btn svg { width: 16px; height: 16px; }

/* CM6 FIX — social buttons sit in two even rows (3 + 2) instead of leaving one alone */
.links-socials { max-width: 370px; margin-left: auto; margin-right: auto; }
