:root {
  --bg0: #071018;
  --bg1: #122033;
  --text: #f7f4ef;
  --muted: #9eb0c3;
  --accent: #e23b3b;
  --accent-2: #f0a33a;
  --ocean: #3b82c4;
  --card: rgba(255, 255, 255, 0.05);
  --stroke: rgba(255, 255, 255, 0.12);
  --da: #f5c542;
  --dp: #4fd1c5;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg0);
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 680px at 10% -8%, rgba(226, 59, 59, 0.22), transparent 55%),
    radial-gradient(900px 560px at 100% 8%, rgba(59, 130, 196, 0.18), transparent 52%),
    radial-gradient(800px 480px at 50% 115%, rgba(240, 163, 58, 0.1), transparent 45%),
    linear-gradient(160deg, var(--bg0), var(--bg1) 55%, #0a1522);
  z-index: -2;
}

.glow {
  position: fixed;
  inset: auto -20% -30% -20%;
  height: 55vh;
  background: radial-gradient(ellipse at center, rgba(226, 59, 59, 0.14), transparent 65%);
  filter: blur(20px);
  animation: pulse 7s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-18px);
  }
}

.page {
  width: min(560px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
  display: grid;
  gap: 36px;
}

.brand {
  text-align: center;
  animation: rise 700ms ease both;
}

.logo {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 18px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 0 0 4px rgba(226, 59, 59, 0.45),
    0 18px 40px rgba(0, 0, 0, 0.4);
  background: #1a2a3a;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #fff 20%, #d8dde8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 16px auto 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.links {
  display: grid;
  gap: 14px;
}

.link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--stroke);
  background: var(--card);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  animation: rise 700ms ease both;
  animation-delay: var(--delay, 0ms);
}

.link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.link.tg::before {
  background: linear-gradient(180deg, #2aabee, #1a7bb8);
}

.link.da::before {
  background: linear-gradient(180deg, var(--da), #c9891a);
}

.link.dp::before {
  background: linear-gradient(180deg, var(--dp), #2a9b90);
}

.link.dx::before {
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
}

.link:hover,
.link:focus-visible {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.link-kicker {
  grid-column: 1;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.link-title {
  grid-column: 1;
  font-size: 1.12rem;
  font-weight: 700;
}

.link-arrow {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 220ms ease;
}

.link:hover .link-arrow {
  transform: translateX(4px);
}

.credit {
  margin: 28px 0 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.credit a {
  color: rgba(158, 176, 195, 0.55);
  text-decoration: none;
  transition: color 180ms ease;
}

.credit a:hover {
  color: rgba(247, 244, 239, 0.75);
}

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

@media (max-width: 420px) {
  .page {
    padding-top: 40px;
  }

  .link {
    padding: 16px;
  }
}
