/* ==========================================================================
   Links (Linktree Alternative) Styling
   ========================================================================== */
.links-body {
  background-color: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1.2rem 4rem;
  position: relative;
  overflow-x: hidden;
}

.links-bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.links-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.links-top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.85rem;
}

.back-home-link {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: color 0.3s;
}

.back-home-link:hover {
  color: var(--accent);
}

.admin-quick-link {
  color: var(--text-muted);
  font-size: 1rem;
  transition: color 0.3s;
}

.admin-quick-link:hover {
  color: var(--accent);
}

.links-profile-card {
  text-align: center;
  width: 100%;
  margin-bottom: 2rem;
}

.avatar-wrapper {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.avatar-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.links-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.links-tagline {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 3px;
  margin-bottom: 0.8rem;
}

.links-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* Icon Row */
.social-icon-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.social-circle-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-main);
  font-size: 1.1rem;
  transition: all 0.3s var(--transition-smooth);
}

.social-circle-link:hover {
  color: #000;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Link Stack Cards */
.links-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.link-tree-btn {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  color: var(--text-main);
  text-decoration: none;
  position: relative;
  transition: all 0.3s var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.link-tree-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: #1e2025;
}

.link-tree-btn.featured {
  border: 1px solid var(--accent);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12) 0%, rgba(24, 25, 29, 0.95) 100%);
}

.link-tree-icon {
  font-size: 1.3rem;
  color: var(--accent);
  width: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.link-tree-content {
  flex: 1;
  text-align: left;
}

.link-tree-title {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.link-tree-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.link-tree-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.link-tree-btn:hover .link-tree-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.links-footer {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
  letter-spacing: 1px;
}
