
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Share+Tech+Mono&family=Oswald:wght@700&display=swap');

/* ----------------------------------------------------------------
   RESET + BASE
---------------------------------------------------------------- */

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

body {
  background: #0a0a0a;
  color: #e8e4dc;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  line-height: 1.5;
  cursor: crosshair;

  /* white noise — subtle static grain on the background itself */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  background-size: 250px;
}

/* heavier grain overlay on top of everything
   — add <div class="grain"></div> as first child of body */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ----------------------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 0.9;
  color: #fff;
}

h1 { font-size: clamp(3rem, 10vw, 7rem); -webkit-text-stroke: 1px #555; }
h2 { font-size: 1.4rem; letter-spacing: 4px; }
h3 { font-size: 1rem; letter-spacing: 3px; }

p {
  font-family: 'Special Elite', serif;
  font-size: 13px;
  line-height: 1.7;
  color: #ccc;
}

small, .meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
}

a {
  color: #e8e4dc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  background: #e8e4dc;
  color: #000;
  text-decoration: none;
}

/* ----------------------------------------------------------------
   LAYOUT
---------------------------------------------------------------- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.layout {
  display: grid;
  grid-template-columns: 200px 1fr 180px;
  border-left: 2px solid #333;
  border-right: 2px solid #333;
}

.layout-2col {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-left: 2px solid #333;
  border-right: 2px solid #333;
}

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

hr, .divider {
  border: none;
  border-top: 2px solid #333;
  margin: 0;
}

.divider-dashed {
  border: none;
  border-top: 2px dashed #333;
  margin: 10px 0;
}

.divider-double {
  border: none;
  border-top: 4px double #444;
  margin: 0;
}

/* ----------------------------------------------------------------
   HEADER
---------------------------------------------------------------- */

header {
  background: #000;
  color: #e8e4dc;
  border-bottom: 4px solid #333;
}

.border-stripe {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    #e8e4dc 0px, #e8e4dc 8px,
    #000 8px, #000 16px
  );
}

.header-inner {
  display: flex;
  align-items: stretch;
  border-bottom: 2px solid #222;
}

.header-stamp {
  background: #e8e4dc;
  color: #000;
  padding: 10px 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-right: 2px solid #333;
  flex-shrink: 0;
}

.header-tagline {
  padding: 8px 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #444;
  background: #050505;
}

/* ----------------------------------------------------------------
   NAVIGATION
---------------------------------------------------------------- */

nav {
  background: #000;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 3px solid #333;
}

nav a {
  color: #888;
  text-decoration: none;
  padding: 9px 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-right: 1px solid #222;
  display: inline-block;
  transition: background 0.05s, color 0.05s;
}

nav a:hover,
nav a.active {
  background: #e8e4dc;
  color: #000;
}

/* ----------------------------------------------------------------
   SIDEBARS
---------------------------------------------------------------- */

.sidebar {
  border-right: 2px solid #333;
  background: #0f0f0f;
}

.sidebar-right {
  border-left: 2px solid #333;
  background: #050505;
  color: #e8e4dc;
}

.sidebar-section {
  padding: 14px;
  border-bottom: 2px solid #222;
}

.sidebar-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #333;
}

/* ----------------------------------------------------------------
   SECTION HEADER
---------------------------------------------------------------- */

.section-header {
  background: #111;
  color: #e8e4dc;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  border-bottom: 1px solid #333;
}

/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */

/* base — solid white on black */
.btn {
  display: inline-block;
  padding: 7px 12px;
  background: #e8e4dc;
  color: #000;
  border: 2px solid #e8e4dc;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.05s, color 0.05s, border-color 0.05s;
}

.btn:hover {
  background: transparent;
  color: #e8e4dc;
}

/* outline — transparent with off-white border */
.btn-outline {
  background: transparent;
  color: #e8e4dc;
  border: 2px solid #555;
}

.btn-outline:hover {
  background: #e8e4dc;
  color: #000;
  border-color: #e8e4dc;
}

/* ghost — barely visible */
.btn-ghost {
  background: transparent;
  color: #555;
  border: 1px solid #333;
}

.btn-ghost:hover {
  background: #e8e4dc;
  color: #000;
  border-color: #e8e4dc;
}

