/* =========================
   GLOBAL RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  height: 100vh;
  background: white;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  font-size: clamp(16px, 3vmin, 36px);
  line-height: 1.4;
  margin-top: clamp(10px, 2vmin, 20px);
}

p a {
  text-decoration: underline;
}

/* =========================
   PAGE LAYOUT
========================= */

.page {
  height: 100%;
  display: flex;
  border: clamp(10px, 2vmin, 20px) solid black;
}

/* LEFT PANEL */
.left {
  width: 70%;
  padding: clamp(20px, 4vmin, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* RIGHT PANEL */
.right {
  width: 30%;
  display: flex;
  flex-direction: column;
}

/* Vertical divider between panels */
.vertical-divider {
  width: clamp(10px, 2vmin, 20px);
  background: black;
}

/* Horizontal divider between tabs */
.horizontal-divider {
  height: clamp(10px, 2vmin, 20px);
  background: black;
}

/* =========================
   RIGHT SIDE TABS
========================= */

.tab {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: clamp(15px, 2vmin, 30px);
  font-size: clamp(18px, 3vmin, 40px);
  background: white;
  cursor: pointer;
}

.tab:hover:not(.empty) {
  text-decoration: underline;
}

.tab.active {
  text-decoration: underline;
}

.tab.empty {
  background: black;
  cursor: default;
}

/* =========================
   LARGE TITLE TEXT
========================= */

.big-text {
  font-size: clamp(32px, 7vmin, 90px);
  text-decoration: underline;
  padding-bottom: clamp(8px, 1vmin, 10px);
}

.techno-data .big-text {
  padding-bottom: 0;
}

/* =========================
   MAIN CONTENT STACK
========================= */

.main-content {
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 2.5vmin, 35px);
}

/* =========================
   PLAY / RANDOMIZE BUTTONS
========================= */

.controls {
  display: flex;
  gap: clamp(10px, 2.5vmin, 20px);
}

.control-btn {
  font-size: clamp(20px, 3.5vmin, 48px); 
  background: black;
  color: white;
  padding: clamp(6px, 1vmin, 12px) clamp(14px, 2vmin, 24px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  opacity: 0.85;
}

/* =========================
   GATES + SLIDERS
========================= */

.gates {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0vmin, 10px);
}

.gate {
  display: flex;
  align-items: center;
  gap: clamp(20px, 7vmin, 30px); 
}

.gate label {
  font-size: clamp(20px, 3.5vmin, 48px);
  width: fit-content; /* Label only takes up the space it needs */
  min-width: clamp(100px, 14vw, 160px); /* But ensure they all align to the longest one */
}

.gate input[type="range"] {
  width: clamp(100px, 15vw, 200px);
}

/* =========================
   AUDIO VISUALIZER PLACEHOLDER
========================= */

#visualizer {
  background: black;
  width: 100%;
  height: 20vh;
}

/* =========================
   MAIN CONTENT STACK
========================= */

.main-content {
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 2.5vmin, 35px);
}

/* =========================
   CONTENT SPLIT (2/3 + 1/3)
========================= */

.content-split {
  display: flex;
  gap: clamp(20px, 3vmin, 40px);
}

/* 2/3: Album Grid */
.album-grid {
  flex: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: clamp(8px, 1vmin, 10px);
}

.album-grid a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* 1/3: Link Section */
.link-section {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

/* Only on techno-data page */
.techno-data .link-section {
  flex-direction: column;
  justify-content: space-between;
}

.article-link {
  font-size: clamp(24px, 3.5vmin, 32px);
  text-decoration: underline;
  color: black;
  cursor: pointer;
}

.article-link:hover {
  opacity: 0.7;
}

/* =========================
   DISCLAIMER
========================= */

.disclaimer {
  font-size: clamp(10px, 1.5vmin, 12px);
  line-height: 1.4;
}

.disclaimer a {
  text-decoration: underline;
  color: black;
  cursor: pointer;
}

/* =========================
   BOTTOM NAVIGATION
========================= */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item {
  font-size: clamp(20px, 3.5vmin, 48px);
  text-decoration: underline;
  cursor: pointer;
}

.nav-item:hover {
  opacity: 0.7;
}