@font-face {
  font-family: "Bebas Neue";
  src: url("/BebasNeueRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg-header: #0a0a0b;
  --bg: #1a1a1e;
  --bg-panel: #212126;
  --bg-panel-alt: #29292f;
  --gold: #d4a72c;
  --gold-dim: #8a7126;
  --text: #f2f2f2;
  --text-dim: #9a9a9e;
  --blue: #4fa3e8;
  --orange: #e2a34d;
  --green: #4caf6a;
  --green-hover: #3f9c5b;
  --red: #e2585c;
  --red-hover: #cf4448;
  --ok: #4caf6a;
  --bad: #e2585c;
  --radius: 6px;
  font-family: "Poppins", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  font-family: "Poppins", sans-serif;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html {
  font-size: 15px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html, body, #root {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  font-family: "Poppins", sans-serif !important;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

h1, h2, h3, h4, h5, h6, .title {
  color: var(--text);
  font-family: "Poppins", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.2px;
}

button {
  cursor: pointer;
  border: none;
  background: var(--bg-panel-alt);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.55rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Poppins", sans-serif !important;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.1px;
  text-transform: none;
  font-weight: 400 !important;
  transition: background 0.15s, transform 0.1s;
}

button:hover:not(:disabled) {
  background: #26262b;
}

button:active:not(:disabled) {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button.btn-primary {
  background: var(--green);
  color: #08150c;
}

button.btn-primary:hover:not(:disabled) {
  background: var(--green-hover);
}

button.btn-danger {
  background: var(--red);
  color: #ffffff;
}

button.btn-danger:hover:not(:disabled) {
  background: var(--red-hover);
}

button.btn-gold {
  background: var(--gold);
  color: #201804;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button.btn-gold:hover:not(:disabled) {
  background: var(--gold-dim);
}

input, select {
  background: var(--bg-panel-alt);
  border: none;
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.6rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

input:focus, select:focus, button:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.error-text {
  color: var(--bad);
  font-size: 0.9rem;
}

.value-blue { color: var(--blue); font-weight: 600; }
.value-orange { color: var(--orange); font-weight: 600; }

/* Shared card + header language (kick-dialog style) */
.card {
  background: var(--bg-panel);
  border-radius: var(--radius);
}

.panel-title {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--gold);
  text-transform: none;
  letter-spacing: -0.2px;
  font-size: 1.15rem;
  font-weight: 400 !important;
  font-family: "Poppins", sans-serif !important;
}

/* Login */
.login-screen {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-card {
  position: relative;
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 1.75rem 2rem 2rem;
  width: min(360px, 100%);
  text-align: center;
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.8);
}

/* Cornerless dashed RGB borders */
.rgb-border-top,
.rgb-border-bottom {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    #ff0055 0px, #ff0055 10px,
    transparent 10px, transparent 16px,
    #ff7700 16px, #ff7700 26px,
    transparent 26px, transparent 32px,
    #ffdd00 32px, #ffdd00 42px,
    transparent 42px, transparent 48px,
    #00ff66 48px, #00ff66 58px,
    transparent 58px, transparent 64px,
    #00e5ff 64px, #00e5ff 74px,
    transparent 74px, transparent 80px,
    #9900ff 80px, #9900ff 90px,
    transparent 90px, transparent 96px,
    #ff00bb 96px, #ff00bb 106px,
    transparent 106px, transparent 112px
  );
  background-size: 224px 100%;
  animation: rgb-dash-h 4s linear infinite;
  z-index: 10;
  pointer-events: none;
}

.rgb-border-top {
  top: -3px;
}

.rgb-border-bottom {
  bottom: -3px;
}

.rgb-border-left,
.rgb-border-right {
  position: absolute;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: repeating-linear-gradient(
    180deg,
    #ff0055 0px, #ff0055 10px,
    transparent 10px, transparent 16px,
    #ff7700 16px, #ff7700 26px,
    transparent 26px, transparent 32px,
    #ffdd00 32px, #ffdd00 42px,
    transparent 42px, transparent 48px,
    #00ff66 48px, #00ff66 58px,
    transparent 58px, transparent 64px,
    #00e5ff 64px, #00e5ff 74px,
    transparent 74px, transparent 80px,
    #9900ff 80px, #9900ff 90px,
    transparent 90px, transparent 96px,
    #ff00bb 96px, #ff00bb 106px,
    transparent 106px, transparent 112px
  );
  background-size: 100% 224px;
  animation: rgb-dash-v 4s linear infinite;
  z-index: 10;
  pointer-events: none;
}

.rgb-border-left {
  left: -3px;
}

.rgb-border-right {
  right: -3px;
}

@keyframes rgb-dash-h {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 224px 0;
  }
}

@keyframes rgb-dash-v {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 224px;
  }
}

.login-brand {
  margin-bottom: 1.25rem;
}

.login-brand__title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.login-brand__subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-top: 0.2rem;
}

