
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --yellow:#eeff00;
  --yellow-soft:#d8ff00;
  --bg:#050505;
  --panel:#0b0b0b;
  --line:rgba(238,255,0,.28);
}

body{
  overflow:hidden;
  background:black;
  color:var(--yellow);
  font-family:'Rajdhani',sans-serif;
  height:100vh;
}

canvas{
  position:fixed;
  inset:0;
  z-index:0;
}

#bgGrid{
  position:fixed;
  inset:0;
  background:
  linear-gradient(rgba(255,255,0,.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,0,.03) 1px, transparent 1px);
  background-size:40px 40px;
  z-index:1;
  opacity:.25;
  pointer-events:none;
}

.scanlines{
  position:fixed;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(to bottom, transparent 50%, rgba(255,255,255,.03) 51%);
  background-size:100% 4px;
  mix-blend-mode:overlay;
  opacity:.3;
}

.glow{
  position:fixed;
  width:800px;
  height:800px;
  background:radial-gradient(circle, rgba(238,255,0,.22), transparent 70%);
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  filter:blur(30px);
  z-index:1;
  animation:pulse 4s infinite ease-in-out;
}

@keyframes pulse{
  0%{transform:translate(-50%,-50%) scale(1)}
  50%{transform:translate(-50%,-50%) scale(1.15)}
  100%{transform:translate(-50%,-50%) scale(1)}
}

.interface{
  position:relative;
  z-index:5;
  width:100%;
  height:100vh;
  padding:14px;
}

.topbar{
  height:64px;
  border:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 24px;
  text-transform:uppercase;
  letter-spacing:2px;
  background:rgba(0,0,0,.45);
  backdrop-filter:blur(4px);
  box-shadow:0 0 20px rgba(238,255,0,.15);
}

.topbar h1{
  font-family:'Orbitron',sans-serif;
  font-size:26px;
}

.menu{
  display:flex;
  gap:50px;
  font-size:20px;
}

.menu div{
  cursor:pointer;
  position:relative;
}

.menu div::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  background:var(--yellow);
  transition:.4s;
}

.menu div:hover::after{
  width:100%;
}

.main{
  display:grid;
  grid-template-columns:280px 1fr 320px;
  gap:18px;
  height:calc(100vh - 84px);
  padding-top:18px;
}

.panel{
  border:1px solid var(--line);
  background:rgba(0,0,0,.42);
  backdrop-filter:blur(8px);
  position:relative;
  overflow:hidden;
  box-shadow:
  inset 0 0 25px rgba(238,255,0,.05),
  0 0 20px rgba(238,255,0,.08);
}

.panel::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, transparent, rgba(255,255,0,.04), transparent);
  animation:shine 6s linear infinite;
}

@keyframes shine{
  0%{transform:translateX(-100%)}
  100%{transform:translateX(100%)}
}

