* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  height: 100vh;
  background: url('https://steamuserimages-a.akamaihd.net/ugc/1786218626613142691/A8A456CD17152A5636960D98451709BD3826FA76/?imw=637&imh=358&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=true') no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
}

.header {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.center-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 20px;
  color: white;
  width: 400px;
  text-align: center;
}

.center-box.wide {
  width: 1280px;
  height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  will-change: transform;
}

body:hover .center-box.wide {
  transform: translate(-50%, -50%) rotateX(1deg) rotateY(2deg);
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.username {
  font-size: 36px;
  margin-bottom: 10px;
}

.rotating-quote {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 20px;
  color: #ccc;
}

.now-playing {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1DB954;
  animation: pulse 1.5s infinite;
  margin-bottom: 40px;
}

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

.social-links {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.social-links a,
.social-links button {
  background: #ffffff22;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.social-links a:hover,
.social-links button:hover {
  background: #ffffff55;
  transform: scale(1.1);
}

.badge-tray {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  gap: 8px;
}

.badge-tray img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.badge-tray img:hover {
  transform: scale(1.2);
  opacity: 1;
}

.spotify-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #222;
  padding: 30px;
  border-radius: 16px;
  color: white;
  width: 860px;
  text-align: center;
}

.album-slider-wrapper {
  position: relative;
  margin-top: 40px;
  width: 800px;
  height: 360px;
  overflow: visible;
  margin-inline: auto;
}

.album-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.album-card {
  position: absolute;
  width: 240px;
  text-align: center;
  transition: all 0.5s ease;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
  top: 40px;
}

.album-card img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
  margin-bottom: 10px;
}

.album-card p {
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.album-card.center {
  left: 50%;
  transform: translateX(-50%) scale(1.2);
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  top: 0;
}

.album-card.left {
  left: 5%;
  opacity: 0.6;
  z-index: 2;
  pointer-events: auto;
  top: 50px;
}

.album-card.right {
  right: 5%;
  opacity: 0.6;
  z-index: 2;
  pointer-events: auto;
  top: 50px;
}

.album-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff22;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.album-nav:hover {
  background: #ffffff55;
}

.album-nav.left {
  left: -70px;
}

.album-nav.right {
  right: -70px;
}
