/* slb.red — dark by default (same palette as slbenfica.org), light when the device prefers it */
:root {
  --bg: #141416; --card: #1c1c1f; --text: #d4d4d4; --muted: #8f8f8f; --bright: #fff;
  --red: #e2001a; --red-text: #ff4d5e; --border: rgba(255,255,255,.12);
  --font-mono: 'JetBrains Mono', monospace;
  --text-dim: #94a3b8;
  --accent: #ffb000; --accent-dim: rgba(255, 176, 0, 0.1);
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f0f0f0; --card: #fff; --text: #333; --muted: #6b6b6b; --bright: #111; --red-text: #c40015; --border: rgba(0,0,0,.15); }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; line-height: 1.6;
  display: flex; flex-direction: column; min-height: 100vh; padding: 1.5rem;
  transition: all 0.4s ease;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
.wrap { flex: 1; width: 100%; max-width: 34rem; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; }
.wordmark { font-size: clamp(2.6rem, 11vw, 4rem); font-weight: 800; letter-spacing: -.02em; color: var(--bright); line-height: 1; margin-bottom: 1.75rem; display: flex; align-items: center; gap: .6rem; animation: animation: fade-in 0.4s ease;}
.dot { width: .55em; height: .55em; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.red { color: var(--red-text); }
h1 { font-size: 1.35rem; color: var(--bright); margin-bottom: .6rem; animation: fade-in 0.8s ease;}
p { margin-bottom: .75rem; animation: }
.lead { font-size: 1.08rem; }
a { color: var(--red-text); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.cta { margin: 1.25rem 0 1.75rem; animation: slide-up 0.6s ease 1.3s both; }
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: .7rem 1.4rem; border-radius: 50px; }
.btn:hover { background: #b5001a; }
.en { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 1rem; }
.foot { max-width: 34rem; margin: 0 auto; width: 100%; font-size: .75rem; color: var(--muted); animation: slide-up 0.4s ease 1.0s both; }
.foot p { margin-bottom: .2rem; }
.nav-link {
           font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim);
           text-transform: uppercase; text-decoration: none; padding: 0.5rem; transition: var(--transition);
           animation: slide-up 1.5s ease 1.6s both;
           background: none; border: none; cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.footer-text {
            margin-top: 3rem;
            text-decoration: none;
            font-size: 0.85rem;
            color: var(--text-dim);
            animation: slide-up 0.6s ease 1.3s both;
}

        @keyframes fade-in {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes slide-down {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes pulse-animation {
            0% { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0.7); }
            100% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
        }
        @keyframes slide-up {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

