:root {
  --bg: #050505;
  --bg-card: #0a0a0a;
  --fg: #c8c8c8;
  --fg-muted: #555;
  --fg-dim: #333;
  --forest: #2d5a3d;
  --forest-glow: #3d7a4d;
  --primary: #aa2222;
  --warning: #aa7722;
  --border: #151515;
}

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

body {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  line-height: 1.6;
  background-image: url('background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.9); /* darkening the background, it was 0.85 - the higher the darker*/
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.15) 2px, rgba(0,0,0,0.15) 4px);
  pointer-events: none;
  z-index: 1000;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0px 20px;
  position: relative;

background-image: url('background.png');

background-size: cover;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
  z-index: 1;

overflow-y: auto; /* Enable vertical scrolling */
height: auto;
}


.container_darker {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0px;
  position: relative;

background: rgba(0, 0, 0, 0.5);
  z-index: 2;

overflow-y: auto; /* Enable vertical scrolling */
overflow-x: hidden;
height: auto;
}


header {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px 0;
background: rgba(0, 0, 0, 0.3);
}
.subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--forest);
  opacity: 0.5;
margin-top: 0px;
  margin-bottom: 20px;
background: rgba(0, 0, 0, 0.0);
}
.no_more {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1em;
  letter-spacing: 0.4em;
  color: var(--primary);
  opacity: 0.9;
  margin-top: -10px;
  margin-bottom: -10px;
background: rgba(0, 0, 0, 0.0);

}
h1 {
  /* font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.0rem, 3vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 10px;*/

font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.5rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-shadow: 0 0 10px hsl(150 60% 25% / 0.8), 0 0 20px hsl(150 60% 25% / 0.5), 0 0 40px hsl(150 60% 25% / 0.3);

    /*font-size: 5em;
font-family: 'Share Tech Mono', monospace;
font-size: 3em;*/

display: block;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
/* The horizontal stripes (Scanlines) come from the ::after pseudo-element above.
   It creates a repeating linear gradient of semi-transparent black lines. */
h1 .green { 
  color: var(--forest); 
  text-shadow: 0 0 30px rgba(45, 90, 61, 0.6), 0 0 60px rgba(45, 90, 61, 0.3);

}
h1 .sep { 
  /*color: var(--fg-dim); */
opacity: 0.5;
  margin: 0 10px;
}



.tagline {
  letter-spacing: 0.3em;
  /*
  font-size: 10px;
  color: var(--fg-muted);*/
  margin-bottom: 30px;
}
.quote {
  font-style: italic;
  /*font-size: 13px;
  color: var(--fg-muted);*/
  opacity: 0.5;
  max-width: 500px;
  margin: 0 auto 10px;
}
.quote-attr {
  font-family: 'Share Tech Mono', monospace;
  /*font-size: 10px;*/
  color: var(--forest);
  opacity: 0.7;
}
.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
background: rgba(0, 0, 0, 0.3);
}
.tab {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 15px 30px;
  background: transparent;
  border: none;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;

}
.tab:hover {
  color: var(--fg);
background: rgba(0, 0, 0, 0.3);
}
.tab.active {
  color: var(--forest);
  border-bottom-color: var(--forest);

background: rgba(0, 0, 0, 0.0);
}
.panel {
  display: none;

overflow-y: auto; /* Enable vertical scrolling */
height: auto;
}
.panel.active {
  display: block;

overflow-y: auto; /* Enable vertical scrolling */
height: auto;
}
.menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 30px;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--fg);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
background: rgba(0, 0, 0, 0.15);
}
.menu-item:hover {
  background: rgba(10, 10, 10, 0.8);
  border-color: rgba(45, 90, 61, 0.3);
}
.menu-item.active {
  background: rgba(45, 90, 61, 0.1);
  border-color: var(--forest);
}
.menu-item .id {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--fg-dim);
  min-width: 60px;
}
.menu-item .title {
  flex: 1;
}
.menu-item .meta {
  font-size: 10px;
  color: var(--fg-muted);
  text-shadow: 0 0 15px rgba(45, 90, 61, 0.8), 0 0 30px rgba(45, 90, 61, 0.5), 0 0 45px rgba(45, 90, 61, 0.3);
}

.player-container {
  border: 1px dashed rgba(45, 90, 61, 0.3);
  background: rgba(0, 0, 0, 0.5);
  min-height: 450px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto; /* Enable vertical scrolling */
  justify-content: flex-start;
  overflow-x: hidden;
}
.player-container.empty {
  justify-content: center;
  color: var(--fg-dim);
  font-size: 12px;
  font-family: 'Share Tech Mono', monospace;
}

.player-container iframe {
  width: 100%;
  min-height: 800px;
  height: 100%;
  flex: 1;
  border: none;
  display: block;
}

footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--fg-dim);
  letter-spacing: 0.2em;
}

.status::before {
  content: "◈ ";
  color: var(--forest);
}


.text-display {
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid var(--forest);
  padding: 40px;
  margin-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fg);
  max-height: 500px;
  overflow-y: auto;
  box-shadow: inset 0 0 20px rgba(45, 90, 61, 0.2);
}

.text-content {
  white-space: pre-wrap;
}

.text-content::first-letter {
  color: var(--forest);
  font-size: 1.5em;
  font-weight: bold;
}

.player-container.hidden {
  display: none;
}

.sign-line {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  font-weight: bold;
  color: var(--forest-glow);
  text-align: center;
  opacity: 0.7;
background: rgba(0, 0, 0, 0.5);
}
