/* ── Glass ── */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

/* ── Ambient orb ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: .18;
}

/* ── Typography helpers ── */
.section-label {
  font-family: 'Righteous', cursive;
  font-size: .72rem;
  font-weight: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #D97706;
}

.gradient-text {
  background: linear-gradient(135deg, #FEF3C7 0%, #F59E0B 45%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Waveform decoration ── */
.waveform-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(217, 119, 6, .6) 30%,
    rgba(245, 158, 11, .9) 50%,
    rgba(217, 119, 6, .6) 70%,
    transparent 100%
  );
}

/* ── Live indicator dot ── */
.live-dot {
  width: 7px;
  height: 7px;
  background: #EF4444;
  border-radius: 50%;
  animation: livePulse 1.6s ease-in-out infinite;
}

/* ── Glow button ── */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
#playPauseBtn, #heroPlayBtn {
  position: relative;
  overflow: hidden;
}
.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .15), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}
.btn-glow:hover           { transform: translateY(-2px); box-shadow: 0 8px 24px var(--glow-amber); }
.btn-glow:hover::after    { opacity: 1; }

/* ── Art tooltip ── */
.art-tooltip {
  position: fixed;
  z-index: 800;
  pointer-events: none;
  width: 260px;
  background: rgba(10, 7, 4, .94);
  border: 1px solid rgba(255, 200, 100, .12);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .75);
  opacity: 0;
  transform: translateY(8px) scale(.95);
  transition: opacity .2s ease, transform .2s ease;
}
.art-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.art-tooltip-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #92400E, #D97706);
  flex-shrink: 0;
}
.art-tooltip-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.art-tooltip-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 2px 2px;
}

.art-tooltip-title {
  font-size: .82rem;
  font-weight: 600;
  color: #FEF3C7;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-tooltip-artist {
  font-size: .72rem;
  color: rgba(254, 243, 199, .4);
}

/* ── Cards ── */
.show-card    { transition: transform .25s ease, box-shadow .25s ease; }
.show-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(217, 119, 6, .22);
}

/* ── Show flyer ── */
.show-flyer-header {
  min-height: 130px;
}

.show-flyer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45), 0 0 0 3px rgba(255, 200, 100, .15);
}

.show-flyer-host {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 200, 100, .04);
  border: 1px solid rgba(255, 200, 100, .07);
}

.show-flyer-host-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-card { transition: border-color .25s, box-shadow .25s; }
.feature-card:hover {
  border-color: rgba(245, 158, 11, .35);
  box-shadow: 0 0 28px rgba(245, 158, 11, .10);
}

.track-item { transition: background .2s; }
.track-item:hover { background: rgba(255, 200, 100, .05); }

/* ── Card: Timeline ── */
.card-timeline { transition: transform .25s ease, box-shadow .25s ease; }
.card-timeline:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(217, 119, 6, .18);
}
.card-tl-time { writing-mode: horizontal-tb; }

/* ── Card: Neon ── */
.card-neon { transition: transform .25s ease, box-shadow .25s ease; }
.card-neon:hover { transform: translateY(-3px); }

/* ── Card: Gradient ── */
.card-gradient { transition: transform .25s ease, box-shadow .25s ease; }
.card-gradient:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
}

/* ── Card: Minimal ── */
.card-minimal { transition: transform .25s ease, box-shadow .25s ease; }
.card-minimal:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(217, 119, 6, .15);
}

/* ── Műsorvezetők ── */
@keyframes hostFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.host-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  cursor: default;
}
.host-card:hover { border-color: rgba(217,119,6,.25); }

/* Lazy image blur-up */
.host-avatar-img.lazy-img {
  filter: blur(10px);
  transform: scale(0.92);
  transition: filter .4s ease, transform .4s ease;
}
.host-avatar-img.lazy-img[src]:not([src=""]),
.host-avatar-img.lazy-img.loaded {
  filter: blur(0);
  transform: scale(1);
}

.host-show-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255,200,100,.04);
  border: 1px solid rgba(255,200,100,.08);
  font-size: .72rem;
  color: rgba(254,243,199,.6);
  overflow: hidden;
}

.host-skeleton {
  background: linear-gradient(90deg,
    rgba(255,200,100,.03) 0%,
    rgba(255,200,100,.07) 50%,
    rgba(255,200,100,.03) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

/* ── Slágerlista ── */
.chart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,200,100,.06);
  background: rgba(255,200,100,.025);
  transition: background .2s, border-color .2s, transform .25s cubic-bezier(.22,.68,0,1.2);
  cursor: default;
}
.chart-row:hover {
  background: rgba(255,200,100,.055);
  border-color: rgba(255,200,100,.14);
  transform: translateX(4px);
}