.leftPanel{
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.onlineBox{
  border:1px solid var(--line);
  padding:20px;
}

.onlineBox .big{
  font-size:72px;
  font-weight:700;
  line-height:1;
  text-shadow:0 0 20px var(--yellow);
}

.nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.navItem{
  border:1px solid rgba(255,255,0,.14);
  padding:18px;
  font-size:26px;
  transition:.3s;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
}

.navItem:hover{
  background:var(--yellow);
  color:black;
  box-shadow:0 0 20px var(--yellow);
}

.chart{
  height:220px;
  position:relative;
}

.chart svg{
  width:100%;
  height:100%;
}

.centerPanel{
  position:relative;
  overflow:hidden;
}

.hero{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
}

.hero h2{
  font-family:'Orbitron',sans-serif;
  font-size:10vw;
  line-height:.9;
  text-shadow:
  0 0 20px rgba(255,255,0,.8),
  0 0 50px rgba(255,255,0,.6),
  0 0 100px rgba(255,255,0,.4);
  animation:flicker 3s infinite;
}

@keyframes flicker{
  0%,100%{opacity:1}
  50%{opacity:.9}
  52%{opacity:.7}
  54%{opacity:1}
}

.hero p{
  margin-top:20px;
  font-size:30px;
  max-width:900px;
  color:#fffdb5;
}

.enterBtn{
  margin-top:40px;
  padding:20px 60px;
  font-size:40px;
  background:var(--yellow);
  color:black;
  border:none;
  font-family:'Orbitron';
  cursor:pointer;
  transition:.3s;
  box-shadow:0 0 40px rgba(238,255,0,.6);
}

.enterBtn:hover{
  transform:scale(1.05);
  box-shadow:0 0 70px rgba(238,255,0,.95);
}

.rightPanel{
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.modules{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.moduleCube{
  aspect-ratio:1;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  background:rgba(255,255,0,.04);
  transition:.3s;
  position:relative;
}

.moduleCube:hover{
  transform:translateY(-6px) scale(1.05);
  box-shadow:0 0 30px rgba(238,255,0,.5);
}

.moduleCube::before{
  content:'';
  position:absolute;
  inset:8px;
  border:1px solid rgba(255,255,0,.15);
}

.bigCounter{
  font-size:100px;
  font-weight:700;
  line-height:1;
  text-shadow:0 0 25px var(--yellow);
}

.footerBar{
  position:absolute;
  bottom:16px;
  left:50%;
  transform:translateX(-50%);
  width:70%;
  height:70px;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-around;
  background:rgba(0,0,0,.5);
  backdrop-filter:blur(4px);
}

.signal{
  width:180px;
  height:14px;
  border:1px solid rgba(255,255,0,.2);
  position:relative;
  overflow:hidden;
}

.signal::after{
  content:'';
  position:absolute;
  left:-100%;
  top:0;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, var(--yellow), transparent);
  animation:signal 2s infinite linear;
}

@keyframes signal{
  to{left:100%}
}

.corner{
  position:absolute;
  width:18px;
  height:18px;
  border:2px solid var(--yellow);
}

.c1{left:0;top:0;border-right:none;border-bottom:none}
.c2{right:0;top:0;border-left:none;border-bottom:none}
.c3{left:0;bottom:0;border-right:none;border-top:none}
.c4{right:0;bottom:0;border-left:none;border-top:none}

@media(max-width:1400px){

  .main{
    grid-template-columns:1fr;
    overflow:auto;
  }

  .hero h2{
    font-size:100px;
  }

  .footerBar{
    position:relative;
    margin-top:40px;
    width:100%;
    left:auto;
    transform:none;
  }

}

#chartCanvas{
  width:100%;
  height:100%;
  display:block;
}

.statusTicker{
  display:flex;
  align-items:center;
  gap:24px;
  min-width:420px;
}

.tickerLabel{
  font-size:14px;
  opacity:.5;
  letter-spacing:2px;
  white-space:nowrap;
}

.tickerContent{
  position:relative;
  height:28px;
  width:260px;
  overflow:hidden;
}

.tickerItem{
  position:absolute;
  inset:0;

  display:flex;
  justify-content:space-between;
  align-items:center;

  font-size:18px;
  letter-spacing:1px;

  opacity:0;
  transform:translateY(20px);

  transition:
  opacity .5s,
  transform .5s;

  color:var(--yellow);
}

.tickerItem span{
  color:#fff;
  opacity:.9;
}

.tickerItem.active{
  opacity:1;
  transform:translateY(0);
}

.skullWrap{
  position:relative;
  height:420px;
  border:1px solid rgba(255,255,0,.14);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  background:
  radial-gradient(
    circle at center,
    rgba(238,255,0,.08),
    transparent 70%
  );
}

.skull{
  font-size:180px;
  color:var(--yellow);

  text-shadow:
  0 0 10px var(--yellow),
  0 0 30px var(--yellow),
  0 0 80px rgba(238,255,0,.7);

  animation:
  skullFloat 4s ease-in-out infinite,
  skullFlicker 2s infinite;

  z-index:2;
  position:relative;
}

.skullGlow{
  position:absolute;
  width:260px;
  height:260px;
  border-radius:50%;

  background:
  radial-gradient(
    circle,
    rgba(238,255,0,.35),
    transparent 70%
  );

  filter:blur(30px);

  animation:pulse 3s infinite;
}

.scan{
  position:absolute;
  width:100%;
  height:80px;

  background:linear-gradient(
    to bottom,
    transparent,
    rgba(238,255,0,.15),
    transparent
  );

  animation:scanMove 4s linear infinite;
}

.skullText{
  margin-top:10px;

  font-family:'Orbitron';

  letter-spacing:4px;

  font-size:24px;

  opacity:.8;

  text-shadow:0 0 10px var(--yellow);
}

@keyframes skullFloat{

  0%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-12px);
  }

  100%{
    transform:translateY(0px);
  }

}

@keyframes scanMove{

  0%{
    top:-80px;
  }

  100%{
    top:100%;
  }

}

@keyframes skullFlicker{

  0%,100%{
    opacity:1;
  }

  50%{
    opacity:.85;
  }

  52%{
    opacity:.55;
  }

  54%{
    opacity:1;
  }

}

.skullPanel{
  position:relative;
  width:100%;
  height:340px;
  overflow:hidden;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(255,255,0,.14);
}

#skullScene{
  position:absolute;
  inset:0;

  width:100% !important;
  height:100% !important;

  display:block;
}
