
/* styles.css */
:root{
  --bg-dark:#0d0f10;
  --panel-dark:#0b1410;
  --green-1:#1db66a;
  --green-2:#14a85b;
  --text-light:#eef2ee;
  --muted:#9aa199;
  --header-height:72px;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:var(--bg-dark);font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;color:var(--text-light);-webkit-font-smoothing:antialiased;overflow:hidden}

/* Header */
.site-header{
  height:var(--header-height);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 28px;
  background:linear-gradient(180deg, rgba(0,0,0,0.15), transparent);
  border-bottom:1px solid rgba(255,255,255,0.03);
  z-index:20;
}
.logo{
  font-weight:800;font-size:20px;
  background:linear-gradient(90deg,var(--green-1),var(--green-2));
  -webkit-background-clip:text;background-clip:text;color:transparent;padding:6px 8px;border-radius:6px;
}
.nav{display:flex;gap:12px;align-items:center}
.nav-item{
  position:relative;
  padding:8px 14px;
  border-radius:10px;
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  -webkit-tap-highlight-color:transparent;
}

/* псевдоэлемент — скрытая линия */
.nav-item::after{
  content:"";
  position:absolute;
  left:14px;                 /* выравнивание под текст (подстройте) */
  right:14px;                /* позволяет центровке и отзывчивости */
  bottom:6px;                /* расстояние от текста */
  height:3px;                /* толщина линии */
  width:auto;
  transform:scaleX(0);
  transform-origin:left center;
  background:linear-gradient(90deg,#6ee07a,#28c76f);
  border-radius:2px;
  transition:transform 260ms cubic-bezier(.2,.9,.2,1), opacity 200ms;
  opacity:0;
  pointer-events:none;
}

/* при hover/focus/active — растягиваем линию */
.nav-item:hover::after,
.nav-item:focus::after,
.nav-item.active::after{
  transform:scaleX(1);
  opacity:1;
}

/* опционально: выделение для аккаунт-кнопки без линии */
.nav-item.account::after{ display:none; }

/* мелкие настройки для доступа: */
.nav-item:focus{ outline:none; box-shadow:0 0 0 3px rgba(40,199,111,0.08); border-radius:10px; }

/* Main — занимает всё пространство под хедером */
.hero{
  height:calc(100vh - var(--header-height));
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, var(--panel-dark), rgba(0,0,0,0.6));
  padding:48px;
  overflow:auto; /* разрешаем прокрутку внутри main при длинном тексте */
}

/* Внутренний контейнер — центр, большая фото и текст */
.hero-inner{
  display:flex;
  gap:40px;
  align-items:center;
  width:100%;
  max-width:1300px;
  padding:28px;
}

/* Фото — крупное */
.hero-photo{
  width:420px;
  height:420px;
  border-radius:18px;
  background-size:cover;
  background-position:center;
  flex:0 0 420px;
  box-shadow:0 20px 60px rgba(0,0,0,0.7);
  border:4px solid rgba(255,255,255,0.02);
}
.hero-photo img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    pointer-events: none;
}

/* Текстовая колонка — большая типографика */
.hero-text{flex:1;min-width:0}
.artist-name{
  font-size:56px;
  margin-bottom:18px;
  color:var(--text-light);
  letter-spacing:0.6px;
}
.artist-bio{
  color:var(--muted);
  line-height:1.7;
  font-size:18px;
  margin-bottom:18px;
  max-width:900px;
}

/* Меньшие экраны — адаптация: фото меньше, текст крупнее относительно */
@media (max-width:1000px){
  .hero-inner{flex-direction:column;align-items:center;text-align:center;gap:24px}
  .hero-photo{width:320px;height:320px;flex:0 0 320px}
  .artist-name{font-size:44px}
  .artist-bio{font-size:17px}
}
@media (max-width:300px){
  :root{--header-height:64px}
  .site-header{padding:0 16px;height:var(--header-height)}
  .hero{padding:20px}
  .hero-photo{width:220px;height:220px; margin-top: 50%;}
  .artist-name{font-size:28px}
  .artist-bio{font-size:15px}
}


/* Мобильная адаптация для styles.css */
@media (max-width:820px){
  :root{--header-height:64px}

  /* Header */
  .site-header{padding:0 14px;height:var(--header-height)}
  .logo{font-size:18px;padding:4px 6px}
  .nav{gap:8px}
  .nav-item{padding:6px 10px;font-size:14px}
  .nav-item::after{left:10px;right:10px;bottom:4px;height:2px}

  /* Hero общий */
  .hero{padding:20px;height:calc(100vh - var(--header-height));overflow:auto}
  .hero-inner{flex-direction:column;gap:20px;align-items:center;padding:16px;text-align:center;max-width:920px}

  /* Фото */
  .hero-photo{width:260px;height:260px;flex:0 0 260px;border-radius:14px;margin-top: 50%;}
  .hero-photo img{border-radius:14px}

  /* Текст */
  .artist-name{font-size:34px;margin-bottom:12px}
  .artist-bio{font-size:15px;max-width:100%;line-height:1.6;margin-bottom:14px}

  /* Мелкие экраны */
  @media (max-width:420px){
    .hero-photo{width:180px;height:180px;flex:0 0 180px}
    .artist-name{font-size:22px}
    .artist-bio{font-size:14px}
    .hero-inner{padding:12px;gap:12px}
    .site-header{padding:0 10px}
    .nav-item{padding:6px 8px;font-size:13px}
  }
}
