@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

:root {
  --bg-color: #121212;
  --card-bg: #181818;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --accent-color: #1db954;
  --discord-color: #5865F2;
  --github-color: #333;
  --status-online: #3ba55d;
  --status-dnd: #ed4245;
  --status-idle: #faa81a;
  --status-offline: #747f8d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.profile-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.5s ease-out forwards;
  position: relative;
  transform: translateZ(0);
}

.banner {
  height: 120px;
  background-image: url('https://cdn.discordapp.com/banners/778695412105740328/a_3fc223796fb8f391e1be80048413b982.gif?size=1024&width=1024&height=0');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(24,24,24,0.8));
}

.profile-content {
  padding: 0 32px 32px;
  margin-top: -60px;
  position: relative;
  z-index: 1;
}

.avatar-container {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto;
}

.avatar-border {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;
  margin: 0 auto;
  background-color: var(--status-dnd);
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  position: relative;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05);
}

.username {
  color: var(--text-primary);
  text-align: center;
  font-size: 24px;
  margin: 16px 0;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.username:hover {
  transform: translateY(-2px);
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}

.social-button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-button:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.1);
}

.discord {
  background-color: var(--discord-color);
}

.github {
  background-color: var(--github-color);
}

.section {
  margin: 24px 0;
  text-align: center;
}

.section h3 {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.about-text, .projects-text {
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 12px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}