/* Retro terminal green-on-black style */
:root{
  --bg:#060606;
  --accent:#185326; /* UI accent (nav underline, borders) */
  --text:#1a8b42;   /* darker page text */
  --muted:rgba(24,83,38,0.2);
}
html,body{height:100%;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: "Courier New", Monaco, monospace;
  -webkit-font-smoothing:antialiased;
}
.site-header{max-width:1100px;margin:28px auto 0;padding:0 20px}
.topnav{display:flex;gap:36px;border-bottom:3px solid var(--accent);padding-bottom:18px;position:relative}
.topnav a{color:var(--accent);text-decoration:none;padding:6px 8px;font-weight:700;letter-spacing:0.5px;position:relative;border-right:3px solid var(--muted);display:inline-block}
.topnav a:last-child{border-right:none}
/* SVG/text labels styling: skewed to match perspective and given a stronger extruded look */
.topnav a svg{display:block;width:170px;height:auto;filter:drop-shadow(2px 2px 0 rgba(0,0,0,0.65));transform:skewY(-8deg);overflow:visible}
.topnav a img{display:block;width:170px;height:auto;filter:drop-shadow(2px 2px 0 rgba(0,0,0,0.65));transform:skewY(-8deg)}
.topnav a svg .label-top{fill:var(--accent);}
.topnav a svg .label-shadow{fill:#002800;opacity:0.95}
.topnav a:hover svg,.topnav a:hover img{filter:brightness(1.05) drop-shadow(3px 3px 0 rgba(0,0,0,0.7))}

/* stronger extrusion: multiple duplicated text layers inside the SVG create depth */
.nav-extrude{transform:translateZ(0)}

/* small angled face to the right of each tab (subtle 3D look) */
.topnav a::before{content:"";position:absolute;right:-10px;top:6px;width:12px;height:46px;background:linear-gradient(90deg, rgba(0,204,51,0.02), rgba(0,204,51,0.06));transform:skewY(-12deg);border-left:1px solid rgba(0,204,51,0.06);pointer-events:none}

/* tilted underline for active item */
.topnav a::after{content:"";position:absolute;left:6px;right:6px;height:3px;background:transparent;bottom:-22px;transform-origin:left;transform:skewX(-22deg) scaleX(0);opacity:0;transition:transform 360ms cubic-bezier(.2,.9,.2,1),opacity 280ms}
.topnav a.active::after{background:var(--accent);opacity:1;height:5px;bottom:-22px;box-shadow:0 2px 0 rgba(24,83,38,0.08);transform:skewX(-22deg) scaleX(1)}
.topnav a:hover::after{opacity:0.7;transform:skewX(-22deg) scaleX(1)}
.topnav a.active::before{background:linear-gradient(90deg, rgba(24,83,38,0.04), rgba(24,83,38,0.14));}

.content{max-width:1100px;margin:40px auto;padding:0 20px;display:flex;gap:48px;position:relative}
.content.single{display:block}
.content.gallery{flex-wrap: wrap; align-content: flex-start;}
.left{flex:1;font-size:18px;line-height:1.6;white-space:pre-wrap}
.right{width:360px;font-size:16px;line-height:1.6;white-space:pre-wrap}

h1{color:var(--text);margin-top:0}
p{margin:0 0 18px 0}

/* Mobile optimizations */
@media(max-width:768px){
  .site-header{margin:16px auto 0;padding:0 12px}
  .topnav{gap:8px;padding-bottom:12px;border-bottom-width:2px}
  .topnav a{padding:4px 6px;font-size:12px}
  .topnav a svg,.topnav a img{width:100px;height:auto;transform:skewY(-6deg)}
  .topnav a::before{right:-6px;top:4px;width:8px;height:32px;transform:skewY(-10deg)}
  .topnav a::after{bottom:-16px;height:2px}
  .topnav a.active::after{height:3px;bottom:-16px}
  .content{margin:24px auto;padding:0 12px;gap:20px;flex-direction:column}
  .left{font-size:16px}
  .right{width:100%;font-size:14px}
  h1{font-size:20px}
  p{font-size:14px}
}

@media(max-width:480px){
  .site-header{margin:12px auto 0;padding:0 8px}
  .topnav{gap:4px;padding-bottom:8px}
  .topnav a{padding:3px 4px}
  .topnav a svg,.topnav a img{width:70px}
  .topnav a::before{display:none}
  .topnav a::after{bottom:-12px}
  .topnav a.active::after{bottom:-12px}
  .content{margin:16px auto;padding:0 8px;gap:12px}
  .left,.right{font-size:14px;line-height:1.5}
  h1{font-size:16px;margin-bottom:12px}
  p{font-size:13px;margin-bottom:12px}
}

.gallery .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:18px;margin-top:18px}
.thumb{background:rgba(24,83,38,0.04);border:1px solid rgba(24,83,38,0.12);padding:36px 12px;text-align:center;color:var(--text)}

