/* Base links */
a {
  color: #00FF02;
  text-decoration: none;
}

a:hover {
  color: #00FF02;
  text-decoration: underline;
}

a:visited {
  color: #55ff99;
}

/* Body */
body {
  background: #000;
  color: #BFB7B7;
  font-family: Helvetica, Arial, sans-serif;
  overflow: visible;
}

/* Layout */
.container {
  max-width: 900px;
  margin: auto;
  padding: 40px;
}

/* Header */
h1 {
  color: #00FF02;
  font-size: 64px;
  line-height: 0;
  letter-spacing: 6px;
}

.subtitle {
  color: #888;
  font-style: italic;
  line-height: 3;
}

/* Navigation */
.nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 50px;
}

.nav a {
  color: #d0d0d0;
  font-size: 20px;
}

.nav a:hover {
  color: #00FF02;
}

.nav2 {
  display: flex;
  gap: 9px;
  margin: 10px 0 25px;
}

.nav2 a {
  color: #d0d0d0;
  font-size: 15px;
}

.nav2 a:hover,
.nav2 a.active {
  color: #00FF02;
}

/* Content Layout */
.content-container {
  display: flex;
  gap: 1rem;
  overflow: visible;  
}

.content-left {
  width: 30%;
}

.content-view {
  width: 70%;
}

#contentFrame {
  width: 100%;
  height: 700px;
  border: none;
}

/* Lists */
#contentList {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#contentList a {
  padding: 6px 10px;
  color: #00FF02;
}

#contentList a:hover,
#contentList a.active {
  color: #D0D0D0;
}

.content-list li.active {
  color: #fff;
}

/* Items */
.folder-item,
.file-item {
  /*background: #000;*/
  background: transparent;
  color: #00FF02;
  font-size: 20px;
  cursor: pointer;
}

.file-item.active {
  color: #D0D0D0;
}

/* Hover */
.folder-item:hover,
.file-item:hover {
  color: #D0D0D0;
}

/* Cards / Grid */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Music */

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}


/* Album cards */
.album-card {
  cursor: pointer;
  text-align: center;
}

/* Track cards */
/* Music cards */
.music-card {
  background: transparent;
  border: 1px solid #333;
  color: #0f0;
  text-align: center;
  cursor: default;        /* Don't block pointer events */
  position: relative;     /* For proper z-index stacking */
  overflow: visible;      /* So audio controls aren't clipped */
  padding: 0.5rem;
}

.music-card img,
.music-card p,
.music-card audio {
  pointer-events: auto;     /* ensure audio buttons work */
}

/* Hide audio controls by default, show on hover */
.music-card audio {
  display: none;
  width: 100%;
  margin-top: 0.5rem;
  position: relative;
  z-index: 10;            /* Make sure it's above parent */
}

/* Show audio controls on hover */
.music-card:hover audio {
  display: block;
}

.card {
  width: 200px;
  /*background: #111;*/
  background: transparent;
  border: 1px solid #333;
  color: #0f0;
  text-align: center;
  cursor: pointer;
}

.card:hover {
  border-color: #0f0;
  transform: scale(1.03);
}

.card img {
  width: 100%;
}

/* Latest */
.latest {
  margin-top: 2rem;
}

.section-title {
  margin-bottom: 0.75rem;
  color: #d0d0d0;
}

.latest-item a {
  display: block;
  padding: 6px 0;
  color: #00FF02;
}

.latest-item a:hover {
  color: #ccc;
}

/* Footer */
.footer {
  margin-top: 120px;
  font-size: 12px;
  color: #D0D0D0;
}

.footer-rss {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.75rem;
  color: #0f0;
  text-decoration: none;
  opacity: 0.6;
  vertical-align: middle;
}

.footer-rss:hover {
  opacity: 1;
}

/* Video */
.video-card img {
  width: 100%;
  height: 100%;
}

/* Orb */
.orb {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(0,255,2,0.6) 0%,
    rgba(0,255,2,0.25) 40%,
    rgba(0,255,2,0.05) 60%,
    rgba(0,0,0,0) 75%
  );

  filter: blur(6px);
  animation: pulse 6s infinite ease-in-out;

  transform: translate(-50%, -50%);
  z-index: 99999;
  pointer-events: none;
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {

  /* Container */
  .container {
    padding: 20px 16px;
  }

  /* Header */
  h1 {
    font-size: 36px;
    letter-spacing: 2px;
    line-height: 1.1;
  }

  .subtitle {
    line-height: 2;
  }

  /* Nav: wrap onto multiple lines */
  .nav2 {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .nav2 a {
    font-size: 13px;
  }

  /* Home nav: already vertical, just tighten */
  .nav {
    gap: 14px;
    margin-bottom: 30px;
  }

  .nav a {
    font-size: 18px;
  }

  /* Two-panel content layout: stack vertically */
  .content-container {
    flex-direction: column;
  }

  .content-left {
    width: 100%;
  }

  .content-view {
    width: 100%;
  }

  #contentFrame {
    height: 60vh;
    min-height: 300px;
  }

  /* Folder/file items */
  .folder-item,
  .file-item {
    font-size: 16px;
  }

  /* Art/image cards: 2 per row on mobile */
  .album-card,
  .image-card {
    width: calc(50% - 0.5rem);
  }

  /* Music grid: 2 per row minimum */
  .music-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  /* Footer */
  .footer {
    margin-top: 60px;
  }
}

@media (max-width: 480px) {

  h1 {
    font-size: 28px;
    letter-spacing: 1px;
  }

  /* Art/image cards: full width on very small screens */
  .album-card,
  .image-card {
    width: 100%;
  }

  #contentFrame {
    height: 50vh;
  }
}