:root {
  --gcd-primary: #1F2F44;
  --gcd-primary-natural: #6F7F5A;
  --gcd-accent-editorial: #C89B3C;
  --gcd-steel: #4F6D8A;
  --gcd-soft-blue: #8FAFC7;
  --gcd-moss: #A9B59A;
  --gcd-sand: #F4F1EA;
  --gcd-stone: #E7E3DA;
  --gcd-carbon: #2B2B2B;
  --gcd-mid-gray: #6B6B6B;
  --gcd-warm-line: #CFCAC0;
  --gcd-alert: #D07A2D;
  --gcd-disabled: #BDBDBD;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  margin: 0;
  background-color: var(--gcd-sand);
  background-image:
    radial-gradient(ellipse at top left, rgba(111, 127, 90, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(79, 109, 138, 0.08), transparent 60%),
    linear-gradient(120deg, rgba(200, 155, 60, 0.06), rgba(143, 175, 199, 0.06), rgba(169, 181, 154, 0.06));
  background-attachment: fixed;
  color: var(--gcd-carbon);
}

.ribbon-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
}

.ribbon-bg svg {
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: multiply;
}

.hero-ribbons {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-ribbons svg {
  width: 100%;
  height: 100%;
  display: block;
}

.list-hero {
  border: 1px solid var(--gcd-warm-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(244, 241, 234, .92));
}

.glass-card {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, .92);
}

.logo-badge {
  width: 140px;
  height: 140px;
  border-radius: 9999px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1.12);
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
}

.logo-badge img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  transform: scale(1.2);
  border-radius: 50%;
}

.logo-badge.logo-hidden {
  opacity: 0;
  transform: scale(0.85) translateY(-24px);
}

.logo-badge--compact {
  position: static !important;
  width: 88px;
  height: 88px;
  transform: scale(0.9);
}

.logo-badge--compact img {
  width: 64px;
  height: 64px;
  transform: scale(1);
}

.brand-title {
  transition: opacity .3s ease, transform .3s ease, max-height .3s ease, padding .3s ease, margin .3s ease, box-shadow .3s ease;
  overflow: hidden;
}

.brand-title.brand-title--hidden {
  opacity: 0;
  transform: translateY(-16px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  box-shadow: none;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .brand-title {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav-shell {
    width: 100%;
  }

  .primary-nav {
    display: flex;
    gap: 1.5rem;
    padding-left: 9rem;
    transition: gap .3s ease, padding .3s ease;
  }

  .nav-shell.nav-shell--compact {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
  }

.nav-shell.nav-shell--compact .primary-nav {
    gap: 1rem;
    padding-left: 0;
    justify-content: flex-start;
  }
}

.detail-media {
  position: relative;
  background: #000;
}

.detail-media iframe {
  display: block;
}

.detail-media__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.detail-media--image iframe {
  display: none;
}

.detail-media--image .detail-media__fallback {
  display: block;
}

.detail-hero {
  height: auto;
}

@media (min-width: 1024px) {
  .detail-hero {
    height: 29em;
  }

  .detail-hero-grid {
    height: 100%;
  }
}

.mini-player {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 320px;
  max-width: 90vw;
  background: #000;
  border: 1px solid var(--gcd-warm-line);
  border-radius: 1rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .25);
  z-index: 60;
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
}

.mini-player--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mini-player iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 1rem 1rem 0 0;
}

.mini-player__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--gcd-carbon);
  background: var(--gcd-sand);
  border-top: 1px solid var(--gcd-warm-line);
  border-radius: 0 0 1rem 1rem;
}

.mini-player__close {
  border: 1px solid var(--gcd-warm-line);
  border-radius: 9999px;
  background: transparent;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--gcd-primary);
}
