/* ==========================================================================
   FUNKTOGRAPHER — BIO LINKS HUB (/links)
   Innovative, Brand-Driven, Ultra-Fluid Mobile Experience
   ========================================================================== */

/* Brand Fonts */
@font-face {
  font-family: 'Fifties Movies';
  src: url('../fonts/Fifties-Movies.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Dechorian';
  src: url('../fonts/Dechorian.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nexa';
  src: url('../fonts/Nexa-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nexa';
  src: url('../fonts/Nexa-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nexa';
  src: url('../fonts/Nexa-Regular.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nexa';
  src: url('../fonts/Nexa-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bio-bg: #120826;
  --bio-card: rgba(28, 15, 56, 0.82);
  --bio-card-border: rgba(120, 80, 185, 0.28);
  --bio-gold: #ffc501;
  --bio-gold-glow: rgba(255, 197, 1, 0.35);
  --bio-purple: #4f2da3;
  --bio-purple-glow: rgba(79, 44, 163, 0.45);
  --bio-orange: #fb5b23;
  --bio-text: #ffffff;
  --bio-text-muted: #beb8d4;
  --bio-text-dim: #827a9c;
  --bio-radius: 18px;
  --bio-font-heading: 'Fifties Movies', cursive, sans-serif;
  --bio-font-subtitle: 'Dechorian', sans-serif;
  --bio-font-body: 'Nexa', 'Codec Warm', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.bio-body {
  background-color: var(--bio-bg);
  color: var(--bio-text);
  font-family: var(--bio-font-body);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 60px 16px;
  -webkit-font-smoothing: antialiased;
}

/* Dynamic Ambient Glow Mesh */
.bio-ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bio-glow-orb-1 {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 197, 1, 0.16) 0%, rgba(79, 44, 163, 0.22) 45%, transparent 70%);
  filter: blur(60px);
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.bio-glow-orb-2 {
  position: absolute;
  bottom: 10%;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 44, 163, 0.25) 0%, transparent 65%);
  filter: blur(70px);
}

.bio-glow-orb-3 {
  position: absolute;
  top: 45%;
  left: -120px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 197, 1, 0.1) 0%, transparent 65%);
  filter: blur(60px);
}

@keyframes floatOrb {
  0% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-46%) translateY(25px) scale(1.08); }
  100% { transform: translateX(-54%) translateY(-15px) scale(0.95); }
}

/* Main Hub Container */
.bio-hub-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Header Top Controls */
.bio-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 4px;
}

.bio-logo-text {
  font-family: var(--bio-font-heading);
  font-size: 1.1rem;
  font-weight: normal;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bio-logo-text span {
  color: var(--bio-gold);
}

.bio-action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--bio-card-border);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-action-btn:hover, .bio-action-btn:active {
  background: var(--bio-gold);
  color: #120826;
  transform: scale(1.08);
  box-shadow: 0 0 16px var(--bio-gold-glow);
}

/* Profile Identity */
.bio-profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 6px;
}

.bio-avatar-container {
  position: relative;
  width: 116px;
  height: 116px;
  margin-bottom: 18px;
}

.bio-avatar-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--bio-gold), var(--bio-purple), #fb5b23, var(--bio-gold));
  animation: rotateHalo 8s linear infinite;
  filter: blur(4px);
  opacity: 0.9;
}

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

.bio-avatar-img-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #120826;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(10, 4, 20, 0.7);
}

.bio-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.bio-verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  z-index: 3;
  width: 26px;
  height: 26px;
  background: var(--bio-gold);
  color: #120826;
  border-radius: 50%;
  border: 3px solid #120826;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.bio-profile-title {
  font-family: var(--bio-font-heading);
  font-size: 1.85rem;
  font-weight: normal;
  letter-spacing: 0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.bio-handle {
  font-family: var(--bio-font-subtitle);
  color: var(--bio-gold);
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.bio-tagline {
  color: var(--bio-text-muted);
  font-size: 0.95rem;
  max-width: 380px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.bio-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bio-card-border);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  color: #dedee8;
  letter-spacing: 0.2px;
}

.bio-location-chip i {
  color: var(--bio-gold);
}

/* Quick Social Bar */
.bio-social-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.bio-social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bio-card);
  border: 1px solid var(--bio-card-border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-social-icon:hover {
  transform: translateY(-4px);
  border-color: var(--bio-gold);
  color: var(--bio-gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 12px var(--bio-gold-glow);
}

.bio-social-icon.social-wa:hover { color: #25d366; border-color: #25d366; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); }
.bio-social-icon.social-ig:hover { color: #e1306c; border-color: #e1306c; box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3); }
.bio-social-icon.social-yt:hover { color: #ff0000; border-color: #ff0000; box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3); }
.bio-social-icon.social-be:hover { color: #0057ff; border-color: #0057ff; box-shadow: 0 8px 20px rgba(0, 87, 255, 0.3); }

/* Section Separator */
.bio-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--bio-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--bio-text-dim);
  margin-bottom: 2px;
}

.bio-section-title::before, .bio-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* ==========================================================================
   INNOVATIVE CUT-CORNER LINK BUTTONS
   ========================================================================== */
.bio-links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.bio-btn-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bio-card);
  border: 1px solid var(--bio-card-border);
  text-decoration: none;
  color: #fff;
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  /* Futuristic Chamfered Cut-Corner Shape */
  clip-path: polygon(
    14px 0,
    100% 0,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    0 100%,
    0 14px
  );
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Shimmer Light Sweep on Hover */
.bio-btn-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: none;
}

.bio-btn-card:hover::before {
  left: 150%;
  transition: left 0.8s ease-in-out;
}

.bio-btn-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 197, 1, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px var(--bio-gold-glow);
}

/* Glow Style (Sitio Web Oficial) */
.bio-btn-card.style-glow {
  background: linear-gradient(135deg, rgba(255, 197, 1, 0.14) 0%, rgba(28, 15, 56, 0.95) 70%);
  border-color: rgba(255, 197, 1, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 197, 1, 0.18);
}

.bio-btn-card.style-glow:hover {
  border-color: var(--bio-gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 197, 1, 0.35);
}

/* Gradient Style (Instagram) */
.bio-btn-card.style-gradient {
  background: linear-gradient(135deg, rgba(251, 91, 35, 0.15) 0%, rgba(79, 44, 163, 0.2) 40%, rgba(28, 15, 56, 0.95) 80%);
  border-color: rgba(251, 91, 35, 0.35);
}

.bio-btn-card.style-gradient:hover {
  border-color: #e1306c;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(225, 48, 108, 0.3);
}

/* Left Icon Pill */
.bio-btn-icon-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bio-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--bio-gold);
  transition: all 0.35s ease;
}

