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

@font-face {
  font-family: 'Tektur';
  src: url('../assets/fonts/Tektur-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tektur';
  src: url('../assets/fonts/Tektur-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tektur';
  src: url('../assets/fonts/Tektur-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tektur';
  src: url('../assets/fonts/Tektur-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tektur';
  src: url('../assets/fonts/Tektur-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  touch-action: manipulation;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url('../assets/images/select/select-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background-image: url('../assets/images/select/scanlines.png');
  background-repeat: repeat;
  opacity: 0.4;
  animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
  0% { background-position: 0 0; }
  100% { background-position: 0 100px; }
}

.hud-top {
  position: fixed;
  top: -5vh;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 3840 / 500;
  z-index: 50;
}

.hud-top-box {
  fill: transparent;
  stroke: transparent;
  stroke-width: 0;
  cursor: pointer;
  pointer-events: all;
}


#dropSelector {
  flex: 1;
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 0;
  padding: 16px;
  position: relative;
  z-index: 2;
}


.left-panel {
  position: fixed;
  left: 25vw;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

.preview-frame {
  background-image: url('../assets/images/select/select-panel-bg.png');
  background-size: 100% 100%;
  padding: 38px 15px 26px 15px;
  display: inline-flex;
}

.left-panel * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.preview-image {
  width: 44vw;
  aspect-ratio: 19 / 9;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  border: 4px solid #dadb97;
  flex-shrink: 0;
  -webkit-user-drag: none;
}

.preview-panel {
  width: 550px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 46;
}

.preview-label {
  font-family: 'Tektur', sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #ffffff;
  text-align: left;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.95),
    -1px -1px 2px rgba(0, 0, 0, 0.8);
}

.preview-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.stat-label {
  font-family: 'Tektur', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #fcff41;
  letter-spacing: 1px;
}

.stat-value {
  font-family: 'Tektur', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fcff41;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.stat-box-description {
  width: 100%;
  min-width: unset;
}

.stat-box-description .stat-label {
  position: relative;
  left: 0;
  font-size: 11px;
  letter-spacing: 2px;
}

.stat-box-description .stat-value {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}


.list-panel {
  position: fixed;
  right: 0;
  top: max(120px, 12vh);
  bottom: 0;
  width: 52vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  contain: layout paint;
  z-index: 40;
}

.wheel-list {
  transition: transform 350ms cubic-bezier(0.65, 0, 0.35, 1);
}

.wheel-list.carousel-hidden {
  transform: translateX(110%);
  pointer-events: none;
}


.wheel-list {
  flex: 1;
  list-style: none;
  position: relative;
  overflow: visible;
  transform: translateX(0);
}

.wheel-item {
  position: absolute;
  width: calc(100% + 8vw);
  height: 160px;
  top: 45%;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  background-image: url('../assets/images/select/select-item-bg.png');
  background-size: 100% 100%;
  background-position: right center;
  background-repeat: no-repeat;

  cursor: pointer;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0) scale(0.99);
  opacity: 1;

  contain: layout paint style;

  transition:
    filter 250ms ease;
}

.wheel-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 35px;
  max-width: 800px;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.wheel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.wheel-item.is-selected {
  filter: drop-shadow(0 0 8px rgba(229, 255, 34, 0.6)) 
          drop-shadow(0 0 16px rgba(255, 249, 70, 0.4)) 
          brightness(1.15);
  z-index: 10;
}

.wheel-item-id {
  position: relative;
  min-width: 64px;
  height: 50px;
  background: transparent;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Tektur', sans-serif;
  font-size: 45px;
  font-weight: 500;
  color: #F3E711;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.95),
    -1px -1px 2px rgba(0, 0, 0, 0.8),
    1px -1px 2px rgba(0, 0, 0, 0.8),
    -1px 1px 2px rgba(0, 0, 0, 0.8),
    1px 1px 2px rgba(0, 0, 0, 0.8);
  flex-shrink: 0;
}

.wheel-item-text { 
  position: relative;
  flex: 1;
  padding-left: 20px;
  display: flex; 
  flex-direction: column; 
  gap: 4px;
}

.wheel-item-label {
  font-family: 'Tektur', sans-serif;
  font-size: 45px;
  font-weight: 500;
  color: #F3E711;
  letter-spacing: 2px;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.95),
    -1px -1px 2px rgba(0, 0, 0, 0.8),
    1px -1px 2px rgba(0, 0, 0, 0.8),
    -1px 1px 2px rgba(0, 0, 0, 0.8),
    1px 1px 2px rgba(0, 0, 0, 0.8);
}

.wheel-item-count { 
  font-family: 'Tektur', sans-serif;
  font-weight: 500;
  font-size: 10px;
  color: #F3E711; 
  letter-spacing: 1.5px;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.95),
    -1px -1px 2px rgba(0, 0, 0, 0.8),
    1px -1px 2px rgba(0, 0, 0, 0.8),
    -1px 1px 2px rgba(0, 0, 0, 0.8),
    1px 1px 2px rgba(0, 0, 0, 0.8);
}


.wheel-list.scroll-up::before,
.wheel-list.scroll-down::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 10px;
  bottom: 10px;
  pointer-events: none;
}

.hud-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100px;
  background-image: url('../assets/images/select/select-bottom-hud.png');
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  z-index: 50;
}

