/* =========================================================
   ROOT VARIABLES (DartCríos Theme)
========================================================= */
:root {
  --bg: #0b0b0c;
  --text: #e60000;
  --accent: #a259ff;

  --track-bg: #101013;
  --track-hover: #1a1a1a;

  --wave-bg: #333;
  --wave-accent: #a259ff;

  --maxw: 1100px; /* added (was referenced, not defined) */
}

/* =========================================================
   GLOBAL RESET & BASE
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: var(--bg);
  color: var(--text);
}

/* =========================================================
   PREVIEW SCREEN
========================================================= */
#preview {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  text-align: center;
  transition: opacity 0.8s ease;
}

#preview h1 {
  font-size: 48px;
  letter-spacing: 2px;
  margin: 0 0 16px;
}

#preview p {
  font-size: 18px;
  margin: 0 0 32px;
  color: #aaa;
}

#enter-btn {
  padding: 14px 28px;
  font-size: 16px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

#enter-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* =========================================================
   HEADER / HERO (Oscilloscope Scope)
========================================================= */
.hero.scope-header {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#scopeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.scope-ui {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  pointer-events: none; /* re-enable nav links below */
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(230, 255, 245, 0.92);
  box-shadow: 0 0 14px rgba(230, 255, 245, 0.16);
}

.brand .name {
  letter-spacing: 0.14em;
  color: rgba(230, 255, 245, 0.95);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.brand .tag {
  color: rgba(210, 240, 230, 0.6);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.scope-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 2px;
  pointer-events: auto;
}

.scope-nav a {
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(6px);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.scope-nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 18px rgba(162, 89, 255, 0.12);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .hero.scope-header {
    height: 290px;
  }

  .scope-ui {
    flex-direction: column;
    align-items: flex-start;
  }

  .scope-nav {
    justify-content: flex-start;
  }

  .scope-nav a {
    font-size: 1.1rem;
  }
}


/* =========================================================
   MAIN WRAPPER
========================================================= */
#main {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  padding: 40px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

#main h2 {
  margin: 0 0 24px;
  font-size: 32px;
  text-align: left;
}


/* =========================================================
   BLOG (Structure + Theme)
========================================================= */
.blog {
  padding: 3rem 1rem;
  text-align: center;
}

.blog-header {
  font-size: 2rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.5rem;
  margin: 0 0 2rem;
  color: var(--text);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-post {
  background-color: #222;
  padding: 2rem;
  border-radius: 10px;
  color: #ccc;
  box-shadow: 0 0 10px #a259ff22;
}

.blog-post h2 {
  margin: 0 0 0.75rem;
  color: var(--text);
}

.blog-post .date {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.blog-post p {
  margin: 0;
  line-height: 1.6;
  color: #ccc;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  text-decoration: none;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.5rem 1rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
  background-color: var(--accent);
  color: #0a0a0a;
}

/* Global links (kept your green) */
a {
  color: #39ff14;
}

/* =========================================================
   LINKS (Social + Blog Links)
========================================================= */
.links {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  justify-content: center;
}

.links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.links a:hover {
  color: #fff;
}

/* =========================================================
   RADIO
========================================================= 
.radio {
  text-align: center;
  background-color: #111;
  color: #eee;
  padding: 2rem 1rem;
  border-radius: 8px;
  max-width: 500px;
  margin: 2rem auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.radio h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.artwork-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.artwork-wrapper img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.audio-player p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

#currentSong {
  font-weight: 700;
  color: #eb6123;
  transition: opacity 0.3s ease;
}

.listeners {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Note: targets ALL audio tags site-wide 
audio {
  width: 100%;
  border-radius: 6px;
  outline: none;
  margin-top: 1rem;
} */

/* =========================================================
   FOOTER
========================================================= */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #000;
  color: #888;
  font-size: 0.9rem;
}

footer .socials a {
  margin: 0 8px;
  color: var(--text);
  transition: color 0.3s ease;
}

footer .socials a:hover {
  color: var(--accent);
  text-decoration: underline;
}

