/* ==========================================================================
   VELOCITY V16 — SHOWCASE HERO
   Loaded last (after v9..v15). Restores the live-status panel that a
   previous pass hid (`display:none` in velocity-v13-hero-steam.css), gives
   the hero more presence/depth, and adds hover/scroll effects across the
   home page. Nothing here touches layout files directly — purely additive.
   ========================================================================== */

/* -----------------------------------------------------------------------
   1) LIVE STATUS PANEL — bring it back, restyle as a glass card matching
      the reference design (top-right of hero, server rows + quote).
   ----------------------------------------------------------------------- */
body.vc-v9-home-body .v9-live-panel.v16-live-panel{
  display:flex!important;
  flex-direction:column;
  position:absolute!important;
  right:0!important;
  top:18px!important;
  width:250px!important;
  height:auto!important;
  padding:20px 20px 18px!important;
  z-index:30!important;
  background:linear-gradient(180deg,rgba(6,20,33,.86),rgba(4,14,24,.92))!important;
  border:1px solid rgba(83,163,222,.34)!important;
  border-radius:14px!important;
  box-shadow:0 24px 48px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.05),0 0 0 1px rgba(15,90,150,.08)!important;
  backdrop-filter:blur(10px) saturate(1.15);
  -webkit-backdrop-filter:blur(10px) saturate(1.15);
  animation:v16PanelIn .7s cubic-bezier(.2,.8,.2,1) .15s both;
}
body.vc-v9-home-body .v16-live-panel .v9-live-head{
  font-size:11.5px!important;
  font-weight:800;
  letter-spacing:.4px;
  margin-bottom:14px!important;
}
body.vc-v9-home-body .v16-live-panel .v9-live-line{
  background:linear-gradient(90deg,#1c9bff,#2ed3ff)!important;
  box-shadow:0 0 8px rgba(46,211,255,.6);
}
body.vc-v9-home-body .v16-live-panel .v9-online-dot{
  animation:v16Pulse 1.8s ease-in-out infinite;
}
body.vc-v9-home-body .v16-live-panel .v9-live-row{
  height:27px!important;
  font-size:10.8px!important;
  letter-spacing:.2px;
}
body.vc-v9-home-body .v16-live-panel .v9-live-row strong{
  font-size:12px!important;
  color:#eaf6ff!important;
}
body.vc-v9-home-body .v16-live-panel .v9-live-total strong{
  color:#4fd0ff!important;
  text-shadow:0 0 12px rgba(60,190,255,.35);
}
body.vc-v9-home-body .v16-live-panel .v9-live-divider{
  margin:8px 0 12px!important;
}
.v16-live-bar{
  height:4px;
  border-radius:3px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
  margin:-4px 0 14px;
}
.v16-live-bar i{
  display:block;
  height:100%;
  border-radius:3px;
  background:linear-gradient(90deg,#1c9bff,#39d6ff);
  box-shadow:0 0 10px rgba(46,197,255,.55);
  transition:width 1s cubic-bezier(.2,.8,.2,1);
}
body.vc-v9-home-body .v16-live-panel blockquote{
  margin:0!important;
  padding-top:12px;
  border-top:1px dashed rgba(90,150,200,.22);
  font-size:11.3px!important;
  line-height:1.55!important;
  color:#a9c1d4!important;
  font-style:italic!important;
}

@keyframes v16PanelIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
@keyframes v16Pulse{0%,100%{box-shadow:0 0 6px rgba(22,228,161,.5)}50%{box-shadow:0 0 14px rgba(22,228,161,.95)}}

@media (max-width:1180px){
  body.vc-v9-home-body .v9-live-panel.v16-live-panel{
    position:relative!important;
    right:auto!important;top:auto!important;
    width:100%!important;
    margin-top:18px!important;
  }
}

/* -----------------------------------------------------------------------
   2) HERO — extra depth: floating sparks/embers + stronger V-bolt glow.
   ----------------------------------------------------------------------- */
.v16-sparks{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  overflow:hidden;
}
.v16-sparks i{
  position:absolute;
  bottom:-10px;
  width:3px;height:3px;
  border-radius:50%;
  background:#6fd6ff;
  box-shadow:0 0 6px 2px rgba(88,206,255,.55);
  opacity:0;
  animation:v16Float 9s linear infinite;
}
.v16-sparks i:nth-child(1){left:8%;animation-delay:.2s;animation-duration:10s}
.v16-sparks i:nth-child(2){left:20%;animation-delay:2.4s;animation-duration:8s}
.v16-sparks i:nth-child(3){left:35%;animation-delay:.9s;animation-duration:11s}
.v16-sparks i:nth-child(4){left:52%;animation-delay:3.6s;animation-duration:9s}
.v16-sparks i:nth-child(5){left:66%;animation-delay:1.6s;animation-duration:12s}
.v16-sparks i:nth-child(6){left:78%;animation-delay:4.4s;animation-duration:8.5s}
.v16-sparks i:nth-child(7){left:88%;animation-delay:.6s;animation-duration:10.5s}
.v16-sparks i:nth-child(8){left:46%;animation-delay:5.2s;animation-duration:9.5s}
@keyframes v16Float{
  0%{opacity:0;transform:translateY(0) translateX(0) scale(.6)}
  8%{opacity:.85}
  50%{transform:translateY(-160px) translateX(12px) scale(1)}
  92%{opacity:.5}
  100%{opacity:0;transform:translateY(-320px) translateX(-10px) scale(.4)}
}

body.vc-v9-home-body .v9-hero-characters{
  transition:transform .4s ease-out;
}

/* -----------------------------------------------------------------------
   3) BUTTONS — shine sweep on hover, deeper glow on the primary CTA.
   ----------------------------------------------------------------------- */
.v9-btn{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.v9-btn:before{
  content:"";
  position:absolute;
  top:0;bottom:0;
  left:-60%;
  width:40%;
  background:linear-gradient(115deg,transparent,rgba(255,255,255,.28),transparent);
  transform:skewX(-18deg);
  transition:left .55s ease;
  z-index:1;
  pointer-events:none;
}
.v9-btn:hover:before{left:130%}
.v9-btn-primary:hover{
  box-shadow:0 0 30px rgba(30,160,255,.45),0 12px 26px rgba(0,0,0,.25)!important;
}
.v9-btn-dark:hover{
  border-color:rgba(90,190,255,.55)!important;
  box-shadow:0 0 20px rgba(30,150,255,.18)!important;
}

/* -----------------------------------------------------------------------
   4) CARDS — lift + glow on hover across stats, servers, "why" tiles.
   ----------------------------------------------------------------------- */
.v9-stat{transition:background-color .25s ease,transform .25s ease}
.v9-stat:hover{background:rgba(20,90,150,.10);transform:translateY(-2px)}
.v9-stat i{transition:box-shadow .25s ease,transform .25s ease}
.v9-stat:hover i{box-shadow:0 0 16px rgba(29,165,255,.45);transform:scale(1.06)}

.v9-server-card{transition:transform .3s ease,box-shadow .3s ease}
.v9-server-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(0,0,0,.35),0 0 0 1px rgba(60,170,255,.28)!important;
}
.v9-play{transition:transform .2s ease,box-shadow .2s ease}
.v9-server-card:hover .v9-play{transform:translateY(-1px);box-shadow:0 0 22px rgba(15,139,246,.4)!important}

.v9-why-grid article{transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.v9-why-grid article:hover{
  transform:translateY(-3px);
  border-color:rgba(70,175,255,.5)!important;
  box-shadow:0 16px 32px rgba(0,0,0,.3),0 0 20px rgba(30,150,255,.12)!important;
}
.v9-why-grid article>i{transition:box-shadow .25s ease,transform .25s ease}
.v9-why-grid article:hover>i{box-shadow:0 0 18px rgba(30,165,255,.5);transform:scale(1.08)}

/* Headline: subtle animated gradient sheen on "COMMUNITY". */
body.vc-v9-home-body .v9-hero-copy h1 strong{
  background:linear-gradient(100deg,#139dff 0%,#7fe0ff 35%,#139dff 60%,#3fc4ff 100%);
  background-size:220% auto;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:v16Sheen 6s ease-in-out infinite;
}
@keyframes v16Sheen{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}

@media (prefers-reduced-motion:reduce){
  .v16-sparks i,
  .v16-live-panel .v9-online-dot,
  body.vc-v9-home-body .v9-hero-copy h1 strong,
  .v9-live-panel.v16-live-panel{animation:none!important}
  .v9-btn:before{display:none!important}
}
