/* =====================================================
   bio.css — Robert Media 378
   Stylesheet utama untuk halaman bio link
===================================================== */

/* =====================================================
   DESIGN TOKENS
===================================================== */
:root {
  --ink:         #111111;
  --ink-rgb:     17, 17, 17;
  --muted:       #5a5a70;
  --paper:       #ffffff;
  --bg:          #f4f4f9;
  --accent:      #7E4BFF;
  --mint:        #44D17F;
  --sun:         #FFD54A;
  --pink:        #E91E63;
  --sh-color:    rgba(0,0,0,.88);
  --radius:      16px;
  --shadow:      6px 6px 0 var(--sh-color);
  --shadow-soft: 4px 4px 0 var(--sh-color);
  --stroke:      2px;
  --ease:        cubic-bezier(.2,.9,.25,1);
  --f-xs:   0.75rem;
  --f-sm:   0.875rem;
  --f-base: 1rem;
  --f-md:   1.0625rem;
  --f-lg:   1.25rem;
  --f-xl:   1.5rem;
  --f-2xl:  1.875rem;
  --f-3xl:  2.5rem;
  --f-4xl:  3.25rem;
}

[data-theme="dark"] {
  --ink:       #f4f4f5;
  --ink-rgb:   244, 244, 245;
  --muted:     #a1a1aa;
  --paper:     #18181b;
  --bg:        #09090b;
  --accent:    #a78bfa;
  --mint:      #6ee7b7;
  --sun:       #fde047;
  --pink:      #f472b6;
  --sh-color:  #000000;
}

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: var(--f-base);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

input, textarea, button, select {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: var(--f-base);
}

input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; pointer-events: none; }
body.is-loading { height: 100vh; overflow: hidden; }

/* =====================================================
   REVEAL ANIMATION
===================================================== */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   PRELOADER
===================================================== */
#preloader {
  position: fixed; inset: 0; z-index: 99999; padding: 28px;
  background:
    radial-gradient(900px 600px at 12% 10%, rgba(126,75,255,.14), transparent 60%),
    radial-gradient(700px 500px at 88% 12%, rgba(255,213,74,.18), transparent 60%),
    radial-gradient(800px 520px at 12% 88%, rgba(68,209,127,.16), transparent 60%),
    var(--paper);
  display: grid; place-items: center;
}

.preloader__card {
  width: min(560px, 100%);
  background: var(--paper);
  border: var(--stroke) solid var(--ink);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  padding: 24px 24px 22px;
  position: relative; overflow: hidden;
}

.preloader__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: var(--f-sm);
  border: var(--stroke) solid var(--ink); border-radius: 999px;
  padding: 8px 14px; box-shadow: var(--shadow-soft);
}

.preloader__badge .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(126,75,255,.22);
}

.preloader__title {
  margin-top: 16px; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.1;
}
.preloader__title .accent { color: var(--accent); }

.preloader__meter {
  height: 13px; border-radius: 999px; border: var(--stroke) solid var(--ink);
  background: var(--paper); margin-top: 18px; position: relative; overflow: hidden;
}

.preloader__bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--mint), var(--sun));
  border-right: var(--stroke) solid var(--ink); border-radius: 999px;
  transition: width .15s linear;
}

.preloader__percent {
  font-weight: 800; font-size: 2.2rem; margin-top: 10px; letter-spacing: -.02em;
}
.preloader__hint { color: var(--muted); margin-top: -2px; font-size: var(--f-sm); }

.preloader__shapes .shape {
  position: absolute; border: var(--stroke) solid var(--ink); border-radius: 24px; opacity: .9;
}
.preloader__shapes .s1 {
  width: 150px; height: 150px; background: rgba(126,75,255,.2);
  right: -60px; top: -60px; transform: rotate(10deg);
}
.preloader__shapes .s2 {
  width: 120px; height: 120px; background: rgba(68,209,127,.18);
  left: -50px; bottom: -40px; transform: rotate(-8deg);
}
.preloader__shapes .s3 {
  width: 92px; height: 92px; border-radius: 50%;
  background: rgba(255,213,74,.25); left: 52%; bottom: -55px;
}

/* =====================================================
   MATRIX 378 CANVAS
===================================================== */
#matrix378 {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* =====================================================
   FAB MENU
===================================================== */
.fab-container {
  position: fixed; top: 20px; left: 20px; z-index: 998;
  display: flex; flex-direction: column; align-items: flex-start;
}

