@font-face {
  font-family: 'Uncut Sans';
  src: url('./UncutSans-Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Uncut Sans';
  src: url('./UncutSans-Medium.otf') format('opentype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Uncut Sans';
  src: url('./UncutSans-Semibold.otf') format('opentype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Tanker';
  src: url('./Tanker-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --primary: #0a0ad3;
  --on-primary: #ffffff;
  --app-icon-filter: none;
  --text: #000000;
  --muted: #5e5e5e;
  --line: #c8c8c8;
  --surface: #ffffff;
  --panel-bg: rgba(255, 255, 255, 0.9);
  --panel-border: rgba(0, 0, 0, 0.08);
  --page-bg: #f3f3f3;
  --card-surface: #ffffff;
  --container: 1200px;
}

:root[data-theme='dark'] {
  --primary: #dcfe52;
  --on-primary: #000000;
  --app-icon-filter: invert(1);
  --text: #f4f4f4;
  --muted: #c2c2c2;
  --line: #3c3c3c;
  --surface: #141414;
  --card-surface: #1b1b1e;
  --panel-bg: rgba(20, 20, 20, 0.9);
  --panel-border: rgba(255, 255, 255, 0.14);
  --page-bg: #0b0b0d;
}

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

body {
  margin: 0;
  font-family: 'Uncut Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

p {
  margin: 0;
}

a {
  color: var(--primary);
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  background: var(--page-bg);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
}

.hero {
  position: relative;
  padding: 40px 0 72px;
  background: linear-gradient(180deg, #f4f0ff 0%, #f6f8ff 34%, #f3f3f3 100%);
  overflow: visible;
}

:root[data-theme='dark'] .hero {
  background: linear-gradient(180deg, #0f1020 0%, #101123 30%, #0b0b0d 100%);
}

.hero-blur {
  position: absolute;
  inset: -160px -200px -220px -200px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  animation: blurOpacity 1.4s ease forwards;
  will-change: opacity;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
}

.hero-blur-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(78px);
  transform: scale(1.04);
}

.hero-blur-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(78px);
  transform: scale(1.04);
}

.topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.app-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
}

.app-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  margin: auto;
  border: none;
  image-rendering: auto;
  filter: var(--app-icon-filter, none);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 40px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: end;
  gap: 48px;
  margin-top: 48px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 524px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.15s;
}

.wordmark {
  width: 288px;
  height: auto;
  image-rendering: auto;
  display: block;
}

.wordmark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4px 0;
}

.wordmark-mask {
  display: inline-block;
  max-width: 360px;
  max-height: 120px;
  background-color: var(--logo-color, #000);
  -webkit-mask: var(--logo-url) center / contain no-repeat;
  mask: var(--logo-url) center / contain no-repeat;
}

:root[data-theme='dark'] .wordmark-mask {
  background-color: #fff;
}

.wordmark-text {
  font-family: 'Tanker', 'Uncut Sans', sans-serif;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text);
}

.meta-subtitle {
  font-size: 20px;
  font-weight: 600;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 36px;
  background: var(--primary);
  color: var(--on-primary);
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.16);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  max-width: 424px;
  opacity: 0.9;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.count-value {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.count-label {
  font-size: 14px;
  line-height: 16px;
}

.hero-image {
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 24px;
  overflow: hidden;
  max-width: 596px;
  justify-self: end;
  background: var(--card-surface);
  aspect-ratio: 1 / 1;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  animation: floatOpacity 0.8s ease forwards 0.1s;
  transform: translateY(var(--parallax-y, 0));
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.8s ease;
}

.hero-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

:root[data-theme='dark'] .hero-image,
:root[data-theme='dark'] .lineup-image {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--card-surface);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
}

.section {
  padding: 56px 0;
}

.section-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}

.section-header h2 {
  margin: 0;
  font-family: 'Tanker', 'Uncut Sans', sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.header-line {
  height: 1px;
  background: var(--line);
  display: block;
}

.section-content.two-col {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 580px);
  gap: 32px 40px;
}

.spacer {
  min-height: 1px;
}

.info-text {
  font-size: 24px;
  line-height: 31px;
  margin: 0 0 12px;
}

.info-text.clamped {
  overflow: hidden;
  position: relative;
  transition: max-height 0.35s ease;
}

.link-button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.fade-text {
  background: linear-gradient(180deg, #000 0%, #000 60%, rgba(0, 0, 0, 0) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

:root[data-theme='dark'] .fade-text {
  background: linear-gradient(180deg, #f4f4f4 0%, #f4f4f4 60%, rgba(244, 244, 244, 0) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.inline-link {
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
}

.outline-button {
  color: #000;
}
:root[data-theme='dark'] .outline-button {
  color: #000;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-chip {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-copy {
  font-size: 16px;
  line-height: 20px;
}

.venue-block h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
}

.address {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
  font-size: 16px;
  line-height: 22px;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 36px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lineup {
  position: relative;
  min-height: 670px;
}

.lineup-preload {
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  width: 0;
  height: 0;
}

.lineup-image {
  --beat-scale: 1;
  position: absolute;
  left: 10%;
  bottom: 0;
  width: clamp(320px, 45vw, 598px);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  animation: floatOpacity 0.9s ease forwards 0.2s;
  transform: translateY(var(--parallax-y, 0)) scale(var(--beat-scale, 1));
  transform-origin: center;
  background: var(--card-surface);
  transition: transform 0.16s linear, box-shadow 0.4s ease, filter 0.4s ease;
}

.lineup-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  backface-visibility: hidden;
  transform: scale(1.01);
  transition: transform 0.8s ease;
}

.lineup-image.beat {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 0 28px rgba(10, 10, 211, 0.14);
}

.lineup-card {
  position: absolute;
  top: 0;
  left: 48%;
  transform: none;
  width: clamp(320px, 45vw, 598px);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  aspect-ratio: 1 / 1;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  animation: floatOpacity 1s ease forwards 0.28s;
  transform: translateY(var(--parallax-y, 0));
  overflow: visible;
}

.glass {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px);
}

:root[data-theme='dark'] .glass {
  background: rgba(20, 20, 20, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.lineup-names {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lineup-names.top {
  position: absolute;
  top: 32px;
  left: 32px;
  justify-content: flex-start;
  max-height: 40%;
  overflow-y: auto;
  padding-right: 4px;
}

.lineup-names .muted {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.lineup-highlight {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: visible;
}

.play-button {
  width: 58px;
  height: 58px;
  border-radius: 40px;
  background: var(--primary);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(10, 10, 211, 0.24);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.play-button img {
  width: 32px;
  height: 32px;
  transition: opacity 0.2s ease;
}

:root[data-theme='dark'] .play-button img {
  filter: brightness(0);
}

.play-button .pause-icon {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.play-button .pause-icon::before,
.play-button .pause-icon::after {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: #fff;
  border-radius: 2px;
  margin: 0 2px;
}

:root[data-theme='dark'] .play-button .pause-icon::before,
:root[data-theme='dark'] .play-button .pause-icon::after {
  background: #000;
}

.play-button.is-playing img {
  opacity: 0;
}

.play-button.is-playing .pause-icon {
  display: flex;
}

.headline {
  font-family: 'Tanker', 'Uncut Sans', sans-serif;
  font-size: clamp(60px, 6vw, 80px);
  color: var(--primary);
  margin: 0;
  line-height: 0.95;
  text-align: center;
  white-space: nowrap;
  --beat-amp: 1;
  overflow: visible;
}

.headline.playing {
  color: var(--primary);
  filter: drop-shadow(0 0 calc(18px * var(--beat-amp, 1)) rgba(10, 10, 211, 0.32));
  padding: 6px 8px;
}

:root[data-theme='dark'] .headline.playing {
  filter: drop-shadow(0 0 calc(18px * var(--beat-amp, 1)) rgba(220, 254, 82, 0.32));
}

.lineup-names.bottom {
  position: absolute;
  bottom: 32px;
  left: 32px;
  justify-content: flex-end;
  max-height: 40%;
  overflow-y: auto;
  padding-right: 4px;
}

.lineup-names.bottom .muted {
  font-size: 24px;
}

.lineup-slot {
  min-height: 32px;
}

.lineup-gap {
  display: block;
  height: 32px;
}

.lineup-slot.empty {
  display: none;
}

.hint-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hint-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 20px;
}

.hint-list img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer {
  position: relative;
  background: #000;
  color: #a0a0a0;
  padding: 72px 0 56px;
  height: 498px;
  overflow: hidden;
}

:root[data-theme='dark'] .footer {
  background: #030303;
}

.footer-blur {
  position: absolute;
  inset: -40px;
  opacity: 0;
  transition: opacity 1s ease, filter 1.2s ease, transform 1.2s ease;
  will-change: opacity, filter, transform;
  overflow: hidden;
}

.footer-blur-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(70px);
  transform: scale(1.02);
}

.footer-blur-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(70px);
  transform: scale(1.02);
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1185px, calc(100% - 48px));
  max-width: 1185px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badges,
.payment-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 0 1 auto;
}

.store-badges img {
  height: 28px;
  width: auto;
  object-fit: contain;
  image-rendering: auto;
  display: block;
}

.payment-badges img {
  height: 28px;
  width: auto;
  object-fit: contain;
  image-rendering: auto;
  display: block;
}

.footer-line {
  height: 1px;
  background: #4d4d4d;
  margin: 28px 0 18px;
}

.footer-row.legal {
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #a0a0a0;
  text-decoration: none;
}

.footer-logo {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 32px;
  opacity: 0.7;
  mix-blend-mode: soft-light;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.buybar {
  flex: 0 0 780px;
  width: 780px;
  max-width: 780px;
  min-width: 780px;
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  transition: width 0.35s ease, max-width 0.35s ease, min-width 0.35s ease, transform 0.35s ease;
  will-change: width, transform;
  opacity: 1;
  visibility: visible;
}

.buybar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.buybar-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 18px;
}

.buybar-date {
  margin: 0;
  font-weight: 600;
}

.buybar-location {
  margin: 0;
  color: #5e5e5e;
}

.buybar-button {
  flex-shrink: 0;
  align-self: center;
}

.buybar-enter-active,
.buybar-leave-active {
  transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    filter 0.45s ease;
}

.buybar-enter-from,
.buybar-leave-to {
  opacity: 0;
  transform: translate(-50%, 16px) scale(0.99);
  filter: blur(4px);
}

.buybar-leave-from,
.buybar-enter-to {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  filter: blur(0);
}

.bottom-bars {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 20;
  pointer-events: none;
  flex-wrap: nowrap;
}

.bottom-bars.bars-hidden {
  pointer-events: none;
}

.bottom-bars > * {
  pointer-events: auto;
}

.bars-enter-active,
.bars-leave-active {
  transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    filter 0.45s ease;
  will-change: opacity, transform, filter;
}

.bars-enter-from,
.bars-leave-to {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  filter: blur(8px);
}

.bars-move {
  transition: transform 0.35s ease;
}

.bars-leave-from,
.bars-enter-to {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.bottom-bars.has-play .buybar {
  flex: 0 0 780px;
  width: 780px;
  max-width: 780px;
  min-width: 780px;
}

.playbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  transition: width 0.35s ease, max-width 0.35s ease, min-width 0.35s ease, transform 0.35s ease;
  will-change: width, transform;
  opacity: 1;
  visibility: visible;
}

.playbar-cover {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #e9e9e9;
  flex-shrink: 0;
}

.playbar-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.playbar-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  justify-content: center;
}

.playbar-title {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playbar-artist {
  margin: 0;
  font-size: 12px;
  color: #5e5e5e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playbar-button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--primary);
  color: var(--on-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.playbar-button .pause-icon,
.playbar-button .play-icon {
  font-size: 18px;
  line-height: 1;
}

.playbar-button .pause-icon {
  position: relative;
  width: 12px;
  height: 18px;
  display: block;
}

.playbar-button .pause-icon::before,
.playbar-button .pause-icon::after {
  content: '';
  position: absolute;
  top: 0;
  width: 4px;
  height: 18px;
  background: #fff;
  border-radius: 2px;
  right: 0;
}

.playbar-button .pause-icon::before {
  left: 0;
}

:root[data-theme='dark'] .playbar-button .pause-icon::before,
:root[data-theme='dark'] .playbar-button .pause-icon::after {
  background: #000;
}

:root[data-theme='dark'] .playbar-button .play-icon {
  color: #000;
}

.playbar-enter-active,
.playbar-leave-active {
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.playbar-enter-from,
.playbar-leave-to {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  filter: blur(4px);
}

.playbar-leave-from,
.playbar-enter-to {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.bar-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

.controls-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 30;
}

.control-panel {
  position: fixed;
  top: 64px;
  right: 16px;
  width: min(360px, calc(100% - 32px));
  max-height: calc(100vh - 96px);
  overflow: auto;
  z-index: 30;
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  padding: 16px;
}

:root[data-theme='dark'] .control-panel {
  background: rgba(18, 18, 20, 0.94);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.panel-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.panel-tab {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.panel-tab.active {
  background: var(--primary);
  color: var(--on-primary);
  border-color: rgba(0, 0, 0, 0.2);
}

.panel-section {
  margin-bottom: 16px;
}

.panel-header {
  margin-bottom: 8px;
}

.panel-title {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}

.panel-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: #5e5e5e;
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel-list.small {
  gap: 6px;
}

.panel-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-surface);
}

.panel-name {
  font-size: 14px;
  font-weight: 600;
}

.panel-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-actions {
  display: flex;
  gap: 6px;
}

.panel-btn {
  min-width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  color: var(--text);
}

.panel-btn.solid {
  background: var(--primary);
  color: var(--on-primary);
  border-color: rgba(0, 0, 0, 0.12);
}

.panel-btn.small {
  min-width: 52px;
  height: 28px;
}

.panel-btn.solid.playing {
  background: #0a0aa0;
}
.panel-btn.danger {
  color: #a00;
}

:root[data-theme='dark'] .panel-btn.danger {
  color: #ff6b6b;
}

.panel-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

textarea.panel-input {
  resize: vertical;
  min-height: 96px;
  max-width: 100%;
}

.panel-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.panel-color {
  align-items: center;
}

.color-input {
  width: 64px;
  min-width: 64px;
  padding: 4px;
}

@media (max-width: 1024px) {
  .bottom-bars {
    bottom: 16px;
  }

  .buybar {
    width: calc(100% - 24px);
  }

  .playbar {
    width: calc(100% - 24px);
  }
}

.panel-error {
  color: #a00;
  font-size: 12px;
  margin: 0 0 6px;
}

.panel-enter-active,
.panel-leave-active {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.panel-enter-from,
.panel-leave-to {
  opacity: 0;
  transform: translateY(-6px);
}

@media (max-width: 1024px) {
  .buybar {
    width: calc(100% - 24px);
    bottom: 16px;
  }

  .buybar-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .buybar-button {
    align-self: stretch;
    justify-content: center;
    width: 100%;
  }
}

.footer-visible .footer-blur {
  opacity: 0.16;
  filter: blur(50px);
  transform: scale(1);
}

.ghost-button:hover,
.primary-button:hover,
.outline-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.ghost-button:active,
.primary-button:active,
.outline-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.primary-button:hover {
  background: #0c0cf0;
}

.play-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(10, 10, 211, 0.32);
  filter: brightness(1.05);
}

.play-button:active {
  transform: translateY(0) scale(0.98);
}

.hero-image:hover img,
.lineup-image:hover img {
  transform: scale(1.03);
}

.fade-in-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.lineup-text-enter-active,
.lineup-text-leave-active {
  transition: opacity 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lineup-text-move {
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lineup-text-enter-from,
.lineup-text-leave-to {
  opacity: 0;
  transform: translateY(8px);
}

.lineup-text-leave-from,
.lineup-text-enter-to {
  opacity: 1;
  transform: translateY(0);
}

.lineup-img-enter-active,
.lineup-img-leave-active {
  transition: opacity 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.32s ease;
  position: absolute;
  inset: 0;
  will-change: opacity, transform, filter;
}

.lineup-img-enter-from,
.lineup-img-leave-to {
  opacity: 0;
  transform: translateY(10px) scale(1.02) rotate(-0.5deg);
  filter: blur(5px);
}

.lineup-img-leave-from,
.lineup-img-enter-to {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.lineup-highlight-enter-active,
.lineup-highlight-leave-active {
  transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.lineup-highlight-enter-from,
.lineup-highlight-leave-to {
  opacity: 0;
  transform: translate(-50%, -56%) scale(0.98);
}

.lineup-highlight-leave-from,
.lineup-highlight-enter-to {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatOpacity {
  from {
    opacity: 0;
    filter: blur(6px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes blurFadeIn {
  from {
    opacity: 0;
    filter: blur(90px);
  }
  to {
    opacity: 0.18;
    filter: blur(78px);
  }
}

@keyframes blurOpacity {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 0.18;
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .container {
    width: calc(100% - 32px);
  }

  .headline {
    font-size: 64px;
  }

  .section-content.two-col {
    grid-template-columns: 1fr;
  }

  .spacer {
    display: none;
  }

  .lineup {
    min-height: unset;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .lineup-image,
  .lineup-card {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transform: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .topbar {
    justify-content: space-between;
  }

  .hero-content {
    align-items: start;
  }

  .wordmark {
    width: 220px;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    row-gap: 12px;
    max-width: none;
  }

  .headline {
    font-size: 52px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .hero {
    padding-bottom: 48px;
  }

  .section {
    padding: 40px 0;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-row.legal {
    gap: 10px;
  }
}
