/* ==========================================================
   BLOCO 138 — LINKS HUB / BIO (Sobrinho DEV) — DARK THEME
   Regra estrita: Nenhuma fonte menor que 14px.
   ========================================================== */

body.body-links-dark {
  background-color: #081622 !important;
  color-scheme: dark;
}

.links-site {
  --surface-0: #081622;
  --surface-1: #0e202c;
  --surface-2: #142a39;
  --surface-card: #0f2331;
  --text-primary: #f2f7fa;
  --text-muted: #8ca3b1;
  --text-dim: #627e8f;
  --border-subtle: #1e384b;
  --border-focus: #00cfff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition-fast: 0.2s ease;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --cyan: #00cfff;
  --cyan-hover: #33d9ff;
  --cyan-glow: rgba(0, 207, 255, 0.25);
  background-color: var(--surface-0) !important;
  color: var(--text-primary);
  color-scheme: dark;
  min-height: 100vh;
}

.links-hub {
  min-height: 100vh;
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem clamp(3.5rem, 6vw, 5.5rem);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: var(--surface-0);
  background-image: 
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(0, 207, 255, 0.16), transparent 70%),
    radial-gradient(circle at 15% 85%, rgba(31, 78, 121, 0.15), transparent 50%),
    radial-gradient(circle at 85% 65%, rgba(0, 207, 255, 0.08), transparent 40%);
  background-repeat: no-repeat;
  color: var(--text-primary);
}

.links-hub-container {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

/* --------------------------------------------------------------------------
   PROFILE HEADER
   -------------------------------------------------------------------------- */
.links-profile {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.links-avatar-wrapper {
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: 1.35rem;
}

.links-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--cyan);
  box-shadow: 0 0 32px var(--cyan-glow), 0 8px 24px rgba(0, 0, 0, 0.4);
  display: block;
}

.links-avatar-cube {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-1);
  border: 1.5px solid rgba(0, 207, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.links-avatar-cube svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.links-profile-info h1 {
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.links-handle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.links-handle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.links-pill {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.links-pill .web-status {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

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

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

.links-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.links-card:hover {
  transform: translateY(-3px);
  background: var(--surface-2);
  border-color: rgba(0, 207, 255, 0.5);
  box-shadow: 0 10px 28px rgba(0, 207, 255, 0.16), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.links-card.is-featured {
  background: linear-gradient(135deg, rgba(31, 78, 121, 0.42), rgba(11, 30, 45, 0.95));
  border: 1.5px solid var(--cyan);
  box-shadow: 0 0 24px rgba(0, 207, 255, 0.25), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.links-card.is-featured:hover {
  background: linear-gradient(135deg, rgba(31, 78, 121, 0.58), rgba(14, 38, 56, 0.98));
  border-color: var(--cyan-hover);
  box-shadow: 0 0 36px rgba(0, 207, 255, 0.42), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.links-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.links-card:hover .links-card-icon {
  background: rgba(0, 207, 255, 0.14);
  border-color: rgba(0, 207, 255, 0.45);
  color: #ffffff;
}

.links-card.is-featured .links-card-icon {
  background: rgba(0, 207, 255, 0.18);
  border-color: rgba(0, 207, 255, 0.5);
  color: var(--cyan);
}

.links-card-icon code {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.links-card-body {
  flex: 1;
  min-width: 0;
}

.links-card-topline {
  margin-bottom: 0.25rem;
}

.links-card-badge {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(0, 207, 255, 0.14);
  border: 1px solid rgba(0, 207, 255, 0.28);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  display: inline-block;
  text-transform: uppercase;
}

.links-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
  line-height: 1.35;
}

.links-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.links-card-arrow {
  color: var(--text-dim);
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.links-card:hover .links-card-arrow {
  color: var(--cyan);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   SOCIAL ROW
   -------------------------------------------------------------------------- */
.links-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.65rem 0;
}

.links-social-row a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.links-social-row a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--surface-2);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 207, 255, 0.25);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.links-hub-footer {
  text-align: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.links-manifesto {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.links-copyright {
  font-size: 14px;
  color: var(--text-dim);
  opacity: 0.85;
}