.fab-btn {
  width: 44px; height: 44px; border-radius: 12px; background: var(--sun);
  border: var(--stroke) solid var(--ink); color: var(--ink);
  font-size: var(--f-lg); display: grid; place-items: center; cursor: pointer;
  box-shadow: 3px 3px 0 var(--sh-color);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  outline: none;
}
.fab-btn:active { transform: translate(1px,1px) scale(0.95); box-shadow: 1px 1px 0 var(--sh-color); }
.fab-btn.is-active { background: var(--accent); color: #fff; }

.fab-menu {
  position: absolute; top: 54px; left: 0; width: 252px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: calc(var(--radius) + 2px); padding: 10px;
  box-shadow: var(--shadow); border: var(--stroke) solid var(--ink);
  transform-origin: top left; transform: scale(0.9) translateY(-10px);
  opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
[data-theme="dark"] .fab-menu { background: rgba(24,24,27,.9); }
.fab-container.is-open .fab-menu { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }

.fab-item {
  display: flex; align-items: center; gap: 10px; color: var(--ink);
  padding: 8px; border-radius: 10px; transition: background 0.2s;
  cursor: pointer; border: 2px solid transparent; text-decoration: none;
}
.fab-item:hover { background: var(--bg); border-color: rgba(var(--ink-rgb), .05); }

.fab-icon {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  font-size: var(--f-sm); border: var(--stroke) solid var(--ink); background: var(--paper);
  box-shadow: 2px 2px 0 var(--sh-color); flex-shrink: 0;
}

.fab-text h4 { font-size: var(--f-sm); font-weight: 800; line-height: 1.2; }
.fab-text p  { font-size: var(--f-xs); color: var(--muted); margin-top: 2px; }

.fab-promo {
  background: var(--mint); color: var(--ink); border-radius: 11px; padding: 10px;
  display: flex; align-items: center; gap: 10px; font-weight: 900; margin-top: 2px;
  cursor: pointer; border: var(--stroke) solid var(--ink); box-shadow: 2px 2px 0 var(--sh-color);
}

.fab-footer {
  display: flex; justify-content: space-around;
  border-top: 2px dashed rgba(var(--ink-rgb), .08); padding-top: 8px; margin-top: 2px;
}

.fab-footer-item {
  display: flex; flex-direction: column; align-items: center; cursor: pointer;
  font-size: var(--f-xs); font-weight: 700; color: var(--muted); gap: 3px;
}
.fab-footer-item:hover { color: var(--ink); }

/* =====================================================
   BACKGROUND BLOBS
===================================================== */
.bio-bg-blob {
  position: fixed; border-radius: 50%; filter: blur(75px);
  z-index: 1; opacity: 0.4; pointer-events: none;
}
.bio-bg-blob.top {
  width: 350px; height: 350px; background: var(--accent);
  top: -50px; right: -100px;
  animation: blobFloatTop 18s ease-in-out infinite alternate;
}
.bio-bg-blob.bottom {
  width: 320px; height: 320px; background: var(--mint);
  bottom: -80px; left: -80px;
  animation: blobFloatBottom 20s ease-in-out infinite alternate;
}
.bio-bg-blob.extra {
  width: 250px; height: 250px; background: var(--sun);
  top: 35%; left: 15%; opacity: 0.25;
  animation: blobFloatExtra 22s ease-in-out infinite alternate;
}

@keyframes blobFloatTop {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-80px,60px) scale(1.15); }
  100% { transform: translate(30px,90px) scale(0.9); }
}
@keyframes blobFloatBottom {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(70px,-70px) scale(1.2); }
  100% { transform: translate(-40px,-20px) scale(0.85); }
}
@keyframes blobFloatExtra {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(100px,120px) scale(1.25); }
  100% { transform: translate(-60px,60px) scale(0.8); }
}

/* =====================================================
   BIO WRAPPER & CONTAINER
===================================================== */
.bio-wrapper {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding: 40px 20px; background: transparent;
  position: relative; z-index: 2;
}
.bio-container { width: 100%; max-width: 520px; position: relative; z-index: 2; }

/* =====================================================
   PROFIL SECTION
===================================================== */
.bio-profile { text-align: center; margin-bottom: 32px; position: relative; }

.avatar-wrapper {
  position: relative; display: inline-block;
  margin-bottom: 16px; margin-top: 40px; z-index: 3;
}

.bio-avatar {
  width: 120px; height: 120px; border-radius: 36px;
  padding: 4px; background: linear-gradient(135deg, var(--accent), var(--mint));
  box-shadow: var(--shadow); position: relative; z-index: 3;
  animation: floatAvatar 4s ease-in-out infinite; cursor: pointer;
}
@keyframes floatAvatar {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.bio-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 32px; border: 4px solid var(--paper);
  background: var(--paper); transition: transform 0.4s ease;
}
.bio-avatar:active img { transform: scale(0.92); }

