/* === FRIENDS LIST + FAKE MYSPACE PROFILES === */
.friends-page { min-height: 100vh; padding: 30px; }

.friends-title {
  text-align: center; color: #ff0033; font-size: 2.8rem;
  margin-bottom: 6px; animation: bounceIn 0.8s ease-out both;
}
.friends-subtitle {
  text-align: center; color: #cc00ff; font-size: 1.15rem;
  margin-bottom: 32px; animation: fadeInUp 0.6s ease-out 0.3s both;
}

.friends-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 900px; margin: 0 auto;
}

.friend-card {
  background: rgba(255, 0, 51, 0.03); border: 2px solid #1a1a1a;
  border-left: 4px solid; padding: 16px; text-decoration: none;
  filter: url(#crayon); transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  animation: fadeInUp 0.5s ease-out both; display: block;
}
.friend-card:nth-child(odd) { border-left-color: #ff0033; }
.friend-card:nth-child(even) { border-left-color: #cc00ff; }
.friend-card:hover {
  border-color: #ff3366; transform: scale(1.03);
  box-shadow: 0 0 15px rgba(255, 0, 51, 0.2);
}
.friend-card:nth-child(1) { animation-delay: 0.1s; }
.friend-card:nth-child(2) { animation-delay: 0.2s; }
.friend-card:nth-child(3) { animation-delay: 0.3s; }
.friend-card:nth-child(4) { animation-delay: 0.4s; }
.friend-card:nth-child(5) { animation-delay: 0.5s; }
.friend-card:nth-child(6) { animation-delay: 0.6s; }

.friend-card .friend-avatar {
  width: 80px; height: 80px; border: 2px solid #ff0033;
  background: #111; margin: 0 auto 10px; display: flex;
  align-items: center; justify-content: center;
  color: #ff3366; font-size: 2rem; filter: url(#crayon);
}
.friend-card:nth-child(even) .friend-avatar { border-color: #cc00ff; }
.friend-card .friend-name {
  text-align: center; color: #ff3366; font-size: 1.1rem; font-weight: bold;
}
.friend-card:nth-child(even) .friend-name { color: #cc00ff; }
.friend-card .friend-handle {
  text-align: center; color: #555; font-size: 0.8rem;
}
.friend-card .friend-status {
  color: #666; font-size: 0.8rem; margin-top: 8px; line-height: 1.6;
  text-align: center;
}
.friend-card .friend-tag {
  display: inline-block; border: 1px solid #ff0033; color: #ff0033;
  font-size: 0.6rem; padding: 1px 6px; margin-top: 6px;
}
.friend-card:first-child .friend-tag {
  background: #ff0033; color: #000; animation: pulseGlow 2s infinite;
}

/* === INDIVIDUAL PROFILE PAGE (FAKE MYSPACE) === */
.profile-page { min-height: 100vh; padding: 30px; }

.profile-container {
  max-width: 850px; margin: 0 auto;
  animation: fadeInUp 0.7s ease-out both;
}

.profile-header {
  display: flex; gap: 20px; margin-bottom: 24px;
  padding: 20px; border: 2px solid; filter: url(#crayon);
  background: rgba(255, 0, 51, 0.03);
}

.profile-avatar {
  width: 150px; height: 150px; border: 3px solid;
  background: #111; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center;
  color: #ff3366; font-size: 3rem; filter: url(#crayon);
}

.profile-info { flex: 1; }
.profile-name { font-size: 1.6rem; font-weight: bold; margin-bottom: 4px; }
.profile-handle { color: #555; font-size: 0.9rem; margin-bottom: 8px; }
.profile-status-line { color: #888; font-size: 0.95rem; margin-bottom: 4px; }
.profile-mood-line { color: #cc00ff; font-size: 0.9rem; }

.profile-section {
  background: rgba(255, 0, 51, 0.03); border: 2px solid #1a1a1a;
  border-left: 4px solid #ff0033; padding: 16px 20px;
  margin-bottom: 16px; filter: url(#crayon);
  animation: fadeInUp 0.5s ease-out both;
}
.profile-section:nth-child(even) { border-left-color: #cc00ff; }

.profile-section h3 {
  color: #ff0033; font-size: 1.15rem; margin-bottom: 10px;
}
.profile-section:nth-child(even) h3 { color: #cc00ff; }

.profile-section p, .profile-section li {
  color: #999; font-size: 0.95rem; line-height: 1.8;
}

.profile-section ul { list-style: none; }
.profile-section li::before { content: "✖ "; color: #ff0033; }

.profile-wall-post {
  padding: 10px 0; border-bottom: 1px solid #1a1a1a;
}
.profile-wall-post:last-child { border-bottom: none; }
.profile-wall-post .wall-name { font-weight: bold; font-size: 0.85rem; }
.profile-wall-post .wall-date { color: #444; font-size: 0.7rem; }
.profile-wall-post p { margin-top: 4px; }

.profile-back {
  text-align: center; margin-top: 28px;
  animation: fadeInUp 0.5s ease-out 0.5s both;
}
.profile-back a {
  color: #ff0033; font-size: 1.1rem; border-bottom: 2px solid #ff0033;
  transition: color 0.3s, transform 0.2s; display: inline-block;
}
.profile-back a:hover { transform: scale(1.1) rotate(-2deg); color: #ff66aa; }

.profile-song {
  background: rgba(204, 0, 255, 0.05); border: 1px solid #cc00ff;
  padding: 8px 12px; margin-top: 10px; font-size: 0.85rem; color: #cc00ff;
}

@media (max-width: 600px) {
  .friends-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-header { flex-direction: column; align-items: center; }
  .friends-title { font-size: 2rem; }
}