.bio-btn-card:hover .bio-btn-icon-wrap {
  background: var(--bio-gold);
  color: #120826;
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 18px var(--bio-gold-glow);
}

.bio-btn-card.style-gradient:hover .bio-btn-icon-wrap {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 0 18px rgba(225, 48, 108, 0.4);
}

/* Button Content */
.bio-btn-body {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.bio-btn-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.bio-btn-title {
  font-family: var(--bio-font-subtitle);
  font-size: 1.05rem;
  font-weight: normal;
  color: #fff;
  letter-spacing: 0.3px;
}

.bio-btn-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(255, 197, 1, 0.15);
  border: 1px solid rgba(255, 197, 1, 0.35);
  color: var(--bio-gold);
}

.bio-btn-subtitle {
  font-size: 0.84rem;
  color: var(--bio-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bio-btn-arrow {
  color: var(--bio-text-dim);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.bio-btn-card:hover .bio-btn-arrow {
  color: var(--bio-gold);
  transform: translateX(4px);
}

/* ==========================================================================
   CONTACT & COVERAGE CARD (AS REQUESTED BY USER)
   ========================================================================== */
.bio-contact-card {
  background: var(--bio-card);
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.bio-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bio-gold) 0%, var(--bio-purple) 100%);
}

.bio-contact-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bio-contact-card-title {
  font-family: var(--bio-font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bio-contact-card-title i {
  color: var(--bio-gold);
}

/* Coverage Live Beacon */
.bio-beacon-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: 100px;
}

.bio-beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: beaconPulse 1.8s infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #34d399; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.bio-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bio-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

.bio-contact-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 197, 1, 0.3);
  transform: translateX(4px);
}

.bio-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.bio-contact-icon.icon-phone { color: var(--bio-gold); background: rgba(255, 197, 1, 0.12); }
.bio-contact-icon.icon-wa { color: #25d366; background: rgba(37, 211, 102, 0.12); }
.bio-contact-icon.icon-email { color: #60a5fa; background: rgba(96, 165, 250, 0.12); }
.bio-contact-icon.icon-loc { color: #f43f5e; background: rgba(244, 63, 94, 0.12); }
.bio-contact-icon.icon-ig { color: #e1306c; background: rgba(225, 48, 108, 0.12); }

.bio-contact-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.bio-contact-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--bio-text-dim);
  font-weight: 600;
  margin-bottom: 2px;
}

.bio-contact-val {
  font-size: 0.94rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bio-contact-action {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bio-gold);
  border: 1px solid rgba(255, 197, 1, 0.35);
  padding: 4px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

/* ==========================================================================
   DYNAMIC RECENT PROJECTS SECTION
   ========================================================================== */
.bio-projects-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.bio-projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 4px;
}

.bio-projects-header h3 {
  font-family: var(--bio-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bio-projects-header h3 i {
  color: var(--bio-gold);
}

.bio-projects-header p {
  font-size: 0.8rem;
  color: var(--bio-text-dim);
}

.bio-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 480px) {
  .bio-projects-grid {
    grid-template-columns: 1fr;
  }
}

.bio-project-card {
  background: var(--bio-card);
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.bio-project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 197, 1, 0.4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6), 0 0 20px var(--bio-gold-glow);
}

.bio-project-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.bio-project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-project-card:hover .bio-project-thumb {
  transform: scale(1.09);
}

.bio-project-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 9, 12, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--bio-card-border);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
}

.bio-project-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bio-project-title {
  font-family: var(--bio-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bio-project-meta {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--bio-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Catalog CTA Button */
.bio-all-projects-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius);
  color: #fff;
  font-family: var(--bio-font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.bio-all-projects-btn:hover {
  background: rgba(255, 197, 1, 0.12);
  border-color: var(--bio-gold);
  color: var(--bio-gold);
  transform: translateY(-2px);
}

/* Footer */
.bio-footer {
  text-align: center;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bio-footer p {
  color: var(--bio-text-dim);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.bio-footer a {
  color: var(--bio-gold);
  text-decoration: none;
  font-weight: 600;
}

.bio-footer a:hover {
  text-decoration: underline;
}

/* Toast Floating Notification */
.bio-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #181822;
  border: 1px solid var(--bio-gold);
  color: #fff;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px var(--bio-gold-glow);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.bio-toast i {
  color: var(--bio-gold);
}