.bio-name {
  font-size: var(--f-xl); font-weight: 900; color: var(--ink); margin: 0;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -0.02em; position: relative; z-index: 3;
}

/* =====================================================
   VERIFIED BADGE — dengan tooltip mobile-friendly
===================================================== */
.verified-badge-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex-shrink: 0; margin-left: 8px;
  vertical-align: middle; position: relative; z-index: 5;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.18));
  cursor: pointer;
}
.verified-badge-icon svg { width: 100%; height: 100%; display: block; }

.verified-tooltip-wrap {
  position: relative; display: inline-flex;
  align-items: center; margin-left: 1px;
}

.verified-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  transform-origin: bottom center;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.verified-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink);
}

.verified-tooltip-wrap:hover .verified-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.verified-tooltip-wrap.tooltip-active .verified-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.bio-desc {
  color: var(--muted); font-size: var(--f-sm); line-height: 1.6;
  margin: 8px auto 0; max-width: 90%; font-weight: 600;
  position: relative; z-index: 3;
}

/* =========================================================
   MUSIC PLAYER CARD
========================================================= */
.music-player-card {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  padding: 18px 20px 14px; box-shadow: var(--shadow-soft);
  margin-top: 20px; margin-bottom: 24px; position: relative; overflow: hidden;
  text-align: left;
}
[data-theme="dark"] .music-player-card { background: rgba(24,24,27,.82); }
.music-player-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--mint), var(--sun), var(--pink));
}

.player-inner { display: flex; align-items: center; gap: 18px; }

/* Vinyl Disc */
.disc-wrap { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }

.vinyl-disc {
  width: 100px; height: 100px; border-radius: 50%;
  background:
    radial-gradient(circle,
      transparent 0%, transparent 11%,
      #1a1a1a 12%, #1a1a1a 13%,
      #2e2e2e 14%, #2e2e2e 18%,
      #1a1a1a 19%, #1a1a1a 22%,
      #2e2e2e 23%, #2e2e2e 30%,
      #1a1a1a 31%, #1a1a1a 36%,
      #2e2e2e 37%, #2e2e2e 45%,
      #1a1a1a 46%, #1a1a1a 52%,
      #2e2e2e 53%, #2e2e2e 62%,
      #1a1a1a 63%, #1a1a1a 70%,
      #2e2e2e 71%, #2e2e2e 80%,
      #1a1a1a 81%, #1a1a1a 100%
    );
  border: 3px solid var(--ink); box-shadow: var(--shadow); position: relative;
  animation: spinDisc 6s linear infinite; animation-play-state: paused;
  display: flex; align-items: center; justify-content: center;
}
.vinyl-disc.is-playing {
  animation-play-state: running;
  box-shadow: 6px 6px 0 var(--sh-color), 0 0 20px rgba(126,75,255,.4);
}
@keyframes spinDisc { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }

.disc-center {
  position: absolute; width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: 0 0 0 3px rgba(126,75,255,.35); z-index: 3;
}
.disc-center img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; pointer-events: none; }
.disc-gloss {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(140deg, rgba(255,255,255,.22) 0%, transparent 55%);
  pointer-events: none; z-index: 4;
}

/* Player Right */
.player-right { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.player-meta-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.music-title { font-weight: 900; font-size: var(--f-sm); color: var(--ink); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-artist { font-size: var(--f-xs); color: var(--muted); font-weight: 700; margin-top: 1px; }

.play-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: #fff;
  border: var(--stroke) solid var(--ink); box-shadow: var(--shadow-soft); cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
  flex-shrink: 0; align-self: flex-start;
  pointer-events: auto;
}
.play-btn:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 var(--sh-color); }
.play-btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--sh-color); }
.play-btn.is-playing { background: var(--mint); color: var(--ink); }

/* Wave bars */
.music-wave { display: flex; align-items: flex-end; gap: 2px; height: 16px; margin-top: 6px; opacity: 0; transition: opacity .3s; }
.music-player-card.is-playing .music-wave { opacity: 1; }
.music-wave span { display: block; width: 3px; border-radius: 2px; background: var(--accent); animation: waveBar 1s ease-in-out infinite; }
.music-wave span:nth-child(1) { height: 6px; animation-delay: 0s; }
.music-wave span:nth-child(2) { height: 12px; animation-delay: .15s; }
.music-wave span:nth-child(3) { height: 8px; animation-delay: .3s; }
.music-wave span:nth-child(4) { height: 14px; animation-delay: .1s; }
.music-wave span:nth-child(5) { height: 6px; animation-delay: .25s; }
@keyframes waveBar { 0%, 100% { transform: scaleY(1) } 50% { transform: scaleY(.3) } }

