/* styles.css — единый стиль для waruk.xyz */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root { --bg: #05000C; --text-hi: #EDE9FE; --text-mid: rgba(237,233,254,.52); --text-lo: rgba(237,233,254,.2); }
html, body { width: 100%; min-height: 100vh; background: var(--bg); color: var(--text-hi); font-family: 'Plus Jakarta Sans', sans-serif; overflow-x: hidden; }
.scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob-a { width: 820px; height: 820px; background: radial-gradient(circle at 38% 38%, rgba(109,40,217,.72) 0%, transparent 62%); top: -280px; left: -240px; filter: blur(72px); animation: ba 19s ease-in-out infinite; }
.blob-b { width: 680px; height: 680px; background: radial-gradient(circle at 62% 62%, rgba(192,38,211,.58) 0%, transparent 60%); bottom: -160px; right: -180px; filter: blur(88px); animation: bb 24s ease-in-out infinite; }
.blob-c { width: 480px; height: 480px; background: radial-gradient(circle, rgba(79,70,229,.48) 0%, transparent 68%); top: 45%; left: 52%; filter: blur(90px); animation: bc 30s ease-in-out infinite; }
.blob-d { width: 320px; height: 320px; background: radial-gradient(circle, rgba(168,85,247,.42) 0%, transparent 68%); top: 8%; right: 8%; filter: blur(56px); animation: bd 16s ease-in-out infinite; }
@keyframes ba { 0%,100%{transform:translate(0,0)} 33%{transform:translate(110px,90px)} 66%{transform:translate(50px,-70px)} }
@keyframes bb { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-90px,-110px)} }
@keyframes bc { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-70px,55px) scale(1.18)} 66%{transform:translate(50px,-90px) scale(.82)} }
@keyframes bd { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-55px,70px) scale(1.28)} }
.cursor-glow { position: fixed; pointer-events: none; z-index: 9999; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(139,47,230,.11) 0%, transparent 68%); transform: translate(-50%,-50%); transition: opacity .3s; }
.wrap { position: relative; z-index: 2; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 60px 24px; }
.content { width: 100%; max-width: 430px; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.profile { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: rise .9s cubic-bezier(.22,1,.36,1) both; }
.ava-wrap { position: relative; border-radius: 50%; }
.ava-glow { position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(circle, rgba(139,47,230,.55) 0%, transparent 68%); animation: pulse 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes pulse{ 0%,100%{opacity:.5;transform:scale(1)} 50%{opacity:.82;transform:scale(1.08)} }
.ava { position: relative; width: 86px; height: 86px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2.5px rgba(168,85,247,.55), 0 0 0 5px rgba(139,47,230,.18), inset 0 1px 0 rgba(255,255,255,.22); }
.ava img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.name { font-family: 'Syne', sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -1px; background: linear-gradient(135deg, #F5F0FF 0%, #C084FC 44%, #A855F7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bio { font-size: 13px; font-weight: 300; color: var(--text-mid); letter-spacing: .3px; }
.links { width: 100%; display: flex; flex-direction: column; gap: 10px; perspective: 900px; }
.card { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 22px; text-decoration: none; color: var(--text-hi); cursor: pointer; overflow: hidden; will-change: transform; background: linear-gradient(148deg, rgba(255,255,255,.11) 0%, rgba(168,85,247,.06) 55%, rgba(109,40,217,.03) 100%); backdrop-filter: blur(30px) saturate(200%) brightness(1.06); border-top: 1.5px solid rgba(255,255,255,.30); border-left: 1px solid rgba(255,255,255,.20); border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.06); box-shadow: 0 10px 36px -6px rgba(0,0,0,.50), 0 3px 10px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.24), inset 0 -1px 0 rgba(0,0,0,.16); transition: box-shadow .35s ease, border-color .35s ease; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 44%; background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.03) 55%, transparent 100%); border-radius: 22px 22px 0 0; pointer-events: none; }
.card::after { content: ''; position: absolute; inset: 0; border-radius: 22px; background: radial-gradient(ellipse at 50% -10%, rgba(168,85,247,.22) 0%, transparent 65%); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.card.hovered { box-shadow: 0 22px 52px -10px rgba(109,40,217,.45), 0 8px 18px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.30), inset 0 -1px 0 rgba(0,0,0,.16); border-top-color: rgba(255,255,255,.42); border-left-color: rgba(255,255,255,.28); }
.card.hovered::after { opacity: 1; }
.card:nth-child(1){animation: rise .82s cubic-bezier(.22,1,.36,1) .08s both}
.card:nth-child(2){animation: rise .82s cubic-bezier(.22,1,.36,1) .16s both}
.card:nth-child(3){animation: rise .82s cubic-bezier(.22,1,.36,1) .24s both}
.card:nth-child(4){animation: rise .82s cubic-bezier(.22,1,.36,1) .32s both}
.card:nth-child(5){animation: rise .82s cubic-bezier(.22,1,.36,1) .40s both}
.card:nth-child(6){animation: rise .82s cubic-bezier(.22,1,.36,1) .48s both}
.card:nth-child(7){animation: rise .82s cubic-bezier(.22,1,.36,1) .56s both}
.card:nth-child(8) { animation: rise .82s cubic-bezier(.22,1,.36,1) .64s both; }
@keyframes rise{ from{opacity:0;transform:translateY(26px) scale(.97)} to{opacity:1;transform:translateY(0) scale(1)} }
.icon { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.icon::before { content: ''; position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.04) 55%, transparent 100%); }
.icon svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.i-tg-dm { background: linear-gradient(140deg, #1D6BE8, #7C3AED); }
.i-tg-ch { background: linear-gradient(140deg, #06B6D4, #6D28D9); }
.i-tt { background: linear-gradient(140deg, #111, #6B21A8); }
.i-yt { background: linear-gradient(140deg, #FF0000, #9B111E); }
.i-steam { background: linear-gradient(140deg, #131A24, #3730A3); }
.i-steam-cs2 { background: linear-gradient(140deg, #2E1065, #7C3AED); }
.i-vk { background: linear-gradient(140deg, #4C75A3, #2A5270); }
.i-bio { background: linear-gradient(140deg, #8B5CF6, #2DD4BF); }
.meta { flex: 1; min-width: 0; }
.meta-title { font-family: 'Syne', sans-serif; font-size: 14.5px; font-weight: 700; color: #F0E6FF; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta-sub { font-size: 12px; font-weight: 300; color: var(--text-mid); margin-top: 2px; }
.badge { font-size: 9.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: rgba(216,180,254,.85); background: rgba(139,47,230,.22); border: 1px solid rgba(168,85,247,.28); border-radius: 6px; padding: 2px 7px; flex-shrink: 0; }
.arr { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .32s cubic-bezier(.34,1.56,.64,1), background .32s ease, border-color .32s ease; }
.card.hovered .arr { transform: translate(3px,-3px); background: rgba(139,47,230,.32); border-color: rgba(168,85,247,.45); }
.arr svg { width: 13px; height: 13px; color: rgba(255,255,255,.5); }
.music-player-section { width: 100%; background: linear-gradient(148deg, rgba(255,255,255,.08) 0%, rgba(168,85,247,.04) 55%, rgba(109,40,217,.02) 100%); backdrop-filter: blur(30px); border-radius: 28px; padding: 20px; border: 1px solid rgba(255,255,255,.12); margin-bottom: 10px; }
.section-title { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 12px; padding-bottom: 4px; border-bottom: 2px solid rgba(168,85,247,.5); display: inline-block; letter-spacing: -0.3px; background: linear-gradient(135deg, #E9D5FF, #C084FC); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.music-controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 12px; }
.music-btn { background: rgba(139,47,230,.32); border: 1px solid rgba(168,85,247,.5); border-radius: 40px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
.music-btn:hover { background: rgba(139,47,230,.6); transform: scale(0.96); }
.music-track-info { text-align: center; font-weight: 500; font-size: 14px; margin-bottom: 12px; color: #F0E6FF; }
.music-timeline { display: flex; align-items: center; gap: 12px; }
.music-timeline span { font-size: 11px; font-family: monospace; color: var(--text-mid); min-width: 35px; }
input[type=range] { flex: 1; height: 3px; -webkit-appearance: none; background: rgba(255,255,255,.2); border-radius: 5px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #C084FC; cursor: pointer; box-shadow: 0 0 4px #A855F7; }
.foot { font-size: 11px; font-weight: 400; color: var(--text-lo); text-transform: uppercase; letter-spacing: 1.8px; animation: rise .9s cubic-bezier(.22,1,.36,1) .58s both; }
@media (hover: none) { .cursor-glow { display: none; } }

/* Специфичные для bio.html (более широкая каретка) */
.bio-tagline { font-size: 13px; font-weight: 300; color: var(--text-mid); letter-spacing: .3px; }
.lang-switch { display: flex; gap: 12px; background: rgba(255,255,255,.06); backdrop-filter: blur(20px); border-radius: 60px; padding: 5px; border: 1px solid rgba(255,255,255,.15); margin-bottom: 8px; animation: rise .9s cubic-bezier(.22,1,.36,1) both; animation-delay: 0.05s; }
.lang-btn { background: transparent; border: none; font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600; padding: 6px 20px; border-radius: 40px; color: var(--text-mid); cursor: pointer; transition: all 0.2s ease; }
.lang-btn.active { background: linear-gradient(135deg, #7C3AED, #A855F7); color: white; box-shadow: 0 2px 8px rgba(139,47,230,.4); }
.bio-section { width: 100%; background: linear-gradient(148deg, rgba(255,255,255,.08) 0%, rgba(168,85,247,.04) 55%, rgba(109,40,217,.02) 100%); backdrop-filter: blur(30px) saturate(200%) brightness(1.06); border-radius: 32px; padding: 24px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 40px -12px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1); margin-bottom: 30px; animation: rise .9s cubic-bezier(.22,1,.36,1) both; }
/* Задержки для секций био */
.bio-section:nth-of-type(1) { animation-delay: 0.15s; }
.bio-section:nth-of-type(2) { animation-delay: 0.25s; }
.bio-section:nth-of-type(3) { animation-delay: 0.35s; }
.info-grid { display: flex; flex-direction: column; gap: 12px; }
.info-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 14px; line-height: 1.4; }
.info-label { font-weight: 600; color: #C084FC; min-width: 130px; font-size: 13px; letter-spacing: 0.3px; }
.info-value { color: rgba(237,233,254,.9); word-break: break-word; }
.info-value a { color: #C084FC; text-decoration: none; border-bottom: 1px dotted rgba(192,132,252,.5); }
.info-value a:hover { color: #E9D5FF; border-bottom-color: #A855F7; }

/* Анимация для плеера и кнопки возврата */
.music-player-section {
  animation: rise .9s cubic-bezier(.22,1,.36,1) both;
  animation-delay: 0.1s;
}
.back-link {
  width: 100%;
  margin-top: 10px;
  animation: rise .9s cubic-bezier(.22,1,.36,1) both;
  animation-delay: 0.45s;
}