@font-face {
  font-family: "Bicyclette";
  src: url("../assets/fonts/Bicyclette-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bicyclette";
  src: url("../assets/fonts/Bicyclette-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bicyclette";
  src: url("../assets/fonts/Bicyclette-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bicyclette";
  src: url("../assets/fonts/Bicyclette-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --su-bg: #0c0f0b;
  --su-bg-deep: #000000;
  --su-text: #e9efdc;
  --su-text-muted: rgba(233, 239, 220, 0.62);
  --su-surface: #141a12;
  --su-surface-2: #1a2117;
  --su-border: rgba(233, 239, 220, 0.12);
  --su-green: #c5f409;
  --su-green-ink: #202020;
  --su-green-soft: rgba(197, 244, 9, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--su-bg-deep);
  color: var(--su-text);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--su-green);
  color: var(--su-bg);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(197, 244, 9, 0.08), transparent 55%),
    linear-gradient(180deg, #050705 0%, var(--su-bg) 38%, #050705 100%);
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
}

#particles-js canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.42' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.22;
  mix-blend-mode: soft-light;
}

.stripe {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 3px;
  flex-shrink: 0;
  background: linear-gradient(90deg, transparent 0%, var(--su-green) 50%, transparent 100%);
}

main.page {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  padding: 44px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
}

.plate {
  position: relative;
  width: 118px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.spin-ring {
  position: absolute;
  inset: 0;
  animation: spin 28s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-ring {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--su-surface);
  border: 1px solid var(--su-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-ring img {
  width: 68%;
  height: 68%;
  object-fit: contain;
}

.wordmark {
  width: min(240px, 78vw);
  height: auto;
  margin: 0 0 14px;
}

.tagline {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.2px;
  color: var(--su-text-muted);
  font-weight: 400;
  line-height: 1.45;
}

nav.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--su-text);
  background: var(--su-surface);
  border: 1px solid var(--su-border);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 244, 9, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  background: var(--su-surface-2);
}

.link-card:active {
  transform: scale(0.98);
}

.link-card:focus-visible {
  outline: 2px solid var(--su-green);
  outline-offset: 3px;
}

.link-card .icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--su-green-soft);
}

.link-card .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--su-green);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-card .text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.link-card .tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--su-text-muted);
}

.link-card .label {
  font-family: "Bicyclette", Inter, sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--su-text);
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.link-card .arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--su-text-muted);
  transition: transform 0.18s ease, color 0.18s ease;
}

.link-card:hover .arrow {
  transform: translateX(3px);
  color: var(--su-green);
}

.link-card.primary {
  background: var(--su-green);
  border-color: rgba(197, 244, 9, 0.7);
  color: var(--su-green-ink);
}

.link-card.primary .tag {
  color: rgba(32, 32, 32, 0.62);
}

.link-card.primary .label {
  color: var(--su-green-ink);
}

.link-card.primary .icon {
  background: rgba(32, 32, 32, 0.12);
}

.link-card.primary .icon svg {
  stroke: var(--su-green-ink);
}

.link-card.primary .arrow {
  color: rgba(32, 32, 32, 0.55);
}

.link-card.primary:hover {
  background: #d4ff2a;
  border-color: #c5f409;
  box-shadow: 0 12px 28px rgba(197, 244, 9, 0.18);
}

.link-card.primary:hover .arrow {
  color: var(--su-green-ink);
}

footer.footer {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--su-text-muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

footer.footer img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

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

  #particles-js {
    display: none;
  }

  .link-card,
  .link-card .arrow {
    transition: none;
  }
}
