/* NOICE Premium — Cinematic Dark */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }

:root {
  --yellow: #FAD810;
  --black: #141414;
  --black-2: #0A0A0A;
  --black-3: #1F1F1F;
  --gray-1: #DEDEDE;
  --gray-2: #B9B9B9;
  --gray-3: #767676;
  --gray-4: #4B4B4B;
}

html, body {
  margin: 0; padding: 0;
  font-family: 'Readex Pro', system-ui, sans-serif;
  background: var(--black);
  color: white;
  -webkit-font-smoothing: antialiased;
}

.noice-artboard {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.noice-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.noice-logo .dot { color: inherit; }

button { font-family: inherit; cursor: pointer; border: 0; }

/* content tile */
.tile {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 1/1; flex-shrink: 0;
}
.tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 50%);
}
.tile.tile-creator-mode::after {
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 40%, transparent 65%);
}
.tile .tile-title {
  position: absolute; bottom: 10px; left: 12px; right: 12px; z-index: 2;
  color: white; font-size: 12px; font-weight: 600; line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.tile .tile-host {
  position: absolute; top: 10px; right: 10px; z-index: 2;
}
.tile .tile-creator-name {
  position: absolute; bottom: 26px; left: 12px; right: 12px; z-index: 2;
  color: white; font-size: 14px; font-weight: 700; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
.tile .tile-episode-title {
  position: absolute; bottom: 10px; left: 12px; right: 12px; z-index: 2;
  color: rgba(255,255,255,0.5); font-size: 10px; font-weight: 400; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Marquee */
@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-x-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.marquee-track { display: flex; gap: 14px; width: max-content; }
.marquee-track.horizontal { animation: marquee-x 60s linear infinite; }
.marquee-track.horizontal.reverse { animation: marquee-x-reverse 60s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 16px;
  background: none; border: 0; width: 100%; text-align: left; color: white;
}
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  padding: 0; font-size: 14px; line-height: 1.6; color: var(--gray-3);
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 0 20px 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.chev { transition: transform .3s ease; }

/* audio preview */
.preview-player {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border-radius: 16px;
}
.play-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }
