* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(180deg, #e8e8e8 0%, #f5f5f5 100%);
  padding: 20px;
  line-height: 1.5;
}

/* Top Bar */
.topbar {
  background: #b8b8b8;
  border-radius: 20px;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  margin: 0 auto 12px auto;
}

.nav-links {
  font-size: 14px;
  color: #2a2a2a;
}

.nav-links a {
  color: #2a2a2a;
  text-decoration: underline;
}

.username {
  font-size: 14px;
  color: #2a2a2a;
}

/* Main Card */
.card {
  background: #DCE0E0;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
}

/* Socials Header */
.socials-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e0e0e0;
}

.socials-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.socials-subtitle {
  font-size: 16px;
  color: #4a4a4a;
  font-weight: 400;
}

/* Socials Grid */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* Social Card */
.social-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fafafa;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Social Icon */
.social-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
  transform: scale(1.1);
}

/* Social Info */
.social-info {
  flex: 1;
}

.social-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.social-handle {
  font-size: 14px;
  color: #4a4a4a;
  margin: 0;
}

.click-copy {
  font-size: 12px;
  color: #888;
  font-style: italic;
  display: block;
  margin-top: 2px;
}

/* Platform-specific colors */
.twitter { border-color: #e8e8e8; }
.twitter:hover { border-color: #1DA1F2; background: #f0f8ff; }
.twitter .social-icon { background: #1DA1F2; color: white; }

.instagram { border-color: #e8e8e8; }
.instagram:hover { border-color: #E4405F; background: #fff5f7; }
.instagram .social-icon { 
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.discord { border-color: #e8e8e8; }
.discord:hover { border-color: #5865F2; background: #f5f6ff; }
.discord .social-icon { background: #5865F2; color: white; }

.spotify { border-color: #e8e8e8; }
.spotify:hover { border-color: #1DB954; background: #f0fff4; }
.spotify .social-icon { background: #1DB954; color: white; }

.mal { border-color: #e8e8e8; }
.mal:hover { border-color: #2E51A2; background: #f0f4ff; }
.mal .social-icon { background: #2E51A2; color: white; }

.tumblr { border-color: #e8e8e8; }
.tumblr:hover { border-color: #35465C; background: #f5f6f7; }
.tumblr .social-icon { background: #35465C; color: white; }

.email { border-color: #e8e8e8; }
.email:hover { border-color: #EA4335; background: #fff5f5; }
.email .social-icon { background: #EA4335; color: white; }

.github { border-color: #e8e8e8; }
.github:hover { border-color: #333; background: #f8f8f8; }
.github .social-icon { background: #333; color: white; }

.telegram { border-color: #e8e8e8; }
.telegram:hover { border-color: #0088cc; background: #f0f8ff; }
.telegram .social-icon { background: #0088cc; color: white; }

.snapchat { border-color: #e8e8e8; }
.snapchat:hover { border-color: #FFFC00; background: #fffef0; }
.snapchat .social-icon { background: #FFFC00; color: #1a1a1a; }

/* Back Link */
.back-link {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #e0e0e0;
}

.back-link a {
  font-size: 15px;
  color: #2a2a2a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-link a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1a1a1a;
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .card {
    padding: 25px 20px;
  }
  
  .socials-title {
    font-size: 36px;
  }
  
  .socials-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .topbar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
/* Rain Effect */
#rain-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}

.rain-drop {
  position: absolute;
  top: -30px;
  width: 2.2px;
  height: 18px;
  background: linear-gradient(
    to bottom,
    #7ba9ce 0%,
    #466689 70%,
    rgba(40, 60, 80, 0.15) 100%
  );
  border-radius: 2px;
  opacity: 0.5;
  animation: rainfall linear forwards;
}

@keyframes rainfall {
  from { top: -30px; }
  to { top: 98vh; }
}