.brand-logo--header {
  height: 36px;
  margin: 0;
}

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

.login-card form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.1rem 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.login-divider span {
  padding: 0 0.75rem;
}

.login-student-btn {
  width: 100%;
  padding: 0.65rem 1.1rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

/* Club */
.club-screen {
  position: relative;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* Ambient backdrop — soft, slowly drifting blobs of light in the brand
   colors, like a dance floor light rig glimpsed through fog. Sits behind
   everything (z-index -1 inside the isolated stacking context created
   above) so it never interferes with clicks/readability. Speeds up while a
   track is actually playing. */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.ambient-blob {
  position: absolute;
  width: 42vmax;
  height: 42vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  animation: ambient-drift 24s ease-in-out infinite, ambient-pulse 7s ease-in-out infinite;
}

.ambient-blob--gold {
  top: -12%;
  left: -10%;
  background: var(--gold);
}

.ambient-blob--blue {
  top: 15%;
  right: -16%;
  background: var(--blue);
  animation-duration: 28s, 8s;
  animation-delay: -7s, -2s;
}

.ambient-blob--red {
  bottom: -18%;
  left: 12%;
  background: var(--red);
  animation-duration: 20s, 6s;
  animation-delay: -14s, -4s;
}

.ambient-blob--green {
  bottom: 0%;
  right: 8%;
  background: var(--green);
  animation-duration: 26s, 9s;
  animation-delay: -19s, -1s;
}

.ambient-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 88%);
}

@keyframes ambient-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(9%, 6%) scale(1.12); }
  50% { transform: translate(-6%, 11%) scale(0.94); }
  75% { transform: translate(7%, -9%) scale(1.06); }
}

@keyframes ambient-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.42; }
}

/* Music actually playing — same motion, noticeably livelier pace. */
.ambient-bg--live .ambient-blob {
  animation-duration: 9s, 2.4s;
}

.ambient-bg--live .ambient-blob--blue {
  animation-duration: 10s, 2.1s;
}

.ambient-bg--live .ambient-blob--red {
  animation-duration: 8s, 2.6s;
}

.ambient-bg--live .ambient-blob--green {
  animation-duration: 9.5s, 2.3s;
}

@media (prefers-reduced-motion: reduce) {
  .ambient-blob {
    animation: none;
    opacity: 0.22;
  }
}

.club-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--bg-header);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.club-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #ff0055 0%,
    #ff6600 14%,
    #ffe600 28%,
    #00ff66 42%,
    #00e5ff 57%,
    #9900ff 71%,
    #ff00cc 85%,
    #ff0055 100%
  );
  background-size: 320px 100%;
  animation: rgb-stripe-flow 5s linear infinite;
  box-shadow: 0 0 12px rgba(255, 0, 150, 0.4);
  z-index: 5;
}

@keyframes rgb-stripe-flow {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 320px 0;
  }
}

/* Spotlights along the top gold border line */
.club-spotlights-container {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 10;
}

