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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Background */
.background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px);
  transform: scale(1.1);
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

/* Content */
.content {
  position: relative;
  z-index: 10;
  max-width: 448px;
  margin: 0 auto;
  padding: 2rem 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Profile Section */
.profile-section {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-image-container {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto 1rem;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #1f2937;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.profile-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.2), transparent);
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.profile-handle {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Social Section */
.social-section {
  margin-bottom: 2rem;
}

.social-title {
  color: white;
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 320px;
  margin: 0 auto;
}

.social-btn {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(31, 41, 55, 0.6);
  border-radius: 0.375rem;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  animation: socialBtnFadeIn 0.4s ease forwards;
}

@keyframes socialBtnFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.social-btn:nth-child(1) {
  animation-delay: 0.3s;
}
.social-btn:nth-child(2) {
  animation-delay: 0.4s;
}
.social-btn:nth-child(3) {
  animation-delay: 0.5s;
}
.social-btn:nth-child(4) {
  animation-delay: 0.6s;
}
.social-btn:nth-child(5) {
  animation-delay: 0.7s;
}
.social-btn:nth-child(6) {
  animation-delay: 0.8s;
}
.social-btn:nth-child(7) {
  animation-delay: 0.9s;
}
.social-btn:nth-child(8) {
  animation-delay: 1.0s;
}

.social-btn:hover,
.social-btn:focus {
  color: white;
  border-color: transparent;
  transform: scale(1.1);
  outline: none;
}

.social-btn:focus {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.social-btn.instagram:hover {
  background-color: #e1306c;
}
.social-btn.twitter:hover {
  background-color: #1da1f2;
}
.social-btn.github:hover {
  background-color: #333;
}
.social-btn.discord:hover {
  background-color: #5865f2;
}
.social-btn.youtube:hover {
  background-color: #ff0000;
}
.social-btn.twitch:hover {
  background-color: #9146ff;
}
.social-btn.tiktok:hover {
  background-color: #000000;
}
.social-btn.email:hover {
  background-color: #ea4335;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Bio Card */
.bio-card {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(31, 41, 55, 0.6);
  border-radius: 0.5rem;
  backdrop-filter: blur(4px);
  margin-bottom: 2rem;
}

.bio-content {
  padding: 1.5rem;
}

.bio-text {
  color: #d1d5db;
  text-align: center;
  line-height: 1.625;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  text-align: center;
}

.footer-text {
  color: #6b7280;
  font-size: 0.875rem;
}

.footer-divider {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.footer-line {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #1f2937, #4b5563);
  border-radius: 9999px;
}

/* Responsive */
@media (max-width: 480px) {
  .content {
    padding: 1.5rem 1rem;
  }

  .social-grid {
    max-width: 280px;
    gap: 0.5rem;
  }

  .social-btn {
    width: 44px;
    height: 44px;
  }

  .icon {
    width: 18px;
    height: 18px;
  }

  .profile-name {
    font-size: 1.25rem;
  }

  .bio-content {
    padding: 1.25rem;
  }
}

@media (max-width: 360px) {
  .content {
    padding: 1rem 0.75rem;
  }

  .social-grid {
    max-width: 260px;
  }

  .social-btn {
    width: 40px;
    height: 40px;
  }

  .icon {
    width: 16px;
    height: 16px;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .social-btn {
    border-width: 2px;
  }
}
