/* =========================================================
   GH Stats (Coming Soon) — scoped styles
   Attach to: <section class="float-card gh-stats">
   ========================================================= */

/* Tweakables */
:root{
  --gh-yellow: #FFDF00;
  --gh-bg: #16171B;
  --gh-bg-2: #0F0F12;

  --gh-card-border: rgba(255,255,255,.08);
  --gh-card-border-2: rgba(255,255,255,.12);
  --gh-card-fill: rgba(255,255,255,.02);
  --gh-card-fill-2: rgba(0,0,0,.18);

  /* Glow is intentionally subtle; tweak these to taste */
  --gh-glow-yellow: rgba(255,223,0,.20);
  --gh-glow-soft: rgba(0,0,0,.55);
}

/* Wrapper card (only this block) */
#tab-stats .float-card.gh-stats{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow:
    0 18px 60px var(--gh-glow-soft),
    0 0 0 1px rgba(0,0,0,.35) inset;
}

/* Soft inner highlight */
#tab-stats .float-card.gh-stats::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  opacity:.9;
}

/* Optional subtle “scanline” texture */
#tab-stats .float-card.gh-stats::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.18;
  mix-blend-mode: overlay;
}

#tab-stats .float-card.gh-stats > .p-3,
#tab-stats .float-card.gh-stats > .p-4,
#tab-stats .float-card.gh-stats .p-3,
#tab-stats .float-card.gh-stats .p-md-4{
  position: relative; /* keep content above ::before/::after */
  z-index: 1;
}

/* Heading */
#tab-stats .gh-stats h5{
  letter-spacing: .2px;
  text-shadow: 0 10px 30px rgba(0,0,0,.45);
}

/* “Coming Soon” badge */
#tab-stats .gh-stats .badge.text-bg-warning{
  background: var(--gh-yellow) !important;
  color: var(--gh-bg-2) !important;
  border: 1px solid rgba(255,223,0,.25);
  box-shadow:
    0 10px 25px rgba(0,0,0,.35),
    0 0 22px rgba(255,223,0,.18);
}

/* Secondary badge (Disabled) */
#tab-stats .gh-stats .badge.text-bg-secondary{
  background: rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.85) !important;
  border: 1px solid rgba(255,255,255,.10);
}

/* Inner panels (the two big columns) */
#tab-stats .gh-stats .rounded-4{
  border-radius: 16px !important;
}

#tab-stats .gh-stats .p-3.rounded-4[style*="border:1px solid"]{
  /* If you keep inline styles, this improves consistency */
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}

/* Placeholder tiles */
#tab-stats .gh-stats .p-3.rounded-4.h-100[style*="dashed"]{
  border-color: rgba(255,255,255,.14) !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

#tab-stats .gh-stats .p-3.rounded-4.h-100[style*="dashed"]:hover{
  transform: translateY(-2px);
  border-color: rgba(255,223,0,.20) !important;
  box-shadow:
    0 18px 46px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,223,0,.12) inset;
}

/* Disabled connect buttons (make them look intentionally “locked”) */
#tab-stats .gh-stats .btn[disabled]{
  opacity: .55;
  cursor: not-allowed;
  border-color: rgba(255,255,255,.14) !important;
  color: rgba(255,255,255,.80) !important;
  box-shadow: none !important;
}

/* Roadmap callout */
#tab-stats .gh-stats .p-3.rounded-4[style*="rgba(255,223,0"]{
  border-color: rgba(255,223,0,.22) !important;
  box-shadow:
    0 16px 46px rgba(0,0,0,.40),
    0 0 26px rgba(255,223,0,.10);
}

#tab-stats .gh-stats .p-3.rounded-4[style*="rgba(255,223,0"] .fw-semibold{
  color: var(--gh-yellow) !important;
}

/* Typography helpers */
#tab-stats .gh-stats .text-secondary{
  color: rgba(255,255,255,.60) !important;
}

#tab-stats .gh-stats .small{
  line-height: 1.35;
}

/* Responsive polish */
@media (max-width: 991.98px){
  #tab-stats .float-card.gh-stats{
    border-radius: 16px;
  }
}
