:root {
  --fg: #ffffff;
  --fg-dim: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.9);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-snap-type: y proximity;
}

.scroll-spacer,
.playlists-section,
.steam-section {
  scroll-snap-align: start;
}

body {
  background: #000000;
}

.background {
  position: fixed;
  inset: -40px;
  z-index: -2;
  background: linear-gradient(160deg, hsl(0, 0%, 0%) 0%, #000000 55%, #050505 100%);
  filter: blur(22px);
  transform: scale(1.08);
}

.background-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.background-layer.active {
  opacity: 1;
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.background-video.active {
  opacity: 1;
}

.background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.scroll-track {
  position: fixed;
  left: clamp(14px, 3vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 120px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 5;
}

.scroll-track.visible {
  opacity: 1;
}

.scroll-track-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.scroll-track-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg);
  transform: translate(-50%, -50%);
  transition: top 0.15s linear;
  animation: soft-glow 3.6s ease-in-out infinite;
}

@keyframes soft-glow {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.2)); }
  50% { filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.45)); }
}

.hero {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.scrolled .hero {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.scroll-spacer {
  height: 55vh;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 1.1s cubic-bezier(0.65, 0.05, 0.2, 1);
}

.hero-stack.phase-settled {
  transform: translateY(-10.7vh);
}

@media (max-height: 820px) {
  .hero-stack.phase-settled {
    transform: translateY(-18.8vh);
  }
}

@media (max-height: 620px) {
  .hero-stack.phase-settled {
    transform: translateY(-21vh);
  }
}

@media (min-height: 1010px) {
  .hero-stack.phase-settled {
    transform: translateY(-7.3vh);
  }
}

.brand-logo {
  width: min(64vmin, 640px);
  aspect-ratio: 1 / 1;
}

#logo-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.phase-done #logo-svg {
  animation: soft-glow 4s ease-in-out infinite;
}

.logo-ring {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.2;
  stroke-linecap: round;
}

#ring-frame-inner,
#ring-frame-outer {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.phase-ring-inner #ring-frame-inner {
  opacity: 1;
}

.phase-ring-outer #ring-frame-outer {
  opacity: 1;
}

.logo-ring--thin {
  stroke-width: 1;
  stroke: rgba(255, 255, 255, 0.5);
  transition: stroke-dashoffset 0.8s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.phase-guide #ring-guide {
  stroke-dashoffset: 0 !important;
}

.ring-text {
  fill: var(--fg-dim);
  font-size: 21px;
  font-family: 'Noto Sans Runic', 'Cinzel', serif;
  letter-spacing: 1.5px;
}

#text-ring {
  transform-origin: 250px 250px;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.phase-text #text-ring {
  opacity: 1;
}

.phase-done #text-ring {
  animation: spin-ccw 130s linear infinite;
}

@keyframes spin-ccw {
  to { transform: rotate(-360deg); }
}

#logo-network-spin {
  transform-origin: 250px 250px;
}

.phase-done #logo-network-spin {
  animation: spin-cw 100s linear infinite;
}

@keyframes spin-cw {
  to { transform: rotate(360deg); }
}

.logo-node {
  fill: #000000;
  stroke: var(--line);
  stroke-width: 2;
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--delay, 0ms);
}

.phase-nodes .logo-node {
  opacity: 1;
  transform: scale(1);
}

.logo-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1;
  opacity: 0;
  transition: stroke-dashoffset 0.55s ease, opacity 0.3s ease;
  transition-delay: var(--delay, 0ms);
}

.phase-lines .logo-line {
  stroke-dashoffset: 0 !important;
  opacity: 1;
}

#eye-group {
  opacity: 0;
  transform: scaleY(0.06);
  transform-origin: 250px 250px;
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phase-done #eye-group {
  opacity: 1;
}

.eye-open #eye-group {
  transform: scaleY(1);
}

#eye-outline {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.2;
}

#eye-iris {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.2;
}

#eye-pupil {
  fill: var(--line);
}


