:root {
  --bg: #050806;
  --panel: rgba(7, 15, 10, .82);
  --green: #72ff9c;
  --green-bright: #b2ffc8;
  --green-dim: #3b9a5a;
  --line: rgba(114, 255, 156, .21);
  --text: #d8ffe1;
  --muted: #6b9c78;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 50% 30%, #0c2114 0, var(--bg) 56%); font-family: var(--mono); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

#matrix { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .15; pointer-events: none; }
.noise, .scanlines { position: fixed; inset: 0; pointer-events: none; z-index: 2; }
.noise { opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); }
.scanlines { background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(0, 0, 0, .12) 4px); }

.shell { position: relative; z-index: 3; width: min(1060px, calc(100% - 40px)); min-height: 100vh; margin: auto; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 31px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .14em; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--green-bright); font-weight: 700; letter-spacing: .18em; }
.brand-mark { color: var(--green); font-size: 20px; }
.dim { color: var(--muted); }
.connection { display: flex; gap: 10px; align-items: center; }
.pulse, .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px var(--green); }
.pulse { animation: pulse 1.6s infinite; }

.hero { padding: clamp(80px, 13vh, 145px) 0 65px; text-align: center; }
.eyebrow { color: var(--green-dim); font-size: 10px; letter-spacing: .32em; display: flex; gap: 15px; justify-content: center; align-items: center; }
.line { width: 54px; height: 1px; background: var(--green-dim); }
h1 { position: relative; margin: 22px 0 20px; color: var(--green-bright); font-family: "Space Mono", var(--mono); font-size: clamp(42px, 9vw, 100px); line-height: .95; letter-spacing: -.08em; text-shadow: 0 0 25px rgba(114,255,156,.32); animation: flicker 7s infinite; }
h1 span { color: transparent; -webkit-text-stroke: 1px var(--green); text-shadow: none; }
.subtitle { margin: 0 auto 41px; color: var(--muted); font-size: 13px; line-height: 1.9; letter-spacing: .08em; }
.typed { color: var(--text); }
.cursor { color: var(--green); animation: blink 1s steps(2) infinite; }

.terminal { width: min(690px, 100%); margin: 0 auto 28px; border: 1px solid var(--line); background: var(--panel); text-align: left; box-shadow: 0 20px 70px rgba(0,0,0,.3), 0 0 0 1px rgba(0,0,0,.45); }
.terminal-head { display: flex; justify-content: space-between; align-items: center; min-height: 35px; padding: 0 13px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.terminal-title { margin-left: 10px; flex: 1; }
.terminal-lock { color: var(--green); }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; }
.red { background: #ff6f67; }.yellow { background: #ffd66b; }.green { color: var(--green); background: var(--green); }
.terminal-body { padding: 17px 20px 18px; min-height: 142px; color: #9ac7a5; font-size: 12px; line-height: 1.8; }
.terminal-body p { margin: 0; }
.prompt, .path, .ok, .file-list span { color: var(--green); }
.file-list { color: #6f9d79; padding-left: 15px; }

.access-button { width: min(430px, 100%); margin: 0 auto; padding: 15px 17px; display: flex; align-items: center; gap: 14px; color: var(--bg); background: var(--green); box-shadow: 0 0 24px rgba(114,255,156,.17); transition: transform .2s, background .2s, box-shadow .2s; text-align: left; }
.access-button:hover, .access-button:focus-visible { background: var(--green-bright); transform: translateY(-3px); box-shadow: 0 8px 35px rgba(114,255,156,.28); outline: none; }
.button-icon { font-size: 17px; font-weight: 700; }
.button-copy { display: grid; gap: 3px; flex: 1; letter-spacing: .07em; }
.button-copy strong { font-size: 12px; }.button-copy small { font-size: 9px; opacity: .65; }
.button-arrow { font-size: 21px; }
.hint { color: var(--muted); font-size: 9px; letter-spacing: .16em; }
.hint .green { display: inline-block; width: 5px; height: 5px; margin-left: 5px; vertical-align: 1px; border-radius: 50%; }

.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; padding-bottom: 55px; }
.status-card { position: relative; min-height: 74px; padding: 16px; border: 1px solid rgba(114,255,156,.13); background: rgba(5, 12, 7, .55); }
.status-card .label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; letter-spacing: .18em; }.status-card strong { font-size: 12px; font-weight: 500; letter-spacing: .1em; }.status-dot { position: absolute; right: 15px; bottom: 18px; width: 5px; height: 5px; }
.footer { display: flex; justify-content: space-between; padding: 16px 0 22px; border-top: 1px solid var(--line); color: #42644b; font-size: 9px; letter-spacing: .1em; }
.flash { position: fixed; inset: 0; z-index: 10; background: var(--green); opacity: 0; pointer-events: none; }
.flash.active { animation: flash .45s ease-out; }

@keyframes pulse { 50% { opacity: .35; box-shadow: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes flicker { 0%, 18%, 22%, 63%, 65%, 100% { opacity: 1; } 20%, 64% { opacity: .78; } }
@keyframes flash { 0% { opacity: .18; } 100% { opacity: 0; } }

@media (max-width: 620px) {
  .shell { width: min(100% - 26px, 1060px); }
  .topbar { padding: 22px 0; }.connection { font-size: 0; }.connection .pulse { width: 7px; height: 7px; }
  .hero { padding-top: 85px; }.eyebrow { font-size: 8px; gap: 8px; }.line { width: 25px; }
  h1 { font-size: clamp(38px, 13vw, 70px); }.terminal-body { font-size: 10px; padding: 15px 12px; }.terminal-title { font-size: 9px; }
  .status-grid { grid-template-columns: 1fr; padding-bottom: 35px; }.status-card { min-height: auto; padding: 13px 15px; }.status-dot { top: 18px; bottom: auto; }
  .footer { display: block; line-height: 1.8; }.footer span { display: block; }
}
