/* anime_bio/style.css — SHIN MOD Grandmaster Anime Bio Styling (V4) */
:root {
  --bg-deep: #070306;
  --bg-card: rgba(18, 8, 14, 0.84);
  --bg-btn: rgba(23, 10, 18, 0.88);
  --bg-btn-hover: rgba(38, 14, 27, 0.96);
  --accent: #ff1f4b;
  --accent-2: #f472b6;
  --gold: #fbbf24;
  --accent-glow: rgba(255, 31, 75, 0.62);
  --accent-soft: rgba(255, 31, 75, 0.18);
  --gold-glow: rgba(251, 191, 36, 0.48);
  --text-main: #f8fafc;
  --text-sub: #b4b4c4;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(255, 64, 112, 0.52);
  --font-brand: 'Tektur', 'Orbitron', sans-serif;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Be Vietnam Pro', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Fullscreen Background GIF + Grandmaster Atmospheric Layers */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-gif {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  filter: brightness(0.3) contrast(1.22) saturate(1.3) blur(2.5px);
  transform: scale(1.04);
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 45% at 50% 8%, rgba(255, 31, 75, 0.24), transparent 65%),
    radial-gradient(ellipse 55% 40% at 85% 55%, rgba(244, 114, 182, 0.12), transparent 65%),
    radial-gradient(circle at 50% 90%, rgba(0, 0, 0, 0.78), rgba(6, 3, 6, 0.96) 78%),
    linear-gradient(180deg, rgba(8, 3, 6, 0.28) 0%, rgba(8, 3, 6, 0.9) 100%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 64, 112, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 64, 112, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 35%, #000 15%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 15%, transparent 80%);
}

.bg-scanlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.022) 0px,
    rgba(255, 255, 255, 0.022) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.45;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Sticky Scroll Top Bar */
.top-floating-bar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(-85px);
  width: min(550px, calc(100% - 24px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 7, 13, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-accent);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.75), 0 0 24px var(--accent-soft);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.top-floating-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.mini-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.mini-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.mini-text span {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.mini-text small {
  font-family: var(--font-display);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--accent-2);
}

/* Main Bio Container */
.bio-shell {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* Top HUD Bar */
.hud-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 8, 15, 0.84);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(14px);
  font-family: var(--font-brand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  box-shadow: 0 0 18px var(--accent-soft);
}

.brand-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  box-shadow: 0 0 10px var(--accent);
  animation: pulseDot 1.8s infinite;
}

.hud-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  appearance: none;
  border: 1px solid var(--border-subtle);
  background: rgba(20, 8, 15, 0.84);
  color: var(--text-main);
  height: 37px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: all 0.25s ease;
}

.icon-btn-glow {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, rgba(255, 31, 75, 0.22), rgba(244, 114, 182, 0.14));
}

.icon-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
  transform: translateY(-1px);
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}

.eq-bars i {
  display: block;
  width: 2.5px;
  height: 4px;
  background: var(--accent-2);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.icon-btn.playing .eq-bars i:nth-child(1) { animation: eqBounce 0.55s infinite ease-in-out alternate; }
.icon-btn.playing .eq-bars i:nth-child(2) { animation: eqBounce 0.42s infinite ease-in-out alternate 0.12s; }
.icon-btn.playing .eq-bars i:nth-child(3) { animation: eqBounce 0.65s infinite ease-in-out alternate 0.24s; }
.icon-btn.playing .eq-bars i:nth-child(4) { animation: eqBounce 0.48s infinite ease-in-out alternate 0.08s; }

@keyframes eqBounce {
  0% { height: 3px; }
  100% { height: 13px; }
}

/* Main Profile Card */
.profile-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 77, 128, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 48px rgba(255, 31, 75, 0.2);
  margin-bottom: 18px;
}

/* 4 HUD Corner Brackets */
.profile-card::before,
.profile-card::after,
.corner-bl,
.corner-br {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 5;
  pointer-events: none;
}

.profile-card::before {
  top: 10px;
  left: 10px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-top-left-radius: 7px;
}

.profile-card::after {
  top: 10px;
  right: 10px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-top-right-radius: 7px;
}

.corner-bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid var(--accent-2);
  border-left: 2px solid var(--accent-2);
  border-bottom-left-radius: 7px;
}

.corner-br {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-bottom-right-radius: 7px;
}

.cover-wrap {
  position: relative;
  width: 100%;
  height: 196px;
  overflow: hidden;
  background: #0d050a;
}