.discord-card {
  --status-color: #6b7280;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 0;
  padding: clamp(8px, 2vh, 15px) 34px clamp(8px, 2vh, 15px) clamp(8px, 2vh, 15px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: min(360px, 86vw);
  text-decoration: none;
  color: var(--fg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.discord-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.discord-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--status-color);
  box-shadow: 0 0 22px color-mix(in srgb, var(--status-color) 45%, transparent);
}

.discord-avatar-wrap {
  position: relative;
  display: flex;
  flex-shrink: 0;
}

.discord-avatar {
  width: clamp(48px, 9vh, 72px);
  height: clamp(48px, 9vh, 72px);
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.08);
}

.discord-avatar-decoration {
  position: absolute;
  inset: 0;
  width: 128%;
  height: 128%;
  left: -14%;
  top: -14%;
  object-fit: contain;
  pointer-events: none;
}

.discord-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #000;
  background: #6b7280;
}

.discord-dot[data-status='online'] { background: #23a55a; }
.discord-dot[data-status='idle'] { background: #f0b232; }
.discord-dot[data-status='dnd'] { background: #f23f43; }
.discord-dot[data-status='offline'] { background: #6b7280; }

.discord-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
  text-align: left;
}

.discord-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.discord-name {
  font-size: 20px;
  font-weight: 600;
}

.discord-badges {
  display: flex;
  align-items: center;
  gap: 3px;
}

.discord-badge {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.discord-activity,
.discord-status-text {
  font-size: 14px;
  color: var(--fg-dim);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-activity {
  color: var(--fg);
}

.music-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.4vh, 9px);
  margin-top: clamp(20px, 8vh, 58px);
  width: min(440px, 90vw);
  padding: clamp(8px, 1.8vh, 12px);
  border-radius: 22px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  animation: music-glow 4.5s ease-in-out infinite;
}

.music-visualizer {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 92%;
  height: 88px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.music-visualizer.active {
  opacity: 1;
}

.music-top,
.music-row {
  position: relative;
  z-index: 1;
}

.music-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.music-card:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(29, 185, 84, 0.4);
}

@keyframes music-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(29, 185, 84, 0); }
  50% { box-shadow: 0 0 24px rgba(29, 185, 84, 0.14); }
}

.music-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.music-cover {
  position: relative;
  width: clamp(38px, 6.5vh, 50px);
  height: clamp(38px, 6.5vh, 50px);
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.music-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #08080b;
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.music-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: vinyl-spin 6s linear infinite;
  animation-play-state: paused;
}

.music-cover.spinning img {
  animation-play-state: running;
}

@keyframes vinyl-spin {
  to { transform: rotate(360deg); }
}

.music-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.music-title {
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-artist,
.music-album {
  font-size: 13px;
  color: var(--fg-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.music-play {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.music-play:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.06);
}

.music-play svg {
  margin-left: 1px;
}

.music-row--volume {
  color: var(--fg-dim);
}

.music-volume-icon {
  display: flex;
  flex-shrink: 0;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
}

.music-volume-icon:hover {
  color: var(--fg);
  transform: scale(1.08);
}

.music-volume-icon svg {
  flex-shrink: 0;
}

.music-row--volume input.music-volume {
  max-width: 70px;
  width: 70px;
  flex: none;
}

.music-time {
  flex-shrink: 0;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--fg-dim);
  white-space: nowrap;
}

.music-queue-btn {
  flex-shrink: 0;
  height: 30px;
  padding: 0 14px 0 12px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.music-queue-btn span {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.music-queue-btn:hover {
  background: rgba(29, 185, 84, 0.16);
  border-color: rgba(29, 185, 84, 0.4);
  color: var(--fg);
  transform: scale(1.04);
}

input.music-seek,
input.music-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  cursor: pointer;
}

input.music-seek {
  --progress: 0%;
  background: linear-gradient(to right,
    #1db954 0%, #1db954 var(--progress),
    rgba(255, 255, 255, 0.18) var(--progress), rgba(255, 255, 255, 0.18) 100%);
  transition: background 0.05s linear;
  pointer-events: none;
}

input.music-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0;
  height: 0;
}

input.music-seek::-moz-range-thumb {
  width: 0;
  height: 0;
  border: none;
}

input.music-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fg);
  cursor: pointer;
}

input.music-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fg);
  border: none;
  cursor: pointer;
}