@media(max-width:768px){
  .gallery .grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:12px}
  .thumb{padding:24px 8px}
}

@media(max-width:480px){
  .gallery .grid{grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:8px}
  .thumb{padding:16px 6px}
}
.note{opacity:0.8;font-size:13px}

.code{background:rgba(0,0,0,0.18);padding:18px;border:1px solid rgba(24,83,38,0.08);white-space:pre-wrap}

.contact-form{display:flex;flex-direction:column;gap:12px;max-width:520px}
.contact-form label{display:flex;flex-direction:column;font-size:14px}
.contact-form input,.contact-form textarea{background:#081308;border:1px solid rgba(24,83,38,0.08);color:var(--text);padding:8px;font-family:inherit}
.contact-form button{background:transparent;border:2px solid var(--accent);color:var(--text);padding:8px 12px;cursor:pointer}
.mailto{color:var(--text);text-decoration:underline}

/* Blog styles */
.blog-post {
  margin-bottom: 40px;
  padding: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--muted);
  background: rgba(24, 83, 38, 0.08);
  border-radius: 3px;
}

@media(max-width:768px){
  .blog-post{
    margin-bottom:24px;
    padding:12px;
    padding-bottom:16px
  }
}

@media(max-width:480px){
  .blog-post{
    margin-bottom:16px;
    padding:10px;
    padding-bottom:12px
  }
}