.cover-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.1) saturate(1.2);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-card:hover .cover-gif {
  transform: scale(1.05);
}

.cover-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 31, 75, 0.14) 48%,
    rgba(251, 191, 36, 0.12) 52%,
    transparent 80%
  );
  background-size: 220% 100%;
  animation: coverSweep 6s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes coverSweep {
  0%, 100% { background-position: 130% 0; }
  50% { background-position: -30% 0; }
}

.cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(9, 4, 8, 0.08) 0%, rgba(18, 8, 14, 0.98) 100%);
}

.status-pill {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10, 4, 8, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #f1f5f9;
  backdrop-filter: blur(8px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

/* Avatar + Dual Grandmaster Aura Rings */
.profile-body {
  position: relative;
  padding: 0 22px 24px;
  text-align: center;
  margin-top: -64px;
  z-index: 4;
}

.avatar-ring-wrap {
  position: relative;
  width: 126px;
  height: 126px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-halo {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 31, 75, 0.45) 0%, transparent 70%);
  filter: blur(10px);
  animation: haloPulse 3s ease-in-out infinite;
}

@keyframes haloPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.75; }
  50% { transform: scale(1.08); opacity: 1; }
}

.avatar-ring-spin {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--accent) 85deg,
    var(--gold) 150deg,
    var(--accent-2) 215deg,
    transparent 290deg,
    var(--accent) 360deg
  );
  animation: spinRing 3.8s linear infinite;
  filter: drop-shadow(0 0 14px var(--accent-glow));
}

.avatar-ring-inner {
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    var(--gold) 0deg,
    transparent 120deg,
    var(--accent-2) 240deg,
    transparent 360deg
  );
  animation: spinRingReverse 5.5s linear infinite;
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

@keyframes spinRingReverse {
  to { transform: rotate(-360deg); }
}

.avatar-gif {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid #11060b;
  background: #14070d;
  z-index: 2;
}

.verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  z-index: 5;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border: 2.5px solid #12060c;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 0 14px var(--accent-glow);
}

.jp-tag {
  font-family: var(--font-jp);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}

.profile-name {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(95deg, #ffffff 0%, #ffe4ec 40%, #ff477e 75%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 16px rgba(255, 31, 75, 0.35));
  margin-bottom: 6px;
}

.profile-bio {
  font-size: 0.92rem;
  color: #e2e8f0;
  max-width: 440px;
  margin: 0 auto 16px;
  min-height: 1.5em;
}

.cursor-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 3px;
  animation: blinkCaret 0.85s steps(1) infinite;
}

@keyframes blinkCaret {
  50% { opacity: 0; }
}

/* Quick Stats Row */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 9px 6px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.stat-box:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.stat-val {
  display: block;
  font-family: var(--font-brand);
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
}

.stat-lbl {
  font-size: 0.7rem;
  color: var(--text-sub);
}

/* Hero Dual CTA Row */
.hero-cta-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.cta-primary,
.cta-secondary {
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-primary {
  background: linear-gradient(135deg, #ff1f4b 0%, #e11d48 55%, #db2777 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(255, 31, 75, 0.42);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 31, 75, 0.65);
}

.cta-secondary {
  appearance: none;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(251, 191, 36, 0.48);
}

.cta-secondary:hover {
  background: rgba(251, 191, 36, 0.14);
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(251, 191, 36, 0.25);
  transform: translateY(-2px);
}

/* Featured Wide Anime GIF Showcase */
.showcase-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  background: #0d050a;
  margin-bottom: 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.7), 0 0 30px var(--accent-soft);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, box-shadow 0.3s ease;
}

.showcase-gif {
  width: 100%;
  height: 205px;
  object-fit: cover;
  display: block;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 4, 8, 0.05) 25%, rgba(10, 4, 8, 0.94) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
}

.showcase-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.showcase-kicker {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.showcase-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: #fff;
}

.showcase-tag {
  font-family: var(--font-brand);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(255, 31, 75, 0.32), rgba(244, 114, 182, 0.22));
  border: 1px solid var(--border-accent);
  color: #fff;
  white-space: nowrap;
}

/* Section Divider */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 4px 12px;
  font-family: var(--font-brand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #e2e8f0;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
  box-shadow: 0 0 10px var(--accent);
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-accent), transparent);
}

/* Link Buttons Stack */
.links-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bio-link-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 12px 14px 12px 12px;
  border-radius: var(--radius-lg);
  background: var(--bg-btn);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.48);
  font-family: inherit;
  text-align: left;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

