/* ==========================================================================
   ÖMER TAHA DAĞ — TACTICAL LINKTREE & BIOLINK HUB
   Deep Tech & Tactical Aerospace Design System
   ========================================================================== */

:root {
  --linktree-max-w: 640px;
}

.linktree-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3.5rem 1.25rem 2.5rem;
  position: relative;
  overflow-x: hidden;
}

.linktree-container {
  width: 100%;
  max-width: var(--linktree-max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

/* Profile Header */
.linktree-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.25rem;
  width: 100%;
}

.linktree-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 1.25rem;
}

.linktree-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--border-cyan);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.35);
  position: relative;
  z-index: 2;
  background: var(--bg-surface);
}

.avatar-radar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(168, 85, 247, 0.4);
  animation: radarRotate 18s linear infinite;
  pointer-events: none;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-status-dot {
  position: absolute;
  bottom: 4px;
  right: 6px;
  width: 15px;
  height: 15px;
  background: var(--accent-emerald);
  border: 3px solid #050608;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 10px var(--accent-emerald);
}

.linktree-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.linktree-callsign-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
}

.linktree-tagline {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.linktree-meta-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.meta-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.meta-chip.highlight {
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.08);
  font-weight: 600;
}

/* Quick Social Action Icons */
.linktree-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.linktree-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.linktree-social-btn i {
  width: 18px;
  height: 18px;
}

.linktree-social-btn:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.25);
}

/* Link Groups & Cards */
.linktree-group {
  width: 100%;
  margin-bottom: 1.75rem;
}

.linktree-group-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 0.25rem;
}

.linktree-group-title i {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

.linktree-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.linktree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.95rem 1.25rem;
  background: rgba(14, 18, 26, 0.75);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #fff;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.linktree-item:hover {
  background: rgba(18, 24, 36, 0.95);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(168, 85, 247, 0.15);
}

.linktree-item-featured {
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(14, 18, 26, 0.85) 100%);
}

.linktree-item-featured:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(168, 85, 247, 0.25);
}

.link-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.linktree-item:hover .link-icon-box {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--accent-cyan);
}

.link-icon-box i {
  width: 20px;
  height: 20px;
}

.link-text-content {
  flex: 1;
  min-width: 0;
}

.link-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.15rem;
}

.link-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.link-badge.cyan {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.link-badge.amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.link-badge.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.link-badge.purple {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.link-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.linktree-item:hover .link-chevron {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.link-chevron i {
  width: 18px;
  height: 18px;
}

/* Floating Share / Action Top Bar */
.linktree-top-nav {
  width: 100%;
  max-width: var(--linktree-max-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  z-index: 20;
}

.linktree-home-btn, .linktree-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(14, 18, 26, 0.8);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.linktree-home-btn:hover, .linktree-share-btn:hover {
  color: #fff;
  border-color: var(--accent-cyan);
  background: rgba(168, 85, 247, 0.12);
}

.linktree-home-btn i, .linktree-share-btn i {
  width: 14px;
  height: 14px;
}

/* Footer in Linktree */
.linktree-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.linktree-footer p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.linktree-footer .asimov-small {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

.linktree-footer .utc-clock {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 600;
}
