/* MultiBlox official static site */
:root {
  --bg: #080909;
  --bg-2: #0b0c0d;
  --surface: #101112;
  --surface-2: #141516;
  --surface-3: #191a1b;
  --border: #242628;
  --border-soft: #1b1d1f;
  --text: #f5f6f7;
  --muted: #92979d;
  --muted-2: #686d72;
  --red: #ef272b;
  --red-2: #ff3a3f;
  --red-soft: rgba(239,39,43,.12);
  --green: #29d17d;
  --gold: #f2b84b;
  --blue: #5fa8ff;
  --shadow: 0 30px 80px rgba(0,0,0,.42);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 70% -10%, rgba(239,39,43,.09), transparent 62%),
    radial-gradient(600px 400px at -10% 28%, rgba(239,39,43,.05), transparent 65%),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(239,39,43,.3); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #0a0b0c; }
::-webkit-scrollbar-thumb { background: #303235; border-radius: 99px; border: 3px solid #0a0b0c; }
::-webkit-scrollbar-thumb:hover { background: #3b3e41; }
.container { width: min(calc(100% - 38px), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(8,9,9,.78);
  backdrop-filter: blur(18px);
}
.navbar { min-height: 70px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 31px; height: 31px; object-fit: contain; }
.brand span { font-size: 18px; }
.brand .version { color: var(--muted-2); font-size: 11px; font-weight: 650; letter-spacing: .02em; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { color: #a9adb1; padding: 9px 12px; border-radius: 10px; font-size: 13px; font-weight: 650; transition: .18s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: #141516; }
.nav-cta { margin-left: 8px; }
.menu-btn { display: none; width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--border); background: var(--surface); color: #fff; border-radius: 11px; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 17px; border-radius: 11px; border: 1px solid transparent; font-weight: 750; font-size: 13px; cursor: pointer; transition: transform .18s ease, background .18s ease, border .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 12px 35px rgba(239,39,43,.18); }
.btn-primary:hover { background: var(--red-2); }
.btn-secondary { background: #141516; border-color: #2a2c2e; color: #fff; }
.btn-secondary:hover { border-color: #3c3f42; background: #17191a; }
.btn-quiet { background: transparent; border-color: #282a2c; color: #d6d8da; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #d8dade; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 850; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(239,39,43,.10); }
.hero { padding: 86px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); align-items: center; gap: 64px; }
.hero h1 { margin: 17px 0 18px; font-size: clamp(45px, 6vw, 76px); line-height: .99; letter-spacing: -.055em; max-width: 700px; }
.hero h1 .accent { color: var(--red); }
.hero .lead { margin: 0; max-width: 620px; color: #a2a6aa; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 27px; color: #777c81; font-size: 11px; font-weight: 650; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta i { width: 5px; height: 5px; background: #3d4144; border-radius: 50%; }
.app-visual { position: relative; padding: 18px 0 22px 18px; }
.app-visual::before { content: ""; position: absolute; inset: 5% -12% -10% 8%; background: radial-gradient(circle at center, rgba(239,39,43,.19), transparent 62%); filter: blur(15px); z-index: -1; }
.app-window { background: #0e0f10; border: 1px solid #282a2c; border-radius: 17px; padding: 9px; box-shadow: var(--shadow); transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.app-window img { border-radius: 11px; width: 100%; }
.floating-pill { position: absolute; display: flex; align-items: center; gap: 8px; background: rgba(17,18,19,.92); border: 1px solid #2b2d2f; box-shadow: 0 18px 50px rgba(0,0,0,.4); border-radius: 999px; padding: 9px 13px; color: #dfe1e2; font-size: 11px; font-weight: 700; backdrop-filter: blur(12px); }
.floating-pill img { width: 17px; height: 17px; object-fit: contain; }
.floating-pill.one { right: 4%; top: -2px; }
.floating-pill.two { left: 0; bottom: 0; }
.section { padding: 76px 0; }
.section-tight { padding: 52px 0; }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 27px; }
.section-head h2, .page-hero h1 { margin: 8px 0 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.06; letter-spacing: -.045em; }
.section-head p { margin: 0; max-width: 530px; color: var(--muted); font-size: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.card { background: linear-gradient(180deg, #111213, #0f1011); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 23px; }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #18191a; border: 1px solid #282a2c; margin-bottom: 17px; }
.card-icon img { width: 25px; height: 25px; object-fit: contain; }
.card h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -.02em; }
.card p { margin: 0; color: #8f9499; font-size: 12px; line-height: 1.7; }
.card .link { display: inline-flex; margin-top: 17px; color: #eceeef; font-size: 11px; font-weight: 750; }
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--border-soft); background: #0f1011; border-radius: 16px; overflow: hidden; }
.stat { padding: 21px; text-align: center; border-right: 1px solid var(--border-soft); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 20px; letter-spacing: -.03em; }
.stat span { color: #777c81; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.steps { counter-reset: steps; display: grid; gap: 10px; }
.step { position: relative; padding: 18px 20px 18px 60px; background: #101112; border: 1px solid #1f2123; border-radius: 14px; }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 17px; top: 16px; width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: #241213; border: 1px solid #5c2022; border-radius: 9px; font-size: 11px; font-weight: 850; }
.step h3 { margin: 0 0 4px; font-size: 13px; }
.step p { margin: 0; color: #898e93; font-size: 11px; }
.page-hero { padding: 66px 0 40px; }
.page-hero p { color: #9a9fa4; max-width: 730px; font-size: 15px; line-height: 1.75; }
.notice { border-radius: 14px; padding: 15px 17px; border: 1px solid #392426; background: #151011; color: #b5b7ba; font-size: 11px; }
.notice strong { color: #fff; }
.notice.info { border-color: #253141; background: #0d1218; }
.release-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 28px; background: #101112; border: 1px solid #252729; border-radius: 18px; }
.release-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 7px; font-size: 9px; font-weight: 850; letter-spacing: .05em; border: 1px solid #333; color: #b6babd; background: #18191a; }
.badge.red { color: #ff777a; border-color: #5a282a; background: #251315; }
.badge.green { color: #63e6a1; border-color: #1f593c; background: #0d2218; }
.badge.blue { color: #79baff; border-color: #27476a; background: #0e1924; }
.release-meta { color: #7d8287; font-size: 11px; }
.codebox { display: flex; align-items: center; gap: 10px; background: #090a0b; border: 1px solid #242628; border-radius: 11px; min-height: 44px; padding: 9px 11px; color: #b9bdc1; font-family: "Cascadia Code", Consolas, monospace; font-size: 10px; overflow: hidden; }
.codebox code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn { margin-left: auto; flex: 0 0 auto; border: 1px solid #2c2e30; background: #141516; color: #d5d7d9; border-radius: 8px; min-height: 29px; padding: 0 9px; font-size: 9px; font-weight: 800; cursor: pointer; }
.copy-btn:hover { border-color: #4a4d50; }
.wallet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.wallet-card { padding: 22px; }
.wallet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.wallet-head img { width: 42px; height: 42px; object-fit: contain; }
.wallet-head h3 { margin: 0; font-size: 15px; }
.wallet-head span { display: block; margin-top: 1px; color: #74797e; font-size: 10px; }
.wallet-address { min-height: 65px; align-items: flex-start; word-break: break-all; }
.wallet-address code { white-space: normal; word-break: break-all; line-height: 1.5; }
.community-hero { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: stretch; }
.discord-panel { display: grid; place-items: center; min-height: 280px; position: relative; overflow: hidden; }
.discord-panel::after { content:""; position:absolute; inset:auto -20% -55% -20%; height:260px; background:radial-gradient(circle,rgba(88,101,242,.22),transparent 65%); }
.discord-panel img { width: 190px; position: relative; z-index: 1; }
.security-list { display: grid; gap: 10px; }
.security-item { display: flex; gap: 12px; align-items: flex-start; background: #101112; border: 1px solid #202224; border-radius: 13px; padding: 15px; }
.security-item .dot { flex:0 0 auto; width: 26px; height: 26px; display:grid; place-items:center; border-radius:8px; background:#251315; border:1px solid #5a282a; color:#ff7275; font-weight:900; font-size:11px; }
.security-item strong { display:block; font-size:12px; margin-bottom:3px; }
.security-item p { margin:0; color:#858a8f; font-size:10px; }
/* Docs */
.docs-shell { display: grid; grid-template-columns: 255px minmax(0,1fr); gap: 26px; padding-bottom: 80px; }
.docs-sidebar { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 112px); overflow: auto; padding-right: 4px; }
.docs-search { position: relative; margin-bottom: 14px; }
.docs-search input { width:100%; height:42px; border-radius:11px; border:1px solid #242628; background:#0f1011; color:#fff; padding:0 12px; outline:none; font-size:11px; }
.docs-search input:focus { border-color:#4a2a2b; box-shadow:0 0 0 3px rgba(239,39,43,.06); }
.docs-nav { display:grid; gap:4px; }
.docs-nav a { display:flex; align-items:center; gap:9px; min-height:38px; padding:0 10px; color:#8f9499; border-radius:9px; font-size:11px; font-weight:700; }
.docs-nav a:hover, .docs-nav a.active { color:#fff; background:#141516; }
.docs-nav img { width:17px; height:17px; object-fit:contain; opacity:.9; }
.docs-content { min-width: 0; }
.doc-page { margin-bottom: 52px; scroll-margin-top: 92px; }
.doc-page-head { padding-bottom: 18px; border-bottom:1px solid #1c1e20; margin-bottom:18px; }
.doc-page-head h2 { margin:0 0 7px; font-size:27px; letter-spacing:-.035em; }
.doc-page-head p { margin:0; color:#858a8f; font-size:12px; }
.doc-section { margin: 20px 0 30px; scroll-margin-top: 92px; }
.doc-section h3 { margin:0 0 6px; font-size:16px; letter-spacing:-.02em; }
.doc-section > p { margin:0 0 12px; color:#777d82; font-size:11px; }
.doc-entry-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.doc-entry { background:#0f1011; border:1px solid #1f2123; border-radius:12px; padding:14px; }
.doc-entry h4 { margin:0 0 5px; font-size:11px; }
.doc-entry p { margin:0; color:#858a8f; font-size:10px; line-height:1.7; }
.doc-entry .badge { margin-top:9px; }
.doc-entry.hidden { display:none; }
.doc-section.search-empty { display:none; }
.search-summary { color:#7d8287; font-size:10px; margin:8px 0 14px; min-height:15px; }
.footer { border-top:1px solid #181a1c; padding:32px 0 40px; color:#6f7479; }
.footer-grid { display:flex; justify-content:space-between; gap:30px; align-items:center; }
.footer .brand { color:#dfe1e3; }
.footer-links { display:flex; flex-wrap:wrap; gap:16px; font-size:10px; }
.footer-links a:hover { color:#fff; }
.reveal { opacity:0; transform:translateY(12px); transition:opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior:auto!important; animation:none!important; transition:none!important; } .reveal { opacity:1; transform:none; } }
@media (max-width: 980px) {
  .hero { padding-top:58px; }
  .hero-grid { grid-template-columns:1fr; gap:40px; }
  .app-visual { max-width:760px; padding-left:0; }
  .app-window { transform:none; }
  .grid-3, .wallet-grid { grid-template-columns:1fr 1fr; }
  .community-hero { grid-template-columns:1fr; }
  .docs-shell { grid-template-columns:1fr; }
  .docs-sidebar { position:relative; top:0; max-height:none; }
  .docs-nav { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .navbar { min-height:64px; }
  .menu-btn { display:block; }
  .nav-links { display:none; position:absolute; top:64px; left:18px; right:18px; flex-direction:column; align-items:stretch; padding:10px; background:#101112; border:1px solid #252729; border-radius:14px; box-shadow:0 20px 50px rgba(0,0,0,.45); }
  .nav-links.open { display:flex; }
  .nav-cta { margin-left:0; }
  .nav-links .btn { width:100%; }
  .hero h1 { font-size:48px; }
  .grid-3, .grid-2, .wallet-grid { grid-template-columns:1fr; }
  .stat-strip { grid-template-columns:1fr 1fr; }
  .stat:nth-child(2) { border-right:0; }
  .stat:nth-child(-n+2) { border-bottom:1px solid var(--border-soft); }
  .section-head { align-items:start; flex-direction:column; gap:10px; }
  .release-card { grid-template-columns:1fr; }
  .release-card .btn { width:100%; }
  .docs-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .doc-entry-grid { grid-template-columns:1fr; }
  .footer-grid { flex-direction:column; align-items:flex-start; }
}
@media (max-width: 480px) {
  .container { width:min(calc(100% - 24px), var(--max)); }
  .brand .version { display:none; }
  .hero { padding:46px 0 48px; }
  .hero h1 { font-size:42px; }
  .hero .lead { font-size:14px; }
  .hero-actions .btn { width:100%; }
  .floating-pill { display:none; }
  .section { padding:58px 0; }
  .stat-strip { grid-template-columns:1fr; }
  .stat { border-right:0; border-bottom:1px solid var(--border-soft); }
  .stat:last-child { border-bottom:0; }
  .docs-nav { grid-template-columns:1fr; }
}