/* black fill (same as body, bordered) */
.btn-dark {
  background: #000;
  color: #e8e4dc;
  border: 2px solid #444;
}

.btn-dark:hover {
  border-color: #e8e4dc;
  color: #fff;
}

.btn-sm {
  padding: 3px 8px;
  font-size: 9px;
  letter-spacing: 1px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 4px;
}

/* ----------------------------------------------------------------
   TABS
---------------------------------------------------------------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #333;
  background: #0f0f0f;
}

.tab {
  padding: 8px 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-right: 1px solid #222;
  background: transparent;
  color: #555;
  transition: background 0.05s, color 0.05s;
}

.tab:hover { background: #1a1a1a; color: #aaa; }

.tab.active {
  background: #e8e4dc;
  color: #000;
}

/* ----------------------------------------------------------------
   FORMS & INPUTS
---------------------------------------------------------------- */

input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
textarea,
select {
  background: #111;
  color: #e8e4dc;
  border: 2px solid #333;
  padding: 7px 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  outline: none;
  width: 100%;
  text-transform: uppercase;
}

input:focus, textarea:focus {
  border-color: #888;
  outline: none;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.search-bar {
  display: flex;
  border: 2px solid #333;
}

.search-bar input {
  border: none;
  flex: 1;
  outline: none;
  background: #111;
}

.search-bar button {
  background: #e8e4dc;
  color: #000;
  border: none;
  padding: 7px 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.05s;
}

.search-bar button:hover { background: #ccc; }

input[type="checkbox"] {
  appearance: none;
  width: 14px;
  height: 14px;
  border: 2px solid #555;
  background: #111;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  vertical-align: middle;
}

input[type="checkbox"]:checked {
  background: #e8e4dc;
  border-color: #e8e4dc;
}

input[type="checkbox"]:checked::after {
  content: 'X';
  position: absolute;
  top: -3px;
  left: 1px;
  color: #000;
  font-size: 10px;
  font-weight: bold;
  font-family: monospace;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: #444;
  outline: none;
  cursor: pointer;
  margin: 8px 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 20px;
  background: #e8e4dc;
  border: 2px solid #000;
  outline: 2px solid #555;
  cursor: pointer;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  color: #888;
  margin-bottom: 6px;
}

.check-label:hover { color: #e8e4dc; }

/* ----------------------------------------------------------------
   TAG CLOUD / FILTER PILLS
---------------------------------------------------------------- */

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag {
  border: 1px solid #333;
  padding: 3px 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: #666;
  transition: all 0.05s;
}

.tag:hover,
.tag.active {
  background: #e8e4dc;
  color: #000;
  border-color: #e8e4dc;
}

/* ----------------------------------------------------------------
   CARDS
---------------------------------------------------------------- */

.card {
  border: 2px solid #333;
  background: #0f0f0f;
  padding: 14px;
  color: #e8e4dc;
}

.card-header {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.release-card {
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  background: #0a0a0a;
  cursor: pointer;
  transition: background 0.05s, color 0.05s;
}

.release-card:hover {
  background: #e8e4dc;
  color: #000;
}

.release-card__art {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #111;
  border-bottom: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.release-card:hover .release-card__art {
  background: #222;
  border-color: #555;
}

.release-card__body {
  padding: 10px 12px;
}

.release-card__title {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 4px;
  color: #e8e4dc;
}

.release-card:hover .release-card__title { color: #000; }

.release-card__meta {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 8px;
}

.release-card:hover .release-card__meta { color: #555; }

.release-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px;
  border-top: 1px solid #222;
}

.release-card:hover .release-card__actions { border-top-color: #aaa; }

.badge {
  position: absolute;
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid;
}

.badge-top-right { top: 8px; right: 8px; background: #e8e4dc; color: #000; border-color: #e8e4dc; }
.badge-bottom-left { bottom: 8px; left: 8px; background: transparent; color: #444; border: none; }

/* ----------------------------------------------------------------
   TABLE
---------------------------------------------------------------- */

table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
}

thead th {
  background: #111;
  color: #e8e4dc;
  padding: 7px 12px;
  text-align: left;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-right: 1px solid #222;
}

tbody td {
  padding: 7px 12px;
  border-bottom: 1px solid #1e1e1e;
  border-right: 1px solid #161616;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
}

tbody tr:nth-child(even) td { background: #0d0d0d; }
tbody tr:hover td { background: #1a1a1a; color: #e8e4dc; }

/* ----------------------------------------------------------------
   ALERT / ANNOUNCEMENT BANNER
---------------------------------------------------------------- */

.alert {
  background: #0d0d0d;
  color: #888;
  padding: 9px 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #222;
}

.alert-close {
  background: none;
  border: 1px solid #333;
  color: #555;
  padding: 2px 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  cursor: pointer;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.alert-close:hover { background: #222; color: #e8e4dc; }

/* ----------------------------------------------------------------
   TICKER / MARQUEE BAR
---------------------------------------------------------------- */

.ticker-wrap {
  background: #050505;
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 1px solid #222;
}

.ticker {
  display: inline-block;
  animation: ticker 22s linear infinite;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
}

.ticker span { margin: 0 28px; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------
   STATS / SIDEBAR WIDGETS
---------------------------------------------------------------- */

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dotted #222;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
}

.stat-val {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #e8e4dc;
}

.progress-bar {
  height: 5px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  margin: 4px 0 10px;
}

.progress-fill {
  height: 100%;
  background: #e8e4dc;
}

/* ----------------------------------------------------------------
   AUDIO PLAYER BAR (sticky bottom)
---------------------------------------------------------------- */

.player {
  position: sticky;
  bottom: 0;
  z-index: 100;
  background: #050505;
  border-top: 3px solid #222;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e8e4dc;
}

.player-info { flex: 1; }

.player-title {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e8e4dc;
}

.player-sub {
  font-size: 9px;
  color: #444;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.player-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.play-btn {
  width: 32px;
  height: 32px;
  background: #e8e4dc;
  color: #000;
  border: 2px solid #e8e4dc;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.05s;
}

.play-btn:hover { background: #bbb; border-color: #bbb; }

.ctrl-btn {
  width: 26px;
  height: 26px;
  background: none;
  border: 1px solid #2a2a2a;
  color: #444;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  transition: all 0.05s;
}

.ctrl-btn:hover { border-color: #888; color: #e8e4dc; }

.player-progress { flex: 2; }

.progress-track {
  height: 4px;
  background: #1a1a1a;
  cursor: pointer;
  margin-bottom: 4px;
}

.progress-played {
  height: 100%;
  background: #e8e4dc;
}

.player-time {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #333;
  letter-spacing: 1px;
}

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */

footer {
  background: #000;
  color: #333;
  padding: 14px 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-top: 4px double #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

footer a { color: #444; text-decoration: none; margin-left: 16px; }
footer a:hover { color: #e8e4dc; }

/* ----------------------------------------------------------------
   UTILITY CLASSES
---------------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.uppercase { text-transform: uppercase; }
.mono { font-family: 'Share Tech Mono', monospace; }
.oswald { font-family: 'Oswald', sans-serif; }

.text-muted { color: #555; }
.text-dim   { color: #333; }
.text-light { color: #e8e4dc; }
.text-white { color: #fff; }
.text-right  { text-align: right; }
.text-center { text-align: center; }

.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 28px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }

.border   { border: 2px solid #333; }
.border-b { border-bottom: 2px solid #333; }
.border-t { border-top: 2px solid #333; }

.bg-black  { background: #000; }
.bg-dark   { background: #0a0a0a; }
.bg-panel  { background: #0f0f0f; }
.bg-white  { background: #e8e4dc; color: #000; }

.p-sm { padding: 8px; }
.p-md { padding: 14px; }

.flex            { display: flex; }
.flex-wrap       { flex-wrap: wrap; }
.gap-sm          { gap: 4px; }
.gap-md          { gap: 10px; }
.items-center    { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1          { flex: 1; }

/* ----------------------------------------------------------------
   ANIMATIONS
---------------------------------------------------------------- */

@keyframes blink { 50% { opacity: 0; } }

.blink { animation: blink 1s step-start infinite; }

.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 6px;
  animation: blink 1s step-start infinite;
}

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */

@media (max-width: 860px) {
  .layout,
  .layout-2col {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .sidebar-right {
    border: none;
    border-bottom: 2px solid #333;
  }

  h1 { font-size: clamp(2.5rem, 12vw, 5rem); }
}