:root {
  --bg-color: #0c1425;
  --card-bg: rgba(255, 255, 255, 0.12);
  --text-primary: #ffffff;
  --text-secondary: #c8d6e5;
  --accent-color: #00d2ff;
  --accent-glow: rgba(0, 210, 255, 0.55);
  --gradient-1: #00d2ff;
  --gradient-2: #7b68ee;
  --gradient-3: #ff6bcb;
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.5s ease, color 0.3s ease, border-color 0.3s ease;
}
body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  margin: 0;
  position: relative;
}
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  overflow: hidden;
  background-color: var(--bg-color); 
}
.bg-media {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}
video.bg-media {
  display: block;
}
.bg-gif-fallback {
  display: none;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  will-change: auto;
}
@media (max-width: 1024px) {
  .bg-media {
    object-fit: cover;
  }
}
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  opacity: 0.45;
  z-index: -2;
  pointer-events: none;
  transition: background-color 0.5s ease;
}
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 10;
  opacity: 1;
  transition: opacity 1s ease;
}
.hidden {
  opacity: 0 !important;
  pointer-events: none;
}
#profile-card {
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 3rem;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1), inset 0 0 30px rgba(255, 255, 255, 0.02), 0 0 80px rgba(0, 210, 255, 0.04);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s forwards 0.5s;
  position: relative;
  overflow: hidden;
}
@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.profile-header {
  text-align: center;
  margin-bottom: 2rem;
}
.avatar-container {
  margin-bottom: 1.5rem;
  display: block;
  position: relative;
}
.avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}
.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px var(--accent-glow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.profile-avatar:hover {
  transform: scale(1.05);
  border-color: var(--accent-color);
}
.online-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background-color: #22c55e;
  border: 3px solid var(--card-bg);
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  transition: all 0.3s ease;
}
.online-status.online {
  background-color: #23a559;
  box-shadow: 0 0 10px #23a559;
}
.online-status.idle {
  background-color: #f0b232;
  box-shadow: 0 0 10px #f0b232;
}
.online-status.dnd {
  background-color: #f23f43;
  box-shadow: 0 0 10px #f23f43;
}
.online-status.offline {
  background-color: #80848e;
  box-shadow: 0 0 10px #80848e;
}
.discord-custom-status {
    position: absolute;
    bottom: 75%;
    left: 80%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: max-content;
    max-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: float-thought-bubble 4s ease-in-out infinite;
    z-index: 10;
}
.discord-custom-status::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 15px;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}
.discord-custom-status::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 4px; 
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}
@keyframes float-thought-bubble {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.03); }
}
.discord-custom-status img {
    width: 20px;
    height: 20px;
}
.discord-activity {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}
.profile-info h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.badges {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}
.badge i {
  color: var(--accent-color);
}
.bio-text {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  min-height: 1.5em;
  font-size: 0.95rem;
}
.cursor {
  display: inline-block;
  width: 2px;
  animation: blink 1s infinite;
  color: var(--accent-color);
  margin-left: 2px;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  margin: 0 auto 2rem;
  width: 80%;
}
.social-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.social-btn {
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
  background: var(--accent-color);
  color: #000;
  border-color: var(--accent-color);
}
.social-btn.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
  box-shadow: 0 10px 20px -5px rgba(24, 119, 242, 0.4);
}
.social-btn.discord:hover {
  background: #5865F2;
  border-color: #5865F2;
  color: #fff;
  box-shadow: 0 10px 20px -5px rgba(88, 101, 242, 0.4);
}
.profile-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
@media (max-width: 768px) {
  #profile-card {
    padding: 2.5rem 1.5rem;
    width: 100%;
    margin-bottom: 0;
  }
  .profile-info h1 {
    font-size: 2rem;
  }
  .bio-text {
    font-size: 0.95rem;
  }
  .avatar-wrapper {
    width: 110px;
    height: 110px;
  }
  .social-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  .social-btn {
    justify-content: center;
    width: 100%;
    padding: 0.9rem;
  }
}
@media (max-width: 480px) {
  #profile-card {
    padding: 2rem 1.2rem;
  }
  .profile-info h1 {
    font-size: 1.8rem;
  }
  .profile-avatar {
    border-width: 2px;
  }
}
.music-btn-card {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-main);
  font-size: 1rem;
}
.music-btn-card.playing {
  background: var(--accent-color);
  color: #000;
  border-color: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow);
  animation: pulse-music-card 2s infinite;
}
.music-btn-card.playing i {
  animation: bounce-icon 1s infinite alternate;
}
@keyframes pulse-music-card {
  0% {
    box-shadow: 0 0 0 0 var(--accent-glow);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 210, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
  }
}
@keyframes bounce-icon {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-2px);
  }
}