/* =========================================================
   ОБЩИЕ ПЕРЕМЕННЫЕ (палитра/шрифты)
   ========================================================= */
:root{
  --bg-deep:#0c0820;
  --bg-panel:#171033;
  --bg-card:#1f1648;
  --accent-blue:#2a1ff0;
  --accent-violet:#5a3df0;
  --accent-yellow:#f4e04d;
  --text-main:#e9e6f5;
  --text-dim:#9d96c4;
  --border-glow:#4631c9;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:var(--bg-deep);
  color:var(--text-main);
  font-family:'Inter', 'Segoe UI', Tahoma, sans-serif;
  min-height:100vh;
}

a{color:var(--accent-yellow); text-decoration:none;}
a:hover{text-decoration:underline;}

/* =========================================================
   1. ЭКРАН ВЫБОРА ЯЗЫКА — имитация Windows XP Setup Wizard
   ========================================================= */
.xp-wrapper{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100vh;
  background:#0a246a; /* классический XP синий */
  font-family:'Tahoma','Segoe UI',sans-serif;
}

.xp-window{
  width:640px;
  max-width:92vw;
  background:#ece9d8;
  border:2px solid #08246a;
  border-radius:6px;
  box-shadow:0 0 0 1px #fff inset, 0 10px 40px rgba(0,0,0,.6);
  overflow:hidden;
}