/* Top 3 kiemelés */
.chart-row-1 { border-color: rgba(245,158,11,.18); background: rgba(245,158,11,.04); }
.chart-row-1:hover { border-color: rgba(245,158,11,.32); background: rgba(245,158,11,.08); }
.chart-row-2 { border-color: rgba(200,200,220,.10); }
.chart-row-3 { border-color: rgba(180,120,60,.14); }

/* Pozíció szám */
.chart-pos {
  font-family: 'Righteous', cursive;
  min-width: 2rem;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}
.chart-pos-1 {
  font-size: 2rem;
  background: linear-gradient(160deg,#FEF3C7,#F59E0B 45%,#D97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(245,158,11,.5));
}
.chart-pos-2 { font-size: 1.5rem; color: rgba(200,210,230,.6); }
.chart-pos-3 { font-size: 1.5rem; color: rgba(180,120,60,.7); }
.chart-pos-n { font-size: .8rem; color: rgba(254,243,199,.18); font-family: 'Poppins', monospace; }

/* Album art */
.chart-art {
  width: 52px; height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: cover;
}
.chart-art-placeholder {
  width: 52px; height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Badge */
.chart-badge {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}
.chart-badge-new  { background: rgba(245,158,11,.18); color: #F59E0B; border: 1px solid rgba(245,158,11,.3); }
.chart-badge-hot  { background: rgba(239,68,68,.15);  color: #f87171; border: 1px solid rgba(239,68,68,.25); }
.chart-badge-top  { background: rgba(245,158,11,.25); color: #FEF3C7; border: 1px solid rgba(245,158,11,.4); }

/* Skeleton */
.chart-skeleton {
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(90deg,
    rgba(255,200,100,.04) 0%,
    rgba(255,200,100,.08) 50%,
    rgba(255,200,100,.04) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Admin: Card style picker ── */
.card-style-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px;
  border-radius: 14px;
  border: 2px solid transparent;
  transition: border-color .2s, background .2s;
}
.card-style-option:hover {
  background: rgba(245, 158, 11, .06);
  border-color: rgba(245, 158, 11, .2);
}
.card-style-option.active {
  border-color: #F59E0B;
  background: rgba(245, 158, 11, .08);
}
.card-style-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 200, 100, .04);
  border: 1px solid rgba(255, 200, 100, .08);
  position: relative;
  flex-shrink: 0;
  pointer-events: none; /* kattintás mindig a szülő .card-style-option-ra esik */
}
.card-style-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(254, 243, 199, .45);
  transition: color .2s;
  pointer-events: none;
}
.card-style-option.active .card-style-label { color: #F59E0B; }
.card-style-option:hover .card-style-label  { color: rgba(254, 243, 199, .7); }

/* ── Chat bottom banner ── */
.chat-banner {
  position: fixed;
  bottom: 96px; left: 0; right: 0;
  z-index: 9990;
  transform: translateY(calc(110% + 96px));
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
  padding: 0 1rem .75rem;
  pointer-events: none;
}
.chat-banner.visible {
  transform: translateY(0);
  pointer-events: auto;
}
.chat-banner-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #1a0f00 0%, #0f0a00 100%);
  border: 1px solid rgba(245,158,11,.3);
  box-shadow: 0 8px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(245,158,11,.08);
  overflow: hidden;
}
.chat-banner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(245,158,11,.12) 0%, transparent 65%);
  pointer-events: none;
}
.chat-banner-left {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex: 1;
  min-width: 0;
}
.chat-banner-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  display: flex; align-items: center; justify-content: center;
  color: #F59E0B;
  animation: chat-pulse 2.5s ease-in-out infinite;
}
.chat-banner-title {
  font-size: .95rem;
  font-weight: 700;
  color: #FEF3C7;
  line-height: 1.2;
}
.chat-banner-sub {
  font-size: .78rem;
  color: rgba(254,243,199,.45);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-banner-right {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.chat-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #F59E0B;
  color: #1a0f00;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.chat-banner-btn:hover {
  background: #FBBF24;
  transform: translateY(-1px);
}
.chat-banner-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(254,243,199,.15);
  background: rgba(254,243,199,.06);
  color: rgba(254,243,199,.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.chat-banner-close:hover {
  background: rgba(254,243,199,.12);
  color: #FEF3C7;
}
@media (max-width: 540px) {
  .chat-banner-sub { display: none; }
  .chat-banner-inner { flex-wrap: wrap; gap: .75rem; }
}

/* ── Chat nav gomb ── */
.chat-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #F59E0B;
  color: #1a0f00;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 0 0 rgba(245,158,11,.5);
  animation: chat-pulse 2.5s ease-in-out infinite;
}
.chat-nav-btn:hover {
  background: #FBBF24;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(245,158,11,.4);
  animation: none;
}
@keyframes chat-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,.45); }
  50%       { box-shadow: 0 0 0 7px rgba(245,158,11,0); }
}

