@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f4f6f9;
  --surface: #ffffff;
  --ink: #13203a;
  --muted: #5e6880;
  --faint: #8a93a6;
  --line: #e2e6ee;
  --accent: #2251d1;
  --accent-strong: #1a3fa6;
  --accent-soft: #e8eefc;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 440px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 56px 20px 32px;
  display: flex;
  flex-direction: column;
}

/* Logolar: topluluk | üniversite */
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand img {
  width: 76px;
  height: 76px;
  display: block;
}
.divider {
  width: 1px;
  height: 56px;
  background: color-mix(in srgb, var(--ink) 20%, transparent);
}

.uni {
  margin: 36px 0 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
}
h1 {
  margin: 4px 0 0;
  font-size: 40px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Yoklama sayfasıyla aynı ağ (file) bandı */
.net {
  height: 14px;
  margin-top: 28px;
  border-top: 3px solid var(--ink);
  background-image:
    repeating-linear-gradient(45deg, transparent 0 5px, color-mix(in srgb, var(--ink) 22%, transparent) 5px 6px),
    repeating-linear-gradient(-45deg, transparent 0 5px, color-mix(in srgb, var(--ink) 22%, transparent) 5px 6px);
}

.links {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}
.link[hidden] {
  display: none;
}
.link:hover {
  border-color: var(--faint);
}
.link:focus-visible,
.foot a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.text strong {
  font-size: 16px;
  font-weight: 700;
}
.text small {
  font-size: 14px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chev {
  flex: none;
  color: var(--faint);
  width: 18px;
  height: 18px;
}

/* Birincil bağlantı */
.link.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.link.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}
.link.primary .icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.link.primary small,
.link.primary .chev {
  color: rgba(255, 255, 255, 0.8);
}

.foot {
  margin-top: auto;
  padding-top: 48px;
  font-size: 12px;
  color: var(--faint);
}
.foot a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.foot a:hover {
  color: var(--ink);
}
.foot p {
  margin: 8px 0 0;
}

/* Tek açılış anı: bağlantılar sırayla belirir */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.links .link {
  animation: rise 0.28s ease-out both;
}
.links .link:nth-child(2) { animation-delay: 0.04s; }
.links .link:nth-child(3) { animation-delay: 0.08s; }
.links .link:nth-child(4) { animation-delay: 0.12s; }
.links .link:nth-child(5) { animation-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .links .link {
    animation: none;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 34px;
  }
  .brand img {
    width: 64px;
    height: 64px;
  }
}
