/* ==========================================================================
   Ozorel — light bio landing
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --ink: #0f1220;
  --muted: #5b6178;
  --dim: #8a90a5;
  --line: rgba(15, 18, 32, 0.08);
  --line-strong: rgba(15, 18, 32, 0.14);
  --cyan: #5ce1e6;
  --purple: #8c52ff;
  --grad: linear-gradient(110deg, #5ce1e6 0%, #8c52ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(92, 225, 230, 0.22), rgba(140, 82, 255, 0.18));
  --shell: 1140px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Syne", "Outfit", system-ui, sans-serif;
  --body: "Outfit", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(92, 225, 230, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(140, 82, 255, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 60%, rgba(92, 225, 230, 0.12), transparent 45%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Brand + projects --------------------------------------------- */
.brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 0 0;
  overflow: hidden;
}
.brand__glow {
  position: absolute;
  width: min(680px, 92vw);
  height: 280px;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-soft);
  filter: blur(48px);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.95;
}
.brand__logo {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  animation: rise 0.7s ease both;
}
.brand__logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 8px 24px rgba(140, 82, 255, 0.18));
}
.brand__tag {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 28px;
  animation: rise 0.7s ease 0.08s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Marquee ------------------------------------------------------ */
.marq {
  width: 100%;
  padding: 0;
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s ease 0.16s both;
}
.marq__viewport { position: relative; overflow: hidden; padding: 6px 0 32px; }
.marq__fade {
  position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.marq__fade--l { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marq__fade--r { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.marq__track { display: flex; width: max-content; animation: marq 34s linear infinite; }
.marq:hover .marq__track { animation-play-state: paused; }
.marq__group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
}
.marq__group img {
  height: 28px;
  width: auto;
  object-fit: contain;
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-sizing: content-box;
  box-shadow: 0 8px 24px rgba(15, 18, 32, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.marq__group img:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 82, 255, 0.28);
  box-shadow: 0 12px 28px rgba(140, 82, 255, 0.1);
}
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Bio links ---------------------------------------------------- */
.links {
  padding: 44px 24px 56px;
  animation: rise 0.7s ease 0.24s both;
}
.links__stack {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(15, 18, 32, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.link:hover {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 14px 36px rgba(140, 82, 255, 0.12);
  transform: translateY(-2px);
}
.link:active { transform: translateY(0); }
.link__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--grad-soft);
  color: var(--purple);
}
.link__icon svg { width: 18px; height: 18px; }
.link__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.link__label {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.link__sub {
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link__arrow {
  color: var(--dim);
  font-size: 16px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.link:hover .link__arrow {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateX(3px);
}

/* ---------- Footer ------------------------------------------------------- */
.foot { padding: 8px 0 36px; }
.foot__row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.foot__copy {
  font-size: 13px;
  color: var(--dim);
  text-align: center;
}

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 520px) {
  .brand { padding: 48px 0 0; }
  .brand__logo img { height: 32px; }
  .brand__tag { margin-bottom: 20px; }
  .links { padding: 32px 16px 48px; }
  .marq__fade { width: 56px; }
}