.blog-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.post-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.post-title {
  color: var(--text);
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@media(max-width:768px){
  .post-title{
    font-size:16px
  }
}

@media(max-width:480px){
  .post-title{
    font-size:14px
  }
}

.post-date {
  color: var(--text);
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-content {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

@media(max-width:768px){
  .post-content{
    font-size:14px;line-height:1.6
  }
}

@media(max-width:480px){
  .post-content{
    font-size:13px;line-height:1.5
  }
}

/* Recent posts sidebar */
.right h3 {
  color: var(--text);
  font-size: 14px;
  margin: 0 0 18px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 10px;
  background: rgba(24, 83, 38, 0.04);
  border: 1px solid rgba(24, 83, 38, 0.08);
  border-radius: 2px;
  transition: all 150ms;
}

.post-list li:hover {
  background: rgba(24, 83, 38, 0.08);
  border-color: var(--accent);
}

.post-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  flex: 1;
}

.post-list a:hover {
  color: var(--accent);
}

.list-date {
  color: var(--text);
  font-size: 11px;
  opacity: 0.6;
  white-space: nowrap;
  margin-left: 12px;
}

@media (max-width:900px){
  .content{flex-direction:column;padding-bottom:40px}
  .right{width:100%}
  .topnav{gap:12px;overflow:auto}
}

/* GIF margin helpers */
/* Fixed - sits on the left page margin (overlapping outside content area) */
.fixed-margin-gif{
  position:fixed;
  left:auto; /* JS will position this */
  top:160px;
  width:120px;
  z-index:220;
  pointer-events:auto; /* allow dragging/clicks */
  touch-action:none; /* required for pointer dragging on touch devices */
  cursor:grab;
  transition: top 360ms ease, left 360ms ease, transform 240ms ease;
  will-change: top,left;
}
.fixed-margin-gif.dragging{cursor:grabbing;transform:scale(1.02)}

@media(max-width:768px){
  .fixed-margin-gif{width:90px;top:120px}
}

@media(max-width:480px){
  .fixed-margin-gif{width:70px;top:100px}
}

/* Inline negative-margin - places image visually on the left margin next to content */
.inline-margin-gif{
  display:block;
  width:90px;
  margin-left:-80px; /* pulls image into the left margin */
}

@media (max-width:1200px){
  .fixed-margin-gif{display:none} /* hide fixed margin on small screens */
  .inline-margin-gif{display:none}
}

/* Gallery subsections */
.gallery-section {
  width: 60%;
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 0;
}

.gallery-section h2 {
  color: var(--text);
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@media(max-width:768px){
  .gallery-section{
    width:100%
  }
  .gallery-section h2{
    font-size:18px;margin-bottom:16px
  }
}

@media(max-width:480px){
  .gallery-section h2{
    font-size:16px;margin-bottom:12px;letter-spacing:1px
  }
}

.gallery-section:last-child {
  border-bottom: none;
}

.placeholder-text {
  color: var(--text);
  opacity: 0.6;
  font-size: 16px;
  font-style: italic;
}

.section-content {
  padding: 24px;
  background: rgba(24, 83, 38, 0.04);
  border: 1px solid rgba(24, 83, 38, 0.12);
  border-radius: 4px;
}

/* Swipe viewer */
.swipe-viewer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 28px;
}

.viewer-empty {
  background: rgba(24, 83, 38, 0.04);
  border: 1px solid rgba(24, 83, 38, 0.12);
  padding: 120px 20px;
  text-align: center;
  color: var(--text);
  opacity: 0.7;
  width: 100%;
}

.viewer-content {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.image-container {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--accent);
  /* allow variable aspect and use available width/height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-container img {
  max-width: 100%;
  max-height: 70vh; /* allow tall images to fit the viewport */
  width: auto;
  height: auto;
  object-fit: contain;
}

@media(max-width:768px){
  .image-container img{
    max-height:50vh
  }
}

@media(max-width:480px){
  .image-container img{
    max-height:40vh
  }
}

/* Thumbnails grid */
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

@media(max-width:768px){
  .thumbnail-grid{
    grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:6px
  }
}

@media(max-width:480px){
  .thumbnail-grid{
    grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:4px
  }
}

.thumbnail-grid img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
  border: 2px solid transparent;
  cursor: pointer;
}

@media(max-width:768px){
  .thumbnail-grid img{
    height:56px
  }
}

@media(max-width:480px){
  .thumbnail-grid img{
    height:48px
  }
}

.thumbnail-grid img.active {
  border-color: var(--accent);
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Image description */
.image-description {
  color: var(--text);
  font-size: 14px;
  text-align: center;
  padding: 10px;
  background: rgba(24, 83, 38, 0.04);
  border: 1px solid rgba(24, 83, 38, 0.12);
  min-height: 20px;
}

@media(max-width:768px){
  .image-description{
    font-size:12px;padding:8px
  }
}

@media(max-width:480px){
  .image-description{
    font-size:11px;padding:6px
  }
}

/* Navigation arrows */
.nav-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 8px 14px;
  font-size: 20px;
  cursor: pointer;
  transition: all 150ms;
}

@media(max-width:768px){
  .nav-btn{
    padding:6px 10px;font-size:16px
  }
}

@media(max-width:480px){
  .nav-btn{
    padding:4px 8px;font-size:14px
  }
}

.nav-btn:hover {
  background: rgba(24, 83, 38, 0.1);
  border-color: var(--text);
}

/* Image indicator dots */
.image-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(24, 83, 38, 0.4);
  cursor: pointer;
  transition: all 150ms;
}

.dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}

.dot:hover {
  background: var(--accent);
}

/* Gallery sidebar for subsection toggle */
.gallery-sidebar {
  width: 280px;
  position: fixed;
  right: 20px;
  top: 160px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  background: rgba(6, 6, 6, 0.95);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 16px;
  z-index: 100;
}

.sidebar-toggle {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-tab {
  background: transparent;
  border: 1px solid rgba(24, 83, 38, 0.4);
  color: var(--text);
  padding: 8px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 150ms;
  font-family: inherit;
}

.sidebar-tab:hover {
  border-color: var(--accent);
  background: rgba(24, 83, 38, 0.1);
}

.sidebar-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: bold;
}

@media (max-width: 1200px) {
  .gallery-sidebar {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 32px;
  }

  .sidebar-toggle {
    flex-direction: row;
    gap: 6px;
  }

  .sidebar-tab {
    flex: 1;
    padding: 6px 8px;
    font-size: 11px;
  }
}

/* Music Player Styles - Retro Terminal Theme */
.music-player {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 28px;
}

.player-empty {
  background: rgba(24, 83, 38, 0.08);
  border: 2px solid rgba(24, 83, 38, 0.3);
  text-align: center;
  padding: 120px 20px;
  color: var(--muted);
  border-radius: 6px;
  position: relative;
  box-shadow: 
    inset 0 0 20px rgba(24, 83, 38, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.4);
}

.player-empty::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, rgba(24, 83, 38, 0.2), transparent);
  border-radius: 6px;
  z-index: -1;
  opacity: 0.5;
}

.player-content {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  width: 100%;
  background: rgba(8, 19, 8, 0.9);
  border: 2px solid var(--accent);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: 
    0 0 15px rgba(24, 83, 38, 0.4),
    inset 0 0 30px rgba(24, 83, 38, 0.05),
    0 8px 16px rgba(0, 0, 0, 0.6);
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.3));
}

.player-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
  z-index: 1;
}

.track-info {
  background: rgba(24, 83, 38, 0.04);
  border: none;
  border-bottom: 2px solid rgba(24, 83, 38, 0.3);
  padding: 24px;
  border-radius: 0;
  text-align: center;
  position: relative;
}

.track-info::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.8;
}

.track-title {
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(24, 83, 38, 0.6);
  filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.5));
}

.track-description {
  color: var(--text);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
  opacity: 0.9;
  font-style: italic;
}

.audio-controls {
  width: 100%;
}

#audioPlayer {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0;
  border: none;
  padding: 8px;
  filter: sepia(1) hue-rotate(90deg) saturate(2) brightness(0.8);
}

#audioPlayer::-webkit-media-controls-panel {
  background-color: rgba(8, 19, 8, 0.9);
}

/* Track Navigation */
.track-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  border-bottom: 2px solid rgba(24, 83, 38, 0.2);
  background: rgba(24, 83, 38, 0.02);
}

.track-nav-btn {
  background: rgba(8, 19, 8, 0.8);
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 10px 20px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 0 10px rgba(24, 83, 38, 0.3),
    inset 0 0 10px rgba(24, 83, 38, 0.1);
  filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.4));
  flex: 0 0 auto;
  min-width: 100px;
}

.track-nav-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(24, 83, 38, 0.4), transparent);
  transition: left 0.5s ease;
}

.track-nav-btn:hover {
  background: rgba(24, 83, 38, 0.2);
  border-color: var(--text);
  color: var(--text);
  text-shadow: 0 0 8px rgba(24, 83, 38, 0.8);
  box-shadow: 
    0 0 20px rgba(24, 83, 38, 0.5),
    inset 0 0 15px rgba(24, 83, 38, 0.2);
  transform: translateY(-1px);
}

