/* ===== Matrive minimal landing — compact + no scroll ===== */
:root {
  --bg: #0c0f13;
  --bg2: #0f131a;
  --text: #e6e9ef;
  --muted: #98a3ad;
  --line: #1a2130;
  --c1: #43c6ff;
  --c2: #8b5cf6;
}

/* Base */
* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(139, 92, 246, .16), transparent 60%),
    radial-gradient(900px 500px at -10% -10%, rgba(67, 198, 255, .18), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  font: 15px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial;
  display: flex;
  /* layout = main + footer */
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  /* no scroll */
}

/* Center stack — works with your <main class="center"> */
.center,
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* tight spacing */
  padding: 8px;
}

/* Remove default top/btm margins so it sits snug */
.center h1,
.center p {
  margin: 0
}

/* Logo + glow (small + subtle) */
.logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, .08);
}

.logo-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  background:
    radial-gradient(90px 90px at 50% 50%, rgba(67, 198, 255, .45), transparent 60%),
    radial-gradient(120px 120px at 40% 30%, rgba(139, 92, 246, .35), transparent 70%);
  filter: blur(14px);
  opacity: .85;
  z-index: 0;
}

.logo {
  position: relative;
  z-index: 1;
  width: 72px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 22px rgba(67, 198, 255, .20)) drop-shadow(0 4px 10px rgba(139, 92, 246, .14));
}

/* Fallback if the img src is missing */
.logo:not([src]),
.logo[src=""] {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
}

/* Text */
.brand {
  font-size: clamp(24px, 3.0vw, 36px);
  letter-spacing: .16em;
  font-weight: 800;
}

.tag {
  color: var(--text);
  opacity: .95;
}

.sub {
  color: var(--muted);
}

/* Buttons close under the copy */
.links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform .08s ease, border-color .12s ease, box-shadow .12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(110, 168, 254, .5);
  box-shadow: 0 10px 24px rgba(110, 168, 254, .12), inset 0 0 0 1px rgba(110, 168, 254, .15);
}

.btn:active {
  transform: translateY(0)
}

/* — slight breathing room — */
.center,
.hero {
  gap: 10px;
  padding: 12px;
}

/* was gap: 6 and padding: 8 */
.links {
  margin-top: 12px;
  gap: 10px;
}

/* buttons a touch lower/wider */
.btn {
  padding: 9px 14px;
}

/* a hair taller buttons */

/* --- bring footer back --- */
.foot {
  display: block !important;
  /* in case it was hidden earlier */
  position: static;
  /* not fixed; keeps no-scroll intact */
  padding: 10px 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
}

/* --- links always white (no purple visited, no color change) --- */
a,
a:visited,
a:active {
  color: #fff;
}

a:hover {
  color: #fff;
  opacity: .9;
}

/* keep button links consistent too */
.links .btn,
.links .btn:visited,
.links .btn:active {
  color: var(--text);
}

/* ===== Bigger, softer CIRCLE glow around the logo ===== */
.logo-wrap {
  width: 160px;
  height: 160px;
  /* bigger */
  border-radius: 50%;
  /* circle */
  background: radial-gradient(120% 120% at 50% 35%, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
}

.logo-wrap::before {
  content: "";
  position: absolute;
  inset: -32px;
  /* much larger halo */
  border-radius: 50%;
  background:
    radial-gradient(240px 240px at 50% 45%, rgba(67, 198, 255, .35), transparent 60%),
    radial-gradient(300px 300px at 60% 60%, rgba(139, 92, 246, .28), transparent 70%);
  filter: blur(30px);
  opacity: .38;
  /* softer */
  z-index: 0;
}

.logo {
  width: 100px;
  height: auto;
  position: relative;
  z-index: 1;
}

/* ===== Fancy footer (glass, gradient line), still no scroll ===== */
.foot {
  position: relative;
  display: block !important;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--text);
  text-align: center;
  background: rgba(13, 16, 22, .55);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  border-top: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .35);
}

.foot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(67, 198, 255, .55), rgba(139, 92, 246, .55));
  opacity: .35;
}

/* ===== Slightly loosen overall spacing (but still tight & centered) ===== */
.center,
.hero {
  gap: 10px;
  padding: 12px;
}

.links {
  margin-top: 12px;
  gap: 10px;
}

.btn {
  padding: 9px 14px;
}

/* Links always white */
a,
a:visited,
a:active {
  color: #fff;
}

a:hover {
  color: #fff;
  opacity: .9;
}
