:root {
  --bg-deep: #05070d;
  --bg-deeper: #020308;
  --panel-top: rgba(31, 42, 62, 0.74);
  --panel-bottom: rgba(8, 12, 22, 0.72);
  --panel-hover-top: rgba(44, 59, 86, 0.82);
  --panel-hover-bottom: rgba(12, 18, 31, 0.78);
  --text-primary: #f5f7ff;
  --text-secondary: #d8e1ff;
  --text-muted: #91a0bf;
  --accent-blue: #a9c4ff;
  --accent-cyan: #75eaff;
  --accent-purple: #a66bff;
  --accent-silver: #e2e6f2;
  --line: rgba(192, 209, 255, 0.18);
  --line-strong: rgba(214, 226, 255, 0.34);
  --shadow-heavy: 0 24px 80px rgba(0, 0, 0, 0.48);
  --shadow-soft: 0 12px 42px rgba(0, 0, 0, 0.30);
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --transition: 320ms cubic-bezier(0.16, 1, 0.3, 1);
  --telegram-color: #35c1ff;
  --telegram-glow: rgba(53, 193, 255, 0.38);
  --instagram-color: #f25aff;
  --instagram-glow: rgba(242, 90, 255, 0.34);
  --discord-color: #8d80ff;
  --discord-glow: rgba(141, 128, 255, 0.36);
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-deeper);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
}

/* Subtle film grain. It is deliberately light so the text stays clean. */
body::after {
  z-index: 11;
  opacity: 0.035;
  mix-blend-mode: screen;
  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='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

::selection { background: rgba(166, 107, 255, 0.75); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deeper); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(169,196,255,.32), rgba(166,107,255,.28));
  border-radius: 999px;
}

/* ───────────────── Intro ───────────────── */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  background:
    radial-gradient(circle at 50% 38%, rgba(95, 117, 171, 0.14), transparent 34%),
    linear-gradient(180deg, #060814, #020307 78%);
  transition: opacity 520ms ease, visibility 520ms ease;
}

#intro-screen.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }

.intro-cross {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--accent-silver);
  text-shadow: 0 0 28px rgba(169, 196, 255, 0.32);
  opacity: 0;
  animation: introFadeIn 580ms 120ms forwards ease-out, introFloat 2600ms 700ms ease-in-out infinite;
}

.intro-text {
  font-family: 'Orbitron', monospace;
  font-size: clamp(10px, 1.2vw, 13px);
  letter-spacing: clamp(4px, .65vw, 8px);
  text-transform: uppercase;
  color: var(--accent-blue);
  opacity: 0;
  text-shadow: 0 0 24px rgba(117, 234, 255, 0.23);
  animation: introFadeIn 620ms 280ms forwards ease-out, introGlitch 80ms 1320ms 4;
}

.intro-bar {
  width: min(220px, 55vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(169, 196, 255, 0.10);
  box-shadow: 0 0 26px rgba(169, 196, 255, 0.08);
  opacity: 0;
  animation: introFadeIn 420ms 480ms forwards ease-out;
}

.intro-bar-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-purple), transparent);
  animation: introBarFill 1550ms 650ms forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes introFadeIn { to { opacity: 1; } }
@keyframes introFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes introBarFill { to { width: 100%; } }
@keyframes introGlitch {
  0% { transform: translateX(-2px); opacity: .65; }
  33% { transform: translateX(3px); opacity: 1; }
  66% { transform: translateX(-1px); opacity: .84; }
  100% { transform: translateX(0); opacity: 1; }
}

/* ───────────────── Background ───────────────── */
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.bg-wings {
  background: url('../images/bg-desktop.png') center center / cover no-repeat;
  opacity: 0;
  transform: scale(1.035);
  filter: saturate(0.92) contrast(1.08) brightness(0.78);
  animation: bgReveal 1900ms 1900ms forwards ease-out;
  will-change: transform;
}

.bg-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 5, 11, 0.72) 0%, rgba(3, 5, 11, 0.24) 31%, rgba(3, 5, 11, 0.24) 69%, rgba(3, 5, 11, 0.74) 100%),
    radial-gradient(ellipse 42% 54% at 50% 42%, rgba(27, 36, 55, 0.05) 0%, rgba(6, 9, 17, 0.42) 74%, rgba(2, 3, 8, 0.80) 100%);
}

