@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

.protocol-status { padding: 14px 0; color: var(--gold-soft); font-size: 13px; border-bottom: 1px solid var(--line); }
button:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }
.launch-form label { display: grid; gap: 8px; margin-bottom: 18px; color: var(--muted); }
.launch-form input { width: 100%; min-width: 0; padding: 12px; color: var(--text); background: #02070b; border: 1px solid var(--line-bright); border-radius: 8px; }
.launch-form .review-check { display: flex; align-items: flex-start; font-size: 13px; }
.review-check input { width: auto; margin-top: 5px; }
.launch-steps { display: grid; gap: 12px; }
.parameter-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 24px; }
.launch-steps input { max-width: 100%; }
.code, #guardian-status { overflow-wrap: anywhere; }
.code { white-space: pre-wrap; overflow-wrap: anywhere; }
.bond-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 12px; }
#transaction-status { overflow-wrap: anywhere; margin-top: 15px; color: var(--gold-soft); }
#launch-log { margin-top: 24px; }

:root {
  --bg: #02070b;
  --surface: rgba(4, 13, 19, .8);
  --surface-solid: #061017;
  --line: rgba(130, 170, 191, .16);
  --line-bright: rgba(255, 191, 87, .52);
  --text: #f8fafb;
  --muted: #9baab5;
  --subtle: #687782;
  --gold: #f6bc5b;
  --gold-soft: #ffda92;
  --green: #4ee6a3;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: radial-gradient(circle at 72% 0, rgba(31, 61, 83, .17), transparent 31%), var(--bg);
  font-family: Manrope, Arial, sans-serif;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .16) .6px, transparent .7px);
  background-size: 5px 5px;
  opacity: .06;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  border-bottom: 1px solid rgba(129, 167, 191, .1);
  background: rgba(2, 7, 11, .71);
  backdrop-filter: blur(18px);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: .2em; }