.spotlight-fixture {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spotlight-lamp {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  z-index: 12;
  transition: transform 0.3s, box-shadow 0.3s;
}

.spotlight-fixture.is-playing .spotlight-lamp {
  transform: scale(1.6);
}

.spotlight-beam {
  position: absolute;
  top: 0px;
  width: 260px;
  height: 750px;
  transform-origin: top center;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.65;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: spotlight-sweep 5s ease-in-out infinite alternate;
}

.spotlight-fixture.is-playing .spotlight-beam {
  opacity: 0.9;
  filter: brightness(1.3);
}

@keyframes spotlight-sweep {
  0% {
    transform: rotate(-30deg) scaleX(0.85);
  }
  50% {
    transform: rotate(0deg) scaleX(1.1);
  }
  100% {
    transform: rotate(30deg) scaleX(0.85);
  }
}

.club-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.club-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.volume-control input[type="range"] {
  width: 90px;
  accent-color: var(--gold);
  background: none;
  padding: 0;
}

.status-ok { color: var(--ok); }
.status-bad { color: var(--bad); }

.club-main {
  flex: 1;
  display: grid;
  grid-template-columns: 440px minmax(320px, 560px) 320px;
  grid-auto-rows: min-content;
  align-content: start;
  gap: 1.5rem;
  padding: 1.5rem;
  max-width: 1460px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 1150px) {
  .club-main {
    grid-template-columns: minmax(280px, 560px) 320px;
    max-width: 940px;
  }

  .club-main__left {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .club-main {
    grid-template-columns: 1fr;
  }

  .club-main__left {
    grid-column: auto;
  }
}

.club-main__left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.club-main__player {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dj-player {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #111115 0%, #1a1a22 100%);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212, 167, 44, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* The caster.fm widget sets its own iframe height (not 16:9), so the fixed
   aspect-ratio/overflow-hidden from .dj-player clipped it — size to content
   instead. */
.dj-player--embed {
  aspect-ratio: auto;
  overflow: visible;
  /* Wider than the base 480px cap: the caster.fm widget only shows its
     volume slider above ~520px, otherwise it collapses to a Play-only
     compact layout. */
  max-width: 560px;
}

.dj-player__visualizer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(212, 167, 44, 0.1) 0%, transparent 60%);
}

.dj-player__disc-container {
  position: relative;
  width: 110px;
  height: 110px;
  min-width: 110px;
  border-radius: 50%;
  padding: 6px;
  background: repeating-radial-gradient(#111 0, #111 2px, #222 3px, #111 4px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8), inset 0 0 8px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-playing .dj-player__disc-container {
  animation: spin-disc 8s linear infinite;
}

@keyframes spin-disc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.dj-player__thumbnail {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.dj-player__disc-center {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--gold);
}

.dj-player__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  overflow: hidden;
}

.dj-player__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dj-player__effect-btn {
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  background: var(--bg-panel-alt);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.dj-player__effect-btn:hover {
  background: rgba(212, 167, 44, 0.15);
  color: var(--gold);
}

.dj-player__effect-btn.is-active {
  background: var(--gold);
  color: #201804;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(212, 167, 44, 0.4);
}

.dj-player__status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}

.dj-player__live-icon {
  flex-shrink: 0;
  display: inline-block;
  margin-bottom: 1px;
}

.dj-player__acoustics-recommendation {
  margin-top: 0.8rem;
  background: rgba(10, 10, 11, 0.85);
  border: none;
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s ease-out;
}

.dj-player__acoustics-rec-title {
  font-weight: 400;
  color: var(--gold);
  font-size: 1.05rem;
  display: block;
}

.dj-player__acoustics-rec-desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.35;
  font-family: "Poppins", sans-serif;
  text-transform: none;
  letter-spacing: normal;
}

.dj-player__acoustics-rec-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.dj-player__acoustics-dismiss {
  background: transparent;
  color: var(--text-dim);
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dj-player__acoustics-dismiss:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.dj-player__track-title {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.dj-player__dj-name {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.dj-player__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  pointer-events: none;
}

.now-playing {
  color: var(--text-dim);
  margin: 0;
}

.dj-player__unlock {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  border: none;
  color: #201804;
  font-weight: 700;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px -4px rgba(212, 167, 44, 0.7);
  animation: pulse-unlock 1.6s ease-in-out infinite;
  z-index: 10;
}

@keyframes pulse-unlock {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.04); }
}

.dj-controls {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  max-width: 480px;
}

.dj-controls__row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: stretch;
}

.dj-controls__row input {
  flex: 1;
}

.dj-controls__row button {
  padding: 0.55rem 1.45rem;
  font-size: 1.15rem;
  font-weight: 400 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: none;
}

.song-requests {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  max-width: 480px;
}

.song-requests .dj-controls__row input {
  flex: 1;
}

.song-requests__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.song-requests__header .panel-title {
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.song-requests__header .request-toggle {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.request-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  width: fit-content;
}

.request-toggle__label {
  font-size: 0.9rem;
  color: var(--text);
}

.request-toggle__switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.request-toggle__switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.request-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--bg-panel-alt);
  border: 1px solid rgba(212, 167, 44, 0.25);
  border-radius: 999px;
  transition: background 0.2s ease;
}

.request-toggle__slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  background: var(--text-dim);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.request-toggle__switch input:checked + .request-toggle__slider {
  background: var(--gold-dim);
}

.request-toggle__switch input:checked + .request-toggle__slider::before {
  transform: translateX(18px);
  background: var(--gold);
}

.request-toggle__switch input:focus-visible + .request-toggle__slider {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hint-text {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0.25rem 0 0.5rem;
}

.request-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.request-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: var(--bg-panel-alt);
  overflow: hidden;
}

.request-item__info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex-shrink: 1;
}