.artist-panel {
  position: absolute;
  inset: 0;
  transform: translateX(110%);
  transition: transform 350ms cubic-bezier(0.65, 0, 0.35, 1);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #F3E711 #0d1a11;
  background: rgba(5, 18, 8, 0.92);
  border-left: 3px solid #1f4a25;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
}

.artist-panel::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url('../assets/images/select/scanlines.png');
  background-repeat: repeat;
  opacity: 0.25;
  animation: scanlines 8s linear infinite;
}

.artist-panel.panel-visible {
  transform: translateX(0);
}

.artist-panel-inner {
  position: relative;
  z-index: 1;
  padding: 40px 120px 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
}

.artist-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.artist-number {
  font-family: 'Tektur', sans-serif;
  font-size: 72px;
  font-weight: 500;
  color: #F3E711;
  line-height: 1;
  flex-shrink: 0;
  text-shadow:
    3px 3px 0 #3a3500,
    0 0 20px rgba(243, 231, 17, 0.4);
  letter-spacing: -2px;
}

.artist-title-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}

.artist-name {
  font-family: 'Tektur', sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(255, 255, 255, 0.15);
  word-break: break-word;
}

.artist-tagline {
  font-family: 'Tektur', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #6db87a;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.artist-status-badge {
  flex-shrink: 0;
  font-family: 'Tektur', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #F3E711;
  letter-spacing: 2px;
  border: 2px solid #F3E711;
  padding: 6px 12px;
  margin-top: 8px;
  text-shadow: 0 0 8px rgba(243, 231, 17, 0.5);
  box-shadow: 0 0 8px rgba(243, 231, 17, 0.2), inset 0 0 8px rgba(243, 231, 17, 0.05);
  animation: badge-pulse 2.4s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.artist-divider {
  font-family: 'Tektur', sans-serif;
  font-size: 10px;
  color: #1f5c27;
  letter-spacing: 2px;
  white-space: nowrap;
  overflow: hidden;
}

.artist-stats-row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.artist-stat-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.artist-stat-col--wide {
  min-width: 200px;
  flex: 1;
}

.artist-stat-value a {
  color: #f7f776;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(253, 253, 200, 0.5);
}

.artist-stat-value a:hover {
  color: #ffffff;
  text-decoration-color: #fff;
}

.artist-stat-label {
  font-family: 'Tektur', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #6db87a;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.artist-stat-value {
  font-family: 'Tektur', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fcfc80;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}

.artist-bio-block {
  border-left: 3px solid #1f4a25;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.artist-bio-label {
  font-family: 'Tektur', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #6db87a;
  letter-spacing: 3px;
}

.artist-bio-text {
  font-family: 'Tektur', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #d4e8c2;
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
  word-break: break-word;
}

.artist-footer {
  margin-top: auto;
  padding-top: 8px;
}

.artist-footer-text {
  font-family: 'Tektur', sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: #3d6b42;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.carousel-return-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  transition:
    transform 350ms cubic-bezier(0.65, 0, 0.35, 1),
    opacity 350ms ease;
  opacity: 0;
  pointer-events: none;
  z-index: 60;

  width: 44px;
  height: 80px;
  background: #0d1e10;
  border: 2px solid #F3E711;
  border-right: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    -4px 0 16px rgba(0, 0, 0, 0.8),
    0 0 12px rgba(243, 231, 17, 0.2);
}

.carousel-return-tab.tab-visible {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.carousel-return-tab:hover {
  background: #162a1a;
  box-shadow:
    -4px 0 20px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(243, 231, 17, 0.4);
}

.carousel-return-chevron {
  font-size: 20px;
  color: #F3E711;
  text-shadow: 0 0 8px rgba(243, 231, 17, 0.6);
  line-height: 1;
  user-select: none;
}