.lang-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 15, 17, 0.55);
  backdrop-filter: blur(10px);
  color: var(--fg-dim);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lang-toggle:hover {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.lang-toggle-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.queue-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.queue-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.queue-panel {
  position: fixed;
  top: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 11;
  width: min(340px, calc(86vw - 18px));
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: rgba(15, 15, 17, 0.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: translateX(calc(100% + 36px));
  transition: transform 0.5s cubic-bezier(0.65, 0.05, 0.2, 1);
}

.queue-panel.open {
  transform: translateX(0);
}

.queue-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fg-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.queue-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.queue-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.queue-hint {
  margin: 14px 20px 0;
  font-size: 11.5px;
  color: var(--fg-dim);
}

.queue-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  opacity: 0;
  transform: translateX(14px);
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.4s ease, transform 0.4s ease;
  transition-delay: 0s;
}

.queue-panel.open .queue-item {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(var(--i, 0) * 45ms);
}

.queue-item.new-item {
  animation: queue-item-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes queue-item-pop {
  from { opacity: 0; transform: scale(0.9) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.queue-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.queue-item.active {
  background: rgba(29, 185, 84, 0.12);
  border-color: rgba(29, 185, 84, 0.35);
}

.queue-item-order {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--fg-dim);
  background: rgba(255, 255, 255, 0.06);
}

.queue-item.active .queue-item-order {
  color: #06210f;
  background: #24d666;
}

.queue-item-main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 4px;
  border: none;
  background: transparent;
  color: var(--fg);
  text-align: left;
  cursor: pointer;
}

.queue-item-play {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.queue-item-play:hover {
  background: rgba(29, 185, 84, 0.18);
  border-color: rgba(29, 185, 84, 0.45);
  color: var(--fg);
  transform: scale(1.06);
}

.queue-item.active .queue-item-play {
  border-color: rgba(29, 185, 84, 0.5);
  color: #1db954;
}

.queue-item-play svg {
  margin-left: 1px;
}

.queue-item-cover {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
}

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

.queue-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.queue-item-title {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-item-artist {
  font-size: 12px;
  color: var(--fg-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlists-section {
  position: relative;
  z-index: 6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 10vh 6vw 8vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

body.scrolled .playlists-section {
  opacity: 1;
  pointer-events: auto;
}

.section-title {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 22px;
  color: var(--fg-dim);
}

.playlist-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  gap: 44px;
}

.playlist-card {
  position: relative;
  width: min(360px, 88vw);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  opacity: 0.94;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.3s ease;
}

.playlist-card:hover {
  opacity: 1;
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38), 0 0 26px rgba(29, 185, 84, 0.18);
}

.playlist-embed {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  border-radius: 18px;
}

.request-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.15);
}

.request-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.request-hint {
  margin: 0 0 10px;
  font-size: 11.5px;
  color: var(--fg-dim);
}

.request-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  min-width: 0;
}

.request-field label {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--fg-dim);
}

.request-field input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.request-field input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.request-field input:focus {
  border-color: rgba(29, 185, 84, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.request-field input.invalid {
  border-color: rgba(242, 63, 67, 0.7);
}

.request-submit {
  align-self: stretch;
  margin-top: 2px;
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  background: #1db954;
  color: #05170c;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.request-submit:hover {
  background: #1ed760;
  transform: translateY(-1px);
}

.request-message {
  min-height: 16px;
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #1db954;
}

.request-message.error {
  color: #f23f43;
}


.steam-section {
  position: relative;
  z-index: 6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 4vh 6vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

body.scrolled .steam-section {
  opacity: 1;
  pointer-events: auto;
}

.steam-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(260px, 34vw, 340px);
  width: min(760px, 92vw);
  padding: clamp(22px, 4vw, 38px);
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, #1b2838 0%, #171a21 60%, #0e1218 100%);
  border: 1px solid rgba(102, 192, 244, 0.25);
  text-decoration: none;
  color: var(--fg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.steam-card:hover {
  transform: translateY(-6px);
  border-color: rgba(102, 192, 244, 0.55);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(102, 192, 244, 0.16);
}

.steam-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  filter: blur(2px) brightness(0.55);
  transform: scale(1.06);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.steam-card-bg.visible {
  opacity: 1;
}

.steam-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.25) 0%, rgba(14, 18, 24, 0.55) 55%, rgba(14, 18, 24, 0.92) 100%);
}

.steam-card-watermark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(160px, 22vw, 260px);
  height: auto;
  fill: rgba(102, 192, 244, 0.1);
  pointer-events: none;
  z-index: 1;
}

.steam-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.steam-card-top {
  display: flex;
  align-items: center;
  gap: 22px;
}

.steam-avatar {
  position: relative;
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #66c0f4, #1b2838);
  color: #2f01f8;
  border: 1px solid rgba(102, 192, 244, 0.4);
}

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

.steam-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.steam-name {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
}

.steam-handle {
  font-size: 13px;
  color: #66c0f4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.steam-cta {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 20px;
  background: rgba(102, 192, 244, 0.14);
  border: 1px solid rgba(102, 192, 244, 0.35);
  color: #66c0f4;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.steam-card:hover .steam-cta {
  background: rgba(102, 192, 244, 0.26);
  transform: translateX(3px);
}

.steam-stats {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(102, 192, 244, 0.18);
}

.steam-stat {
  display: flex;
  align-items: center;
  gap: 9px;
}

.steam-stat-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--fg);
}

