/* ==========================================================================
   Radsport Kotnik — Link Hub (links.kotnik.at)
   ========================================================================== */

:root{
  --bg: #0a0a0c;
  --bg-2: #16161a;
  --blue: #0064a7;
  --blue-2: #1e8fd6;
  --white: #f6f5f2;
  --muted: #a4a3ab;
  --muted-2: #6d6d75;
  --line: rgba(255,255,255,0.1);

  --font-display: "Archivo Black", "Barlow Condensed", sans-serif;
  --font-cond: "Barlow Condensed", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ overflow-x:hidden; width:100%; }
body{
  margin:0;
  width:100%;
  overflow-x:hidden;
  min-height:100svh;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height:1.5;
  -webkit-font-smoothing: antialiased;
}
a{ color:inherit; text-decoration:none; }
p{ margin:0; }

/* ---------- layout ---------- */
.hub{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding: 4rem 1.25rem 2.5rem;
  max-width: 560px;
  margin: 0 auto;
}
.hub__glow{
  position:absolute;
  top:-10%; left:50%;
  transform: translateX(-50%);
  width: 90vw; max-width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(0,100,167,.32), transparent 65%);
  filter: blur(50px);
  z-index:0;
  pointer-events:none;
}

/* ---------- reveal ---------- */
.reveal{
  opacity:0;
  transform: translateY(18px);
  animation: reveal .6s cubic-bezier(.16,.8,.32,1) forwards;
}
.profile{ animation-delay: .05s; }
.links{ animation-delay: .15s; }
.hub__footer{ animation-delay: .3s; }
@keyframes reveal{ to{ opacity:1; transform:none; } }

/* ---------- profile ---------- */
.profile{
  position:relative; z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  margin-bottom: 2.4rem;
}
.profile__logo{
  height: 46px;
  width:auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.1rem;
}
.profile__bio{
  color: var(--muted);
  font-size: 1rem;
  max-width: 34ch;
}

/* ---------- links ---------- */
.links{
  position:relative; z-index:1;
  width:100%;
  display:flex;
  flex-direction:column;
  gap: .9rem;
}
.link-btn{
  display:flex;
  align-items:center;
  gap: 1rem;
  width:100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.05rem 1.3rem;
  transition: transform .18s ease, border-color .2s ease, background .2s ease;
}
.link-btn:hover, .link-btn:active{
  transform: translateY(-3px);
  border-color: rgba(0,100,167,.55);
  background: #1b1b20;
}
.link-btn--accent{
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  border-color: transparent;
  box-shadow: 0 10px 30px -8px rgba(0,100,167,.55);
}
.link-btn--accent:hover{ background: linear-gradient(135deg, var(--blue-2), var(--blue)); border-color:#fff; }
.link-btn__icon{
  font-size: 1.5rem;
  line-height:1;
  flex: 0 0 auto;
}
.link-btn__text{
  display:flex;
  flex-direction:column;
  gap:.15rem;
  min-width:0;
}
.link-btn__text strong{
  font-family: var(--font-cond);
  font-weight:700;
  font-size: 1.08rem;
  letter-spacing:.01em;
}
.link-btn__text span{
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.link-btn--accent .link-btn__text span{ color: rgba(255,255,255,.85); }

/* ---------- footer ---------- */
.hub__footer{
  position:relative; z-index:1;
  margin-top: 2.6rem;
  text-align:center;
}
.hub__footer p{
  color: var(--muted-2);
  font-size: .82rem;
  margin-bottom:.4rem;
}
.hub__copy{ opacity:.7; }

@media (max-width: 420px){
  .hub{ padding-top: 3rem; }
  .profile__logo{ height: 38px; }
}
