/* ===== Fuse CATS terminal aesthetic ===== */
:root {
  --bg: #000;
  --fg: #b6ff9b;
  --fg-accent: #3cff00;
  --muted: #6fbf6f;
  --border: #103510;
  --shadow: 0 0 18px rgba(60, 255, 0, 0.08);
  --glass: rgba(16, 53, 16, 0.12);
  --glass-strong: rgba(16, 53, 16, 0.28);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

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

body.term {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, var(--bg) 60%);
  color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono",
    monospace;
  line-height: 1.6;
  text-shadow: var(--shadow);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--fg-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100%;
  padding: 20px;
}

/* === Main layout === */
.center-landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 80vh;
}

.landing-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 0 18px rgba(60, 255, 0, 0.15);
  letter-spacing: 1px;
}

/* blinking cursor */
.cursor {
  display: inline-block;
  width: 0.8ch;
  overflow: hidden;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  0%, 49% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

/* image */
.landing-img {
  max-width: 480px;
  width: 90%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* login button */
.btn-login {
  display: inline-block;
  margin-top: 2rem;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--glass);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--fg);
  transition: all 0.12s ease-in-out;
}
.btn-login:hover {
  background: var(--glass-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

/* footer */
.footer {
  border-top: 1px dotted var(--border);
  padding-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* subtle scanline overlay for that CRT vibe */
body.term::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(60, 255, 0, 0.03),
    rgba(60, 255, 0, 0.03) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
}

/* responsive */
@media (max-width: 600px) {
  .landing-title {
    font-size: 1.8rem;
  }
  .landing-img {
    max-width: 90%;
  }
}
