/* ── Reset & Variables ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink: #ff3fa4;
  --pink-light: #ff79c6;
  --pink-glow: rgba(255, 63, 164, 0.18);
  --dark: #0b0b0f;
  --dark2: #111118;
  --dark3: #18181f;
  --card: #1c1c25;
  --border: rgba(255, 255, 255, 0.07);
  --text: #e8e8f0;
  --muted: #888899;
  --white: #ffffff;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--pink-light), #ffb3e0);
  z-index: 999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(255, 63, 164, 0.6);
}

/* ── Noise Texture Overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* section base */
section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ripple effect utils */
.ripple-host {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: ripple-expand 0.5s linear;
  pointer-events: none;
}

@keyframes ripple-expand {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* =====  additional styles for Bio Link ===== */
.bio-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 2;
}

/* main card — like commission-box with neon touch */
.bio-card {
  max-width: 560px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 2rem 2rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s;
  backdrop-filter: blur(2px);
}

/* animated border shimmer (same as commission-box) */
.bio-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 32px;
  background: linear-gradient(90deg, transparent, rgba(255, 63, 164, 0.35), transparent);
  background-size: 200% 100%;
  animation: border-shimmer 4s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes border-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* decorative glow orb (top right) */
.bio-card::after {
  content: '';
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 63, 164, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* avatar styling */
.avatar-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 2;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(255, 63, 164, 0.15);
  transition: transform 0.25s ease, box-shadow 0.3s;
}

.avatar:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(255, 63, 164, 0.35);
}

/* name & title */
.bio-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #ffd9f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.2rem;
}

.bio-badge {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.role-tag {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 63, 164, 0.12);
  border: 1px solid rgba(255, 63, 164, 0.25);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  color: var(--pink-light);
  letter-spacing: 0.02em;
}

.bio-desc {
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0.8rem 0 1.8rem;
  border-left: none;
  padding: 0 0.5rem;
  font-weight: 400;
}

/* mini stats row */
.bio-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  background: rgba(255, 63, 164, 0.03);
  border-radius: 60px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
}

.stat-mini {
  text-align: center;
}

.stat-mini-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.stat-mini-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* link grid (all links) */
.link-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.8rem 0 1rem;
  position: relative;
  z-index: 2;
}

/* each link item = modern style with SVG icons (FontAwesome) */
.bio-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.9rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  backdrop-filter: blur(2px);
}

.bio-link-item i {
  width: 28px;
  font-size: 1.4rem;
  text-align: center;
  color: var(--pink);
  transition: transform 0.2s, color 0.2s;
}

.bio-link-item .link-label {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.bio-link-item .arrow-icon {
  color: var(--muted);
  font-size: 0.8rem;
  transition: transform 0.25s, opacity 0.2s;
  opacity: 0.6;
}

.bio-link-item:hover {
  border-color: var(--pink);
  background: rgba(255, 63, 164, 0.07);
  transform: translateX(6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.bio-link-item:hover i {
  transform: scale(1.08);
  color: var(--pink-light);
}

.bio-link-item:hover .arrow-icon {
  opacity: 1;
  transform: translateX(4px);
  color: var(--pink);
}

/* tiny footer */
.bio-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.7rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
  letter-spacing: 0.3px;
}

.bio-footer a {
  color: var(--pink-light);
  text-decoration: none;
}

.bio-footer a:hover {
  text-decoration: underline;
}

/* responsive touch */
@media (max-width: 500px) {
  .bio-card {
    padding: 1.6rem;
  }

  .bio-name {
    font-size: 1.7rem;
  }

  .bio-link-item {
    padding: 0.75rem 1rem;
  }

  .bio-stats {
    gap: 1rem;
  }

  .avatar {
    width: 92px;
    height: 92px;
  }
}

/* additional inline styles for dropdown & modal */
.tools-dropdown {
  margin: 0.5rem 0 1.2rem 0;
  position: relative;
  z-index: 15;
}

.dropdown-toggle {
  width: 100%;
  background: linear-gradient(135deg, #1c1c25, #14141c);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.dropdown-toggle i:first-child {
  color: var(--pink);
  margin-right: 10px;
  font-size: 1.2rem;
}

.dropdown-toggle span {
  flex: 1;
  text-align: left;
  margin-left: 6px;
}

.dropdown-toggle .chevron {
  transition: transform 0.3s;
  color: var(--muted);
}

.dropdown-toggle:hover {
  border-color: var(--pink);
  background: rgba(255, 63, 164, 0.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.dropdown-menu {
  position: relative;
  width: 100%;
  margin-top: 8px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0.7rem 0;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 100;
  max-height: 380px;
  overflow-y: auto;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1.2rem 0.3rem;
  color: var(--pink-light);
  font-weight: 600;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.7rem 1.2rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
  border-left: 2px solid transparent;
}

.dropdown-item i {
  width: 24px;
  color: var(--pink);
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: rgba(255, 63, 164, 0.12);
  border-left-color: var(--pink);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.dropdown-more {
  background: transparent;
  border: none;
  width: 100%;
  text-align: center;
  padding: 0.8rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--pink-light);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dropdown-more:hover {
  background: rgba(255, 63, 164, 0.15);
  color: white;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}

.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.modal-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 32px;
  max-width: 380px;
  width: 90%;
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.2s;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-container i {
  font-size: 2.8rem;
  color: var(--pink);
  margin-bottom: 0.8rem;
}

.modal-container h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.modal-container p {
  color: var(--muted);
  margin-bottom: 1.8rem;
  font-size: 0.9rem;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.modal-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 60px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.85rem;
}

.modal-btn.yes {
  background: var(--pink);
  color: #0b0b0f;
}

.modal-btn.yes:hover {
  background: var(--pink-light);
  transform: scale(1.02);
}

.modal-btn.no {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.modal-btn.no:hover {
  border-color: var(--pink);
  background: rgba(255, 63, 164, 0.1);
}

@media (max-width: 500px) {
  .dropdown-menu {
    max-height: 320px;
  }

  .modal-container {
    padding: 1.5rem;
  }
}