/* FLOOR ECOSYSTEM page only — all selectors are scoped to .page-ecosystem */
.page-ecosystem{background-color:#080c12;background-image:linear-gradient(180deg,rgba(5,8,13,.16) 0%,rgba(7,11,16,.42) 45%,rgba(5,8,13,.68) 100%),url('../assets/MyFloor_Web_Background_1672x941.png');background-position:center top;background-size:cover;background-repeat:no-repeat;background-attachment:fixed}
.page-ecosystem .eco-hero{position:relative;min-height:min(850px,calc(100vh - 78px));display:flex;align-items:center;overflow:hidden;border-bottom:1px solid var(--line);background:transparent!important}
.page-ecosystem .eco-hero-art{display:none}
.page-ecosystem .eco-hero-inner{position:relative;z-index:1;display:flex;justify-content:flex-end;align-items:center;padding-top:56px;padding-bottom:56px}
.page-ecosystem .eco-glass-panel{width:min(100%,650px);max-width:650px;margin-left:auto;padding:clamp(12px,2vw,24px);border:0;background:transparent!important;backdrop-filter:none;box-shadow:none;text-align:right}
.page-ecosystem .eco-glass-panel h1,.page-ecosystem .eco-glass-panel p{ text-shadow:0 3px 18px rgba(0,0,0,.95),0 1px 4px rgba(0,0,0,.9)}
.page-ecosystem .eco-glass-panel .section-kicker{text-shadow:0 2px 10px #000}
@media (max-width:760px), (min-width:761px) and (max-width:1200px) and (max-aspect-ratio:8/5){.page-ecosystem .eco-hero-inner{justify-content:center;padding-top:clamp(230px,42vw,350px);padding-bottom:40px}.page-ecosystem .eco-glass-panel{width:100%;margin:0;padding:24px clamp(14px,3.5vw,28px);text-align:center;background:transparent!important;border-radius:0}.page-ecosystem .eco-glass-panel>.section-kicker{display:none}.page-ecosystem .eco-copy-shade{margin-top:clamp(70px,20vw,96px);padding:0 8px 18px;background:linear-gradient(90deg,rgba(5,9,16,.04) 0%,rgba(5,9,16,.58) 14%,rgba(5,9,16,.76) 50%,rgba(5,9,16,.58) 86%,rgba(5,9,16,.04) 100%);border-radius:12px}.page-ecosystem .eco-copy-shade h1{margin-top:0}.page-ecosystem .eco-glass-panel p{margin-left:auto;margin-right:auto}}
.page-ecosystem .eco-glass-panel h1{font:600 clamp(38px,6vw,72px)/1.02 'Space Grotesk';letter-spacing:.025em;color:var(--gold2);margin:14px 0 20px}
.page-ecosystem .eco-glass-panel p{max-width:620px;color:#e0ddd6;font-size:clamp(16px,2vw,19px);margin:0 0 28px}
.page-ecosystem .eco-section{padding:86px 0 96px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,rgba(15,22,30,.35),rgba(7,11,16,.12))}
.page-ecosystem .eco-section h2,.page-ecosystem .eco-bottom h2{font:600 clamp(30px,4.5vw,50px)/1.08 'Space Grotesk';letter-spacing:-.035em;margin:12px 0 18px}
.page-ecosystem .eco-intro{max-width:760px;color:var(--muted);font-size:17px;margin:0 0 32px}
.page-ecosystem .eco-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.page-ecosystem .eco-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:285px;padding:30px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(27,38,49,.92),rgba(12,18,25,.96));backdrop-filter:blur(5px);box-shadow:0 16px 40px #0004}
.page-ecosystem .eco-card h3{font:600 25px 'Space Grotesk';margin:12px 0}
.page-ecosystem .eco-card p{color:var(--muted);margin:0 0 20px}
.page-ecosystem .eco-index{color:var(--gold);font-size:10px;font-weight:700;letter-spacing:.2em}
.page-ecosystem .eco-status{display:inline-flex;margin-top:auto;padding:7px 11px;border:1px solid rgba(203,176,120,.45);color:var(--gold2);font-size:10px;font-weight:700;letter-spacing:.15em}
.page-ecosystem .eco-facts{width:100%;margin:4px 0 22px}
.page-ecosystem .eco-facts div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}
.page-ecosystem .eco-facts span{color:var(--muted)}
.page-ecosystem .eco-facts strong{color:var(--gold2);text-align:right}
.page-ecosystem .eco-text-link,.page-ecosystem .eco-links a{color:var(--gold2);font-weight:600;font-size:13px}
.page-ecosystem .eco-text-link:hover,.page-ecosystem .eco-links a:hover{text-decoration:underline}
.page-ecosystem .eco-links{display:grid;gap:10px;margin-top:auto}
.page-ecosystem .eco-bottom{padding:56px 0;border-bottom:1px solid var(--line);background:linear-gradient(110deg,rgba(25,34,43,.65),rgba(8,13,19,.25))}
.page-ecosystem .eco-bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}
.page-ecosystem .eco-bottom p{color:var(--muted);margin:0}
.page-ecosystem .eco-disclaimer{padding-top:26px;padding-bottom:34px;color:#8e8e8c;font-size:11px}
@media (max-width:760px), (min-width:761px) and (max-width:1200px) and (max-aspect-ratio:8/5){.page-ecosystem .eco-hero{min-height:610px}.page-ecosystem .eco-hero-art{background-position:52% top;background-size:auto 78%;background-repeat:no-repeat}.page-ecosystem .eco-grid{grid-template-columns:1fr}.page-ecosystem .eco-section{padding:62px 0}.page-ecosystem .eco-card{min-height:0;padding:24px}.page-ecosystem .eco-facts div{align-items:flex-start;flex-direction:column;gap:3px}.page-ecosystem .eco-facts strong{text-align:left}.page-ecosystem .eco-bottom-inner{align-items:flex-start;flex-direction:column}}


/* Compact jump navigation — tactile, understated FLOOR4 destination buttons */
.page-ecosystem .eco-quick-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 28px}
.page-ecosystem .eco-quick-nav a{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px;padding:0 18px;border:1px solid rgba(203,176,120,.42);border-radius:5px;background:linear-gradient(180deg,rgba(42,49,54,.9) 0%,rgba(25,32,38,.96) 55%,rgba(17,23,29,.98) 100%);color:var(--gold2);font-size:12px;font-weight:700;letter-spacing:.075em;text-decoration:none;text-shadow:0 1px 1px #0008;box-shadow:inset 0 1px 0 rgba(255,255,255,.09),inset 0 -2px 0 rgba(0,0,0,.22),0 3px 7px rgba(0,0,0,.24);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease,transform .2s ease}
.page-ecosystem .eco-quick-nav a span{display:grid;place-items:center;min-width:25px;height:25px;border:1px solid rgba(203,176,120,.2);border-radius:3px;background:rgba(203,176,120,.07);color:#c8b991;font-size:10px;box-shadow:inset 0 1px rgba(255,255,255,.06)}
.page-ecosystem .eco-quick-nav a:hover,.page-ecosystem .eco-quick-nav a:focus-visible{border-color:rgba(225,194,135,.82);background:linear-gradient(180deg,rgba(61,57,47,.96),rgba(28,31,32,.98));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 1px rgba(203,176,120,.12),0 5px 14px rgba(0,0,0,.32),0 0 16px rgba(203,176,120,.12);transform:translateY(-2px);outline:none}
.page-ecosystem .eco-quick-nav a:active{transform:translateY(0);box-shadow:inset 0 2px 5px rgba(0,0,0,.3),0 1px 2px rgba(0,0,0,.25)}
.page-ecosystem .eco-card[id]{scroll-margin-top:110px}
html:has(body.page-ecosystem){scroll-behavior:smooth}
@media (max-width:760px), (min-width:761px) and (max-width:1200px) and (max-aspect-ratio:8/5){.page-ecosystem .eco-quick-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:22px}.page-ecosystem .eco-quick-nav a{min-height:52px;padding:0 12px;font-size:10px;letter-spacing:.04em}.page-ecosystem .eco-quick-nav a span{min-width:23px;height:23px}.page-ecosystem .eco-card[id]{scroll-margin-top:84px}}
@media(prefers-reduced-motion:reduce){html:has(body.page-ecosystem){scroll-behavior:auto}.page-ecosystem .eco-quick-nav a{transition:none}}



/* ECOSYSTEM FINAL BACKGROUND — mirror the working Home page layer.
   The artwork is fixed behind the complete document, not attached to the hero. */
html:has(body.page-ecosystem){
  background:#080c12!important;
}
body.page-ecosystem{
  position:relative!important;
  isolation:isolate!important;
  background:#080c12!important;
  background-image:none!important;
}
body.page-ecosystem:before{
  content:""!important;
  display:block!important;
  position:fixed!important;
  inset:0!important;
  z-index:-1!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,rgba(5,9,16,.20),rgba(5,9,16,.44)),
    url("/assets/MyFloor_Web_Background_1672x941.png") center center/cover no-repeat!important;
  opacity:1!important;
}
body.page-ecosystem main,
body.page-ecosystem main > section,
body.page-ecosystem .eco-hero,
body.page-ecosystem .eco-section,
body.page-ecosystem .eco-bottom{
  background:transparent!important;
  background-image:none!important;
}