/* Progress Bar */
.music-progress-wrap { margin-top: 14px; }
.music-progress-track {
  height: 10px; border-radius: 999px; background: var(--bg);
  border: var(--stroke) solid var(--ink); overflow: visible;
  cursor: pointer; position: relative;
}
.music-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--mint), var(--sun));
  border-radius: 999px; transition: width .5s linear;
  position: relative;
}
.music-progress-fill::after {
  content: ''; position: absolute; right: -5px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--ink);
  box-shadow: 0 0 8px rgba(126,75,255,.7);
  opacity: 0; transition: opacity .3s;
}
.music-player-card.is-playing .music-progress-fill::after { opacity: 1; }
.music-time-row {
  display: flex; justify-content: space-between;
  font-size: var(--f-xs); color: var(--muted); font-weight: 700; margin-top: 6px;
}

/* =====================================================
   PROMO CARD
===================================================== */
.bio-promo-card {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: var(--stroke) solid var(--ink); border-radius: var(--radius);
  padding: 24px; text-align: center;
  box-shadow: var(--shadow-soft); margin-bottom: 24px;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .bio-promo-card { background: rgba(24,24,27,.82); }
.bio-promo-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--mint), var(--sun));
}

.promo-tag {
  display: inline-block; background: rgba(255,213,74,.2); color: var(--sun);
  border: 1px solid var(--sun); padding: 4px 10px; border-radius: 999px;
  font-size: var(--f-xs); font-weight: 900; letter-spacing: 0.5px; margin-bottom: 12px;
}

/* =====================================================
   LINK BUTTONS — Animated rotating border
===================================================== */
.bio-links-grid { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

.btn-border-wrap {
  position: relative;
  border-radius: 18px;
  padding: 2px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--sh-color);
}
.btn-border-wrap::before {
  content: '';
  position: absolute;
  width: 200%; height: 400%;
  top: -150%; left: -50%;
  background: conic-gradient(
    from 0deg,
    transparent   0deg,
    var(--accent) 60deg,
    var(--mint)  120deg,
    var(--sun)   180deg,
    var(--pink)  240deg,
    var(--accent)300deg,
    transparent  360deg
  );
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
}
@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.btn-border-wrap--wa::before {
  background: conic-gradient(
    from 0deg,
    transparent  0deg,
    #25D366      60deg,
    #44D17F     120deg,
    #25D366     180deg,
    #44D17F     240deg,
    #25D366     300deg,
    transparent 360deg
  );
}

.bio-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border: none; border-radius: 16px;
  color: var(--ink); font-weight: 800; font-size: var(--f-md);
  text-decoration: none; width: 100%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform 0.2s var(--ease), background 0.2s;
  position: relative; overflow: hidden; z-index: 1;
  transform: translateZ(0);
}
[data-theme="dark"] .bio-btn { background: rgba(24,24,27,.94); }
.bio-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(126,75,255,.12), transparent);
  transform: translateX(-100%); transition: transform 0.6s ease;
}
.bio-btn:hover::before  { transform: translateX(100%); }
.bio-btn:hover          { transform: translateY(-2px); }
.bio-btn:active         { transform: scale(0.97) !important; }

.bio-btn--wa { background: rgba(37,211,102,.12) !important; }
[data-theme="dark"] .bio-btn--wa { background: rgba(37,211,102,.08) !important; }

.bio-btn-icon  { font-size: var(--f-xl); display: flex; align-items: center; }
.bio-btn-arrow { opacity: 0.5; transition: transform 0.2s; }
.bio-btn:hover .bio-btn-arrow { transform: translateX(4px); opacity: 1; }

.btn--primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 18px; border-radius: 12px; border: var(--stroke) solid var(--ink);
  background: var(--accent); color: #fff; font-weight: 700; font-size: var(--f-sm);
  text-decoration: none; box-shadow: var(--shadow-soft); cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn--primary:active { transform: scale(0.96); box-shadow: 2px 2px 0 var(--sh-color); }
.btn-pulse { animation: buttonPulse 2s infinite; }
@keyframes buttonPulse {
  0%   { box-shadow: 0 0 0 0   rgba(126,75,255,.7); }
  50%  { box-shadow: 0 0 0 10px rgba(126,75,255,0); }
  100% { box-shadow: 0 0 0 0   rgba(126,75,255,0); }
}

/* =====================================================
   FOOTER BIO
===================================================== */
.bio-footer { text-align: center; margin-top: auto; padding-top: 20px; }
.bio-footer-links { display: flex; justify-content: center; gap: 14px; margin-bottom: 12px; }

