/* Profile Card */
.profile-card {
  max-width: 480px;
  aspect-ratio: 4/5;
  background: var(--container);
  border-radius: 5%;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  margin: auto;
  position: relative;
}

.profile-logo {
  position: absolute;
  top: 20%;
  right: 15%;
  width: 96px;
  height: 210px;
  color: var(--accent);
  opacity: 0.3;
  filter: drop-shadow(0 0 6px rgba(125, 211, 252, 0.4));
  transition: all 0.3s ease;
  overflow: visible;
}

.profile-card:hover .profile-logo {
  opacity: 0.6;
  transform: scale(1.1);
}

.profile-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.profile-image {
  width: 50%;
  aspect-ratio: 4/5;
  border-radius: 10%;
  object-fit: cover;
  border: 3px solid #ccc;
}

.profile-text {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-size: clamp(16px, 5vw, 32px);
  color: white;
  margin: 0;
}

.profile-subtitle {
  font-size: 1rem;
  color: #ccc;
  margin: 0;
}

/* Social Links */
.social-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 0.5rem;
  padding: 0.5em 1em;
  border-radius: 3em;
  border: 2px solid currentColor;
  color: #ccc;
  text-decoration: none;
  transition: color 0.4s ease, border-color 0.4s ease, background-color 0.4s ease, transform 0.4s ease;
  width: 80%;
  max-width: 200px;
  position: relative;
  background: var(--container);
  z-index: 1;
}

.social-links a canvas.glow-canvas {
  position: absolute;
  top: -20px;
  left: -20px;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-links a:hover canvas.glow-canvas {
  opacity: 1;
}

.social-links a .icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transition: all 0.4s ease;
  overflow: visible;
}

.social-links a .social-text {
  font-size: 1.2rem;
  font-weight: 500;
}

.social-links a:hover {
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

.social-links a:hover .icon {
  fill: currentColor;
  stroke: none;
}

/* Social Platform Colors */
.email:hover { background-color: #4c11c1; }
.github:hover { background-color: #000000; }
.linkedin:hover { background-color: #0077b5; }
.youtube:hover { background-color: #FF0000; }
.discord:hover { background-color: #5B67F1; }
.instagram:hover { background-color: #e1306c; }

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 20, 0.95);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.tooltip::before {
  content: "";
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(20, 20, 20, 0.95) transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.tooltip:hover::after,
.tooltip:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}