/* MOBILE ONLY — use the dedicated portrait Ecosystem artwork.
   Desktop keeps the existing wide background unchanged. */
@media (max-width:760px), (min-width:761px) and (max-width:1200px) and (max-aspect-ratio:8/5){
  body.page-ecosystem:before{
    background:
      linear-gradient(180deg,transparent 0%,transparent 60%,rgba(5,9,16,.10) 78%,rgba(5,9,16,.24) 100%),
      url("/assets/pozadi_mobil_web_ecosystem.png") center top/cover no-repeat!important;
  }
}

/* Ecosystem portal accents — first two destinations crimson, last two gold.
   Select by destination so the colors follow the links at every breakpoint. */
.page-ecosystem .eco-quick-nav a:is([href="#eco-token"],[href="#eco-myfloor"]){
  background:linear-gradient(150deg,#74202b 0%,#4f111d 55%,#310b15 100%);
  color:#ffe8cf;border-color:#b5545b;
}
.page-ecosystem .eco-quick-nav a:is([href="#eco-token"],[href="#eco-myfloor"]) span{
  background:#350b15;color:#ffe8cf;border-color:#b5545b;
}
.page-ecosystem .eco-quick-nav a:is([href="#eco-token"],[href="#eco-myfloor"]):is(:hover,:focus-visible){
  background:linear-gradient(150deg,#902b38 0%,#681c2b 55%,#45111c 100%);
  border-color:#f1a2a3;
}
.page-ecosystem .eco-quick-nav a:is([href="#eco-myfloor-go"],[href="#eco-community"]){
  background:linear-gradient(150deg,#f1d28a 0%,#d5ae60 55%,#b98a39 100%);
  color:#211509;border-color:#f4d798;text-shadow:none;
}
.page-ecosystem .eco-quick-nav a:is([href="#eco-myfloor-go"],[href="#eco-community"]) span{
  background:#eed094;color:#211509;border-color:#89602d;text-shadow:none;
}
.page-ecosystem .eco-quick-nav a:is([href="#eco-myfloor-go"],[href="#eco-community"]):is(:hover,:focus-visible){
  background:linear-gradient(150deg,#ffe6ad 0%,#e5bf73 55%,#cda04b 100%);
  border-color:#fff0c5;
}
.page-ecosystem .eco-quick-nav a:focus-visible{outline:2px solid #fff0cb;outline-offset:3px}

/* Ecosystem preview only. Existing fixed desktop/mobile artwork is unchanged. */
.page-ecosystem .eco-hero-inner{flex-direction:column;align-items:stretch;gap:22px}
.page-ecosystem .eco-hero .eco-quick-nav{margin:0;width:100%}
.page-ecosystem .eco-showcase{display:grid;grid-template-columns:minmax(0, .85fr) minmax(0,1.4fr);gap:clamp(16px,2.4vw,36px);align-items:center;width:100%;margin:0;padding:clamp(15px,2.5vw,30px);box-sizing:border-box;border:1px solid rgba(203,176,120,.50);border-radius:16px;background:linear-gradient(135deg,rgba(8,15,28,.90),rgba(8,13,22,.80));box-shadow:0 12px 32px #0005;text-align:left}
.page-ecosystem .eco-showcase-copy{min-width:0}
.page-ecosystem .eco-showcase-kicker{display:block;color:var(--gold2,#f2d89f);font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase}
.page-ecosystem .eco-showcase h2{margin:8px 0 12px;color:#f6f1e7;font:600 clamp(24px,3vw,38px)/1.12 'Space Grotesk',sans-serif;letter-spacing:-.02em}
.page-ecosystem .eco-showcase p{margin:0 0 12px;color:#dddde2;font-size:15px;line-height:1.55}
.page-ecosystem .eco-showcase-links{display:grid;gap:10px;margin:17px 0 0}
.page-ecosystem .eco-showcase-link{display:block;min-width:0;padding:11px 14px;border:1px solid #cbb07866;border-radius:8px;background:#141e2e;color:#f9e3ac;text-decoration:none;line-height:1.45;overflow-wrap:anywhere}
.page-ecosystem .eco-showcase-link strong{display:block;font-size:16px}
.page-ecosystem .eco-showcase-link span{display:block;font-size:12px;color:#dddde2}
.page-ecosystem .eco-showcase-link:hover,.page-ecosystem .eco-showcase-link:focus-visible{border-color:#f2d89f;outline:2px solid #f2d89f;outline-offset:2px}
.page-ecosystem .eco-showcase-figure{min-width:0;margin:0}
.page-ecosystem .eco-showcase-figure img{display:block;width:100%;height:auto;border-radius:10px;box-shadow:0 8px 22px #0006}
.page-ecosystem .eco-showcase-figure figcaption{margin-top:9px;color:#e3ddcf;font-size:12px;line-height:1.5;text-align:center}
.page-ecosystem .eco-card.eco-wallet-preview{min-height:0;grid-column:1/-1}
@media (max-width:760px), (min-width:761px) and (max-width:1200px) and (max-aspect-ratio:8/5){
 .page-ecosystem .eco-hero-inner{gap:16px}
 .page-ecosystem .eco-showcase{grid-template-columns:minmax(0,1fr);gap:14px;padding:14px;border-radius:12px}
 .page-ecosystem .eco-showcase h2{font-size:clamp(24px,5vw,34px)}
 .page-ecosystem .eco-showcase-figure{grid-row:2}
 .page-ecosystem .eco-showcase-copy{display:contents}
 .page-ecosystem .eco-showcase-copy-header{grid-row:1}
 .page-ecosystem .eco-showcase-links{grid-row:3;margin:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .page-ecosystem .eco-showcase-link{padding:10px;min-height:44px}
 .page-ecosystem .eco-showcase-link strong{font-size:14px}
}
@media (max-width:360px){.page-ecosystem .eco-showcase-links{grid-template-columns:1fr}}
/* Keep jump links in the initial viewport wherever space allows. */
.page-ecosystem .eco-hero-inner{padding-top:30px;padding-bottom:38px}
.page-ecosystem .eco-glass-panel{padding:10px clamp(8px,1.5vw,16px)}
.page-ecosystem .eco-glass-panel h1{font:600 clamp(32px,4vw,54px)/1.06 'Space Grotesk',sans-serif;margin:8px 0 12px}
.page-ecosystem .eco-glass-panel p{font-size:clamp(15px,1.45vw,17px);line-height:1.55;margin-bottom:16px}
@media (max-width:760px), (min-width:761px) and (max-width:1200px) and (max-aspect-ratio:8/5){
 .page-ecosystem .eco-hero-inner{padding-top:clamp(170px,24vh,240px);padding-top:clamp(170px,24svh,240px);padding-bottom:30px}
 .page-ecosystem .eco-glass-panel{padding:8px 0 0}
 .page-ecosystem .eco-copy-shade{margin-top:0;padding:0 10px 10px}
 .page-ecosystem .eco-glass-panel h1{font-size:clamp(30px,5.5vw,44px);margin:0 0 10px}
 .page-ecosystem .eco-glass-panel p{font-size:15px;line-height:1.5;margin:0 auto 15px}
 .page-ecosystem .eco-hero .eco-quick-nav a{min-height:48px}
}
@media (min-width:761px) and (max-width:1200px) and (max-aspect-ratio:8/5) and (orientation:landscape){
 .page-ecosystem .eco-hero .eco-quick-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
 .page-ecosystem .eco-showcase{grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr)}
 .page-ecosystem .eco-showcase-copy{display:block}
 .page-ecosystem .eco-showcase-figure{grid-row:auto}
 .page-ecosystem .eco-showcase-links{grid-template-columns:1fr;margin:12px 0 0}
}