.steam-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.steam-level-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  background: linear-gradient(160deg, #a0d1f0, #4b90c0);
  color: #0e1218;
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 560px) {
  .steam-card-top { flex-wrap: wrap; }
  .steam-cta { margin-left: 0; }
  .steam-card-watermark { display: none; }
}

.social-row {
  position: fixed;
  left: 50%;
  bottom: 2.6vh;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 46px);
  max-width: 92vw;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
}

.social-row.visible {
  pointer-events: auto;
}

body.scrolled .social-row {
  opacity: 0;
  transform: translateX(-50%) translateY(24px) scale(0.9);
  pointer-events: none;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition: color 0.35s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.social-row.visible .social-icon {
  opacity: 0.85;
  transform: translateY(0);
  animation: icon-glow 3.6s ease-in-out infinite;
}

.social-row.visible .social-icon:nth-child(1) { transition-delay: 0ms; }
.social-row.visible .social-icon:nth-child(2) { transition-delay: 90ms; }
.social-row.visible .social-icon:nth-child(3) { transition-delay: 180ms; }
.social-row.visible .social-icon:nth-child(4) { transition-delay: 270ms; }
.social-row.visible .social-icon:nth-child(5) { transition-delay: 360ms; }
.social-row.visible .social-icon:nth-child(6) { transition-delay: 450ms; }
.social-row.visible .social-icon:nth-child(7) { transition-delay: 540ms; }
.social-row.visible .social-icon:nth-child(8) { transition-delay: 630ms; }

.social-row.visible .social-icon:hover {
  transform: translateY(-4px) scale(1.08);
  opacity: 1;
}

.social-icon:hover {
  color: var(--hover-color, var(--fg));
}

@keyframes icon-glow {
  0%, 100% { filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.18)); }
  50% { filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 9px rgba(255, 255, 255, 0.42)); }
}

@media (max-width: 520px) {
  .scroll-track { left: 8px; }
  .social-row { gap: 20px; bottom: 4vh; }
}

.queued-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(6px);
  padding: 20px;
  animation: modal-fade-in 0.25s ease;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.queued-modal-box {
  width: min(360px, 100%);
  padding: 30px 26px 26px;
  border-radius: 22px;
  background: linear-gradient(160deg, #1c1c22 0%, #121216 100%);
  border: 1px solid rgba(29, 185, 84, 0.28);
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(29, 185, 84, 0.12);
  animation: modal-pop-in 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-pop-in {
  from { opacity: 0; transform: translateY(10px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.queued-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #24d666;
  background: rgba(29, 185, 84, 0.12);
  border: 1px solid rgba(29, 185, 84, 0.3);
  animation: modal-icon-pulse 2.2s ease-in-out infinite;
}

@keyframes modal-icon-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(29, 185, 84, 0); }
  50% { box-shadow: 0 0 18px 2px rgba(29, 185, 84, 0.3); }
}

.queued-modal-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.queued-modal-text {
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-dim);
}

.queued-modal-box button {
  padding: 11px 30px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #24d666, #159c44);
  color: #06210f;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(29, 185, 84, 0.25);
  transition: transform 0.2s ease;
}

.queued-modal-box button:hover {
  transform: translateY(-1px);
}
