/* NAHID'S WORLD — responsive premium dark interface */
:root {
  color-scheme: dark;
  --white: #f7f4fb;
  --muted: #aaa3b4;
  --purple: #a45cff;
}
* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body {
  min-width: 320px;
  overflow-x: hidden;
  background: #050407;
  color: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
}
.site-shell {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 70px 18px 76px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(43, 22, 62, .16), transparent 58%),
    #050407;
}
.fire-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}
#fireCanvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
}
.fire-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,4,7,.38) 0%, rgba(5,4,7,.32) 34%, rgba(5,4,7,.16) 68%, rgba(5,4,7,.03) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(5,4,7,.32) 0%, rgba(5,4,7,.10) 58%, transparent 100%);
}
.embers { display: none; }
.ambient { position: absolute; z-index: 1; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.ambient-one { width: 320px; height: 260px; top: 5%; left: -220px; background: rgba(90,35,150,.09); }
.ambient-two { width: 360px; height: 280px; right: -230px; bottom: 5%; background: rgba(108,35,175,.11); }

.profile-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 460px);
  margin: auto;
  padding: 34px 28px 29px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(19,16,25,.78), rgba(8,7,12,.74));
  box-shadow: 0 28px 90px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.055), 0 0 55px rgba(126,55,190,.07);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
  animation: card-enter .9s cubic-bezier(.2,.75,.25,1) both;
}
@keyframes card-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.eyebrow {
  display: flex; align-items: center; gap: 9px;
  color: #b9a9ca; font-size: 9px; font-weight: 700; letter-spacing: .25em;
}
.eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: #c69aff; box-shadow: 0 0 11px #a75cff; }
.eyebrow-line { width: 26px; height: 1px; background: linear-gradient(90deg,rgba(255,255,255,.3),transparent); }
.portrait-wrap { position: relative; flex: 0 0 auto; width: 148px; height: 148px; margin: 27px 0 21px; }
.portrait-aura {
  position: absolute; inset: -9px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(168,99,255,.9), transparent 43% 68%, rgba(255,255,255,.42), transparent 85%);
  filter: blur(9px); opacity: .62; animation: aura-turn 12s linear infinite;
}
@keyframes aura-turn { to { transform: rotate(360deg); } }
.portrait {
  position: relative; display: block; width: 100%; height: 100%;
  aspect-ratio: 1 / 1; object-fit: cover; object-position: center 43%;
  border: 1.5px solid rgba(255,255,255,.88); border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255,255,255,.045), 0 9px 34px rgba(0,0,0,.55);
}
h1 {
  margin: 0; font-family: "Space Grotesk", sans-serif;
  font-size: clamp(25px, 5vw, 34px); line-height: 1.18;
  font-weight: 600; letter-spacing: -.055em;
}
.tagline { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.title-rule { display: flex; align-items: center; gap: 8px; width: 78px; margin: 22px 0 20px; }
.title-rule span { flex: 1; height: 1px; background: linear-gradient(90deg,transparent,rgba(255,255,255,.32)); }
.title-rule span:last-child { transform: rotate(180deg); }
.title-rule i { width: 4px; height: 4px; border-radius: 50%; background: #c89aff; box-shadow: 0 0 9px #a75cff; }

.social-links {
  display: flex !important; flex-direction: row !important;
  flex-wrap: nowrap !important; align-items: center; justify-content: center;
  gap: 12px; width: 100%;
}
.social-link {
  display: grid; flex: 0 0 48px; place-items: center;
  width: 48px; height: 48px; color: #eeeaf4;
  border: 1px solid rgba(255,255,255,.14); border-radius: 15px;
  background: linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.025));
  box-shadow: 0 8px 22px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.065);
  text-decoration: none;
  transition: transform .24s ease, color .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
  -webkit-tap-highlight-color: transparent;
}
.social-link svg { display: block; width: 21px; height: 21px; }
.social-link:hover, .social-link:focus-visible {
  transform: translateY(-5px); color: #fff;
  border-color: rgba(207,171,255,.66); background: rgba(112,63,158,.25);
  box-shadow: 0 10px 28px rgba(124,63,195,.24), 0 0 17px rgba(175,123,255,.2);
  outline: none;
}
.social-link:active { transform: translateY(-1px) scale(.97); }
.micro-copy { margin: 18px 0 0; color: #817989; font-size: 8px; font-weight: 700; letter-spacing: .23em; }
.site-footer {
  position: absolute; z-index: 2; bottom: 24px; left: 12px; right: 12px;
  text-align: center; color: rgba(216,210,224,.48); font-size: 9px; letter-spacing: .22em;
}

/* Pure black-and-white intro — intentionally no logo or purple. */
.loader {
  position: fixed !important; z-index: 30; inset: 0 !important;
  display: grid !important; place-items: center !important;
  width: 100%; height: 100vh; height: 100svh;
  padding: 24px; background: #050505; color: #fff;
  opacity: 1; visibility: visible;
  transition: opacity .65s ease, visibility .65s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-inner { width: min(100%, 330px); text-align: center; }
.loader-welcome { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .25em; }
.loader-subtitle { margin: 13px 0 30px; color: #aaa; font-size: 12px; }
.progress-track { width: 100%; height: 2px; overflow: hidden; background: #292929; }
.progress-fill { display: block; width: 0; height: 100%; background: #fff; transition: width .12s linear; }
.loader-status { margin: 12px 0 0; color: #777; font-size: 8px; letter-spacing: .22em; }

@media (max-width: 480px) {
  .site-shell { padding: 48px 15px 68px; }
  .profile-card { width: min(100%, 410px); padding: 30px 16px 25px; border-radius: 24px; }
  .portrait-wrap { width: 132px; height: 132px; margin: 24px 0 19px; }
  .social-links { gap: clamp(6px, 2.3vw, 10px); }
  .social-link { flex-basis: 43px; width: 43px; height: 43px; border-radius: 13px; }
  .social-link svg { width: 20px; height: 20px; }
  .site-footer { bottom: 18px; font-size: 8px; }
}
@media (max-width: 350px) {
  .social-links { gap: 5px; }
  .social-link { flex-basis: 41px; width: 41px; height: 41px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  #fireCanvas { display: none; }
}