.xp-titlebar{
  background:linear-gradient(180deg,#1a5fd6 0%, #0a3fc0 45%, #082fa0 100%);
  color:#fff;
  font-weight:bold;
  font-size:13px;
  padding:6px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.xp-titlebar .xp-title{display:flex;align-items:center;gap:8px;}
.xp-titlebar .xp-icon{width:16px;height:16px;background:#fff;border-radius:2px;display:inline-block;}
.xp-controls span{
  display:inline-block;width:21px;height:18px;margin-left:3px;
  background:#1c5fd1;border:1px solid #fff8;border-radius:2px;text-align:center;line-height:16px;font-size:11px;
}

.xp-body{
  display:flex;
  min-height:360px;
}

.xp-sidebar{
  width:170px;
  background:linear-gradient(180deg,#1546c9 0%, #0a3fc0 100%);
  color:#fff;
  padding:18px 14px;
  font-size:13px;
}
.xp-sidebar h2{font-size:15px;margin:0 0 10px;line-height:1.3;}
.xp-sidebar p{color:#cfe0ff;font-size:12px;line-height:1.4;}

.xp-main{
  flex:1;
  background:#ece9d8;
  padding:24px 28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.xp-main h1{
  font-size:18px;
  color:#0a246a;
  margin:0 0 6px;
}
.xp-main .xp-sub{
  font-size:12px;
  color:#333;
  margin:0 0 20px;
  border-bottom:1px solid #aca899;
  padding-bottom:14px;
}

.lang-options{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.lang-btn{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  background:#fff;
  border:1px solid #7f9db9;
  border-radius:3px;
  cursor:pointer;
  font-size:13px;
  color:#000;
  transition:background .15s;
}
.lang-btn:hover{background:#d8e6fb;border-color:#0a246a;}
.lang-btn .flag{
  width:22px;height:16px;border:1px solid #888;flex:none;
}
.flag-ru{background:linear-gradient(180deg,#fff 0 33%, #0039a6 33% 66%, #d52b1e 66% 100%);}
.flag-en{
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0, #b22234 9%,
    #fff 9%, #fff 18%
  );
  position: relative;
}
.flag-en::before{
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 45%;
  height: 54%;
  background: #3c3b6e;
}

.xp-footer{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:14px 28px;
  background:#ece9d8;
  border-top:1px solid #aca899;
}
.xp-footer button{
  font-family:Tahoma,sans-serif;
  font-size:12px;
  padding:5px 18px;
  border:1px solid #7f9db9;
  border-radius:3px;
  background:linear-gradient(180deg,#fff,#dbe6f4);
  cursor:not-allowed;
  color:#888;
}

/* =========================================================
   2. ПРОФИЛЬ (страница в стиле Bandcamp)
   ========================================================= */
.site-header{
  background:linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-violet) 60%, #3a1fb0 100%);
  padding:26px 40px;
  position:relative;
  overflow:hidden;
}
.glitch-title{
  font-family:'Press Start 2P', monospace;
  font-size:clamp(18px, 3vw, 30px);
  color:#fff;
  letter-spacing:2px;
  text-shadow:2px 0 #ff4dd2, -2px 0 #4dfff4;
  margin:0;
}
.site-header .subtitle{
  font-family:monospace;
  color:#cfd0ff;
  font-size:13px;
  margin-top:6px;
  letter-spacing:3px;
}

.top-nav{
  display:flex;
  gap:26px;
  padding:0 40px;
  background:var(--bg-panel);
  border-bottom:1px solid var(--border-glow);
}
.top-nav button{
  background:none;
  border:none;
  color:var(--text-dim);
  font-size:14px;
  font-weight:600;
  padding:14px 0;
  cursor:pointer;
  border-bottom:3px solid transparent;
}
.top-nav button.active{
  color:#fff;
  border-bottom-color:var(--accent-yellow);
}
.lang-switch{
  margin-left:auto;
  display:flex;
  gap:6px;
  align-items:center;
}
.lang-switch a{
  font-size:12px;
  padding:5px 10px;
  border:1px solid var(--border-glow);
  border-radius:4px;
  color:var(--text-dim);
}
.lang-switch a.current{color:var(--accent-yellow); border-color:var(--accent-yellow);}

.layout{
  display:flex;
  gap:34px;
  padding:36px 40px 60px;
  max-width:1200px;
  margin:0 auto;
}
.main-col{flex:1 1 65%; min-width:0;}
.side-col{flex:0 0 300px;}

/* --- аудиоплеер --- */
.player-card{
  background:var(--bg-card);
  border:1px solid var(--border-glow);
  border-radius:8px;
  padding:18px 20px;
  margin-bottom:30px;
}
.player-card h3{
  margin:0 0 12px;
  font-size:13px;
  letter-spacing:2px;
  color:var(--text-dim);
  text-transform:uppercase;
}
.player-card audio{width:100%;}
.player-hint{
  font-size:11px;
  color:var(--text-dim);
  margin-top:10px;
}

/* --- аккордеон-вкладки --- */
.accordion{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.accordion-item{
  background:var(--bg-card);
  border:1px solid var(--border-glow);
  border-radius:8px;
  overflow:hidden;
}
.accordion-header{
  width:100%;
  text-align:left;
  background:none;
  border:none;
  color:#fff;
  font-size:16px;
  font-weight:700;
  padding:16px 20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.accordion-header .num{
  color:var(--accent-yellow);
  font-family:monospace;
  margin-right:10px;
}
.accordion-header .arrow{
  transition:transform .25s;
  color:var(--text-dim);
}
.accordion-item.open .arrow{transform:rotate(180deg);}

.accordion-panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
  padding:0 20px;
}
.accordion-item.open .accordion-panel{
  padding:0 20px 20px;
}
.accordion-panel p{
  color:var(--text-main);
  line-height:1.6;
  font-size:14.5px;
}
.accordion-panel img{
  max-width:100%;
  border:1px solid var(--border-glow);
  border-radius:6px;
  margin-top:10px;
}
.tag-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
.tag-list span{
  background:#2a1f60;
  border:1px solid var(--border-glow);
  border-radius:14px;
  padding:4px 12px;
  font-size:12.5px;
  color:var(--accent-yellow);
}
.dni-list{padding-left:18px; line-height:1.7; font-size:14.5px;}
.commission-cta{
  display:inline-block;
  margin-top:14px;
  background:var(--accent-yellow);
  color:#1a1140;
  font-weight:700;
  padding:10px 18px;
  border-radius:6px;
}

/* --- боковая карточка --- */
.profile-card{
  background:var(--bg-card);
  border:1px solid var(--border-glow);
  border-radius:8px;
  padding:22px;
  text-align:center;
  position:sticky;
  top:20px;
}
.profile-card img.avatar{
  width:160px;
  height:160px;
  object-fit:cover;
  border-radius:8px;
  border:2px solid var(--accent-yellow);
}
.profile-card h2{margin:16px 0 2px; font-size:19px;}
.profile-card .role{color:var(--text-dim); font-size:13px; margin-bottom:14px;}
.profile-card p.bio{font-size:13.5px; color:var(--text-main); line-height:1.6; text-align:left;}
.follow-btn{
  display:block;
  width:100%;
  margin-top:14px;
  padding:9px 0;
  background:var(--accent-violet);
  border:none;
  border-radius:6px;
  color:#fff;
  font-weight:600;
  cursor:pointer;
}

footer.site-footer{
  text-align:center;
  font-size:12px;
  color:var(--text-dim);
  padding:24px;
  border-top:1px solid var(--border-glow);
}

@media (max-width:820px){
  .layout{flex-direction:column;}
  .side-col{flex:none; width:100%;}
  .profile-card{position:static;}
}

.social-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:14px 0;
  text-align:left;
}