:root {
  --c-a: 30, 40, 80;
  --c-b: 60, 90, 140;
  --c-c: 180, 140, 60;
  --panel-bg: rgba(8, 10, 18, 0.78);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.55);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  background: #030308;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #020205;
}

.bg__layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px) saturate(1.35);
  opacity: 0.78;
  mix-blend-mode: screen;
  will-change: transform;
}

.bg__layer--a {
  width: 140vmin;
  height: 140vmin;
  left: -35%;
  top: -25%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(var(--c-a), 1) 0%,
    rgba(var(--c-a), 0.35) 42%,
    rgba(var(--c-a), 0) 62%
  );
  animation: drift-a 16s var(--ease-out) infinite alternate;
}

.bg__layer--b {
  width: 120vmin;
  height: 120vmin;
  right: -30%;
  bottom: -20%;
  background: radial-gradient(
    circle at 55% 45%,
    rgba(var(--c-b), 1) 0%,
    rgba(var(--c-b), 0.32) 40%,
    rgba(var(--c-b), 0) 58%
  );
  animation: drift-b 18s var(--ease-out) infinite alternate;
}

.bg__layer--c {
  width: 100vmin;
  height: 100vmin;
  left: 25%;
  top: 35%;
  opacity: 0.68;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(var(--c-c), 1) 0%,
    rgba(var(--c-c), 0.28) 38%,
    rgba(var(--c-c), 0) 60%
  );
  animation: drift-c 20s var(--ease-out) infinite alternate;
}

.bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 85% at 50% 45%,
    transparent 0%,
    rgba(0, 0, 0, 0.42) 52%,
    rgba(0, 0, 0, 0.86) 100%
  );
  pointer-events: none;
}

@keyframes drift-a {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(18%, 14%) scale(1.12);
  }
}

@keyframes drift-b {
  0% {
    transform: translate(0, 0) scale(1.06);
  }
  100% {
    transform: translate(-16%, -18%) scale(1);
  }
}

@keyframes drift-c {
  0% {
    transform: translate(-10%, 6%) rotate(0deg);
  }
  100% {
    transform: translate(12%, -10%) rotate(12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg__layer--a,
  .bg__layer--b,
  .bg__layer--c {
    animation: none;
    opacity: 0.42;
  }

  .bg__layer--c {
    opacity: 0.38;
  }
}

.emblem-float {
  --emblem-w: min(calc(100vw - 2rem), 720px);
  position: fixed;
  top: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: var(--emblem-w);
  z-index: 1;
  pointer-events: none;
}

.emblem-float__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.4));
}

.main {
  --emblem-w: min(calc(100vw - 2rem), 720px);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 720px;
  margin: 0 auto;
  padding: calc(2.5rem + var(--emblem-w) + 1.25rem) 1.25rem 3rem;
}

.main__contact {
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin: 0 auto 1.25rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(6, 8, 16, 0.82);
  backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.main__contact:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.album-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem;
  border-radius: 12px;
  background: rgba(4, 5, 12, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--panel-border);
}

.album-tabs__btn {
  flex: 1;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.album-tabs__btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.album-tabs__btn.is-active {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.album-panel {
  display: none;
}

.album-panel.is-active {
  display: block;
  animation: panel-in 0.6s var(--ease-out) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.album-panel__title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.embed-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.embed-card {
  padding: 1rem;
  border-radius: 14px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(16px);
}

.embed-card__label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.embed-card__frame {
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}

.embed-card__frame iframe {
  display: block;
  width: 100%;
  vertical-align: top;
}

.rotate-hint {
  margin: 1.5rem 0 0;
  min-height: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.art-source {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