.bg-center-glow {
  z-index: 1;
  background:
    radial-gradient(ellipse 28% 34% at 50% 28%, rgba(169, 196, 255, 0.22), transparent 72%),
    radial-gradient(ellipse 44% 52% at 50% 58%, rgba(166, 107, 255, 0.08), transparent 74%);
  opacity: .78;
  animation: glowBreathe 6400ms ease-in-out infinite;
}

.bg-fog {
  z-index: 1;
  opacity: .72;
  background:
    radial-gradient(ellipse 65% 24% at 16% 82%, rgba(114, 142, 192, .13), transparent 70%),
    radial-gradient(ellipse 55% 22% at 86% 72%, rgba(105, 127, 178, .12), transparent 69%),
    radial-gradient(ellipse 34% 18% at 50% 92%, rgba(166, 107, 255, .06), transparent 70%);
  filter: blur(8px);
  animation: fogDrift 26000ms ease-in-out infinite alternate;
}

.bg-vignette {
  z-index: 4;
  background:
    radial-gradient(ellipse 54% 62% at 50% 47%, transparent 26%, rgba(2, 3, 8, 0.54) 75%, rgba(2, 3, 8, 0.93) 100%),
    linear-gradient(180deg, rgba(2,3,8,.28), transparent 28%, rgba(2,3,8,.44));
}

@keyframes bgReveal {
  from { opacity: 0; transform: scale(1.075); filter: blur(5px) saturate(.85) brightness(.62); }
  to { opacity: 0.94; transform: scale(1.035); filter: saturate(.92) contrast(1.08) brightness(.78); }
}

@keyframes glowBreathe {
  0%, 100% { opacity: .46; transform: scale(1); }
  50% { opacity: .86; transform: scale(1.045); }
}

@keyframes fogDrift {
  0% { transform: translate3d(-3vw, 1.5vh, 0) scale(1.03); }
  100% { transform: translate3d(3vw, -1vh, 0) scale(1.08); }
}

#fog-canvas {
  position: fixed;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ───────────────── Falling glyphs ───────────────── */
.feather {
  position: fixed;
  z-index: 2;
  pointer-events: none;
  color: rgba(234, 240, 255, .16);
  text-shadow: 0 0 18px rgba(169,196,255,.18);
  animation: featherFall linear infinite;
}

@keyframes featherFall {
  0% { transform: translate3d(0, -12vh, 0) rotate(0deg); opacity: 0; }
  10% { opacity: .9; }
  86% { opacity: .62; }
  100% { transform: translate3d(90px, 112vh, 0) rotate(540deg); opacity: 0; }
}