.bio-social-icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 12px;
  border: var(--stroke) solid rgba(var(--ink-rgb),.2);
  color: var(--ink); background: var(--paper); transition: .2s;
}
.bio-social-icon:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-3px); }
.bio-social-icon:active { transform: scale(0.9); }

/* =====================================================
   SALES TOAST
===================================================== */
.sales-toast {
  position: fixed; bottom: 24px; left: 24px; z-index: 9998;
  background: var(--paper); border: var(--stroke) solid var(--ink);
  border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; max-width: 320px;
  transform: translateY(150%) scale(0.9); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease); pointer-events: none;
}
.sales-toast__icon {
  font-size: 1.4rem; background: rgba(126,75,255,.12);
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 10px; border: var(--stroke) solid var(--ink); flex-shrink: 0;
}
.sales-toast.is-visible { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.sales-toast__text { font-size: var(--f-xs); color: var(--ink); line-height: 1.45; }
.sales-toast__time { font-size: var(--f-xs); color: var(--muted); margin-top: 3px; font-weight: 700; }

/* =====================================================
   STICKY PROMO BANNER
===================================================== */
.global-sticky-promo {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  width: min(90%, 600px);
  background: var(--paper);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 12px 16px;
  z-index: 900;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2), 6px 6px 0 var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
  opacity: 0;
}
.global-sticky-promo.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.promo-content { display: flex; align-items: center; gap: 12px; flex: 1; }
.promo-icon {
  font-size: 2rem; line-height: 1;
  animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.promo-text h4 { font-size: 0.95rem; font-weight: 900; color: var(--ink); margin: 0 0 2px; }
.promo-text p  { font-size: 0.75rem; color: var(--muted); font-weight: 600; margin: 0; }

@keyframes promoKedip {
  0%   { background: var(--accent); color: #fff; transform: scale(1); box-shadow: 3px 3px 0 var(--ink); }
  33%  { background: var(--pink); color: #fff; transform: scale(1.08); box-shadow: 0 0 20px rgba(233,30,99,0.6), 5px 5px 0 var(--ink); }
  66%  { background: var(--sun); color: var(--ink); transform: scale(1.08); box-shadow: 0 0 20px rgba(255,213,74,0.6), 5px 5px 0 var(--ink); }
  100% { background: var(--accent); color: #fff; transform: scale(1); box-shadow: 3px 3px 0 var(--ink); }
}
.promo-btn {
  background: var(--accent); color: #fff;
  border: 2px solid var(--ink); border-radius: 8px;
  padding: 8px 20px; font-weight: 900; font-size: 0.85rem;
  text-decoration: none; white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
  animation: promoKedip 1.5s infinite;
}
.promo-btn:hover { animation-play-state: paused; transform: translate(-2px,-2px) scale(1.05); box-shadow: 5px 5px 0 var(--ink); }
.promo-btn:active { transform: translate(2px,2px) scale(0.95); box-shadow: 1px 1px 0 var(--ink); }

/* =====================================================
   SCROLLBAR
===================================================== */
html { scrollbar-width: thin; scrollbar-color: rgba(126,75,255,.55) rgba(255,255,255,.06); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: rgba(126,75,255,.08); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(126,75,255,.75), rgba(68,209,127,.45));
  border-radius: 999px; border: 2px solid var(--paper);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 480px) {
  .global-sticky-promo { bottom: 85px; width: calc(100% - 32px); padding: 10px 12px; gap: 8px; }
  .promo-icon { font-size: 1.6rem; display: none; }
  .promo-text h4 { font-size: 0.85rem; }
  .promo-text p { font-size: 0.7rem; }
  .promo-btn { padding: 8px 12px; font-size: 0.8rem; }
  .sales-toast { bottom: 80px; left: 14px; right: auto; max-width: calc(100vw - 28px); }
}

@media (max-width: 560px) {
  :root { --f-xs: 0.72rem; --f-sm: 0.82rem; --f-base: 0.94rem; --f-md: 1rem; }
  #preloader { padding: 16px; }
  .preloader__card { padding: 16px 14px 14px; }
  .preloader__percent { font-size: 1.9rem; text-align: center; }
  .preloader__hint { text-align: center; }
  .preloader__shapes .s1 { width: 100px; height: 100px; }
  .preloader__shapes .s2 { width:  90px; height:  90px; }
  .preloader__shapes .s3 { width: 110px; height:  80px; }
  .fab-container { left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bio-avatar { animation: none; }
  .btn-border-wrap::before { animation: none; }
  #matrix378 { display: none; }
}