@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#030817;--white:#f4f7ff;--cyan:#12eaff;--blue:#63cfff;--gold:#ffd34f;--purple:#c43dff}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#020715;color:var(--white);font-family:Inter,Segoe UI,Arial,sans-serif}
body{background:radial-gradient(ellipse at 50% 52%,rgba(0,162,198,.18),transparent 43%),radial-gradient(ellipse at 10% 0%,rgba(97,24,177,.16),transparent 33%),linear-gradient(125deg,#030817,#06172b 52%,#020817);overflow-x:hidden}
.stage{width:100%;min-height:100svh;height:100svh;margin:0;padding:clamp(10px,1.2vh,18px) clamp(16px,2.2vw,40px) clamp(14px,2vh,26px);position:relative;isolation:isolate;display:flex;flex-direction:column}
.stage:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 50%,transparent 25%,rgba(0,0,0,.22) 100%)}
.header{height:clamp(96px,13vh,142px);min-height:96px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;position:relative;margin-bottom:clamp(12px,2vh,24px);gap:22px}
.brand{display:flex;align-items:center;min-width:0;z-index:2}
.brand-a{font-family:Georgia,serif;font-size:100px;line-height:.85;font-weight:bold;font-style:italic;letter-spacing:-.12em;padding:0 30px 0 4px;color:#ffe66b;-webkit-text-stroke:1px #fff1a6;text-shadow:0 0 5px #fff,0 0 13px #ffba00,0 0 28px #ff8a00,0 0 42px #f0a000}
.brand-divider{height:88px;width:2px;background:linear-gradient(transparent,#fff1a6,transparent);margin:0 28px 0 8px}
.brand-copy{white-space:nowrap}
.brand-title{font-size:clamp(30px,4.1vw,64px);font-weight:800;letter-spacing:.035em;color:#ffe16a;-webkit-text-stroke:.5px #fff3b0;text-shadow:0 0 5px #fff,0 0 14px #ffbd22,0 0 28px #ff8b00}
.brand-sub{display:flex;align-items:center;gap:15px;margin-top:-2px;color:#fff;font-size:clamp(13px,1.7vw,27px);font-weight:600;font-style:italic;text-shadow:0 0 6px #fff,0 0 13px #d42aff,0 0 24px #9c22ff}
.brand-sub span{height:3px;width:54px;background:#b943ff;box-shadow:0 0 9px #bd45ff}
.header-ribbons{position:absolute;left:20%;top:0;width:55%;height:116px;z-index:0;opacity:.9;pointer-events:none;filter:drop-shadow(0 0 7px #bb35ff)}
.header-right{display:flex;align-items:center;gap:24px;z-index:3;flex-shrink:0}
.online{height:53px;min-width:190px;padding:0 22px;border:3px solid #00e989;border-radius:30px;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:800;font-size:22px;letter-spacing:.03em;background:rgba(0,37,33,.55);box-shadow:0 0 8px #00f79a,inset 0 0 13px rgba(0,255,157,.2),0 0 22px rgba(0,255,155,.5)}
.online i{width:16px;height:16px;border-radius:50%;background:#00f39a;box-shadow:0 0 13px #00ff9b}
.header-separator{height:60px;width:1px;background:#20d9ed;box-shadow:0 0 7px #20d9ed;margin:0 6px}
.header-icon{width:48px;height:48px;display:grid;place-items:center;color:#f4f8ff;font-size:39px;font-weight:400;text-shadow:0 0 7px #fff;position:relative}
.header-icon svg{width:43px;height:43px;fill:none;stroke:#f4f8ff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px #fff)}
.header-icon.bell b{position:absolute;width:14px;height:14px;border-radius:50%;background:#10eaff;right:2px;top:0;box-shadow:0 0 9px #10eaff}
.help{border:3px solid #f4f8ff;border-radius:50%;width:45px;height:45px;font-size:31px;line-height:1}
.dashboard{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:minmax(104px,.92fr) repeat(3,minmax(120px,1fr));gap:clamp(11px,1.9vh,20px) clamp(14px,2.2vw,38px);position:relative;align-items:stretch;flex:1 1 auto;min-height:0;padding-bottom:clamp(28px,4.2vh,46px)}
.tile{--accent:#e7f4ff;--glow:#66cfff;position:relative;display:flex;align-items:center;gap:18px;padding:14px 22px;border-radius:25px;border:3px solid var(--accent);background:linear-gradient(145deg,rgba(31,60,87,.95),rgba(5,18,36,.98) 62%,rgba(3,12,28,.98));color:#f8fbff;cursor:pointer;overflow:hidden;isolation:isolate;box-shadow:0 0 5px #fff,0 0 12px var(--glow),0 0 24px color-mix(in srgb,var(--glow) 72%,transparent),inset 0 0 20px rgba(175,220,255,.18);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.tile:before{content:"";position:absolute;inset:5px;border-radius:18px;border:1px solid rgba(255,255,255,.2);pointer-events:none;z-index:-1}
.tile:after{content:"";position:absolute;left:-8%;right:-8%;bottom:4px;height:35px;border-radius:50%;border-top:3px solid var(--glow);transform:rotate(-5deg);filter:drop-shadow(0 0 4px var(--glow)) drop-shadow(0 0 9px var(--glow));opacity:.95;pointer-events:none}
.tile:hover{transform:translateY(-3px);filter:brightness(1.12);box-shadow:0 0 7px #fff,0 0 17px var(--glow),0 0 34px var(--glow),inset 0 0 28px color-mix(in srgb,var(--glow) 28%,transparent)}
.tile:active{transform:translateY(2px) scale(.99);filter:brightness(1.2)}
.tile .ico{width:clamp(52px,4.2vw,72px);height:clamp(52px,4.2vw,72px);flex:0 0 clamp(52px,4.2vw,72px);display:grid;place-items:center;color:var(--accent);filter:drop-shadow(0 0 5px var(--glow)) drop-shadow(0 0 11px var(--glow))}
.tile .ico svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.tile .ico svg rect{fill:rgba(12,225,255,.14)}
.tile .tile-label{font-size:clamp(16px,1.55vw,26px);font-weight:700;line-height:1.12;flex:1;text-shadow:0 0 7px rgba(255,255,255,.25)}
.chev{font-size:42px;line-height:1;color:#fff;text-shadow:0 0 8px #fff;flex:0 0 auto;margin-top:-3px}
.silver{--accent:#eaf5ff;--glow:#68caff}
.green{--accent:#d9fff0;--glow:#00ff65;background:linear-gradient(145deg,rgba(0,124,48,.94),rgba(0,34,26,.98) 65%,rgba(0,13,20,.98))}
.gold{--accent:#fff0a2;--glow:#ffd400;background:linear-gradient(145deg,rgba(149,91,0,.96),rgba(55,31,0,.98) 65%,rgba(20,13,0,.98))}
.orange{--accent:#fff0a2;--glow:#ff8a00;background:linear-gradient(145deg,rgba(145,62,0,.96),rgba(57,24,0,.98) 65%,rgba(20,9,0,.98))}
.purple{--accent:#f3c5ff;--glow:#b32bff;background:linear-gradient(145deg,rgba(76,0,130,.96),rgba(28,0,62,.98) 65%,rgba(14,5,29,.98))}
.pink{--accent:#ffd1fa;--glow:#ff00df;background:linear-gradient(145deg,rgba(126,0,98,.96),rgba(49,0,47,.98) 65%,rgba(20,5,23,.98))}
.red{--accent:#ffe0e0;--glow:#ff152d;background:linear-gradient(145deg,rgba(145,0,10,.96),rgba(55,0,7,.98) 65%,rgba(20,4,8,.98))}
.knot{font-size:65px;font-weight:400;color:#10eaff;text-shadow:0 0 8px #10eaff,0 0 18px #10eaff}
.top1{grid-column:1;grid-row:1}.top2{grid-column:2;grid-row:1}.top3{grid-column:3;grid-row:1}.top4{grid-column:4;grid-row:1}.top5{grid-column:5;grid-row:1}
.missions{grid-column:1 / span 2;grid-row:2}.growth{grid-column:4 / span 2;grid-row:2}
.action{grid-column:1 / span 2;grid-row:3}.ideas{grid-column:4 / span 2;grid-row:3}
.activity{grid-column:1 / span 2;grid-row:4}.attention{grid-column:3;grid-row:4}.trading{grid-column:4 / span 2;grid-row:4}
.hub{grid-column:3;grid-row:2 / span 2;align-self:center;justify-self:center;width:min(100%,330px);aspect-ratio:1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;z-index:1;background:radial-gradient(circle at 50% 40%,rgba(0,119,88,.65),rgba(0,38,47,.98) 67%,rgba(0,15,31,.98));border:5px solid #17edff;box-shadow:0 0 7px #fff,0 0 17px #00eaff,0 0 40px #00dfff, inset 0 0 30px rgba(0,255,227,.35)}
.hub:before,.hub:after{content:"";position:absolute;inset:10px;border:2px solid rgba(0,255,238,.6);border-radius:50%;box-shadow:inset 0 0 15px rgba(0,255,238,.25)}
.hub:after{inset:-13px;border-color:rgba(0,234,255,.2);filter:blur(5px)}
.hub-aura{position:absolute;left:-85px;right:-85px;top:48%;height:20px;background:linear-gradient(90deg,transparent,#00eaff,transparent);filter:blur(10px);z-index:-1}
.robot{width:112px;height:96px;fill:none;stroke:#00edff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 7px #00eaff);margin-bottom:4px}
.robot-eye{fill:#00efff;stroke:none}
.hub-title{font-size:38px;font-weight:800;line-height:1.05;text-shadow:0 0 12px rgba(255,255,255,.3)}
.hub-sub{font-size:22px;line-height:1.2;margin-top:7px;text-shadow:0 0 8px rgba(255,255,255,.25)}
@media(max-width:1200px){.stage{height:auto;min-height:100svh;padding:10px 18px 28px}.header{height:auto;min-height:110px}.brand-a{font-size:76px}.brand-divider{height:70px;margin-right:16px}.brand-title{font-size:clamp(25px,4vw,45px)}.header-right{gap:12px}.online{min-width:135px;height:44px;font-size:16px}.header-icon{width:36px;height:36px}.header-icon svg{width:34px;height:34px}.dashboard{gap:18px 20px;grid-template-rows:118px 126px 126px 118px}.tile{padding:12px 15px;gap:10px}.tile .ico{width:48px;height:48px;flex-basis:48px}.tile-label{font-size:17px!important}.chev{font-size:32px}.hub{width:270px}.robot{width:90px;height:78px}.hub-title{font-size:31px}.hub-sub{font-size:18px}}
@media(max-width:760px){.stage{height:auto;min-height:100svh;padding:12px}.dashboard{padding-bottom:26px}.header{align-items:flex-start;flex-wrap:wrap;margin-bottom:22px}.brand{width:100%}.brand-a{font-size:62px;padding-right:20px}.brand-divider{height:56px;margin-left:0;margin-right:14px}.brand-title{font-size:clamp(25px,7vw,38px)}.brand-sub{font-size:13px}.brand-sub span{width:25px}.header-ribbons{left:5%;top:0;width:90%;height:105px}.header-right{margin-left:auto}.online{height:36px;min-width:110px;font-size:13px;border-width:2px}.online i{width:10px;height:10px}.header-separator{height:34px}.header-icon{width:30px;height:30px;font-size:26px}.header-icon svg{width:29px;height:29px}.help{width:30px;height:30px;font-size:22px;border-width:2px}.dashboard{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}.tile{grid-column:auto!important;grid-row:auto!important;min-height:92px;border-radius:17px;padding:10px;gap:8px}.tile .ico{width:36px;height:36px;flex-basis:36px}.tile-label{font-size:14px!important}.chev{font-size:25px}.hub{grid-column:1/-1;grid-row:1;width:205px;margin:12px auto 16px;order:-1}.hub-title{font-size:27px}.hub-sub{font-size:16px}.robot{width:76px;height:65px}.top1,.top2,.top3,.top4,.top5,.missions,.growth,.action,.ideas,.activity,.attention,.trading{grid-column:auto;grid-row:auto}.top1,.top2,.top3,.top4,.top5{min-height:82px}.missions,.growth,.action,.ideas,.activity,.attention,.trading{min-height:95px}}
@media(max-width:390px){.dashboard{grid-template-columns:1fr}.hub{grid-column:1}.tile{min-height:84px}.top1,.top2,.top3,.top4,.top5{min-height:76px}}


/* Soft floor reflections below the final row, matching the official artwork. */
.activity,.attention,.trading{overflow:visible;z-index:1}
.activity:after,.attention:after,.trading:after{
  left:4%;right:4%;bottom:-34px;height:35px;border:0;border-radius:50%;
  transform:none;opacity:.78;filter:blur(12px);z-index:-1;
}
.activity:after{background:radial-gradient(ellipse at 50% 0%,rgba(0,255,116,.95),rgba(0,230,151,.35) 38%,transparent 76%)}
.attention:after{background:radial-gradient(ellipse at 50% 0%,rgba(255,25,55,.95),rgba(255,25,55,.35) 38%,transparent 76%)}
.trading:after{background:radial-gradient(ellipse at 50% 0%,rgba(0,255,116,.95),rgba(0,230,151,.35) 38%,transparent 76%)}


/* Visible floor glow beneath the bottom row (kept outside the tile surface). */
.activity,.attention,.trading{
  overflow:visible;
  box-shadow:
    0 0 5px #fff,
    0 0 12px var(--glow),
    0 0 24px color-mix(in srgb,var(--glow) 72%,transparent),
    inset 0 0 20px rgba(175,220,255,.18),
    0 16px 24px -12px color-mix(in srgb,var(--glow) 95%,transparent);
}


/* Centrale Nexus-knop: dezelfde subtiele hoverrespons als de tegels. */
.hub{
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.hub:hover,.hub:focus-visible{
  transform:translateY(-4px) scale(1.015);
  filter:brightness(1.14);
  box-shadow:
    0 0 8px #fff,
    0 0 20px #00eaff,
    0 0 48px #00dfff,
    0 0 76px rgba(0,225,255,.38),
    inset 0 0 38px rgba(0,255,227,.42);
  outline:none;
}
.hub:active{
  transform:translateY(1px) scale(.99);
  filter:brightness(1.2);
}



/* NEXUS v1.5 — Ambient Motion: slow, subtle, colour-matched breathing glow. */
@keyframes ambientTilePulse{
  0%,100%{
    filter:brightness(1);
    box-shadow:
      0 0 5px #fff,
      0 0 10px var(--glow),
      0 0 20px color-mix(in srgb,var(--glow) 58%,transparent),
      inset 0 0 18px rgba(175,220,255,.14);
  }
  50%{
    filter:brightness(1.055);
    box-shadow:
      0 0 6px #fff,
      0 0 15px var(--glow),
      0 0 29px color-mix(in srgb,var(--glow) 78%,transparent),
      inset 0 0 23px color-mix(in srgb,var(--glow) 15%,transparent);
  }
}
@keyframes ambientWave{
  0%,100%{opacity:.72;filter:drop-shadow(0 0 3px var(--glow));}
  50%{opacity:1;filter:drop-shadow(0 0 7px var(--glow)) drop-shadow(0 0 12px var(--glow));}
}
@keyframes ambientHubPulse{
  0%,100%{
    filter:brightness(1);
    box-shadow:0 0 7px #fff,0 0 15px #00eaff,0 0 34px #00dfff,inset 0 0 30px rgba(0,255,227,.3);
  }
  50%{
    filter:brightness(1.09);
    box-shadow:0 0 9px #fff,0 0 22px #00eaff,0 0 48px #00dfff,0 0 68px rgba(0,225,255,.22),inset 0 0 38px rgba(0,255,227,.43);
  }
}
/* Slightly offset start times keep the dashboard from pulsing as one rigid block. */
.tile{animation:ambientTilePulse 5.8s ease-in-out infinite;}
.top1{animation-delay:0s}.top2{animation-delay:-1.1s}.top3{animation-delay:-2.2s}
.top4{animation-delay:-3.3s}.top5{animation-delay:-4.4s}
.missions{animation-delay:-.7s}.growth{animation-delay:-2.8s}
.action{animation-delay:-1.8s}.ideas{animation-delay:-3.9s}
.activity{animation-delay:-2.5s}.attention{animation-delay:-4.8s}.trading{animation-delay:-1.4s}
.tile:after{animation:ambientWave 4.6s ease-in-out infinite;}
.hub{animation:ambientHubPulse 4.8s ease-in-out infinite;}
/* Hover takes visual priority over the ambient idle pulse. */
.tile:hover,.tile:focus-visible{
  animation-play-state:paused;
  filter:brightness(1.14);
}
.hub:hover,.hub:focus-visible{
  animation-play-state:paused;
  filter:brightness(1.14);
}
/* Respect the visitor's operating-system motion preference. */
@media(prefers-reduced-motion:reduce){
  .tile,.tile:after,.hub{animation:none!important;transition:none!important}
}



/* Header light streams: more active than tile breathing, still elegant. */
@keyframes headerStreamFlow{
  0%{
    transform:translate3d(-1.2%,0,0) scaleY(.94);
    opacity:.72;
    filter:brightness(1) saturate(1.05) drop-shadow(0 0 5px rgba(255,194,55,.65)) drop-shadow(0 0 9px rgba(185,54,255,.55));
  }
  50%{
    transform:translate3d(1.4%,-2px,0) scaleY(1.08);
    opacity:1;
    filter:brightness(1.28) saturate(1.28) drop-shadow(0 0 9px rgba(255,205,65,.9)) drop-shadow(0 0 18px rgba(191,54,255,.9));
  }
  100%{
    transform:translate3d(-1.2%,0,0) scaleY(.94);
    opacity:.72;
    filter:brightness(1) saturate(1.05) drop-shadow(0 0 5px rgba(255,194,55,.65)) drop-shadow(0 0 9px rgba(185,54,255,.55));
  }
}
.header-ribbons{
  transform-origin:50% 50%;
  animation:headerStreamFlow 3.2s ease-in-out infinite;
}
@media(prefers-reduced-motion:reduce){
  .header-ribbons{animation:none!important}
}



/* NEXUS v1.7 — Light & Reflection Polish */

/* Replace the static/slender tile streak with a flowing, softly glowing wave. */
.tile:after{content:none!important;animation:none!important}
.tile .wave{
  position:absolute;left:-7%;right:-7%;bottom:7px;height:34px;
  border-top:2px solid var(--glow);border-radius:50%;
  transform:rotate(-5deg) translateX(-2%);
  opacity:.78;pointer-events:none;z-index:0;
  filter:drop-shadow(0 0 4px var(--glow)) drop-shadow(0 0 8px var(--glow));
  animation:tileWaveFlow 4.4s ease-in-out infinite;
}
.tile .ico,.tile .tile-label,.tile .chev{z-index:1}
@keyframes tileWaveFlow{
  0%,100%{
    transform:rotate(-5deg) translate3d(-2%,1px,0) scaleY(.88);
    opacity:.58;
    filter:drop-shadow(0 0 3px var(--glow));
  }
  50%{
    transform:rotate(-3deg) translate3d(2%,-2px,0) scaleY(1.16);
    opacity:1;
    filter:drop-shadow(0 0 6px var(--glow)) drop-shadow(0 0 13px var(--glow));
  }
}
.top1 .wave{animation-delay:-.3s}.top2 .wave{animation-delay:-1.1s}
.top3 .wave{animation-delay:-2.0s}.top4 .wave{animation-delay:-2.8s}
.top5 .wave{animation-delay:-3.6s}.missions .wave{animation-delay:-.8s}
.growth .wave{animation-delay:-2.4s}.action .wave{animation-delay:-1.5s}
.ideas .wave{animation-delay:-3.1s}.activity .wave{animation-delay:-2.2s}
.attention .wave{animation-delay:-3.8s}.trading .wave{animation-delay:-1.0s}

/* Wider, softer floor reflections below the bottom row. */
.activity,.attention,.trading{overflow:visible}
.activity:after,.attention:after,.trading:after{
  content:"";position:absolute;left:2%;right:2%;bottom:-43px;height:48px;
  border:0;border-radius:50%;transform:none;opacity:.76;z-index:-1;
  filter:blur(15px);pointer-events:none;animation:floorReflection 4.8s ease-in-out infinite;
}
.activity:after,.trading:after{
  background:radial-gradient(ellipse at 50% 0%,rgba(0,255,112,.92) 0%,rgba(0,235,150,.42) 34%,rgba(0,210,160,.10) 60%,transparent 78%);
}
.attention:after{
  background:radial-gradient(ellipse at 50% 0%,rgba(255,25,52,.92) 0%,rgba(255,25,52,.42) 34%,rgba(255,25,52,.10) 60%,transparent 78%);
  animation-delay:-2.1s;
}
@keyframes floorReflection{
  0%,100%{opacity:.48;filter:blur(17px);transform:scaleX(.94) translateY(1px)}
  50%{opacity:.88;filter:blur(13px);transform:scaleX(1.04) translateY(-2px)}
}

/* Keep v1.6's more active gold/purple header stream animation unchanged. */
/* Preserve all motion accessibility preferences, including the new wave/reflections. */
@media(prefers-reduced-motion:reduce){
  .tile .wave,.activity:after,.attention:after,.trading:after{animation:none!important}
}


/* NEXUS v1.8 — typography balance for the larger navigation tiles. */
.missions .tile-label,
.growth .tile-label,
.action .tile-label,
.ideas .tile-label,
.activity .tile-label,
.attention .tile-label,
.trading .tile-label{
  font-size:clamp(19px,1.8vw,30px);
}
@media(max-width:1200px){
  .missions .tile-label,
  .growth .tile-label,
  .action .tile-label,
  .ideas .tile-label,
  .activity .tile-label,
  .attention .tile-label,
  .trading .tile-label{
    font-size:19px!important;
  }
}
@media(max-width:760px){
  .missions .tile-label,
  .growth .tile-label,
  .action .tile-label,
  .ideas .tile-label,
  .activity .tile-label,
  .attention .tile-label,
  .trading .tile-label{
    font-size:15px!important;
  }
}