/* ───────────────── Layout ───────────────── */
.main-content {
  position: relative;
  z-index: 10;
  width: min(100%, 520px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(26px, 5vh, 58px) 20px 22px;
  opacity: 0;
  isolation: isolate;
  animation: contentReveal 1150ms 2200ms forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.main-content::before {
  content: '';
  position: absolute;
  inset: 6vh 8px 7vh;
  z-index: -1;
  border-radius: 48px;
  background: linear-gradient(180deg, rgba(12, 18, 29, .18), rgba(4, 7, 14, .08));
  box-shadow: 0 0 120px rgba(4, 8, 18, .36);
  pointer-events: none;
}

@keyframes contentReveal {
  from { opacity: 0; transform: translateY(28px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.deco-cross-top {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 16px;
  margin: 0 0 18px 16px;
  opacity: .72;
  text-shadow: 0 0 22px rgba(169, 196, 255, .22);
  animation: gentlePulse 4200ms ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% { opacity: .42; }
  50% { opacity: .86; }
}

/* ───────────────── Avatar ───────────────── */
.avatar-container {
  position: relative;
  width: clamp(112px, 13vh, 138px);
  height: clamp(112px, 13vh, 138px);
  margin-bottom: 22px;
  display: grid;
  place-items: center;
}

.avatar-halo,
.avatar-ring { position: absolute; border-radius: 50%; pointer-events: none; }

.avatar-halo {
  inset: -40px;
  background:
    radial-gradient(circle, rgba(169, 196, 255, .22) 0%, rgba(166, 107, 255, .10) 38%, transparent 68%);
  filter: blur(24px);
  opacity: .78;
  animation: haloPulse 4600ms ease-in-out infinite;
}

.avatar-ring {
  inset: -7px;
  background:
    conic-gradient(from 150deg, transparent 0 55%, rgba(117,234,255,.68), rgba(166,107,255,.75), rgba(255,255,255,.45), transparent 82% 100%);
  box-shadow: 0 0 26px rgba(169, 196, 255, .15), inset 0 0 18px rgba(169,196,255,.12);
  opacity: .58;
  animation: ringSpin 9000ms linear infinite;
}

.avatar {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(230, 238, 255, .24);
  box-shadow:
    0 0 0 8px rgba(5, 8, 14, .42),
    0 0 44px rgba(169, 196, 255, .19),
    0 24px 60px rgba(0, 0, 0, .46);
  opacity: 0;
  transform: scale(.88);
  animation: avatarReveal 900ms 2520ms forwards cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.avatar-container:hover .avatar {
  transform: scale(1.045);
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    0 0 0 8px rgba(5, 8, 14, .44),
    0 0 62px rgba(169, 196, 255, .30),
    0 26px 70px rgba(0, 0, 0, .52);
}

.avatar-container:hover .avatar-ring { opacity: .88; }

@keyframes haloPulse {
  0%, 100% { opacity: .48; transform: scale(.96); }
  50% { opacity: .92; transform: scale(1.10); }
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes avatarReveal { to { opacity: 1; transform: scale(1); } }

/* ───────────────── Name and text ───────────────── */
.nickname-container { position: relative; text-align: center; margin-bottom: 7px; }

.nickname {
  margin: 0;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(34px, 5vw, 48px);
  line-height: .96;
  font-weight: 700;
  letter-spacing: clamp(6px, .82vw, 10px);
  text-transform: uppercase;
  color: var(--text-primary);
  background: linear-gradient(135deg, #ffffff 0%, #cbd9ff 38%, #b79cff 66%, #f5f7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(169, 196, 255, .14);
  filter: drop-shadow(0 0 28px rgba(169, 196, 255, .28));
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  user-select: none;
  animation: nickReveal 850ms 2700ms forwards cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform var(--transition), filter var(--transition), letter-spacing var(--transition);
}

.nickname:hover { transform: translateY(-1px) scale(1.018); filter: drop-shadow(0 0 42px rgba(169,196,255,.44)); }
.nickname .cross { font-weight: 400; color: var(--accent-purple); -webkit-text-fill-color: var(--accent-purple); text-shadow: 0 0 26px rgba(166,107,255,.42); }

@keyframes nickReveal { to { opacity: 1; transform: translateY(0); } }

.copy-tooltip {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%) translateY(5px);
  padding: 6px 10px;
  border: 1px solid rgba(169,196,255,.16);
  border-radius: 999px;
  background: rgba(8, 12, 22, .72);
  font-family: 'Orbitron', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-blue);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.copy-tooltip.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.nick-line {
  width: 0;
  height: 1px;
  margin: 15px auto 11px;
  background: linear-gradient(90deg, transparent, rgba(117,234,255,.86), rgba(166,107,255,.86), transparent);
  box-shadow: 0 0 18px rgba(169,196,255,.38);
  opacity: 0;
  animation: lineReveal 720ms 2880ms forwards ease-out;
}
@keyframes lineReveal { to { width: 92px; opacity: .78; } }

.slogan {
  margin: 0 0 25px;
  max-width: 92vw;
  font-family: 'Orbitron', monospace;
  font-size: clamp(9px, 1.1vw, 11px);
  line-height: 1.45;
  letter-spacing: clamp(3px, .46vw, 6px);
  text-transform: uppercase;
  text-align: center;
  color: rgba(204, 214, 243, .66);
  text-shadow: 0 0 22px rgba(169,196,255,.12);
  opacity: 0;
  animation: sloganReveal 720ms 3060ms forwards ease-out;
}
@keyframes sloganReveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ───────────────── Cards ───────────────── */
.social-cards {
  width: 100%;
  display: grid;
  gap: 11px;
  margin-bottom: 24px;
}

.social-card {
  min-height: 70px;
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 16px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, var(--panel-top), var(--panel-bottom)),
    radial-gradient(circle at 12% 0%, rgba(169,196,255,.12), transparent 44%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.28);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  animation: cardReveal 620ms calc(3280ms + var(--i, 0) * 110ms) forwards cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
  -webkit-tap-highlight-color: transparent;
}

@supports ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
  .social-card,
  .about-section,
  .status-item,
  .copy-tooltip {
    -webkit-backdrop-filter: blur(10px) saturate(1.08);
    backdrop-filter: blur(10px) saturate(1.08);
  }
}

.performance-mode .social-card,
.performance-mode .about-section,
.performance-mode .status-item,
.performance-mode .copy-tooltip {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.social-card::before,
.social-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.social-card::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.13), transparent 18% 82%, rgba(255,255,255,.05)),
    radial-gradient(circle at 0% 50%, var(--card-glow, rgba(169,196,255,.18)), transparent 46%);
  opacity: .52;
}

.social-card::after {
  width: 120px;
  height: 120px;
  right: -70px;
  top: 50%;
  transform: translateY(-50%) scale(.78);
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-glow, rgba(169,196,255,.18)), transparent 68%);
  opacity: .15;
}

.social-card.telegram { --card-glow: var(--telegram-glow); --card-color: var(--telegram-color); }
.social-card.instagram { --card-glow: var(--instagram-glow); --card-color: var(--instagram-color); }
.social-card.discord { --card-glow: var(--discord-glow); --card-color: var(--discord-color); }

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-4px) scale(1.012);
  border-color: var(--line-strong);
  background: linear-gradient(135deg, var(--panel-hover-top), var(--panel-hover-bottom));
  box-shadow: 0 18px 58px rgba(0, 0, 0, .44), 0 0 34px var(--card-glow, rgba(169,196,255,.18)), inset 0 1px 0 rgba(255,255,255,.12);
  outline: none;
}
.social-card:hover::before,
.social-card:focus-visible::before { opacity: .78; }
.social-card:hover::after,
.social-card:focus-visible::after { opacity: .46; transform: translateY(-50%) scale(1); }

