/*
Theme Name: Marketolog Links
Description: Сайт-визитка с мультиссылками в фирменном стиле marketolog.asia: тёмно-синий фон #141A38, «восход» — оранжевый градиент #FFB01F→#FF4D2E за аватаром, белый текст. Тексты, кнопки, аватар и соцсети редактируются через Внешний вид → Настроить.
Author: marketolog.asia
Version: 2.0
Text Domain: vektor-links
*/

:root{
  --bg: #141A38;
  --bg-deep: #0E1329;
  --sun-a: #FFB01F;
  --sun-b: #FF4D2E;
  --text: #FFFFFF;
  --text-soft: #A7ADCB;
  --line: rgba(255,255,255,0.14);
  --btn-bg: rgba(255,255,255,0.06);
  --radius: 16px;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  font-family:'Onest','Plus Jakarta Sans',system-ui,sans-serif;
  background:
    radial-gradient(90% 55% at 50% -10%, rgba(255,120,40,0.14) 0%, rgba(255,120,40,0) 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color:var(--text);
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 20px;
}

.card{
  width:100%;
  max-width:480px;
  text-align:center;
}

/* «Восход»: солнце из логотипа встаёт за аватаром */
.sunrise{
  position:relative;
  width:200px;
  height:200px;
  margin:0 auto 22px;
}
.sunrise::before{
  content:"";
  position:absolute;
  left:50%;
  top:-26px;
  transform:translateX(-50%);
  width:176px;
  height:176px;
  border-radius:50%;
  background:linear-gradient(180deg, var(--sun-a) 0%, var(--sun-b) 100%);
  filter:drop-shadow(0 0 44px rgba(255,90,40,0.45));
}
.avatar{
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:152px;
  height:152px;
  border-radius:50%;
  overflow:hidden;
  border:4px solid var(--bg);
  background:var(--bg-deep);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:56px;
  font-weight:700;
  color:var(--text);
}
.avatar img{ width:100%; height:100%; object-fit:cover; display:block; }

h1{
  font-size:26px;
  font-weight:700;
  letter-spacing:-0.01em;
}
h1 .dot{ color:var(--sun-b); }
.bio{
  margin:10px auto 0;
  max-width:40ch;
  font-size:15px;
  line-height:1.55;
  color:var(--text-soft);
}

.group-label{
  margin:30px 0 12px;
  font-size:13px;
  font-weight:600;
  color:var(--text-soft);
  display:flex;
  align-items:center;
  gap:12px;
}
.group-label::before,
.group-label::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--line);
}

.links{ list-style:none; }
.links li + li{ margin-top:12px; }
.links a{
  display:block;
  padding:15px 18px;
  border-radius:var(--radius);
  background:var(--btn-bg);
  border:1px solid var(--line);
  color:var(--text);
  text-decoration:none;
  font-size:16px;
  font-weight:600;
  transition:transform .15s ease, border-color .15s ease, background .15s ease;
}
.links a:hover,
.links a:focus-visible{
  transform:translateY(-2px);
  border-color:var(--sun-b);
  background:rgba(255,77,46,0.10);
}
.links a:focus-visible{ outline:2px solid var(--sun-a); outline-offset:2px; }

/* первая группа (контакты) — солнечные кнопки */
.links.primary a{
  background:linear-gradient(180deg, var(--sun-a) 0%, var(--sun-b) 100%);
  border:none;
  color:#FFFFFF;
}
.links.primary a:hover,
.links.primary a:focus-visible{
  filter:brightness(1.06);
  background:linear-gradient(180deg, var(--sun-a) 0%, var(--sun-b) 100%);
}

.socials{
  list-style:none;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
}
.socials a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:50%;
  background:var(--btn-bg);
  border:1px solid var(--line);
  color:var(--text);
  transition:border-color .15s ease, color .15s ease, transform .15s ease;
}
.socials a:hover,
.socials a:focus-visible{
  color:var(--sun-a);
  border-color:var(--sun-b);
  transform:translateY(-2px);
}
.socials svg{ width:22px; height:22px; }

.site-footer{
  margin-top:34px;
  font-size:13px;
  color:var(--text-soft);
}

@media (prefers-reduced-motion: reduce){
  .links a, .socials a{ transition:none; }
  .links a:hover, .socials a:hover{ transform:none; }
}
@media (max-width:420px){
  body{ padding:36px 16px; }
  .sunrise{ width:180px; height:180px; }
  .sunrise::before{ width:158px; height:158px; top:-22px; }
  .avatar{ width:136px; height:136px; font-size:48px; }
  h1{ font-size:23px; }
}
