/* CSS/COMPONENTS.CSS - Streamlined Linktree-Style Pill Cards & Profile Header */

/* Top Action Navigation Bar */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 100%;
}

.top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.top-btn svg {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.top-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 #FFFFFF;
}

.top-btn:hover svg {
  transform: rotate(10deg) scale(1.1);
}

.top-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Profile Header Section */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.avatar-wrapper {
  position: relative;
  width: 104px;
  height: 104px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--neo-border);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 5px 5px 0px #000000;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.avatar-wrapper:hover .avatar-img {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0px #000000;
}

/* Status Indicator Dot */
.status-pill {
  position: absolute;
  bottom: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  background: #0D0B24;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
}

/* Identity Name & Handle */
.profile-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.profile-handle {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Links Container */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Pill Link Card (Streamlined Linktree Style) */
.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  background: var(--card-bg);
  border: 2.5px solid var(--neo-border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--neo-shadow);
  transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 150ms cubic-bezier(0.16, 1, 0.3, 1), background 150ms ease;
  outline: none;
}

.link-card:hover {
  background: #FFFFFF;
  transform: translate(-4px, -4px);
  box-shadow: var(--neo-shadow-hover);
}

.link-card:active {
  transform: translate(2px, 2px);
  box-shadow: var(--neo-shadow-active);
}

.link-card:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.link-card-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.link-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.link-icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.link-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.link-card-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #71717A;
}

.link-dots-icon {
  width: 18px;
  height: 18px;
  color: #A1A1AA;
  transition: color 150ms ease;
}

.link-card:hover .link-dots-icon {
  color: var(--text-primary);
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #0D0B24;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  animation: toastIn 200ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer Section */
.site-footer {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.clock-display {
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (max-width: 480px) {
  .link-card {
    padding: 0.95rem 1.2rem;
  }
  .link-title {
    font-size: 0.975rem;
  }
}