.social-card.is-disabled {
  cursor: default;
  filter: saturate(.78);
}
.social-card.is-disabled:hover,
.social-card.is-disabled:focus-visible {
  transform: translateY(0) scale(1);
  border-color: var(--line);
  background:
    linear-gradient(135deg, var(--panel-top), var(--panel-bottom)),
    radial-gradient(circle at 12% 0%, rgba(169,196,255,.12), transparent 44%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.28);
}
.social-card.is-disabled .social-arrow {
  opacity: .6;
}
.social-card.is-disabled:hover .social-arrow,
.social-card.is-disabled:focus-visible .social-arrow,
.social-card.is-disabled:hover .social-icon-wrap,
.social-card.is-disabled:focus-visible .social-icon-wrap {
  transform: none;
}

@keyframes cardReveal { to { opacity: 1; transform: translateY(0) scale(1); } }

.social-icon-wrap {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border-radius: 16px;
  color: rgba(226, 232, 249, .78);
  background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform var(--transition), color var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.social-icon { width: 21px; height: 21px; display: block; }
.social-card:hover .social-icon-wrap,
.social-card:focus-visible .social-icon-wrap {
  color: var(--card-color, var(--accent-blue));
  transform: scale(1.06) rotate(-2deg);
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  box-shadow: 0 0 18px var(--card-glow, rgba(169,196,255,.24)), inset 0 1px 0 rgba(255,255,255,.12);
}

.social-info { min-width: 0; position: relative; z-index: 1; display: block; }
.social-name {
  display: block;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: .15px;
  margin-bottom: 4px;
}
.social-desc {
  display: block;
  font-size: 12px;
  line-height: 1.22;
  color: rgba(200, 211, 238, .62);
  letter-spacing: .2px;
}
.social-arrow {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  font-size: 14px;
  color: rgba(211, 222, 250, .52);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform var(--transition), color var(--transition), background var(--transition), border-color var(--transition);
}
.social-card:hover .social-arrow,
.social-card:focus-visible .social-arrow {
  transform: translateX(2px) translateY(-2px);
  color: var(--text-primary);
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.14);
}

/* ───────────────── About ───────────────── */
.about-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 25px 28px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(25, 34, 52, .72), rgba(7, 11, 20, .74)),
    radial-gradient(circle at 80% 10%, rgba(166,107,255,.12), transparent 42%);
  box-shadow: var(--shadow-heavy), inset 0 1px 0 rgba(255,255,255,.08);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  animation: cardReveal 620ms 3820ms forwards cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 19px;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.075), transparent),
    radial-gradient(circle at 12% 110%, rgba(117,234,255,.08), transparent 44%);
  opacity: .72;
  pointer-events: none;
}
.about-section > * { position: relative; z-index: 1; }

.about-label {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(187, 201, 235, .62);
}
.about-label::before,
.about-label::after {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169,196,255,.58));
}
.about-label::after { transform: rotate(180deg); }
.about-text {
  margin: 0;
  color: var(--accent-silver);
  font-size: 14px;
  line-height: 1.72;
  font-weight: 450;
  text-shadow: 0 1px 18px rgba(0,0,0,.22);
}
.about-text strong { color: #fff; font-weight: 700; }

/* ───────────────── Status ───────────────── */
.status-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(10px);
  animation: statusReveal 620ms 3960ms forwards ease-out;
}
@keyframes statusReveal { to { opacity: 1; transform: translateY(0); } }

