/* ═══════════════════════════════════════════
   SYNTHETIC SOUND — BLACK & WHITE OUTLINE
   ═══════════════════════════════════════════ */

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

:root {
  --bg: #000;
  --text: #fff;
  --dim: rgba(255,255,255,.45);
  --border: rgba(255,255,255,.85);
  --border-thin: rgba(255,255,255,.25);
  --font: 'Outfit', system-ui, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── BACKGROUND GLOBE ────────────────────── */
.bg-globe {
  position: fixed;
  top: 50%; left: 50%;
  width: 140vw; height: 140vw;
  max-width: 1000px; max-height: 1000px;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  animation: spinGlobe 80s linear infinite;
  opacity: 0.15;
}
.bg-globe svg { width: 100%; height: 100%; }

@keyframes spinGlobe {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@font-face {
  font-family: 'The Black Hive';
  src: url('/TheBlackHive.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-palette-values --lightPalette {
  font-family: 'The Black Hive';
  base-palette: 1;
}

/* ── TITLE STYLE ─────────────────────────── */
.title-main {
  font-family: 'The Black Hive', var(--font);
  font-palette: --lightPalette;
  font-size: clamp(2.8rem, 8.5vw, 5.8rem);
  font-weight: normal;
  letter-spacing: 0.05em;
  line-height: 1.15;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
  text-align: center;
  text-transform: uppercase;
}

/* ── OUTLINED PANELS ─────────────────────── */
.outline-panel {
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 20px;
  position: relative;
}

/* ── OUTLINED BUTTONS ────────────────────── */
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 100px;
  color: #fff;
  font-weight: 700;
  position: relative;
  transition: background 0.25s ease, transform 0.2s ease;
}

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

.outline-btn:active {
  transform: translateY(1px) scale(0.98);
}

.outline-btn.disabled {
  opacity: .35;
  pointer-events: none;
}

/* ── NAVBAR ───────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-thin);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── MOBILE NAV BUTTONS (visible on mobile, replaces side menu) ── */
.mobile-nav-btns {
  display: none;
  align-items: center;
  gap: 6px;
}

.mobile-nav-btns .nav-link {
  padding: 6px 10px;
  font-size: 0.7rem;
}

.mobile-nav-btns .nav-link svg {
  width: 14px;
  height: 14px;
}

/* ── MAIN CONTENT ─────────────────────────── */
.content-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding-top: 70px;
}

.view-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HOME VIEW */
.pricing-card {
  padding: 2rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  width: 100%;
}

.pricing-card p {
  margin: 0.5rem 0;
}

.big-btn {
  padding: 16px 48px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contacts-box {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeIn 0.4s ease-out;
}

.contacts-box h3 {
  font-size: 1.2rem;
  margin: 0;
  color: #fff;
}

.contacts-links {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-btn {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  min-width: 230px;
  height: 48px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.contact-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  min-height: 1.2em;
  line-height: 1.2;
  text-align: center;
  user-select: none;
}

.discord-username {
  display: inline-block;
  min-width: 82px;
  text-align: left;
}

/* DOWNLOAD VIEW */
.dl-track-info {
  width: 100%;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.downloading-text {
  font-size: 0.85rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.track-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.steps-box {
  width: 100%;
  padding: 2.5rem;
}

.step {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeIn 0.4s ease-out;
}

.step.active { display: flex; }

.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.step h3 { font-size: 1.3rem; margin: 0; color: #fff; }

.countdown {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
}

.countdown svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  position: absolute;
  top: 0;
  left: 0;
}

.ring-bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 4; }

.ring-fill {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 1s linear;
}

.countdown-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.cta-btn {
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
}

.dl-track-name {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}

/* ── MODALS & ADMIN ───────────────────────── */
.modal-backdrop,
.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.admin-panel {
  max-width: 500px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(255,255,255,.1);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.admin-header h2 {
  font-size: 1.4rem;
  margin: 0;
  color: #fff;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-form h3 {
  color: #fff;
  font-size: 1.1rem;
}

.glass-input {
  background: transparent;
  border: 2px solid var(--border-thin);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: .95rem;
  color: #fff;
  width: 100%;
  outline: none;
  transition: border-color .3s;
  font-family: var(--font);
}

.glass-input:focus {
  border-color: var(--border);
}

.admin-tracks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 10px;
}

.admin-track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--border-thin);
  border-radius: 10px;
  font-size: .85rem;
  text-align: left;
}

.admin-track-item .slug {
  color: var(--dim);
  font-size: .75rem;
}

.delete-btn {
  color: #ef4444;
  font-size: .8rem;
  padding: 4px 12px;
  border: 1px solid #ef4444;
  border-radius: 100px;
}

.delete-btn:hover {
  background: rgba(239,68,68,.1);
}

#adminAuth {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.dim { color: var(--dim); }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-nav-btns { display: flex; }
  .title-main { font-size: clamp(2.4rem, 8vw, 3.8rem); margin-bottom: 1.5rem; }
  .pricing-card { padding: 1.5rem; font-size: 1rem; }
  .big-btn { padding: 14px 36px; font-size: 1.1rem; }
  .contacts-links { flex-direction: column; align-items: center; width: 100%; gap: 0.85rem; }
  .contact-item { width: 100%; max-width: 280px; }
  .contact-btn { width: 100%; min-width: unset; }
  .navbar { padding: 0 0.75rem; height: 60px; }
  .nav-brand { font-size: 0.9rem; }
  .nav-logo { width: 30px; height: 30px; }
  .view-container { padding: 1rem; }
  .content-wrapper { min-height: calc(100vh - 60px); padding-top: 60px; }
  .steps-box { padding: 1.5rem; }
  .admin-panel { padding: 1.5rem; }
}

@media (max-width: 420px) {
  .mobile-nav-btns .nav-link {
    padding: 5px 7px;
    font-size: 0.65rem;
    gap: 4px;
  }
  .mobile-nav-btns .nav-link svg {
    width: 12px;
    height: 12px;
  }
  .title-main { font-size: 2.2rem; }
  .nav-left { gap: 8px; }
  .nav-brand { font-size: 0.8rem; }
}


/* ── DONATE MODAL CRYPTO STYLES ── */
.crypto-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-top: 1.25rem;
}