/* Katana Slash Hover Glint */
.bio-link-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 35%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.04) 65%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.bio-link-btn:hover::before {
  left: 145%;
}

.bio-link-btn.featured {
  border-color: rgba(255, 64, 112, 0.44);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.58), 0 0 22px rgba(255, 31, 75, 0.14);
}

/* #1 Gold-Crimson Shop Tier */
.bio-link-btn.tier-shop {
  background: linear-gradient(135deg, rgba(46, 13, 25, 0.94) 0%, rgba(26, 10, 19, 0.94) 100%);
  border-color: rgba(251, 191, 36, 0.65);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 28px rgba(251, 191, 36, 0.22);
}

.bio-link-btn.tier-shop .link-badge {
  background: linear-gradient(135deg, #f59e0b, #ff1f4b);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.45);
}

.bio-link-btn.tier-tele .link-badge {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.bio-link-btn.tier-discord .link-badge {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.bio-link-btn.tier-zalo .link-badge {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.bio-link-btn.featured::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: skewX(-20deg);
  animation: shiningSlider 3.5s infinite;
  pointer-events: none;
}

@keyframes shiningSlider {
  0% { left: -100%; }
  45%, 100% { left: 160%; }
}

.bio-link-btn:hover {
  transform: translateY(-3px) scale(1.012);
  background: var(--bg-btn-hover);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.72), 0 0 26px var(--accent-glow);
}

.bio-link-btn:active {
  transform: translateY(0) scale(0.992);
}

.link-thumb {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: #140810;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.link-center {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 0 4px;
}

.link-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
}

.link-title {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.03em;
  color: #fff;
  overflow-wrap: anywhere;
}

.link-badge {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  letter-spacing: 0.07em;
}

.link-sub {
  display: block;
  font-size: 0.76rem;
  color: var(--text-sub);
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.link-arrow {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  flex-shrink: 0;
  transition: all 0.24s ease;
}

.bio-link-btn:hover .link-arrow {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
  transform: translateX(3px);
  box-shadow: 0 0 14px var(--accent-glow);
}

/* Inline Zalo QR Showcase Card */
.qr-inline-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 32px var(--accent-soft);
}

.qr-inline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.qr-inline-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.qr-inline-title {
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.qr-save-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 31, 75, 0.2);
  border: 1px solid var(--border-accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.qr-save-chip:hover {
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.qr-inline-body {
  display: flex;
  justify-content: center;
  padding: 10px 0 4px;
  cursor: zoom-in;
}

.qr-inline-img {
  width: min(265px, 82%);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 20px rgba(255, 31, 75, 0.24));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.qr-inline-body:hover .qr-inline-img {
  transform: translateY(-4px) scale(1.02);
}

/* Social Quick Dock */
.social-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-icon-link {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(22, 9, 16, 0.86);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.social-icon-link:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px var(--accent-glow);
}

/* Footer */
.bio-footer {
  margin-top: 28px;
  text-align: center;
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(180, 180, 196, 0.65);
}

/* Zalo QR Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 2, 5, 0.84);
  backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  width: min(390px, 100%);
  background: linear-gradient(180deg, #190a13 0%, #10050b 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.9), 0 0 42px var(--accent-soft);
  transform: translateY(14px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
}

.modal-backdrop.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-brand);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
}

.modal-close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  cursor: pointer;
}

.qr-zalo-showcase {
  display: flex;
  justify-content: center;
  padding: 6px 0 12px;
}

.qr-zalo-showcase img {
  width: min(275px, 85%);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 22px rgba(255, 31, 75, 0.28));
}

.modal-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.modal-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-action-btn {
  appearance: none;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-action-btn.primary {
  background: linear-gradient(135deg, var(--accent), #db2777);
  border: none;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 31, 75, 0.4);
}

.modal-action-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.modal-action-btn:hover {
  transform: translateY(-2px);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  z-index: 120;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(18, 7, 14, 0.96);
  border: 1px solid var(--accent);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 18px var(--accent-glow);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 480px) {
  .cover-wrap {
    height: 170px;
  }
  .showcase-gif {
    height: 182px;
  }
  .profile-name {
    font-size: 1.72rem;
  }
  .hero-cta-row {
    grid-template-columns: 1fr;
  }
  .brand-chip {
    font-size: 0.68rem;
    padding: 7px 11px;
  }
}
