/* ══════════════════════════════════════════════════════════
   Theme: Baddie
   ══════════════════════════════════════════════════════════
   Deep plum purple background, soft pink pill link buttons.
   ══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@400;500;600;700;800;900&display=swap');

:root {
  color-scheme: dark;
  --bg:           #1d0a28;
  --ink:          #f5e8ff;
  --accent:       #c878c6;
  --accent-hover: #da98d8;
  --card:         #2a1038;
  --card-hover:   #341648;
  --border:       #4a2060;
  --border-glow:  rgba(200, 120, 198, 0.5);
  --shadow:       rgba(0, 0, 0, 0.7);
  --link-bg:      #c878c6;
  --link-bg-hover:#da98d8;
  --link-text:    #1a0826;
  --muted:        #c4a8d4;
}

/* ── Background ─────────────────────────────────────────── */
body {
  background: #1d0a28;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(180, 80, 180, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 90%,  rgba(120, 40, 140, 0.18) 0%, transparent 60%);
  font-family: 'Gothic A1', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
}

/* ── Ambient glow orbs ──────────────────────────────────── */
body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

body::before {
  width: 480px;
  height: 480px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(180, 80, 180, 0.18) 0%, transparent 70%);
  animation: orbFloat 14s ease-in-out infinite;
}

body::after {
  width: 360px;
  height: 360px;
  bottom: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(140, 60, 160, 0.16) 0%, transparent 70%);
  animation: orbFloat 18s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  40%       { transform: translate(40px, -30px); }
  70%       { transform: translate(-20px, 20px); }
}

/* ── Card ───────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid rgba(200, 120, 198, 0.2);
  box-shadow:
    0 20px 60px var(--shadow),
    0 0 80px rgba(180, 80, 180, 0.08);
  border-radius: 16px;
  animation: slideUp 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  z-index: 1;
}

/* thin pink top-border accent */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-hover), var(--accent), transparent);
  border-radius: 1px;
  opacity: 0.6;
}

/* ── Name / headline ────────────────────────────────────── */
h1 {
  font-family: 'Gothic A1', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  margin: 0 0 12px;
  text-align: center;
  background: linear-gradient(135deg, #f5e8ff 0%, var(--accent-hover) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s ease infinite;
  letter-spacing: -0.01em;
}

@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Subtitle ───────────────────────────────────────────── */
.subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ── Section headers ────────────────────────────────────── */
h2 {
  font-family: 'Gothic A1', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  gap: 10px;
}

h2::before,
h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 120, 198, 0.3));
}

h2::before {
  background: linear-gradient(270deg, transparent, rgba(200, 120, 198, 0.3));
}

/* ── Link cards ─────────────────────────────────────────── */
.link-card {
  background: var(--link-bg);
  border: none;
  border-radius: 999px;
  color: var(--link-text);
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.link-card::before {
  display: none;
}

.link-card:hover {
  background: var(--link-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 80, 180, 0.35);
}

.link-card:hover::before {
  display: none;
}

/* ── Icons ──────────────────────────────────────────────── */
.link-icon {
  border-radius: 8px;
}

/* ── Muted text ─────────────────────────────────────────── */
.link-content p {
  color: rgba(26, 8, 38, 0.7);
}

/* ── Boost badge ────────────────────────────────────────── */
.boost-badge {
  color: var(--link-text);
  opacity: 0.5;
}

.boost-badge:hover {
  opacity: 0.85;
}

/* ── Verified badge ─────────────────────────────────────── */
.verified-badge {
  color: var(--link-text);
}

/* ── Info / details section ─────────────────────────────── */
.info-section summary {
  color: var(--muted);
  transition: color 200ms;
}

.info-section summary:hover {
  color: var(--accent-hover);
}

.info-section ul {
  color: var(--muted);
}

.info-section code {
  color: var(--accent-hover);
}

/* ── Entrance animation ─────────────────────────────────── */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive tweaks ──────────────────────────────────── */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
}
