/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --bg-deep: #0a0b0e;
  --bg-surface: rgba(255, 255, 255, 0.04);
  --bg-surface-hover: rgba(255, 255, 255, 0.08);
  --text-primary: #f0f0f0;
  --text-secondary: rgba(255, 255, 255, 0.5);
  --accent-violet: #a855f7;
  --accent-cyan: #22d3ee;
  --accent-pink: #ec4899;
  --gradient-accent: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);

  /* Shadows */
  --glow-violet: 0 0 20px rgba(168, 85, 247, 0.35);
  --glow-cyan: 0 0 20px rgba(34, 211, 238, 0.3);
  --shadow-lift: 0 8px 30px rgba(0, 0, 0, 0.4);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-full: 50%;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ===== FLOATING BACKGROUND ORBS ===== */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.orb-1 {
  width: 350px;
  height: 350px;
  background: rgba(168, 85, 247, 0.18);
  top: -5%;
  left: 15%;
  animation: floatOrb1 18s ease-in-out infinite;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(34, 211, 238, 0.14);
  bottom: 10%;
  right: 5%;
  animation: floatOrb2 22s ease-in-out infinite;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(236, 72, 153, 0.12);
  top: 40%;
  left: 60%;
  animation: floatOrb3 20s ease-in-out infinite;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.5);
}
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.3) transparent;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 480px;
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  text-align: center;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== AVATAR RING — Rotating conic gradient ===== */
.avatar-ring {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  background: conic-gradient(
    var(--accent-violet),
    var(--accent-cyan),
    var(--accent-pink),
    var(--accent-violet)
  );
  animation: ringRotate 4s linear infinite;
}

.avatar-ring::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: var(--radius-full);
  background: var(--bg-deep);
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.status-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  background: #22c55e;
  border: 3px solid var(--bg-deep);
  border-radius: var(--radius-full);
  z-index: 2;
}

/* ===== HEADING ===== */
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, rgba(168, 85, 247, 0.9) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== BIO ===== */
.bio {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

/* ===== SOCIALS — Rounded squares ===== */
.socials {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: 0;
}

.socials a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  transition: all 0.3s var(--ease-out);
}

.socials a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-lift);
}

/* Platform-specific hover colors */
.socials a[data-platform="instagram"]:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.4);
}

.socials a[data-platform="whatsapp"]:hover {
  background: #25d366;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.socials a[data-platform="tiktok"]:hover {
  background: #010101;
  border-color: #69c9d0;
  box-shadow: 0 0 15px rgba(105, 201, 208, 0.4), 0 0 15px rgba(238, 29, 82, 0.3);
}

.socials a[data-platform="twitter"]:hover {
  background: #1d9bf0;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(29, 155, 240, 0.4);
}

.socials svg {
  width: 22px;
  height: 22px;
}

/* ===== HERO DIVIDER ===== */
.hero-divider {
  width: 100%;
  height: 1px;
  margin: var(--space-xl) 0;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), rgba(34, 211, 238, 0.2), transparent);
}

/* ===== SECTION TITLES — Left dash + fade line ===== */
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-violet);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-align: left;
}

.section-title::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--accent-violet);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.25), transparent);
}

/* ===== LINK BUTTONS — Left-aligned + arrow hover ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-btn {
  display: flex;
  align-items: center;
  padding: var(--space-md) 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  text-align: left;
}

/* Shimmer sweep */
.link-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.06), transparent);
  transition: left 0.5s var(--ease-out);
}

/* Arrow indicator */
.link-btn::after {
  content: '\2192';
  position: absolute;
  right: 1.25rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s var(--ease-out);
  font-size: 1rem;
  color: var(--accent-violet);
}

.link-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2), var(--shadow-lift);
  background: rgba(255, 255, 255, 0.07);
}

.link-btn:hover::before {
  left: 100%;
}

.link-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.link-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: none;
  transition-duration: 0.1s;
}

/* ===== LINK THUMBNAILS ===== */
.link-btn.has-thumb {
  gap: var(--space-sm);
}

.link-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  width: 100%;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-domain {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

/* ===== ENTRANCE ANIMATIONS ===== */
.anim-in {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ringRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(40px, 60px); }
  50% { transform: translate(-20px, 80px); }
  75% { transform: translate(30px, 20px); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-50px, -30px); }
  50% { transform: translate(30px, -60px); }
  75% { transform: translate(-20px, -20px); }
}

@keyframes floatOrb3 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-40px, 40px); }
  66% { transform: translate(50px, -30px); }
}

/* ===== RESPONSIVE ===== */

/* Small phones */
@media (max-width: 359px) {
  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .avatar-ring {
    width: 110px;
    height: 110px;
  }

  .avatar {
    width: 100px;
    height: 100px;
  }

  h1 {
    font-size: 1.35rem;
  }
}

/* Tablets and up */
@media (min-width: 640px) {
  .avatar-ring {
    width: 150px;
    height: 150px;
  }

  .avatar {
    width: 136px;
    height: 136px;
    font-size: 3.2rem;
  }

  h1 {
    font-size: 1.85rem;
  }

  .bio {
    font-size: 0.9rem;
  }
}

/* ===== ACCESSIBILITY — Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .orb {
    animation: none !important;
  }

  .avatar-ring {
    animation: none !important;
  }

  .anim-in {
    opacity: 1;
    transform: none;
  }
}