.star-mark { display: block; width: 34px; height: 34px; flex: 0 0 34px; overflow: hidden; background: url('assets/nova-star.svg') center / contain no-repeat; color: transparent; font-size: 0; line-height: 0; filter: drop-shadow(0 0 8px rgba(255, 189, 76, .72)); }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: auto; color: #c1cbd2; font-size: 13px; }
.nav a { padding: 8px 0; transition: color .2s ease; }
.nav a:hover, .nav a.active { color: #fff; }
.wallet-btn, .primary-btn, .secondary-btn, .outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 19px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.wallet-btn, .outline-btn { border: 1px solid var(--line-bright); background: rgba(20, 16, 8, .45); color: #fff; box-shadow: 0 0 20px rgba(255, 184, 64, .08) inset; }
.wallet-btn:hover, .outline-btn:hover { transform: translateY(-2px); background: rgba(246, 188, 91, .11); }
.primary-btn { border: 1px solid #ffcf7c; background: linear-gradient(135deg, #ffe3a0, #f2ad45); color: #181005; box-shadow: 0 8px 28px rgba(255, 180, 66, .26); }
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(255, 180, 66, .34); }
.secondary-btn { border: 1px solid rgba(164, 190, 205, .28); background: rgba(1, 7, 12, .64); color: #fff; }
.secondary-btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .42); }

.hero { position: relative; min-height: 575px; isolation: isolate; overflow: hidden; }
.hero::before { position: absolute; z-index: -2; inset: 0; content: ''; background: url('assets/nova-hero-space.png') center right / cover no-repeat; opacity: .96; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg, #02070b 0%, rgba(2, 7, 11, .98) 28%, rgba(2, 7, 11, .32) 60%, rgba(2, 7, 11, .12) 100%), linear-gradient(0deg, var(--bg), transparent 30%); }
.hero-inner { display: grid; grid-template-columns: .91fr 1.09fr; min-height: 575px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 62px 0 66px; }
.eyebrow, .kicker { color: var(--gold-soft); font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: .43em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 610px; margin: 18px 0; font-size: clamp(45px, 5.4vw, 73px); font-weight: 600; letter-spacing: -.048em; line-height: 1.02; }
h1 span { color: var(--gold-soft); }
.hero-text { max-width: 500px; color: #c1cbd1; font-size: 15px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 24px 0 39px; }
.hero-points { display: flex; align-items: stretch; gap: 0; }
.hero-point { min-width: 138px; padding: 0 20px; border-left: 1px solid rgba(148, 181, 199, .15); }
.hero-point:first-child { padding-left: 0; border-left: 0; }
.hero-point b { display: block; color: #e9eef0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hero-point span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.hero-point.chain b::before { display: inline-block; content: '◒'; margin-right: 8px; color: #66e2a7; font-size: 17px; vertical-align: -2px; }

.hero-system { position: relative; min-height: 520px; }
.nova-orbit { position: absolute; left: 67%; top: 49%; border: 1px solid rgba(252, 183, 71, .55); border-radius: 50%; transform: translate(-50%, -50%) rotate(-10deg); }
.nova-orbit.one { width: 88%; height: 41%; }
.nova-orbit.two { width: 62%; height: 72%; border-color: rgba(255, 194, 91, .32); transform: translate(-50%, -50%) rotate(51deg); }
.nova-orbit.three { width: 96%; height: 62%; border-color: rgba(160, 115, 255, .38); transform: translate(-50%, -50%) rotate(17deg); }
.nova-sun { position: absolute; left: 67%; top: 49%; display: grid; width: clamp(190px, 24vw, 330px); aspect-ratio: 1; place-content: center; border: 1px solid rgba(255, 233, 181, .9); border-radius: 50%; background: radial-gradient(circle at 38% 34%, rgba(255,255,255,.86) 0 2%, rgba(255,235,191,.74) 5%, rgba(255,190,69,.48) 24%, rgba(205,100,15,.34) 53%, rgba(92,31,2,.42) 76%, rgba(22,8,1,.58) 100%); box-shadow: 0 0 35px rgba(255, 172, 51, .72), 0 0 95px rgba(255, 142, 24, .5), inset -15px -14px 35px rgba(66, 24, 0, .22); transform: translate(-50%, -50%); text-align: center; }
.nova-sun::before { position: absolute; inset: -9%; content: ''; border: 1px solid rgba(255, 213, 137, .65); border-radius: inherit; box-shadow: 0 0 36px rgba(255, 178, 50, .48); }
.nova-sun b { position: relative; font-size: clamp(24px, 3vw, 41px); font-weight: 500; letter-spacing: .29em; margin-left: .29em; text-shadow: 0 2px 8px #6b2800; }
.nova-sun small { position: relative; margin-top: 8px; font-size: 8px; font-weight: 700; letter-spacing: .45em; text-transform: uppercase; }
.orbit-node { position: absolute; z-index: 3; width: 105px; text-align: center; font-size: 10px; }
.orbit-node .node-icon { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 6px; border: 1px solid rgba(255, 199, 96, .72); border-radius: 50%; background: rgba(2, 9, 14, .76); color: var(--gold-soft); font-size: 22px; box-shadow: 0 0 20px rgba(255, 180, 60, .2); }
.orbit-node b { display: block; letter-spacing: .08em; }
.orbit-node small { color: #bcc6cc; font-size: 9px; }
.node-treasury { top: 5%; left: 63%; }
.node-stake { top: 39%; left: 18%; }
.node-buybacks { top: 39%; right: -8%; }
.node-bonds { bottom: 2%; left: 63%; }

.metrics { margin-top: -8px; }
.metric-grid { display: grid; grid-template-columns: repeat(6, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(108deg, rgba(3, 13, 19, .9), rgba(2, 12, 17, .68)); box-shadow: var(--shadow); }
.metric { min-height: 99px; padding: 23px 18px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: none; }
.metric span { display: block; color: #87949e; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.metric strong { display: block; margin: 7px 0 3px; font-size: 21px; font-weight: 600; white-space: nowrap; }
.metric small { color: var(--muted); font-size: 10px; }
.metric .positive { color: var(--green); }

.section { padding: 46px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-title { margin: 7px 0 0; font-size: 21px; letter-spacing: -.025em; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(4, 14, 21, .93), rgba(2, 10, 15, .76)); box-shadow: var(--shadow); }
.analytics { display: grid; grid-template-columns: 1.32fr .98fr; gap: 16px; }
.chart-card, .energy-card { padding: 23px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 16px; border-bottom: 1px solid rgba(131, 163, 181, .12); }
.card-label { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.tabs { display: flex; gap: 4px; }
.tab { padding: 6px 11px; border: 0; border-radius: 999px; background: transparent; color: var(--subtle); font-size: 10px; }
.tab.active, .tab:hover { border: 1px solid rgba(255, 186, 75, .4); background: rgba(135, 87, 21, .16); color: var(--gold-soft); }
.fee-chart { position: relative; height: 220px; margin-top: 12px; overflow: hidden; background: repeating-linear-gradient(to right, transparent 0, transparent calc(20% - 1px), rgba(110, 147, 167, .1) calc(20% - 1px), rgba(110, 147, 167, .1) 20%), repeating-linear-gradient(to bottom, transparent 0, transparent calc(25% - 1px), rgba(110, 147, 167, .1) calc(25% - 1px), rgba(110, 147, 167, .1) 25%); }
.fee-chart svg { width: 100%; height: 100%; }
.chart-bottom { display: flex; justify-content: space-between; margin-top: 8px; color: var(--subtle); font-size: 10px; }
.energy-card { display: grid; grid-template-columns: 178px 1fr; align-items: center; gap: 21px; }
.fee-ring { position: relative; display: grid; width: 166px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: conic-gradient(#ffdc93 0 60%, #f0a940 60% 100%); box-shadow: 0 0 28px rgba(246, 177, 66, .15); }
.fee-ring::before { position: absolute; width: 136px; aspect-ratio: 1; content: ''; border: 1px solid rgba(255, 212, 136, .25); border-radius: inherit; background: #051017; }
.fee-ring span { position: relative; text-align: center; }
.fee-ring b { display: block; font-size: 33px; font-weight: 500; }
.fee-ring small { display: block; margin-top: 4px; color: #dce3e5; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .12em; }
.energy-copy p { margin: 0 0 12px; font-size: 13px; line-height: 1.55; }
.status-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: #bac3ca; font-size: 11px; }
.status-list li::before { content: '●'; margin-right: 11px; color: var(--gold); text-shadow: 0 0 7px var(--gold); }

.mechanic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.mechanic { display: flex; min-height: 206px; flex-direction: column; padding: 25px; }
.mechanic-icon { display: grid; width: 41px; height: 41px; place-items: center; margin-bottom: 17px; border: 1px solid rgba(255, 190, 79, .48); border-radius: 50%; color: var(--gold-soft); font-size: 23px; box-shadow: 0 0 19px rgba(255, 180, 56, .12); }
.mechanic h3 { margin: 0 0 7px; font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mechanic p { flex: 1; margin: 0; color: #b2bdc4; font-size: 12px; line-height: 1.6; }
.mechanic .outline-btn { width: 100%; min-height: 38px; margin-top: 19px; padding: 8px 10px; border-radius: 8px; font-size: 11px; }

.mission { position: relative; isolation: isolate; min-height: 385px; overflow: hidden; border-top: 1px solid rgba(142, 181, 204, .1); border-bottom: 1px solid rgba(142, 181, 204, .1); }
.mission::before { position: absolute; z-index: -2; inset: 0; content: ''; background: url('assets/nova-mission-space.png') center / cover no-repeat; opacity: .83; }
.mission::after { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg, rgba(2, 7, 11, .37), rgba(2, 7, 11, .64) 55%, rgba(2, 7, 11, .74)), linear-gradient(0deg, var(--bg), transparent 32%); }
.mission-inner { display: grid; grid-template-columns: 1fr .88fr; align-items: center; min-height: 385px; gap: 45px; }
.mission-copy h2 { max-width: 450px; margin: 15px 0 17px; font-size: clamp(30px, 3.6vw, 47px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; text-transform: uppercase; }
.mission-copy p { max-width: 470px; color: #c6ced3; font-size: 13px; line-height: 1.68; }
.mission-list { display: grid; gap: 21px; }
.mission-item { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 13px; }
.mission-item i { display: grid; width: 44px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255, 190, 79, .4); border-radius: 50%; color: var(--gold-soft); font-size: 18px; font-style: normal; box-shadow: 0 0 20px rgba(255, 180, 66, .1); }
.mission-item b { display: block; margin-bottom: 3px; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.mission-item span { color: #9eabb4; font-size: 11px; }

.page-hero { padding: 72px 0 38px; }
.page-hero h1 { margin: 12px 0 13px; font-size: clamp(40px, 5.5vw, 66px); }
.page-hero p { max-width: 685px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.two-col { display: grid; grid-template-columns: 1.23fr .77fr; gap: 16px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.detail-card { padding: 25px; }
.detail-card h2 { margin: 7px 0 17px; font-size: 25px; letter-spacing: -.035em; }
.detail-card h3 { margin: 0 0 8px; font-size: 14px; }
.detail-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.list { margin: 0; padding: 0; list-style: none; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.row:last-child { border-bottom: 0; }
.row strong { color: #f3f5f5; font-size: 13px; font-weight: 600; text-align: right; }
.notice { padding: 15px 17px; border: 1px solid rgba(255, 190, 79, .25); border-radius: 12px; background: rgba(119, 75, 17, .13); color: #dac7a3; font-size: 12px; line-height: 1.65; }
.form-line { display: flex; align-items: center; gap: 8px; margin: 20px 0 14px; }
.input-shell { display: flex; flex: 1; align-items: center; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(1, 8, 12, .65); }
.input-shell input { width: 100%; border: 0; outline: 0; background: transparent; color: white; }
.input-shell span { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 11px; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; }

.docs-layout { display: grid; grid-template-columns: 214px 1fr; gap: 43px; }
.doc-nav { position: sticky; top: 104px; align-self: start; padding: 16px 0; }
.doc-nav a { display: block; padding: 8px 0; color: var(--muted); font-size: 12px; }
.doc-nav a:hover { color: var(--gold-soft); }
.doc h2 { margin: 0 0 13px; font-size: 27px; letter-spacing: -.035em; }
.doc h3 { margin: 34px 0 9px; font-size: 17px; }
.doc p, .doc li { color: var(--muted); font-size: 13px; line-height: 1.75; }
.doc ol, .doc ul { padding-left: 20px; }
.code { padding: 16px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #02080c; color: #dbe5e8; font-family: 'DM Mono', monospace; font-size: 11px; line-height: 1.7; white-space: pre-wrap; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.doc-table th, .doc-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc-table th { color: var(--gold-soft); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.doc-table td { color: var(--muted); }
.doc-table td:first-child { color: #e1e7e9; }
.mono { font-family: 'DM Mono', monospace; font-size: 11px; }

.footer { padding: 30px 0 38px; border-top: 1px solid rgba(142, 181, 204, .1); }
.footer .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer .brand { font-size: 17px; }.footer .star-mark { width: 27px; height: 27px; flex-basis: 27px; }.footer small { display: block; margin-top: 2px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .27em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 25px; color: #a5b1ba; font-size: 11px; }
.footer-note { color: #74818a; font-size: 10px; }
.toast { position: fixed; z-index: 50; right: 22px; bottom: 22px; max-width: 310px; padding: 13px 15px; border: 1px solid var(--line-bright); border-radius: 11px; background: #0a1217; box-shadow: var(--shadow); color: #f3f6f7; font-size: 12px; line-height: 1.45; opacity: 0; pointer-events: none; transform: translateY(15px); transition: .24s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }.hero { min-height: 770px; }.hero-copy { padding-bottom: 13px; }.hero-system { min-height: 350px; }.hero::after { background: linear-gradient(90deg, #02070b 0%, rgba(2,7,11,.82) 45%, rgba(2,7,11,.18) 100%), linear-gradient(0deg, var(--bg), transparent 22%); }.node-treasury { top: 0; }.node-bonds { bottom: 0; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }.metric:nth-child(3) { border-right: 0; }.metric:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .analytics, .two-col { grid-template-columns: 1fr; }.mechanic-grid { grid-template-columns: repeat(2, 1fr); }.mission-inner { grid-template-columns: 1fr; padding: 55px 0; }.docs-layout { grid-template-columns: 1fr; }.doc-nav { position: static; display: flex; gap: 18px; overflow-x: auto; padding: 0 0 13px; border-bottom: 1px solid var(--line); }.doc-nav a { white-space: nowrap; }
}
@media (max-width: 660px) {
  .container { width: min(100% - 30px, 1180px); }.topbar { height: 66px; }.nav { display: none; }.brand { font-size: 18px; }.star-mark { width: 29px; height: 29px; flex-basis: 29px; }.wallet-btn { padding: 8px 11px; min-height: 37px; font-size: 11px; }
  .hero { min-height: 735px; }.hero-copy { padding-top: 56px; }.hero-system { min-height: 328px; }.hero-points { flex-wrap: wrap; gap: 15px; }.hero-point { min-width: 120px; padding-left: 13px; }.hero-point:first-child { padding-left: 0; }.hero-point:last-child { border-left: 0; padding-left: 0; }
  .nova-orbit, .nova-sun { left: 64%; }.nova-sun { width: 162px; }.orbit-node { transform: scale(.82); }.node-stake { left: -7%; }.node-buybacks { right: -7%; }.node-treasury { left: 52%; }.node-bonds { left: 52%; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }.metric { min-height: 90px; padding: 18px 14px; }.metric:nth-child(odd) { border-right: 1px solid var(--line); }.metric:nth-child(even) { border-right: 0; }.metric:nth-child(-n+4) { border-bottom: 1px solid var(--line); }.metric strong { font-size: 18px; }
  .section { padding: 34px 0; }.energy-card { grid-template-columns: 1fr; }.fee-ring { margin: 0 auto; }.mechanic-grid, .three-col { grid-template-columns: 1fr; }.mechanic { min-height: 190px; }.mission { min-height: 0; }.mission-inner { gap: 35px; }.footer .container { align-items: flex-start; flex-direction: column; }.footer-links { gap: 15px; }.form-line { align-items: stretch; flex-direction: column; }
}

/* Orbit Nova homepage: a single celestial core replaces the previous sun/coin pair. */
.nova-hero { min-height: 390px; }
.nova-hero::before { background: radial-gradient(circle at 68% 38%, rgba(72, 47, 116, .22), transparent 27%), radial-gradient(circle at 60% 47%, rgba(227, 140, 49, .11), transparent 22%), #02070b; opacity: 1; }
.nova-hero::after { background: linear-gradient(90deg, #02070b 0%, rgba(2, 7, 11, .92) 36%, rgba(2, 7, 11, .24) 72%, rgba(2, 7, 11, .55) 100%), linear-gradient(0deg, var(--bg), transparent 23%); }
.nova-hero .hero-inner { grid-template-columns: 1.08fr .96fr .34fr; min-height: 390px; }
.nova-hero .hero-copy { position: relative; z-index: 4; padding: 47px 0 34px; }
.nova-hero .hero-title { margin: 20px 0 17px; color: #f5f7f6; font-size: clamp(39px, 4.4vw, 58px); font-weight: 500; letter-spacing: .2em; line-height: 1.22; }
.nova-hero .hero-title span { display: block; margin-top: 3px; color: var(--gold-soft); font-size: clamp(24px, 2.8vw, 38px); font-weight: 400; letter-spacing: .28em; white-space: nowrap; }
.nova-hero .hero-text { max-width: 350px; color: #c2cbd2; font-size: 14px; line-height: 1.7; }
.nova-hero .hero-actions { margin: 23px 0 0; }
.nova-hero .hero-system { position: relative; z-index: 1; min-height: 390px; overflow: visible; }
.nova-hero .nova-orbit, .nova-hero .orbit-node { display: none; }
.nova-hero .nova-sun { position: absolute; z-index: 2; left: 76%; top: 51%; width: clamp(270px, 33vw, 445px); aspect-ratio: 1; border: 0; border-radius: 0; background: url('assets/nova-orbital-core.png') 35% center / cover no-repeat; box-shadow: 0 0 55px rgba(71, 85, 184, .14), 0 0 60px rgba(255, 172, 55, .12); -webkit-mask-image: radial-gradient(ellipse 68% 68% at center, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 68% 68% at center, #000 58%, transparent 100%); transform: translate(-50%, -50%); }
.nova-hero .nova-sun::before, .nova-hero .nova-sun b, .nova-hero .nova-sun small { display: none; }
.hero-aside { display: grid; align-content: center; gap: 12px; color: #aeb8c4; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .22em; line-height: 1.15; text-transform: uppercase; }
.metric-grid-five { grid-template-columns: repeat(5, 1fr); border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
.metric-grid-five .metric { min-height: 101px; padding: 25px 8px; }.metric-grid-five .metric:first-child { padding-left: 8px; }.metric-grid-five .metric:last-child { padding-right: 8px; }
.home-dashboard { display: grid; grid-template-columns: 1.22fr .98fr; gap: 20px; padding: 37px 0 55px; }
.home-dashboard .chart-card { padding: 23px; }.home-dashboard .fee-chart { height: 205px; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.module { position: relative; display: block; min-height: 139px; padding: 21px 25px; transition: transform .2s ease, border-color .2s ease; }
.module:hover { border-color: rgba(255, 196, 101, .48); transform: translateY(-2px); }
.module .mechanic-icon { width: 30px; height: 30px; margin-bottom: 10px; border: 0; box-shadow: none; color: var(--gold-soft); font-size: 22px; }
.module h3 { margin: 0 0 5px; color: #b5dcff; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.module p { margin: 0; color: #98a6b0; font-size: 11px; line-height: 1.45; }.module-arrow { position: absolute; right: 23px; bottom: 18px; color: var(--gold-soft); }

@media (max-width: 1300px) {
  .nova-hero .hero-inner { grid-template-columns: 1.08fr .96fr; }.hero-aside { display: none; }
}
@media (max-width: 960px) {
  .nova-hero { min-height: 630px; }.nova-hero .hero-inner { grid-template-columns: 1fr; min-height: 630px; }.nova-hero .hero-copy { padding: 54px 0 0; }.nova-hero .hero-system { min-height: 310px; }.nova-hero .nova-sun { left: 58%; top: 48%; width: 360px; }.hero-aside { display: none; }
  .metric-grid-five { grid-template-columns: repeat(3, 1fr); }.metric-grid-five .metric:nth-child(3) { border-right: 0; }.metric-grid-five .metric:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .home-dashboard { grid-template-columns: 1fr; }.module-grid { min-height: 0; }
}
@media (max-width: 660px) {
  .nova-hero { min-height: 585px; }.nova-hero .hero-inner { min-height: 585px; }.nova-hero .hero-copy { padding-top: 47px; }.nova-hero .hero-title { font-size: 35px; letter-spacing: .17em; }.nova-hero .hero-title span { font-size: 22px; letter-spacing: .19em; }.nova-hero .hero-text { max-width: 305px; font-size: 13px; }.nova-hero .hero-system { min-height: 278px; }.nova-hero .nova-sun { left: 55%; top: 45%; width: 285px; }
  .metric-grid-five { grid-template-columns: repeat(2, 1fr); }.metric-grid-five .metric:nth-child(3) { border-right: 1px solid var(--line); }.metric-grid-five .metric:nth-child(odd) { border-right: 1px solid var(--line); }.metric-grid-five .metric:nth-child(even) { border-right: 0; }.metric-grid-five .metric:nth-child(-n+4) { border-bottom: 1px solid var(--line); }.metric-grid-five .metric:last-child { grid-column: 1 / -1; border-right: 0; }
  .home-dashboard { padding: 30px 0 42px; }.module { min-height: 126px; padding: 17px; }.module-arrow { right: 17px; bottom: 15px; }
}
@media (max-width: 660px) {
  .topbar:has(.nav) { height: auto; }
  .topbar:has(.nav) .container { flex-wrap: wrap; padding-top: 12px; gap: 12px; }
  .topbar .nav { display: flex; order: 3; width: 100%; overflow-x: auto; gap: 22px; padding-bottom: 12px; }
  .topbar .wallet-btn { margin-left: auto; }
}

/* ==========================================================================
   ORBIT NOVA — refinamento visual v2
   Adicionado no fim do arquivo: sobrepõe o estilo base sem removê-lo.
   Tudo é CSS puro; nenhuma regra depende de JS para o layout funcionar.
   ========================================================================== */

:root {
  --violet: #8a7bff;
  --violet-soft: #b7adff;
  --cyan: #6fd8ff;
  --glass: rgba(255, 255, 255, .045);
  --glass-line: rgba(255, 255, 255, .08);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* --- Base ---------------------------------------------------------------- */

body {
  background:
    radial-gradient(1100px 620px at 78% -6%, rgba(138, 123, 255, .14), transparent 62%),
    radial-gradient(900px 520px at 12% 4%, rgba(246, 188, 91, .07), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Campo de estrelas discreto, com deriva muito lenta. */
body::after {
  position: fixed;
  z-index: -1;
  inset: -50%;
  content: '';
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255, 255, 255, .8), transparent 100%),
    radial-gradient(1.2px 1.2px at 27% 62%, rgba(183, 173, 255, .7), transparent 100%),
    radial-gradient(1px 1px at 41% 9%, rgba(255, 255, 255, .6), transparent 100%),
    radial-gradient(1.6px 1.6px at 58% 44%, rgba(255, 218, 146, .55), transparent 100%),
    radial-gradient(1.1px 1.1px at 69% 77%, rgba(255, 255, 255, .55), transparent 100%),
    radial-gradient(1.3px 1.3px at 83% 26%, rgba(111, 216, 255, .5), transparent 100%),
    radial-gradient(1px 1px at 91% 58%, rgba(255, 255, 255, .5), transparent 100%),
    radial-gradient(1.2px 1.2px at 7% 88%, rgba(255, 255, 255, .45), transparent 100%),
    radial-gradient(1px 1px at 35% 92%, rgba(183, 173, 255, .5), transparent 100%),
    radial-gradient(1.4px 1.4px at 76% 6%, rgba(255, 255, 255, .5), transparent 100%);
  background-size: 620px 620px;
}

::selection { background: rgba(246, 188, 91, .28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

* { scrollbar-color: rgba(246, 188, 91, .45) transparent; scrollbar-width: thin; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 99px; background: rgba(246, 188, 91, .4); background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: rgba(246, 188, 91, .7); background-clip: content-box; }

/* --- Topbar -------------------------------------------------------------- */

.topbar {
  background: rgba(2, 7, 11, .62);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid rgba(129, 167, 191, .12);
}
.topbar::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, transparent, rgba(246, 188, 91, .55) 22%, rgba(138, 123, 255, .5) 62%, transparent);
  opacity: .7;
}
.brand { transition: opacity .2s ease; }
.brand:hover { opacity: .82; }
.star-mark { transition: transform .5s var(--ease-out), filter .3s ease; }
.brand:hover .star-mark { transform: rotate(90deg) scale(1.06); filter: drop-shadow(0 0 12px rgba(255, 189, 76, .95)); }

.nav a { position: relative; }
.nav a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  content: '';
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--violet-soft));
  transform: translateX(-50%);
  transition: width .28s var(--ease-out);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* --- Botões -------------------------------------------------------------- */

.primary-btn, .wallet-btn, .outline-btn, .secondary-btn { position: relative; overflow: hidden; isolation: isolate; }
.primary-btn::after, .wallet-btn::after, .outline-btn::after, .secondary-btn::after {
  position: absolute;
  z-index: -1;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  content: '';
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .38), transparent);
  transition: left .62s var(--ease-out);
}
.primary-btn:hover::after, .wallet-btn:hover::after, .outline-btn:hover::after, .secondary-btn:hover::after { left: 135%; }
.primary-btn { background: linear-gradient(135deg, #ffeec0, #ffc766 46%, #f0a338); }
.primary-btn:active, .wallet-btn:active, .outline-btn:active, .secondary-btn:active { transform: translateY(0) scale(.985); }

/* --- Barra de status ----------------------------------------------------- */

.protocol-status {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(255, 191, 87, .14);
  background: linear-gradient(90deg, rgba(119, 75, 17, .16), transparent 62%);
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
}
.protocol-status::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  content: '';
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(246, 188, 91, .55);
}

/* --- Hero ---------------------------------------------------------------- */

.nova-hero { min-height: 545px; }
.nova-hero .hero-inner { min-height: 545px; }
.nova-hero .hero-system { min-height: 545px; }

.nova-hero::before {
  background:
    radial-gradient(760px 620px at 72% 46%, rgba(101, 71, 178, .26), transparent 68%),
    radial-gradient(520px 430px at 64% 52%, rgba(227, 140, 49, .14), transparent 64%),
    #02070b;
}

.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nova-hero .eyebrow::before {
  width: 26px;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, transparent, var(--gold));
}

.nova-hero .hero-title {
  background: linear-gradient(104deg, #ffffff 8%, #e9eef5 34%, #ffd9a0 70%, #b7adff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.nova-hero .hero-title span {
  background: linear-gradient(94deg, #ffda92, #ffb347 58%, #ffd9a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nova-hero .hero-text { color: #bfcad4; }

/* Selos abaixo do CTA — cria o nome .hero-tags (opcional no HTML). */
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  color: #b8c3cc;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); font-style: normal; box-shadow: 0 0 8px var(--gold); }
.hero-tag.is-chain i { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hero-tag.is-violet i { background: var(--violet-soft); box-shadow: 0 0 8px var(--violet); }

/* --- Núcleo orbital animado ---------------------------------------------- */

.nova-hero .nova-sun {
  z-index: 3;
  box-shadow: 0 0 70px rgba(138, 123, 255, .2), 0 0 90px rgba(255, 172, 55, .16);
  /* Fade circular completo: evita a borda quadrada da imagem de fundo. */
  -webkit-mask-image: radial-gradient(closest-side circle, #000 50%, rgba(0, 0, 0, .6) 74%, transparent 100%);
  mask-image: radial-gradient(closest-side circle, #000 50%, rgba(0, 0, 0, .6) 74%, transparent 100%);
}

.orbit-stage {
  position: absolute;
  z-index: 1;
  top: 51%;
  left: 76%;
  width: 560px;
  height: 560px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(var(--orbit-scale, .92));
  transform-origin: center;
}

/* Brilho suave atrás de tudo. */
.orbit-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 76, .2), rgba(138, 123, 255, .13) 46%, transparent 70%);
  filter: blur(14px);
}

.orbit-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.orbit-rings .ring { fill: none; stroke-width: 1.7; stroke-linecap: round; }
.orbit-rings .ring-a { stroke: url(#ringGoldGrad); filter: drop-shadow(0 0 5px rgba(255, 180, 66, .5)); }
.orbit-rings .ring-b { stroke: url(#ringVioletGrad); stroke-width: 1.5; filter: drop-shadow(0 0 5px rgba(138, 123, 255, .45)); }
.orbit-rings .ring-c { stroke: url(#ringCyanGrad); stroke-width: 1.3; filter: drop-shadow(0 0 5px rgba(111, 216, 255, .35)); }
.orbit-rings .ring-dash { stroke: rgba(255, 213, 137, .36); stroke-width: 1; stroke-dasharray: 2 9; }

.orbiter { position: absolute; inset: 0; }
.orbiter-a { transform: rotate(-12deg); }
.orbiter-b { transform: rotate(42deg); }
.orbiter-c { transform: rotate(14deg); }

.orb-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  mix-blend-mode: screen;
  offset-rotate: auto;
  offset-distance: 0%;
}
/* Rastro do satélite: acompanha a direção do trajeto (offset-rotate: auto). */
.orb-dot::after {
  position: absolute;
  top: 50%;
  right: 55%;
  width: 62px;
  height: 2.5px;
  content: '';
  border-radius: 99px;
  background: linear-gradient(270deg, currentColor, transparent);
  filter: blur(1.6px);
  opacity: .75;
  transform: translateY(-50%);
}
.orbiter-a .orb-dot {
  color: #ffb347;
  background: radial-gradient(circle at 35% 32%, #fff, #ffd48a 40%, #f0a338 100%);
  box-shadow: 0 0 18px 3px rgba(255, 183, 71, .9);
  offset-path: path('M 280,184 A 258,96 0 1,0 280,376 A 258,96 0 1,0 280,184');
}
.orbiter-b .orb-dot {
  width: 10px;
  height: 10px;
  color: #8a7bff;
  background: radial-gradient(circle at 35% 32%, #fff, #c9c1ff 40%, #8a7bff 100%);
  box-shadow: 0 0 16px 3px rgba(138, 123, 255, .85);
  offset-path: path('M 280,30 A 196,250 0 1,0 280,530 A 196,250 0 1,0 280,30');
}
.orbiter-c .orb-dot {
  width: 9px;
  height: 9px;
  color: #6fd8ff;
  background: radial-gradient(circle at 35% 32%, #fff, #b7ecff 40%, #6fd8ff 100%);
  box-shadow: 0 0 15px 3px rgba(111, 216, 255, .8);
  offset-path: path('M 280,128 A 235,152 0 1,0 280,432 A 235,152 0 1,0 280,128');
}

/* Fallback para navegadores sem offset-path: o ponto some, as órbitas ficam. */
@supports not (offset-path: path('M 0,0 L 1,1')) {
  .orb-dot { display: none; }
}

@keyframes orbit-travel { to { offset-distance: 100%; } }
@keyframes orbit-depth {
  0%, 100% { opacity: .3; transform: scale(.62); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes ring-breathe {
  0%, 100% { opacity: .62; }
  50% { opacity: 1; }
}
@keyframes core-pulse {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.1) saturate(1.08); }
}
@keyframes core-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 9px)); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes star-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-620px, -310px, 0); }
}
@keyframes status-ping {
  0% { box-shadow: 0 0 0 0 rgba(246, 188, 91, .5); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(246, 188, 91, 0); }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  body::after { animation: star-drift 240s linear infinite; }
  .protocol-status::before { animation: status-ping 2.6s ease-out infinite; }

  .orbit-glow { animation: glow-pulse 7s ease-in-out infinite; }
  .nova-hero .nova-sun { animation: core-float 11s ease-in-out infinite, core-pulse 6s ease-in-out infinite; }

  .orbit-rings .ring-a { animation: ring-breathe 8s ease-in-out infinite; }
  .orbit-rings .ring-b { animation: ring-breathe 11s ease-in-out infinite -3s; }
  .orbit-rings .ring-c { animation: ring-breathe 9.5s ease-in-out infinite -5s; }
  .orbit-rings .ring-dash { transform-box: fill-box; transform-origin: center; animation: spin-slow 70s linear infinite; }
  @keyframes spin-slow { to { transform: rotate(360deg); } }

  .orbiter-a .orb-dot { animation: orbit-travel 19s linear infinite, orbit-depth 19s ease-in-out infinite; }
  .orbiter-b .orb-dot { animation: orbit-travel 27s linear infinite reverse, orbit-depth 27s ease-in-out infinite reverse; }
  .orbiter-c .orb-dot { animation: orbit-travel 13s linear infinite, orbit-depth 13s ease-in-out infinite; }

  /* Entrada dos blocos ao rolar a página.
     Só esconde quando o JS confirmou que vai revelar (classe .js-reveal no <html>). */
  .js-reveal [data-reveal] { opacity: 0; }
  .js-reveal [data-reveal].is-in { animation: reveal-up .72s var(--ease-out) both; }
  .js-reveal [data-reveal].is-in:nth-child(2) { animation-delay: .06s; }
  .js-reveal [data-reveal].is-in:nth-child(3) { animation-delay: .12s; }
}

/* --- Métricas ------------------------------------------------------------ */

.metric-grid-five {
  border-radius: 16px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(255, 255, 255, .05), rgba(4, 13, 19, .55) 38%, rgba(2, 10, 15, .72));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.metric { position: relative; transition: background .25s ease; }
.metric:hover { background: rgba(255, 255, 255, .03); }
.metric::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background: linear-gradient(90deg, var(--gold), var(--violet-soft));
  opacity: 0;
  transition: opacity .25s ease;
}
.metric:hover::before { opacity: .75; }
.metric strong {
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  background: linear-gradient(100deg, #ffffff, #ffe0ad 70%, #ffc266);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.notice {
  border-color: rgba(255, 190, 79, .22);
  background: linear-gradient(120deg, rgba(119, 75, 17, .16), rgba(88, 72, 160, .1));
  backdrop-filter: blur(8px);
}

/* --- Cards --------------------------------------------------------------- */

.card {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, .055), rgba(4, 14, 21, .62) 34%, rgba(2, 10, 15, .8));
  box-shadow: 0 20px 55px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .055);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s var(--ease-out);
}
.card:hover { border-color: rgba(255, 196, 101, .32); box-shadow: 0 26px 70px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .08); }

.module { overflow: hidden; }
.module::before {
  position: absolute;
  inset: 0;
  content: '';
  opacity: 0;
  background: radial-gradient(420px 220px at 12% 0%, rgba(255, 190, 79, .14), transparent 70%);
  transition: opacity .3s ease;
}
.module:hover::before { opacity: 1; }
.module:hover { transform: translateY(-4px); }
.module > *:not(.module-arrow) { position: relative; }
.module .module-arrow { z-index: 2; }
.module .mechanic-icon { transition: transform .35s var(--ease-out); }
.module:hover .mechanic-icon { transform: scale(1.12) rotate(-8deg); }
.module-arrow { transition: transform .3s var(--ease-out); }
.module:hover .module-arrow { transform: translateX(5px); }

.fee-chart {
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--subtle);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .06em;
  text-align: center;
}

/* --- Missão -------------------------------------------------------------- */

.mission::before { opacity: .6; }
.mission::after {
  background:
    linear-gradient(90deg, rgba(2, 7, 11, .55), rgba(2, 7, 11, .72) 55%, rgba(2, 7, 11, .82)),
    radial-gradient(800px 420px at 78% 40%, rgba(138, 123, 255, .16), transparent 70%),
    linear-gradient(0deg, var(--bg), transparent 32%);
}
.mission-item { transition: transform .28s var(--ease-out); }
.mission-item:hover { transform: translateX(5px); }
.mission-item i { transition: border-color .28s ease, box-shadow .28s ease, transform .35s var(--ease-out); }
.mission-item:hover i { border-color: rgba(255, 210, 130, .8); box-shadow: 0 0 26px rgba(255, 180, 66, .28); transform: scale(1.07); }

/* --- Rodapé -------------------------------------------------------------- */

.footer { position: relative; }
.footer::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, transparent, rgba(246, 188, 91, .4) 30%, rgba(138, 123, 255, .35) 70%, transparent);
}
.footer-links a { position: relative; transition: color .2s ease; }
.footer-links a:hover { color: var(--gold-soft); }

/* --- Responsivo do núcleo ------------------------------------------------ */

@media (max-width: 1300px) { .orbit-stage { --orbit-scale: .84; } }
@media (max-width: 960px) {
  .nova-hero { min-height: 700px; }
  .nova-hero .hero-inner { min-height: 700px; }
  .nova-hero .hero-system { min-height: 360px; }
  .orbit-stage { top: 48%; left: 58%; --orbit-scale: .7; }
}
@media (max-width: 660px) {
  .nova-hero { min-height: 640px; }
  .nova-hero .hero-inner { min-height: 640px; }
  .nova-hero .hero-system { min-height: 300px; }
  .orbit-stage { top: 45%; left: 55%; --orbit-scale: .55; }
  .hero-tag { font-size: 9px; padding: 5px 10px; }
}


/* --- Ajustes finais -------------------------------------------------------- */

/* Âncoras (docs.html#fees, #risks…) não ficam escondidas sob a topbar fixa. */
[id] { scroll-margin-top: 104px; }

/* Títulos das páginas internas com o mesmo tratamento da home. */
.page-hero h1 {
  background: linear-gradient(102deg, #ffffff 10%, #e9eef5 38%, #ffd9a0 76%, #b7adff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.page-hero h1 span {
  background: linear-gradient(94deg, #ffda92, #ffb347 60%, #ffd9a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.page-hero .eyebrow::before {
  width: 26px;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, transparent, var(--gold));
}

/* Linhas de dados: realce ao passar o mouse. */
.row { transition: color .2s ease; }
.list .row:hover { color: #cfd8de; }
.list .row:hover strong { color: #fff; }

/* Ícones dos cards internos acompanham o hover do card. */
.detail-card .mechanic-icon { transition: transform .35s var(--ease-out), border-color .25s ease; }
.detail-card:hover .mechanic-icon { transform: scale(1.08); border-color: rgba(255, 210, 130, .7); }

/* Campos e botões do painel com foco e estados mais claros. */
.input-shell { transition: border-color .2s ease, background .2s ease; }
.input-shell:focus-within { border-color: var(--line-bright); background: rgba(1, 8, 12, .85); }
.launch-form input:focus, .doc-nav a:focus-visible { outline-offset: 2px; }

/* Navegação lateral da documentação: item ativo mais legível. */
.doc-nav a { border-left: 2px solid transparent; padding-left: 12px; transition: color .2s ease, border-color .2s ease; }
.doc-nav a:hover { border-left-color: var(--gold); }

/* Tabelas da documentação respiram melhor no celular. */
@media (max-width: 660px) {
  .doc-table { display: block; overflow-x: auto; }
  .code { font-size: 10.5px; }
}

/* --- Faixa do endereço do contrato (só aparece após o lançamento) ---------- */
.contract-bar-wrap { margin: 0 auto 18px; }
.contract-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .05), rgba(4, 13, 19, .6) 40%, rgba(2, 10, 15, .74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.contract-label {
  color: #87949e;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.contract-addr {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--gold-soft);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: .02em;
}
.contract-copy, .contract-link {
  padding: 7px 14px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  background: rgba(20, 16, 8, .45);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .2s ease, transform .2s ease;
}
.contract-copy:hover, .contract-link:hover { background: rgba(246, 188, 91, .13); transform: translateY(-1px); }
@media (max-width: 660px) {
  .contract-bar { gap: 9px; padding: 12px 14px; }
  .contract-addr { flex-basis: 100%; font-size: 12px; }
}

/* Tabela de contratos da documentação: endereços legíveis e clicáveis. */
#contracts-table .mono { color: var(--gold-soft); overflow-wrap: anywhere; transition: color .2s ease; }
#contracts-table a.mono:hover { color: #fff; text-decoration: underline; }
#contracts-table td { vertical-align: middle; }

/* --- Tira minimalista de contratos, acima do rodapé ------------------------ */
.contracts-strip { margin: 0 auto; padding: 26px 0 4px; }
.contracts-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.contracts-strip li { display: flex; align-items: baseline; gap: 8px; }
.contracts-strip span {
  color: #6f7c86;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.contracts-strip .mono { color: #97a4ad; font-size: 11px; transition: color .2s ease; }
.contracts-strip a.mono:hover { color: var(--gold-soft); }
@media (max-width: 660px) {
  .contracts-strip { padding-top: 20px; }
  .contracts-strip ul { gap: 9px 18px; }
  .contracts-strip .mono { font-size: 10.5px; }
}

/* Grade de 4 métricas na home. */
.metric-grid-four { grid-template-columns: repeat(4, 1fr); border-radius: 16px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: linear-gradient(140deg, rgba(255,255,255,.05), rgba(4,13,19,.55) 38%, rgba(2,10,15,.72)); box-shadow: 0 22px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.metric-grid-four .metric { min-height: 101px; padding: 25px 18px; }
@media (max-width: 960px) {
  .metric-grid-four { grid-template-columns: repeat(2, 1fr); }
  .metric-grid-four .metric:nth-child(odd) { border-right: 1px solid var(--line); }
  .metric-grid-four .metric:nth-child(even) { border-right: 0; }
  .metric-grid-four .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Botão de compra, em destaque dourado dentro da faixa do contrato. */
.contract-buy {
  padding: 7px 15px;
  border: 1px solid #ffcf7c;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffeec0, #ffc766 46%, #f0a338);
  color: #181005;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(255, 180, 66, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contract-buy:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255, 180, 66, .34); }

/* --- Páginas internas: mesmo universo da home ------------------------------ */

/* Cor de acento por página. */
.theme-stake { --accent: 111, 216, 255; }   /* ciano  — staking  */
.theme-bonds { --accent: 246, 188, 91; }    /* dourado — bonds   */
.theme-docs  { --accent: 138, 123, 255; }   /* violeta — docs    */
.theme-dash  { --accent: 78, 230, 163; }    /* verde  — dashboard*/

.page-hero { position: relative; isolation: isolate; }
/* Nebulosa atrás do título, na cor do tema. */
.page-hero::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -6%;
  width: 760px;
  height: 520px;
  content: '';
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent), .17), rgba(var(--accent), .06) 45%, transparent 72%);
  filter: blur(18px);
  transform: translateY(-50%);
}

.hero-motif {
  position: absolute;
  top: 50%;
  right: 0;
  width: 340px;
  height: 340px;
  pointer-events: none;
  transform: translateY(-50%);
}
.hero-motif svg { width: 100%; height: 100%; overflow: visible; }
.m-dash { fill: none; stroke: rgba(var(--accent), .30); stroke-width: 1; stroke-dasharray: 2 11; }
.m-ring { fill: none; stroke-width: 1.3; stroke-linecap: round; }
.m-a { stroke: rgba(var(--accent), .62); }
.m-b { stroke: rgba(255, 213, 137, .34); stroke-width: 1.1; }
.m-glow { fill: url(#none); fill: rgba(var(--accent), .07); filter: blur(10px); }
.m-core {
  fill: rgba(var(--accent), .9);
  filter: drop-shadow(0 0 14px rgba(var(--accent), .8)) drop-shadow(0 0 30px rgba(var(--accent), .35));
}

.m-orbiter { position: absolute; inset: 0; }
.m-sat {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #fff, rgba(var(--accent), 1) 45%, rgba(var(--accent), .7));
  box-shadow: 0 0 13px 2px rgba(var(--accent), .8);
  mix-blend-mode: screen;
  offset-rotate: 0deg;
  offset-distance: 0%;
}
@supports not (offset-path: path('M 0,0 L 1,1')) { .m-sat { display: none; } }

@keyframes motif-spin { to { transform: rotate(360deg); } }
@keyframes motif-breathe { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes motif-core { 0%, 100% { opacity: .82; transform: scale(1); } 50% { opacity: 1; transform: scale(1.09); } }

@media (prefers-reduced-motion: no-preference) {
  .m-dash { transform-box: fill-box; transform-origin: center; animation: motif-spin 64s linear infinite; }
  .m-a { animation: motif-breathe 9s ease-in-out infinite; }
  .m-b { animation: motif-breathe 12s ease-in-out infinite -4s; }
  .m-core { transform-box: fill-box; transform-origin: center; animation: motif-core 6s ease-in-out infinite; }
  .m-sat { animation: motif-orbit 21s linear infinite; }
  @keyframes motif-orbit { to { offset-distance: 100%; } }
  .theme-bonds .m-sat { animation-duration: 16s; }
  .theme-docs .m-sat { animation-duration: 26s; animation-direction: reverse; }
  .theme-dash .m-sat { animation-duration: 18s; }
}

/* O motivo cede espaço quando a tela encolhe; a nebulosa permanece. */
@media (max-width: 1150px) {
  .hero-motif { display: none; }
  /* Sem largura fixa: a nebulosa acompanha o container e nunca estoura a tela. */
  .page-hero::after { right: 0; left: 0; width: auto; height: 460px; opacity: .8; }
}
@media (max-width: 660px) {
  .page-hero::after { top: 36%; height: 380px; opacity: .7; }
}