.status-item {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(194, 211, 255, .14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20, 28, 44, .74), rgba(6, 10, 19, .70));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 26px rgba(0,0,0,.24);
  color: rgba(222, 230, 252, .82);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .16px;
  white-space: nowrap;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.status-item:hover { transform: translateY(-2px); border-color: rgba(214,226,255,.25); background: linear-gradient(135deg, rgba(29, 39, 60, .78), rgba(8, 13, 24, .74)); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.status-dot.online { background: #56f196; box-shadow: 0 0 12px rgba(86, 241, 150, .80); animation: statusPulse 2200ms ease-in-out infinite; }
.status-dot.purple { background: var(--accent-purple); box-shadow: 0 0 12px rgba(166,107,255,.72); animation: statusPulse 2600ms 260ms ease-in-out infinite; }
.status-dot.blue { background: var(--accent-blue); box-shadow: 0 0 12px rgba(169,196,255,.72); animation: statusPulse 2600ms 520ms ease-in-out infinite; }
@keyframes statusPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .62; transform: scale(1.22); } }

/* ───────────────── Footer ───────────────── */
.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 12px 16px 0;
}
.footer-text {
  margin: 0;
  color: rgba(152, 166, 202, .56);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 2.2px;
  transition: opacity var(--transition), color var(--transition);
}
.footer:hover .footer-text { color: rgba(203,214,244,.72); }
.footer-text .footer-cross { margin: 0 5px; color: var(--accent-purple); text-shadow: 0 0 14px rgba(166,107,255,.42); }

/* ───────────────── Responsive ───────────────── */
@media (max-width: 768px) {
  .bg-wings { background-image: url('../images/bg-mobile.png'); background-size: cover; background-position: center; opacity: .88; }
  .bg-overlay { background: linear-gradient(180deg, rgba(3,5,11,.45), rgba(3,5,11,.74)), radial-gradient(ellipse 80% 52% at 50% 42%, rgba(4,7,14,.14), rgba(2,3,8,.72)); }
  .main-content { width: 100%; justify-content: flex-start; padding: 34px 16px 24px; }
  .main-content::before { inset: 18px 8px 22px; border-radius: 34px; }
  .avatar-container { width: 104px; height: 104px; margin-bottom: 20px; }
  .avatar-halo { inset: -34px; }
  .deco-cross-top { font-size: 12px; letter-spacing: 12px; margin-left: 12px; margin-bottom: 17px; }
  .nickname { font-size: clamp(26px, 9vw, 34px); letter-spacing: clamp(4px, 1.4vw, 6px); }
  .slogan { margin-bottom: 22px; letter-spacing: 3.4px; }
  .social-card { min-height: 66px; grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 12px; padding: 11px 12px 11px 14px; border-radius: 18px; }
  .social-icon-wrap { width: 40px; height: 40px; border-radius: 14px; }
  .social-icon { width: 20px; height: 20px; }
  .social-name { font-size: 14px; }
  .social-desc { font-size: 11px; }
  .about-section { padding: 22px 19px; border-radius: 22px; }
  .about-label { font-size: 9px; letter-spacing: 4px; }
  .about-label::before, .about-label::after { width: 24px; }
  .about-text { font-size: 13px; line-height: 1.65; }
  .status-section { gap: 7px; }
  .status-item { min-height: 30px; padding: 7px 11px; font-size: 11px; }
  .feather { display: none !important; }
}

@media (max-width: 390px) {
  .main-content { padding-left: 13px; padding-right: 13px; }
  .nickname { font-size: 24px; letter-spacing: 3px; }
  .slogan { font-size: 8.5px; letter-spacing: 2.7px; }
  .social-card { grid-template-columns: 38px minmax(0, 1fr) 26px; padding: 10px 11px; gap: 10px; }
  .social-icon-wrap { width: 38px; height: 38px; }
  .about-section { padding: 19px 15px; }
  .status-item { font-size: 10px; padding: 6px 9px; }
  .footer-text { font-size: 10px; letter-spacing: 1.6px; }
}

@media (min-width: 1300px) and (min-height: 760px) {
  .social-card { min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
  #fog-canvas, .feather, .avatar-ring { display: none !important; }
  .bg-wings, .main-content, .avatar, .nickname, .slogan, .about-section, .status-section, .social-card { opacity: 1 !important; transform: none !important; filter: none !important; }
}
