* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  user-select: none;
}

body.cursor-hidden {
  cursor: none;
}

.wallpaper-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-layer {
  position: fixed;
  top: -3%;
  left: -3%;
  width: 106%;
  height: 106%;
  background-image: url('wallpaper.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: opacity 1s ease;
  opacity: 1;
}

.glass-card {
  position: relative;
  z-index: 2;
  width: min(640px, 86vw);
  aspect-ratio: 5 / 3;
  max-height: 80vh;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  
  background: rgba(255, 255, 255, 0.008);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 
    0 25px 50px -10px rgba(0, 0, 0, 0.7),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.15s ease-out;
  will-change: transform;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.32);
  border-top-color: rgba(255, 255, 255, 0.58);
  box-shadow: 
    0 30px 60px -10px rgba(0, 0, 0, 0.8),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.glass-card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.card-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(-18px);
}

.avatar-wrap {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  box-shadow: 
    0 10px 28px rgba(0, 0, 0, 0.65),
    0 0 20px rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.card-nickname {
  font-family: 'Rubik', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
  user-select: none;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 2px;
  pointer-events: auto;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff; 
  transition: transform 0.2s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 
    0 6px 16px rgba(0, 0, 0, 0.5),
    0 0 14px rgba(255, 255, 255, 0.3);
}

.social-btn:hover svg {
  transform: scale(1.08);
}

.social-btn:active {
  transform: scale(0.95);
}

.player-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  user-select: none;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  z-index: 2;
}

.cover-container {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cover-glow {
  position: absolute;
  inset: 0;
  border-radius: 9px;
  pointer-events: none;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.15);
}

.player-bar.is-playing .cover-img {
  transform: scale(1.05);
}

.track-info {
  display: flex;
  flex-direction: column;
}

.track-title {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.track-artist {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  margin-top: 2px;
  white-space: nowrap;
}

.player-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
  pointer-events: none;
}

.player-controls,
.progress-container {
  pointer-events: auto;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: color 0.2s ease, transform 0.15s ease, background-color 0.2s ease;
}

.player-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.player-btn:hover {
  color: #fff;
  transform: scale(1.08);
}

.player-btn:active {
  transform: scale(0.95);
}

.player-btn.btn-play {
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
}

.player-btn.btn-play svg {
  width: 16px;
  height: 16px;
  margin-left: 1px;
}

.player-btn.btn-play:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.65);
  transform: scale(1.1);
}

.icon-pause {
  display: none;
}
.player-bar.is-playing .icon-play {
  display: none;
}
.player-bar.is-playing .icon-pause {
  display: block;
  margin-left: 0 !important;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 140px;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-bar.is-playing .progress-container,
.player-bar:hover .progress-container {
  width: 280px;
}

.time-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
  min-width: 26px;
  text-align: center;
}

.progress-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: height 0.15s ease;
  touch-action: none;
}

.progress-track:hover,
.progress-track.is-dragging {
  height: 6px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.progress-thumb {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.progress-track:hover .progress-thumb,
.progress-track.is-dragging .progress-thumb {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
}

.player-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-vol svg {
  width: 18px;
  height: 18px;
}

.icon-vol-mute {
  display: none;
}
.player-bar.is-muted .icon-vol-on {
  display: none;
}
.player-bar.is-muted .icon-vol-mute {
  display: block;
}

.volume-track {
  width: 70px;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: height 0.15s ease;
  touch-action: none;
}

.volume-track:hover,
.volume-track.is-dragging {
  height: 6px;
}

.volume-fill {
  height: 100%;
  width: 100%;
  background: #ffffff;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.volume-thumb {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.volume-track:hover .volume-thumb,
.volume-track.is-dragging .volume-thumb {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
}

canvas#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.controls-hint {
  position: fixed;
  bottom: 16px;
  right: 20px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  letter-spacing: 0.3px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  z-index: 10;
}

.controls-hint.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 2;
}

.screen-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-hint-down {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  outline: none;
  opacity: 1;
  pointer-events: auto;
  transition: 
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
    background-color 0.25s ease, 
    border-color 0.25s ease, 
    color 0.25s ease, 
    box-shadow 0.25s ease;
}

.scroll-hint-down.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(14px) scale(0.85) !important;
  transition: 
    opacity 0.25s ease, 
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.scroll-hint-down svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
  animation: appleHintFloat 2.6s ease-in-out infinite;
}

.scroll-hint-down:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
  transform: translateX(-50%) scale(1.08);
}

.scroll-hint-down:hover svg {
  animation-play-state: paused;
  transform: translateY(2px);
}

.scroll-hint-down:active {
  transform: translateX(-50%) scale(0.95);
}

@keyframes appleHintFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.screen-videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.yt-track-container {
  width: 100vw;
  overflow: hidden;
  padding: 60px 0;
  display: flex;
  align-items: center;
  position: relative;
  
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.yt-track {
  display: flex;
  align-items: center;
  gap: 24px;
  will-change: transform;
  
  animation: ytScrollRight 45s linear infinite;
}

.yt-track-container:hover .yt-track,
.yt-track.is-paused {
  animation-play-state: paused !important;
}

@keyframes ytScrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.yt-card {
  position: relative;
  flex-shrink: 0;
  width: 240px;
  height: 135px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(18, 18, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  will-change: width, height, transform;
  
  transition: 
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.yt-card:hover {
  width: 380px;
  height: 214px;
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.85), 0 0 32px rgba(255, 255, 255, 0.25);
  transform: translateY(-8px);
  z-index: 10;
}

.yt-card:active {
  transform: translateY(-8px) scale(0.97);
  transition: transform 0.08s ease-out;
}

.yt-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.yt-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.yt-card:hover .yt-card-thumb {
  transform: scale(1.04);
}

.yt-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0.7;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.yt-card-play svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  margin-left: 2px;
}

.yt-card:hover .yt-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.35);
}

.yt-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 14px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 65%, transparent 100%);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease 0.06s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.06s;
  pointer-events: none;
}

.yt-card:hover .yt-card-info {
  opacity: 1;
  transform: translateY(0);
}

.yt-card-title {
  font-family: 'Rubik', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.glass-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, transform;
}

.glass-card.is-locked .glass-card-inner {
  filter: blur(14px);
  -webkit-filter: blur(14px);
  pointer-events: none;
  user-select: none;
}

.card-click-gate {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.card-click-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.card-click-prompt {
  font-family: 'Rubik', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 6px;
  padding-left: 6px;
  text-transform: lowercase;
  color: #ffffff;
  user-select: none;
  animation: promptPulse 2.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  transition: transform 0.25s ease, opacity 0.25s ease, text-shadow 0.25s ease;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 2px 10px rgba(0, 0, 0, 0.7);
  will-change: transform, opacity, text-shadow;
}

.card-click-gate:hover .card-click-prompt {
  transform: scale(1.28);
  opacity: 1;
  text-shadow: 0 0 40px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.8), 0 2px 14px rgba(0, 0, 0, 0.9);
}

@keyframes promptPulse {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.94);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1.22);
    text-shadow: 0 0 36px rgba(255, 255, 255, 0.95), 0 0 18px rgba(255, 255, 255, 0.7), 0 2px 14px rgba(0, 0, 0, 0.9);
  }
}
.card-views {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  user-select: none;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.card-views:hover {
  color: #ffffff;
  opacity: 1;
  transform: translateY(-1px);
}

.view-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.8;
}

.view-count {
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .card-views {
    top: 12px;
    left: 14px;
    font-size: 12px;
    gap: 5px;
  }
  .view-icon {
    width: 13px;
    height: 13px;
  }
}