.track-nav-btn:hover::before {
  left: 100%;
}

.track-nav-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 0 15px rgba(24, 83, 38, 0.4),
    inset 0 0 10px rgba(24, 83, 38, 0.3);
}

/* Track List */
.track-list {
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: rgba(8, 19, 8, 0.6);
}

.track-list-header {
  background: rgba(24, 83, 38, 0.15);
  color: var(--accent);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 2px solid rgba(24, 83, 38, 0.3);
  text-shadow: 0 0 6px rgba(24, 83, 38, 0.6);
  position: relative;
}

.track-list-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), rgba(24, 83, 38, 0.3));
  box-shadow: 0 0 8px rgba(24, 83, 38, 0.6);
}

.track-items {
  max-height: 300px;
  overflow-y: auto;
}

.track-items::-webkit-scrollbar {
  width: 8px;
}

.track-items::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.track-items::-webkit-scrollbar-thumb {
  background: rgba(24, 83, 38, 0.5);
  border-radius: 4px;
}

.track-items::-webkit-scrollbar-thumb:hover {
  background: rgba(24, 83, 38, 0.7);
}

.track-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(24, 83, 38, 0.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  background: rgba(8, 19, 8, 0.3);
  position: relative;
}

.track-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--accent), rgba(24, 83, 38, 0.2));
  transition: width 0.3s ease;
}

.track-item:last-child {
  border-bottom: none;
}

.track-item:hover {
  background: rgba(24, 83, 38, 0.12);
  transform: translateX(4px);
  box-shadow: 
    -4px 0 8px rgba(24, 83, 38, 0.2),
    inset 0 0 15px rgba(24, 83, 38, 0.1);
}

.track-item:hover::before {
  width: 4px;
}

.track-item.active {
  background: rgba(24, 83, 38, 0.18);
  border-left: 4px solid var(--accent);
  transform: translateX(2px);
  box-shadow: 
    -2px 0 12px rgba(24, 83, 38, 0.4),
    inset 0 0 20px rgba(24, 83, 38, 0.15);
  padding-left: 20px;
}

.track-item.active::before {
  width: 4px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(24, 83, 38, 0.6);
}

.track-item-number {
  color: var(--accent);
  font-weight: 700;
  min-width: 28px;
  font-size: 14px;
  text-align: center;
  background: rgba(24, 83, 38, 0.1);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  line-height: 24px;
  border: 1px solid rgba(24, 83, 38, 0.3);
  text-shadow: 0 0 6px rgba(24, 83, 38, 0.8);
  box-shadow: inset 0 0 8px rgba(24, 83, 38, 0.2);
}

.track-item.active .track-item-number {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  text-shadow: none;
  box-shadow: 
    0 0 12px rgba(24, 83, 38, 0.8),
    inset 0 0 8px rgba(0, 0, 0, 0.3);
}

.track-item-info {
  flex: 1;
}

.track-item-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px 0;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.track-item.active .track-item-title {
  color: var(--accent);
  text-shadow: 0 0 6px rgba(24, 83, 38, 0.6);
}

