/* ===================================
   ROOT VARIABLES (DartCríos Theme)
=================================== */
:root {
  --bg: #0B0B0C;          /* deep black */
  --text: #e60000;        /* neon red */
  --accent: #a259ff;      /* neon purple accent */

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

  --wave-bg: #333;
  --wave-accent: #a259ff;
  --maxw: 1100px; /* added (was referenced, not defined) */
}
/* ===================================
   GLOBAL RESET & BODY
=================================== */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Share Tech Mono', monospace;
  background: var(--bg);
  color: var(--text);
}

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

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

#preview p {
  font-size: 18px;
  margin-bottom: 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: all 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{
  font-family: 'Share Tech Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.14em;
  color: rgba(230,255,245,0.95);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.brand .tag{
  font-family: 'Share Tech Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  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; /* clickable */
}

.scope-nav a{
  font-family: 'Share Tech Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  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.10);
  background: rgba(0,0,0,0.14);
  backdrop-filter: blur(6px);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, color .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);
}

.nav-logo {
  height: 16px;
  width: auto;
  display: block;
}


/* MOBILE RESPONSIVENESS FOR SCOPE HEADER */
@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-bottom: 24px;
  font-size: 32px;
  text-align: Left;
}

/* ===================================
   TRACK GRID
=================================== */
.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.track {
  background: var(--track-bg);
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.3s, transform 0.3s;
}

.track:hover {
  background: var(--track-hover);
  transform: translateY(-4px);
}

.track img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
}

.track-title {
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
  color: var(--text);
}

.track audio {
  width: 100%;
  margin-top: 8px;
  border-radius: 4px;
  background: #111;
}

.hidden-audio {
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.player-controls button {
  margin-top: 8px;
  padding: 6px 12px;
  background: #222;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.player-controls button:hover {
  background: #444;
}

.buy-btn {
  padding: 6px 12px;
  background: #222;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.buy-btn:hover {
  background: #ff5c00;
}


/* ===================================
   BLOG SECTION
=================================== */
.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;
}

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


/* ===============================
   Video Section (matches blog layout)
=============================== */

.videos {
    padding: 3rem 1rem;
    text-align: Left;
}

.videos h2 {
    font-size: 2rem;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    color: #e60000;
}

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

.video-item iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    border: 1px solid var(--accent);
    box-shadow: 0 0 10px #a259ff22;
}


/* ===================================
   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;
}

.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-bottom: 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: bold;
  color: #EB6123;
  transition: opacity 0.3s ease;
}

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

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;
}

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