/* =========================================
   RADEK KOBIAŁKO PODCAST - MOCKUP PERFECT STYLES
   ========================================= */

:root {
  /* Canvas Colors */
  --bg-wall: #FAFAF7;
  --bg-desk-top: #EAC9A7;
  --bg-desk-edge: #C29871;
  --bg-surface-start: #EDCFAD;
  --bg-surface-end: #D4AF86;

  /* Brand Typography */
  --brand-orange: #E15A2B;
  --text-dark: #2F2F2F;
  --text-dim: #707070;

  /* Player Colors */
  --player-cream: #F2EFE8;
  --player-border: #D1CBBB;
  --btn-border: #B2ACA0;

  /* Cassette/Meters */
  --meter-bg: #111111;
  --tape-dark: #262626;
  --tape-spool: #E8E8E8;

  /* Fonts */
  --font-brand: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
  /* Canvas Colors */
  --bg-wall: #121212;
  --bg-desk-top: #332b24;
  --bg-desk-edge: #1a1612;
  --bg-surface-start: #2c251f;
  --bg-surface-end: #1c1814;

  /* Brand Typography */
  --brand-orange: #FF7B47;
  --text-dark: #E0E0E0;
  --text-dim: #A0A0A0;

  /* Player Colors */
  --player-cream: #2a2a2a;
  --player-border: #444444;
  --btn-border: #555555;

  /* Cassette/Meters */
  --meter-bg: #000000;
  --tape-dark: #111111;
  --tape-spool: #bbbbbb;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-wall);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}

/* HEADER */
.main-header {
  padding: 4rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0rem;
  position: relative;
  overflow: hidden;
}

.header-row {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  justify-content: center;
  position: relative;
}

.top-row {
  margin-bottom: 0px;
}

.line-group {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
  pointer-events: none;
}

.line {
  background-color: #B0B0B0;
  opacity: 0.6;
  width: 100%;
  height: 1px;
}

.line.thick {
  height: 2px;
}

.main-title {
  font-family: var(--font-brand);
  font-size: 4.8rem;
  font-weight: 900;
  color: var(--brand-orange);
  letter-spacing: -2.5px;
  line-height: 1;
  position: relative;
  z-index: 2;
  background: var(--bg-wall);
  padding: 0 1.5rem;
}

.sub-title {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1;
  position: relative;
  z-index: 2;
  background: var(--bg-wall);
  padding: 0 1.5rem;
}

/* SHELF ENVIRONMENT */
.desk-section {
  position: relative;
  width: 100%;
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desk-items {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6rem;
  width: 100%;
  max-width: 1350px;
  padding: 0 3rem;
  z-index: 2;
}

.desk-surface {
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, var(--bg-surface-start), var(--bg-surface-end));
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.desk-edge {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 18px;
  background: var(--bg-desk-edge);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* PROPS */
.desk-props {
  width: 140px;
  height: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

/* Simulated CSS Pot/Plant matching picture (simplified) */
.plant-prop {
  width: 80px;
  height: 60px;
  background: #C5835C;
  border-radius: 5px 5px 25px 25px;
  position: relative;
  box-shadow: inset -5px -5px 15px rgba(0, 0, 0, 0.2), 5px 10px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  border-top: 5px solid #A66540;
}

.plant-prop::before {
  content: '🌿';
  font-size: 7rem;
  position: absolute;
  bottom: 35px;
  left: -20px;
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.15));
}

.headphone-prop {
  position: absolute;
  bottom: 0;
  left: -15px;
  width: 90px;
  height: 40px;
  background: #2A2A2A;
  border-radius: 40px 40px 0 0;
  box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid #5A5A5A;
  border-bottom: none;
}

.headphone-prop::after {
  content: '';
  position: absolute;
  top: 10px;
  left: -10px;
  right: -10px;
  height: 15px;
  background: #1A1A1A;
  border-radius: 10px;
}

/* CASSETTE PLAYER */
.player-unit {
  background: var(--player-cream);
  border: 1px solid var(--player-border);
  border-radius: 4px;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 -2px 6px rgba(255, 255, 255, 0.7) inset, 0 10px 20px rgba(0, 0, 0, 0.1), 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  flex-shrink: 0;
  width: 700px;
  max-width: 100%;
  border-bottom: 4px solid #C4C0B6;
  border-right: 4px solid #DFDCD0;
}

.player-chassis {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.player-top-section {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  justify-content: space-between;
}

/* CASSETTE WINDOW */
.cassette-window-container {
  flex: 1;
  min-width: 440px;
  background: #DCD6C9;
  border-radius: 4px;
  padding: 15px;
  border: 1px solid var(--btn-border);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.cassette-glass {
  background: #2C2C2B;
  height: 170px;
  border-radius: 4px;
  border: 2px solid #1C1C1B;
  box-shadow: inset 0 8px 18px rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.cassette-glass::after {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
}

.cassette-tape {
  width: 88%;
  height: 75%;
  background: var(--player-cream);
  border-radius: 5px;
  border: 1px solid #C4C4C4;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  box-shadow: inset 0 15px 25px -10px #D0C9BA, 0 5px 15px rgba(0, 0, 0, 0.8);
}

.cassette-insert-lip {
  background: #E6DFCE;
  min-height: 28px;
  height: auto;
  margin: 10px 5px 0;
  border-radius: 3px;
  border: 1px solid var(--btn-border);
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.8), 0 2px 5px rgba(0, 0, 0, 0.1);
  font-family: var(--font-brand);
  font-size: 0.9rem;
  font-weight: 700;
  color: #2C2C2C;
  text-align: center;
  line-height: 1.2;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
}

/* REELS */
.reel {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: var(--tape-dark);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
  border: 1px solid #1A1A1A;
}

.spool {
  position: absolute;
  border-radius: 50%;
  background: #222;
  box-shadow: 0 0 0 1.5px #111;
  transition: width 0.3s, height 0.3s;
}

.sprocket {
  width: 30px;
  height: 30px;
  background: #F4F1ED;
  border-radius: 50%;
  z-index: 2;
  position: relative;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.sprocket .hole {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #1C1C1C;
  border-radius: 50%;
}

.sprocket .hole:nth-child(1) {
  transform: translateY(-8px);
}

.sprocket .hole:nth-child(2) {
  transform: translate(7px, 4px);
}

.sprocket .hole:nth-child(3) {
  transform: translate(-7px, 4px);
}

.spin .sprocket {
  animation: spin 2.5s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.tape-bridge {
  position: absolute;
  bottom: 8px;
  width: 140px;
  height: 30px;
  background: #D1CAC0;
  border: 1px solid #A8A8A8;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* SIDE CONTROLS */
.player-side-controls {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  justify-content: flex-end;
  padding-top: 5px;
}

.eject-btn {
  width: 36px;
  height: 26px;
  background: #E8E2D4;
  border: 1.5px solid var(--btn-border);
  border-radius: 4px;
  align-self: flex-start;
  box-shadow: inset 0 3px 3px #fff, 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.1s;
}

.eject-btn:active {
  transform: translateY(2px);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* SLIDER */
.slider-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #EAE4D2;
  padding: 12px 6px;
  border-radius: 4px;
  border: 1px solid var(--btn-border);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.06);
}

.slider-marks {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: var(--text-dim);
  font-size: 8px;
  font-weight: bold;
  padding: 10px 0;
  opacity: 0.5;
}

.slider-track {
  width: 20px;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.slider-groove {
  width: 6px;
  height: 100%;
  background: #222;
  border-radius: 3px;
  box-shadow: inset 0 2px 5px #000;
}

.slider-knob {
  width: 26px;
  height: 16px;
  background: #444;
  position: absolute;
  top: 40%;
  border-radius: 2px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.4);
  border: 1px solid #111;
  cursor: pointer;
  z-index: 2;
  border-top: 1px solid #777;
  border-bottom: 2px solid #222;
}

/* VU METER */
.vu-meter-unit {
  background: var(--meter-bg);
  border-radius: 5px;
  padding: 8px;
  display: flex;
  gap: 6px;
  border: 2.5px solid #2A2A2A;
  box-shadow: inset 0 6px 15px #000;
  width: 44px;
  justify-content: space-between;
}

.vu-column {
  display: flex;
  flex-direction: column-reverse;
  gap: 2.5px;
  width: 14px;
}

.vu-led {
  height: 6px;
  background: #262626;
  border-radius: 1.5px;
}

.vu-led.green.on {
  background: #55E832;
  box-shadow: 0 0 6px #55E832;
}

.vu-led.yellow.on {
  background: #E8CC22;
  box-shadow: 0 0 6px #E8CC22;
}

.vu-led.red.on {
  background: #E83222;
  box-shadow: 0 0 6px #E83222;
}

/* BOTTOM SECTION: BUTTONS */
.player-bottom-section {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: 48px;
  gap: 0;
  margin-top: 5px;
}

.buttons-group {
  display: flex;
  gap: 2px;
}

.buttons-group.main-controls {
  flex: 1;
}

.transport-btn {
  background: #ECE5D5;
  border: 1.5px solid var(--btn-border);
  border-radius: 4px;
  flex: 1;
  min-width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: inset 0 2px 3px #FFF, 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background 0.1s, transform 0.1s;
  padding: 0 4px;
}

.transport-btn svg {
  width: 20px;
  height: 20px;
  fill: #3A3A3A;
}

.transport-btn:hover {
  background: #E4DAC4;
}

/* Special Play Button */
.transport-btn.action-play {
  background: var(--brand-orange);
  border-color: #BE4318;
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.transport-btn.action-play svg {
  fill: #fff;
  width: 24px;
  height: 24px;
}

.transport-btn.action-play:hover {
  background: #CC4E20;
}

.transport-btn:active,
.transport-btn.active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25);
  border-top-color: #A09A8F;
}

/* Export / Share button */
.buttons-group.export-control {
  margin-left: 10px;
  width: auto;
}

.buttons-group.export-control .transport-btn {
  width: 100%;
  min-width: 40px;
}

/* SPEED CONTROLS */
.speed-controls {
  display: flex;
  gap: 2px;
  align-items: stretch;
  margin: 0 10px;
}

.speed-btn {
  background: #ECE5D5;
  border: 1.5px solid var(--btn-border);
  border-radius: 4px;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 800;
  color: #555;
  padding: 0 4px;
  cursor: pointer;
  box-shadow: inset 0 2px 3px #FFF;
  transition: all 0.1s;
  min-width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.speed-btn:hover {
  background: #E4DAC4;
}

.speed-btn.active {
  background: #555;
  color: #fff;
  border-color: #333;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* PROGRESS BAR */
.progress-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  width: 100%;
  position: relative;
}

.progress-track {
  height: 4px;
  background: #D0C6B5;
  border-radius: 2px;
  position: relative;
  width: 100%;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

.progress-fill {
  height: 100%;
  background: var(--brand-orange);
  width: 0%;
  border-radius: 2px;
  position: relative;
  z-index: 2;
  pointer-events: none;
  transition: width 0.1s linear;
}

.progress-thumb {
  width: 10px;
  height: 10px;
  background: var(--brand-orange);
  border-radius: 50%;
  position: absolute;
  top: -3px;
  left: 0%;
  transform: translateX(-50%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  border: 2px solid #F2EFE8;
  pointer-events: none;
  z-index: 5;
  transition: left 0.1s linear;
}

.time-display {
  display: block;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dim);
  min-width: 90px;
  text-align: right;
  margin-top: -3px;
}

/* RACK */
.cassette-rack {
  background: #E1C19D;
  border: 5px solid #CD9D72;
  border-radius: 2px;
  width: 320px;
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.15), inset 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.rack-shelf-row {
  border-bottom: 6px solid #CD9D72;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #B38258;
  box-shadow: inset 0 15px 25px rgba(0, 0, 0, 0.25);
}

.rack-shelf-row:last-child {
  border-bottom: none;
}

.tape-spine {
  height: 38px;
  background: #F8F6F0;
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #B0A89A;
  border-left: 5px solid #BCB4A4;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s;
}

.tape-spine:hover {
  transform: translateX(-8px);
}

.tape-spine.active {
  transform: translateX(-15px);
  border-left-color: var(--brand-orange);
}

.tape-casing {
  width: 100%;
  display: flex;
  align-items: center;
}

.tape-sticker {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 700;
  color: #2C2C2C;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.tape-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.tape-progress-bg {
  width: 100%;
  height: 4px;
  background: #C4BCB0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tape-progress-fill {
  height: 100%;
  background: var(--brand-orange);
  width: 0%;
  transition: width 0.3s ease;
}

.tape-spine.unplayable {
  opacity: 0.8;
  background: #EAE6DD;
  filter: grayscale(100%);
  cursor: not-allowed;
}

.tape-spine.unplayable:hover {
  transform: none;
}

.tape-spine.empty {
  opacity: 0;
  pointer-events: none;
}

/* Make them truly empty to match the clean look */

/* LOAD MORE BUTTON */
.load-more-btn {
  display: block;
  width: calc(100% - 28px);
  margin: 8px 14px;
  padding: 9px 0;
  background: #A47150;
  color: #F5E8D8;
  border: 1.5px solid #8A5C38;
  border-radius: 3px;
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: background 0.15s, transform 0.1s;
}

.load-more-btn:hover {
  background: #8A5C38;
  transform: translateY(-1px);
}

.load-more-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* BOTTOM CONTENT */
.content-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 4rem 2rem;
  background: var(--bg-wall);
}

.content-grid {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* EPISODE ART */
.episode-art-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.episode-art {
  width: 390px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border: 2px solid #E4DFD5;
  transition: opacity 0.3s ease;
}

.episode-art-info {
  flex: 1;
  min-width: 0;
}

.episode-details .section-heading {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  flex-wrap: wrap;
}

.dash {
  color: #A0A0A0;
  font-weight: 300;
  letter-spacing: -2px;
}

.episode-desc {
  font-family: 'bebas neue', sans-serif;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.6;
  padding: 1.5rem;
  background: var(--player-cream);
  border: 2px solid var(--player-border);
  border-radius: 6px;
  margin-top: 1rem;
  box-shadow: inset 0 2px 4px #FFF, 0 4px 8px rgba(0, 0, 0, 0.05);
}

.comments-section .comments-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid #E4E4E4;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.comments-section .comments-header h3 {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.comments-section .comments-header h4 {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dim);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.comment {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.comment strong {
  font-weight: 700;
  color: var(--text-dark);
}

.comment-input-area {
  display: flex;
  gap: 12px;
}

.comment-input-area input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid #D0D0D0;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.post-btn {
  background: var(--brand-orange);
  color: #fff;
  border: none;
  padding: 0 25px;
  border-radius: 4px;
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: 0 2px 6px rgba(225, 90, 43, 0.4);
}

.post-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* SHARE MODAL */
.share-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.share-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.share-modal {
  background: var(--player-cream);
  border: 2px solid var(--btn-border);
  border-radius: 6px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 2px 5px #FFF;
  transform: translateY(20px);
  transition: transform 0.2s ease;
  position: relative;
}

.share-modal-overlay.active .share-modal {
  transform: translateY(0);
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--btn-border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.share-header h3 {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
}

.close-share-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.1s;
}

.close-share-btn:hover {
  color: var(--brand-orange);
}

.share-options {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  background: #EBE5D5;
  border: 1.5px solid var(--btn-border);
  border-radius: 6px;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: inset 0 2px 3px #FFF, 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.1s, background 0.1s;
}

.social-btn svg {
  width: 26px;
  height: 26px;
  stroke: #444;
  fill: none;
}

.social-btn:hover {
  background: #E1DAC7;
  transform: translateY(-3px);
  box-shadow: inset 0 2px 3px #FFF, 0 5px 10px rgba(0, 0, 0, 0.15);
}

.social-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.social-btn.copy-link-btn {
  background: var(--brand-orange);
  border-color: #BE4318;
}

.social-btn.copy-link-btn svg {
  stroke: #FFF;
}

.social-btn.copy-link-btn:hover {
  background: #CC4E20;
}

.copy-toast {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.copy-toast.show {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .desk-items {
    flex-wrap: wrap;
  }

  .desk-props {
    display: none;
  }

  .cassette-rack {
    width: 100%;
    max-width: 450px;
    margin-top: 2rem;
  }

  .player-unit {
    width: 100%;
    max-width: 660px;
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .desk-items {
    padding: 0 1rem;
  }

  .player-unit {
    padding: 1.5rem 1rem 1rem;
  }

  .main-title {
    font-size: 3rem;
    text-align: center;
    white-space: normal;
  }

  .cassette-window-container {
    width: 100%;
    min-width: auto;
    padding: 10px;
  }

  .cassette-glass {
    height: 120px;
  }

  .cassette-tape {
    gap: 20px;
  }

  .reel {
    width: 60px;
    height: 60px;
  }

  .player-top-section {
    flex-direction: column;
  }

  .player-side-controls {
    justify-content: space-around;
    width: 100%;
    padding-top: 15px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rack-shelf-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tape-spine {
    flex: 1;
    min-width: 150px;
  }

  .player-bottom-section {
    flex-wrap: wrap;
    height: auto;
    gap: 10px;
  }

  .speed-controls {
    order: 3;
    width: 100%;
    margin: 10px 0 0;
    justify-content: space-between;
  }

  .episode-art-row {
    flex-direction: column;
  }

  .episode-art {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }
}

/* LOGIN AND LOGOUT STYLES */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-wall);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-content {
  background: var(--player-cream);
  padding: 3rem;
  border-radius: 8px;
  border: 2px solid var(--player-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.close-login-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s;
}

.close-login-btn:hover {
  color: var(--brand-orange);
}

.login-content h2 {
  font-family: var(--font-brand);
  color: var(--brand-orange);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.login-content p {
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.login-btn {
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
  margin-bottom: 12px;
}

.login-btn:hover {
  background: #f9f9f9;
  transform: translateY(-1px);
}

.login-btn:active {
  transform: translateY(1px);
}

.btn-facebook {
  background: #1877F2;
  color: #fff;
  border-color: #166fe5;
}

.btn-facebook:hover {
  background: #166fe5;
}

.btn-facebook svg path {
  fill: #fff;
}

.btn-twitter {
  background: #000000;
  color: #fff;
  border-color: #000;
}

.btn-twitter:hover {
  background: #222;
}

.btn-twitter svg path {
  fill: #fff;
}



.auth-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  gap: 10px;
}

.auth-btn {
  background: var(--brand-orange);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-brand);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-btn:hover {
  background: #CC4E20;
}