.track-item-desc {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.track-item:hover .track-item-desc,
.track-item.active .track-item-desc {
  opacity: 1;
}

@media(max-width:768px){
  .track-info {
    padding: 16px;
  }

  .track-title {
    font-size: 18px;
  }

  .track-description {
    font-size: 13px;
  }

  .track-nav {
    gap: 12px;
    padding: 16px;
  }

  .track-nav-btn {
    font-size: 13px;
    padding: 8px 14px;
    min-width: 80px;
  }

  .track-list-header {
    padding: 10px 16px;
    font-size: 12px;
  }

  .track-items {
    max-height: 250px;
  }

  .track-item {
    padding: 12px 16px;
    gap: 12px;
  }

  .track-item.active {
    padding-left: 12px;
  }

  .track-item-number {
    width: 24px;
    height: 24px;
    line-height: 20px;
    font-size: 12px;
    min-width: 24px;
  }

  .track-item-title {
    font-size: 14px;
  }

  .track-item-desc {
    font-size: 11px;
  }
}

@media(max-width:480px){
  .player-empty {
    padding: 80px 15px;
  }

  .track-info {
    padding: 12px;
  }

  .track-title {
    font-size: 16px;
  }

  .track-description {
    font-size: 12px;
  }

  .track-nav {
    gap: 8px;
    padding: 12px;
    flex-direction: column;
  }

  .track-nav-btn {
    font-size: 12px;
    padding: 8px 12px;
    min-width: unset;
    width: 100%;
  }

  .track-list-header {
    padding: 8px 12px;
    font-size: 11px;
  }

  .track-items {
    max-height: 200px;
  }

  .track-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .track-item.active {
    padding-left: 8px;
  }

  .track-item-number {
    width: 20px;
    height: 20px;
    line-height: 16px;
    font-size: 11px;
    min-width: 20px;
  }

  .track-item-title {
    font-size: 13px;
  }

  .track-item-desc {
    font-size: 10px;
  }
}

/* Image Lightbox Modal - Retro Terminal Theme */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(4px);
}

.lightbox-content {
  position: relative;
  margin: 2% auto;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  background: rgba(8, 19, 8, 0.9);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 
    0 0 30px rgba(24, 83, 38, 0.6),
    inset 0 0 50px rgba(24, 83, 38, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: var(--accent);
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0 0 8px rgba(24, 83, 38, 0.8);
  transition: all 0.3s ease;
  line-height: 1;
  z-index: 10001;
}

.lightbox-close:hover {
  color: var(--text);
  text-shadow: 0 0 12px rgba(24, 83, 38, 1);
  transform: scale(1.1);
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  border: 1px solid rgba(24, 83, 38, 0.3);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(24, 83, 38, 0.4);
}

.lightbox-description {
  color: var(--text);
  font-size: 16px;
  margin: 15px 0;
  padding: 10px;
  background: rgba(24, 83, 38, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(24, 83, 38, 0.2);
}

.lightbox-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.lightbox-nav-btn {
  background: rgba(8, 19, 8, 0.8);
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 10px 20px;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(24, 83, 38, 0.3);
}

.lightbox-nav-btn:hover {
  background: rgba(24, 83, 38, 0.2);
  border-color: var(--text);
  color: var(--text);
  text-shadow: 0 0 8px rgba(24, 83, 38, 0.8);
  box-shadow: 0 0 20px rgba(24, 83, 38, 0.5);
  transform: translateY(-1px);
}

.lightbox-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(8, 19, 8, 0.4);
  border-color: rgba(24, 83, 38, 0.3);
  color: rgba(24, 83, 38, 0.5);
  box-shadow: none;
  transform: none;
}

@media(max-width:768px){
  .lightbox-content {
    margin: 5% auto;
    max-width: 95%;
    padding: 15px;
  }
  
  .lightbox-image {
    max-height: 60vh;
  }
  
  .lightbox-description {
    font-size: 14px;
  }
  
  .lightbox-nav-btn {
    padding: 8px 16px;
    font-size: 16px;
  }
}

@media(max-width:480px){
  .lightbox-content {
    margin: 10% auto;
    max-width: 98%;
    padding: 10px;
  }
  
  .lightbox-image {
    max-height: 50vh;
  }
  
  .lightbox-description {
    font-size: 13px;
    margin: 10px 0;
    padding: 8px;
  }
  
  .lightbox-close {
    font-size: 28px;
    top: 5px;
    right: 15px;
  }
  
  .lightbox-nav-btn {
    padding: 6px 12px;
    font-size: 14px;
  }
  
  .lightbox-navigation {
    gap: 15px;
  }
}