.crypto-item {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crypto-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.crypto-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.crypto-badge {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.crypto-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.crypto-copy-btn {
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.crypto-copy-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.crypto-copy-btn.copied {
  border-color: #4ade80;
  color: #4ade80;
}

.crypto-address {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  word-break: break-all;
  user-select: all;
  line-height: 1.4;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.donate-thanks {
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  text-shadow: none;
  line-height: 1.2;
}

/* ── SITE FOOTER & ADS BUTTON ── */
.site-footer {
  padding: 1.5rem 1rem 2.25rem;
  text-align: center;
  z-index: 15;
  position: relative;
}

.footer-ads-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.footer-ads-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}


/* ── AI HOME VIEW COMPONENT ── */
.ai-home-panel {
  text-align: left;
  padding: 2.2rem 2rem;
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.ai-home-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.ai-home-features {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.75rem;
  list-style: none;
  padding: 0;
}

.ai-home-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

.feature-check {
  color: #fff;
  margin-right: 8px;
  font-weight: 700;
  flex-shrink: 0;
}

.ai-home-video-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.video-embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ai-bot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  border-radius: 100px;
}

/* ── COMPACT DISCOGRAPHY BUTTON & LIST ── */
.discography-btn-compact {
  padding: 10px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  border-radius: 100px;
  transition: all 0.25s ease;
}

.discography-list-box {
  width: 100%;
  max-width: 680px;
  margin-bottom: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.discography-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  gap: 12px;
  box-sizing: border-box;
}

.discography-track-name {
  font-weight: 600;
  font-size: 0.98rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.discography-dl-btn {
  text-decoration: none;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ── ALWAYS VISIBLE AI CTA UNDER DOWNLOAD BOX ── */
.ai-cta-card {
  width: 100%;
  box-sizing: border-box;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ai-cta-pulse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  animation: pulse 2.4s infinite ease-in-out;
  max-width: 100%;
  box-sizing: border-box;
}

.ai-cta-pulse-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

.ai-cta-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  margin: 0;
  max-width: 420px;
}

/* ── RESPONSIVE MOBILE ADAPTATIONS ── */
@media (max-width: 600px) {
  .ai-home-panel {
    padding: 1.35rem 1rem;
    margin-bottom: 1.5rem;
  }
  .ai-home-desc {
    font-size: 1.02rem;
    line-height: 1.5;
  }
  .ai-home-features {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  .ai-home-video-title {
    font-size: 1.15rem;
  }
  .video-embed-container {
    margin-bottom: 1.5rem;
  }
  .ai-bot-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box;
  }
  .ai-cta-card {
    padding: 1.25rem 1rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .ai-cta-pulse-btn {
    width: 100%;
    font-size: 0.88rem;
    padding: 12px 18px;
    box-sizing: border-box;
  }
  .ai-cta-sub {
    font-size: 0.8rem;
  }
  .discography-btn-compact {
    font-size: 0.85rem;
    padding: 9px 18px;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
  }
  .discography-item {
    padding: 0.8rem 1rem;
  }
  .discography-track-name {
    font-size: 0.88rem;
  }
  .discography-dl-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}