.request-item__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.request-item__actions button {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 400 !important;
  padding: 0.35rem 0.6rem;
}

.btn-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button.btn-secondary {
  border: none;
  background: var(--blue);
  color: #0c2136;
}

button.btn-secondary:hover:not(:disabled) {
  background: #3b8ecc;
  color: #ffffff;
}

.request-item__actions button.btn-icon-only {
  flex: 0 0 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.55rem;
}

.request-item__actions button.btn-icon-only svg {
  width: 18px;
  height: 18px;
  display: block;
}

.queue-item__info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.queue-item__actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.queue-item__actions button {
  flex: 1;
  min-width: 3rem;
}

.queue-item__actions button.btn-gold {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  min-width: 0;
  padding: 0;
}

.queue-item__actions button.btn-gold svg {
  width: 17px;
  height: 17px;
}

.request-list .empty {
  color: var(--text-dim);
  background: none;
}

.request-thumb {
  width: 40px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.request-spacer {
  flex: 1;
}

.request-list button {
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 400 !important;
}

.club-main__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: fit-content;
}

.taglist {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.taglist__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
}

.taglist__header .panel-title {
  margin: 0;
  padding: 0;
  border: none;
}

.now-playing-tag {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.taglist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.taglist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: var(--radius);
  background: var(--bg-panel-alt);
  box-sizing: border-box;
}

.taglist .status-icon {
  width: 17px;
  height: 17px;
  display: block;
  flex-shrink: 0;
  color: var(--text-dim);
}

.taglist li.listening .status-icon {
  color: var(--ok);
  filter: drop-shadow(0 0 4px var(--ok));
}

.taglist li.muted .status-icon {
  color: var(--bad);
}

.taglist .name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  display: block;
  margin: 0;
  padding: 0;
}

.taglist .role-badge {
  font-size: 0.78rem;
  color: var(--orange);
  background: transparent;
  border: none;
  padding: 0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin: 0;
}

.taglist .role-badge.role-badge--admin {
  color: #e56b6f;
  background: transparent;
  border: none;
  padding: 0;
}

.taglist .status {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin: 0;
}

.taglist .empty {
  color: var(--text-dim);
  background: none;
}

/* Admin */
.admin-screen {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.75rem 2rem 2rem;
  background: var(--bg-panel);
  border-radius: var(--radius);
}

.admin-add-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th, .admin-table td {
  text-align: left;
  padding: 0.7rem 0.75rem;
}

.admin-table tbody tr:nth-child(odd) {
  background: var(--bg-panel-alt);
}

.admin-table th {
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.badge-student {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(212, 167, 44, 0.18);
  color: var(--gold);
  border: 1px solid rgba(212, 167, 44, 0.45);
  border-radius: 4px;
  vertical-align: middle;
}

.sync-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 11, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  animation: fadeIn 0.2s ease-out;
}

.sync-spinner {
  width: 54px;
  height: 54px;
  border: 4px solid rgba(212, 167, 44, 0.15);
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  border-radius: 50%;
  animation: sync-spin 0.75s linear infinite;
}

@keyframes sync-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sync-text {
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  animation: sync-pulse 1.5s ease-in-out infinite;
}

@keyframes sync-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.97); }
}

.sync-subtext {
  color: var(--text-dim);
  font-size: 0.85rem;
  max-width: 420px;
  text-align: center;
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* In-Character Notice Card */
.ic-notice-card {
  background: var(--bg-panel);
  border: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  position: relative;
  transition: all 0.2s ease;
}

.ic-notice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
}

.ic-notice-title {
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 400 !important;
  letter-spacing: -0.2px;
  line-height: 1.3;
  font-family: "Poppins", sans-serif !important;
}

.ic-notice-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.1rem;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  line-height: 1;
}

.ic-notice-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.ic-notice-content {
  color: #d1d1d6;
  font-size: 0.86rem;
  line-height: 1.55;
  font-family: "Poppins", sans-serif !important;
}

.ic-notice-greeting {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0 0.5rem 0 !important;
  font-family: "Poppins", sans-serif !important;
}

.ic-notice-content p {
  margin: 0 0 0.75rem 0;
}

.ic-notice-content p:last-child {
  margin-bottom: 0;
}

.ic-notice-content strong {
  color: var(--gold);
  font-weight: 600;
  font-family: "Poppins", sans-serif !important;
}

.ic-notice-footer-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  line-height: 1.45;
  font-family: "Poppins", sans-serif !important;
}

.ic-sign {
  font-style: italic;
  color: var(--gold-dim);
  font-weight: 600;
  font-family: "Poppins", sans-serif !important;
}

