/* =========================================================
   Next Afrobeats Star — shared theme
   Dark background, pink accent (brand), gold secondary accent
   (lifted from the real NAS logo mic/speaker icon).
   ========================================================= */

:root {
  --bg: #0a0408;
  --bg-elevated: #160a12;
  --bg-card: #1d0e18;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --pink: #ff2d87;
  --pink-light: #ff6bab;
  --pink-dark: #c1125f;
  --gold: #f6c445;

  --text: #fdf6fa;
  --text-dim: #c9b8c4;
  --text-faint: #8d7a89;

  --success: #35c98f;
  --error: #ff5c6c;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-pink: 0 8px 30px rgba(255, 45, 135, 0.25);
  --font-display: "Anybody", "Arial Black", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 45, 135, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(246, 196, 69, 0.08), transparent);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--pink-light);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 16px 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  box-shadow: var(--shadow-pink);
  width: 100%;
}

.btn-primary:hover {
  box-shadow: 0 10px 36px rgba(255, 45, 135, 0.4);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--pink);
  color: var(--pink-light);
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  display: none;
}

.is-loading .spinner {
  display: inline-block;
}

.is-loading .btn-label {
  opacity: 0.8;
}

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

/* ---------------- Scrollbar (webkit) ---------------- */

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--pink-dark);
  border-radius: 10px;
}
