body, html {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  overflow: hidden;
  background: #111;
  overflow-y: auto;
}

#bg-video {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  filter: blur(2px) brightness(0.7);
}

.center-container {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding-top: 2vh;
  box-sizing: border-box;
}

.parallax-wrapper {
  perspective: 1600px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.animated-card {
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94), box-shadow 0.35s;
  will-change: transform;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37), 0 0 32px 0 #fff2;
  position: relative;
}

.animated-card::before {
  display: none !important;
}

.card-in {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: cardFadeIn 0.8s cubic-bezier(.25,.46,.45,.94) 0.1s forwards;
}
@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.glass-card {
  background: rgba(20,20,20,0.85);
  border: 1.5px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18), 0 0 32px 0 #0002;
  border-radius: 28px;
  padding: 32px 38px 18px 38px;
  min-width: 440px;
  max-width: 540px;
  min-height: 260px;
  max-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 1;
  transition: box-shadow 0.25s, background 0.25s;
}

.profile-pic-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-pic-glow {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 32px 8px rgba(255,255,255,0.45), 0 0 64px 16px rgba(255,255,255,0.18);
  padding: 0;
  background: none;
}
.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  object-fit: cover;
  background: #222;
  display: block;
  z-index: 1;
}
.music-btn, .play-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  font-size: 1.3em;
  box-shadow: 0 2px 12px #0004, 0 0 8px #fff2;
  z-index: 2;
  opacity: 0.92;
}
.music-btn { left: -28px; }
.play-btn { right: -28px; }
.music-btn:hover, .play-btn:hover {
  background: #fff3;
  transform: translateY(-50%) scale(1.13);
  box-shadow: 0 4px 24px #fff5, 0 0 16px #fff4;
}

.profile-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.username {
  font-size: 2.7em;
  font-weight: 700;
  color: #ff6b81;
  margin: 0 0 22px 0;
  letter-spacing: 1px;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 0 4px #ff6b81,
     0 0 8px #ffd6df;
  position: relative;
  animation: usernamePulse 2.8s ease-in-out infinite;
}
@keyframes usernamePulse {
  0% {
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 0 4px #ff6b81,
       0 0 8px #ffd6df;
  }
  50% {
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 0 16px #ff6b81,
       0 0 32px #ffd6df;
  }
  100% {
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 0 4px #ff6b81,
       0 0 8px #ffd6df;
  }
}
.type-cursor {
  display: inline-block;
  margin-left: 2px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1em;
  animation: blink-cursor 0.8s steps(1) infinite;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.subtitle {
  color: #fff;
  font-size: 1.1em;
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: 1px;
  text-align: center;
  min-height: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fira Mono', 'JetBrains Mono', 'Roboto Mono', monospace;
}
.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  width: 100%;
  justify-content: center;
}
.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-right: 10px;
  border: 2px solid #fff3;
  object-fit: cover;
}
.user-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.user-name {
  color: #fff;
  font-weight: 500;
  font-size: 1.1em;
}
.user-status {
  font-size: 0.95em;
  color: #fff;
  display: flex;
  align-items: center;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  background: #f44;
  box-shadow: 0 0 6px #f44a;
}
.status-label {
  color: #fff8;
  margin-right: 3px;
}
.status-text {
  color: #f44;
  font-weight: 500;
}
.social-icons {
  display: flex;
  gap: 18px;
  margin: 28px 0 24px 0;
}
.icon-btn {
  width: 36px;
  height: 36px;
  background: rgba(20,20,20,0.85);
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 2px 8px #0002;
}
.icon-btn img {
  width: 22px;
  height: 22px;
  filter: none !important;
}
.icon-btn:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px) scale(1.06) rotate(-1deg);
  box-shadow: 0 4px 24px #fff3, 0 0 16px #fff2;
  filter: brightness(1.15) saturate(1.2);
  border-color: rgba(255,255,255,0.18);
}
.icon-btn:active {
  transform: scale(0.97) rotate(1deg);
  filter: brightness(0.95);
}
.glass-btn, .icon-btn {
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.glass-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20,20,20,0.85);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 22px 24px;
  color: #fff;
  font-weight: 600;
  font-size: 1.13em;
  text-decoration: none;
  box-shadow: 0 2px 12px #0002;
  outline: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  min-height: 56px;
}
.btn-icon {
  width: 32px;
  height: 32px;
  margin-right: 14px;
  vertical-align: middle;
  display: inline-block;
  object-fit: contain;
}
.arrow {
  margin-left: auto;
  font-size: 1.1em;
  font-weight: 400;
  letter-spacing: 0;
  transition: transform 0.2s;
}
.glass-btn:hover .arrow {
  transform: translateX(4px) scale(1.1);
}
.button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  width: 100%;
  max-width: 540px;
  margin-top: 32px;
  justify-content: center;
}
.footer {
  width: 100%;
  text-align: center;
  color: #fff8;
  font-size: 0.95em;
  margin-top: 38px;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

/* typewriter outline */
.typewriter-outline {
  font-family: 'Fira Mono', 'JetBrains Mono', 'Roboto Mono', monospace;
  color: #fff;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0px  2px 6px #000a;
  font-weight: 600;
  letter-spacing: 1.5px;
}

@media (max-width: 1100px) {
  .glass-card {
    min-width: 340px;
    max-width: 98vw;
    padding: 18px 2vw 8px 2vw;
    min-height: 0;
    max-height: none;
  }
  .button-grid {
    max-width: 98vw;
    gap: 12px;
  }
  .glass-btn {
    padding: 14px 10px;
    font-size: 1em;
    min-height: 40px;
  }
  .btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
}
@media (max-width: 700px) {
  .button-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }
  .center-container {
    padding-top: 1vh;
  }
}

.corner-buttons {
  position: absolute;
  top: 0; left: 0; width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}
.icon-btn-corner {
  pointer-events: auto;
  margin: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px #0008;
  transition: box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  outline: none;
}
.icon-btn-corner svg {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 0 6px #fff8);
}
.icon-btn-corner:hover {
  background: rgba(0,0,0,0.65);
  box-shadow: 0 0 24px #fff6;
}
.mute-btn { align-self: flex-start; }
.playpause-btn { align-self: flex-start; } 