.ic-notice-reopen-btn {
  background: rgba(212, 167, 44, 0.12);
  border: none;
  color: var(--gold);
  font-size: 0.88rem;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  width: 100%;
  text-align: center;
}

.ic-notice-reopen-btn:hover {
  background: rgba(212, 167, 44, 0.25);
  color: #fff;
}

/* Song Requests Preview Modal */
.preview-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.preview-modal-content {
  background: var(--bg-panel);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.preview-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-panel-alt);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-modal-header h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--gold);
}

.preview-modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}

.preview-modal-close:hover {
  color: #fff;
}

.preview-modal-body {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
}

.preview-modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.preview-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-panel-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Club Bottom Footer Bar - Fine Print Disclaimer / Apróbetűs rész */
.club-footer {
  width: 100%;
  margin-top: auto;
  background: transparent;
  padding: 1.25rem 0 1rem;
}

.club-footer__inner {
  max-width: 1460px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
}

.club-footer__disclaimer {
  margin: 0;
  font-family: "Poppins", sans-serif !important;
  font-size: 0.68rem;
  color: #65656e;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.club-footer__disclaimer strong {
  color: #82828c;
  font-weight: 500;
  font-family: "Poppins", sans-serif !important;
}

.club-footer__bottom {
  font-size: 0.65rem;
  color: #55555e;
  display: flex;
  justify-content: center;
  font-style: normal;
  font-family: "Poppins", sans-serif !important;
}

.club-footer__bottom em {
  color: #7a6a3b;
  font-style: normal;
  font-weight: 400;
  font-family: "Poppins", sans-serif !important;
}

/* Hardware Acceleration Modal */
.hw-accel-modal {
  max-width: 560px;
  background: #1e1e24;
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.hw-accel-modal__header {
  background: transparent;
  padding: 1.35rem 1.5rem 0.5rem;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hw-accel-modal__header h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #f2f2f2;
  letter-spacing: -0.2px;
  font-family: "Poppins", sans-serif !important;
}

.hw-accel-modal .preview-modal-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hw-accel-modal .preview-modal-close:hover {
  background: transparent;
  color: #ffffff;
}

.hw-accel-modal__body {
  padding: 0.75rem 1.5rem 1rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-height: 75vh;
  overflow-y: auto;
}

.hw-accel-modal__alert {
  background: rgba(212, 167, 44, 0.08);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.hw-accel-modal__alert p {
  margin: 0;
  font-size: 0.88rem;
  color: #e5e5ea;
  line-height: 1.45;
  font-family: "Poppins", sans-serif !important;
}

.hw-accel-modal__alert strong {
  color: var(--gold);
  font-weight: 600;
}

.hw-accel-modal__reasons h5,
.hw-accel-modal__guide h5 {
  margin: 0 0 0.45rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #f2f2f2;
  font-family: "Poppins", sans-serif !important;
}

.hw-accel-modal__reasons ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: "Poppins", sans-serif !important;
}

.hw-accel-modal__reasons ul strong {
  color: #d1d1d6;
}

.hw-accel-modal__tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 8px;
  width: fit-content;
}

.hw-accel-modal__tab {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  font-family: "Poppins", sans-serif !important;
  font-weight: 400 !important;
}

.hw-accel-modal__tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.hw-accel-modal__tab.active {
  background: #2a2a33;
  color: var(--gold);
  font-weight: 600 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hw-accel-modal__tab-content {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.9rem 1.1rem 0.9rem 2rem;
  font-size: 0.82rem;
  color: #c8c8cf;
  line-height: 1.55;
  font-family: "Poppins", sans-serif !important;
}

.hw-accel-modal__tab-content ol {
  margin: 0;
  padding: 0;
}

.hw-accel-modal__tab-content li {
  margin-bottom: 0.4rem;
}

.hw-accel-modal__tab-content li:last-child {
  margin-bottom: 0;
}

.hw-accel-modal__tab-content strong {
  color: #ffffff;
}

.hw-accel-modal__tab-content em {
  color: var(--gold);
  font-style: normal;
}

.hw-accel-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem 1.35rem;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hw-accel-modal__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  cursor: pointer;
  user-select: none;
  font-family: "Poppins", sans-serif !important;
}

.hw-accel-modal__checkbox input {
  cursor: pointer;
}

.hw-accel-modal__footer .btn-primary {
  padding: 0.5rem 1.35rem;
  font-size: 0.95rem;
}

.play-arrow-hint {
  animation: playArrowBounce 2.2s ease-in-out infinite;
}

@keyframes playArrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}


