:root {
  --bg: #0b0e14;
  --panel: #141414;
  --border: #525252;
  --text: #f5f5f5;
  --text-muted: #b2b2b2;
  --blue: #2d6bff;
  --red: #ff3d57;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 300;
  background-image:
    radial-gradient(360px 260px at 12% 88%, rgba(45, 107, 255, 0.22), transparent 62%),
    radial-gradient(320px 240px at 88% 12%, rgba(255, 61, 87, 0.2), transparent 62%),
    linear-gradient(45deg, rgba(45, 107, 255, 0.24), rgba(255, 61, 87, 0.24));
  overflow: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='120' height='120' filter='url(%23n)' opacity='0.05'/></svg>");
  opacity: 0.18;
  mix-blend-mode: soft-light;
  z-index: 0;
}

.page {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.card {
  max-width: 480px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo {
  height: 72px;
  width: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 100%;
  width: 100%;
}

.links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  margin-top: 8px;
}

.links a {
  border: 0.15em solid var(--border);
  border-radius: 5px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  --wipe-x: 50%;
  --wipe-y: 50%;
  --wipe-color: rgba(255, 255, 255, 0.18);
  background-image: radial-gradient(circle at var(--wipe-x) var(--wipe-y), var(--wipe-color), transparent 60%);
  background-repeat: no-repeat;
  background-size: 0 0;
  transition: border-color 0.2s ease-out, color 0.2s ease-out;
  min-width: 130px;
  text-align: center;
}

.links a:hover {
  border-color: var(--text);
  color: var(--text);
}

.links a.wipe,
.links a.wipe:hover,
.links a.wipe.windows:hover,
.links a.wipe.linux:hover {
  animation: button-wipe .7s ease;
}

.links a.wipe.windows,
.links a.wipe.windows:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.links a.wipe.linux,
.links a.wipe.linux:hover {
  border-color: var(--red);
  color: var(--red);
}

@keyframes button-wipe {
  0% {
    background-size: 0 0;
  }
  50% {
    background-size: 300% 300%;
  }
  100% {
    background-size: 0 0;
  }
}

.links a.windows:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.links a.linux:hover {
  border-color: var(--red);
  color: var(--red);
}
