﻿/*
Theme Name:   Godlike Child
Theme URI:    https://themeforest.net/user/_nK/portfolio
Author:       nK / Mir Evolved
Template:     godlike
Author URI:   https://nkdev.info/
Description:  Godlike Child — Mir Evolved live site (API tools, casino, databases)
Version:      1.4.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  godlike-child
*/

/* Mir Evolved overlays on Godlike */
.mir-shell {
  padding: 12px 0 64px;
  position: relative;
  z-index: 2;
}
.mir-shell .mir-panel {
  background: rgba(8, 10, 14, 0.82);
  border: 1px solid rgba(180, 40, 40, 0.35);
  border-radius: 6px;
  padding: 22px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.mir-shell h1.mir-title,
.mir-shell .mir-title {
  font-family: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #f2f2f2;
}
.mir-shell .mir-sub {
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 22px;
}
.mir-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.mir-card {
  display: block;
  padding: 18px 16px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #fff !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mir-card:hover {
  border-color: #b42828;
  transform: translateY(-2px);
  color: #fff !important;
}
.mir-card strong {
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.mir-card span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.4;
}
.mir-online-chip {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.4);
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  font-weight: 600;
}
.mir-online-chip.ok {
  border-color: rgba(34,197,94,.45);
  color: #86efac;
}
/* Prefer Mir branding over default Godlike wordmark when custom logo unset */
.nk-nav-logo {
  display: none !important;
}

/* Keep Login / Discord Login on one line in the top nav */
body.mir-evolved .nk-navbar .nk-nav > li > a,
body.mir-evolved .nk-navbar .nk-nav > li > span {
  white-space: nowrap;
}

/*
 * Godlike .nk-nav-table { height:100% } can resolve to ~viewport height on Mir pages
 * (no full-bleed header title). That vertically centers the menu mid-screen and
 * forces a huge scroll before content. Force auto height.
 */
body.mir-evolved .nk-header,
body.mir-evolved .nk-navbar.nk-navbar-top,
body.mir-evolved .nk-navbar.nk-navbar-top > .container,
body.mir-evolved .nk-navbar.nk-navbar-top .nk-nav-table {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
body.mir-evolved .nk-navbar.nk-navbar-top .nk-nav-table > .nk-nav,
body.mir-evolved .nk-navbar.nk-navbar-top .nk-nav-table > .nk-nav-icons {
  height: auto !important;
  vertical-align: middle;
}

/* Preloader: keep wordmark crisp on black */
.nk-preloader-content img.nk-img[src*="mir-evolved-preloader"] {
  max-width: min(280px, 80vw);
  height: auto;
}
.mir-banner {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(180, 40, 40, 0.5);
  background: rgba(80, 10, 10, 0.55);
  color: #ffc9c9;
  border-radius: 4px;
  font-weight: 600;
}
.mir-banner.show { display: block; }
.mir-banner.ok {
  border-color: rgba(46, 204, 113, 0.5);
  background: rgba(10, 60, 30, 0.55);
  color: #b8f5c8;
}
.mir-banner.warn {
  border-color: rgba(230, 126, 34, 0.55);
  background: rgba(60, 35, 5, 0.55);
  color: #f5c26b;
}

/* Godlike nav: keep links readable on light or dark bars */
body.mir-evolved .nk-navbar .nk-nav > li > a,
body.mir-evolved .nk-navbar .nk-nav > li > span {
  color: #1a1a1a !important;
  opacity: 1 !important;
}
body.mir-evolved .nk-navbar.nk-navbar-transparent .nk-nav > li > a,
body.mir-evolved .nk-navbar.nk-navbar-transparent .nk-nav > li > span,
body.mir-evolved .nk-navbar.is-transparent .nk-nav > li > a {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
body.mir-evolved .nk-navbar .nk-nav > li.active > a,
body.mir-evolved .nk-navbar .nk-nav > li > a:hover {
  color: #b42828 !important;
}
/* Hide / neutralize leftover white Godlike page-title boxes if a template still loads them */
body.mir-evolved .nk-header-title,
body.mir-evolved .nk-header-title.nk-header-title-boxed,
body.mir-evolved .nk-header-title .nk-title-box,
body.mir-evolved .nk-header-title .bg-white,
body.mir-evolved .nk-breadcrumbs {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body.mir-evolved .nk-main {
  padding-top: 0 !important;
}
/* Reduce black void above content while sticky nav settles */
body.mir-evolved.nk-navbar-fixed .mir-shell,
body.mir-evolved .mir-shell {
  margin-top: 0;
}

/* Home bands */
.mir-home-hero { margin-bottom: 8px; }
.mir-home-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 8px;
}
.mir-home-band {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mir-band-title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f2f2f2;
}
.mir-feature-grid .mir-card strong { color: #fff; }
.mir-news-list {
  display: grid;
  gap: 10px;
}
.mir-news-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #fff !important;
  text-decoration: none !important;
}
.mir-news-item:hover { border-color: #b42828; }
.mir-news-item span { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; }
.mir-home-more {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}
.mir-home-more a { color: #f0c14b; }

/* Maintenance + global status */
.mir-maintenance-banner {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  background: rgba(60, 35, 5, 0.7);
  color: #f5c26b;
  border-radius: 6px;
  font-weight: 600;
}
.mir-maintenance-banner--global {
  margin: 0;
  border-radius: 0;
  text-align: center;
}
.mir-global-status {
  position: fixed;
  right: 78px;
  bottom: 22px;
  z-index: 1001;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.75);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
}
/* Inside Godlike side-buttons row (beside mute) */
.mir-global-status.mir-global-status--inline,
.nk-side-buttons .mir-global-status {
  position: static;
  right: auto;
  bottom: auto;
  display: inline-flex;
  align-items: center;
  pointer-events: none;
  transform: none;
  margin: 0;
}
.nk-side-buttons .mir-global-status-li {
  vertical-align: middle;
}
.mir-global-status.ok {
  border-color: rgba(34, 197, 94, 0.45);
  color: #86efac;
}
.mir-global-status.offline {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
}

/* Getting Started */
.mir-getting-started .mir-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}
.mir-getting-started .mir-steps li { margin: 0 0 22px; position: relative; }
.mir-getting-started .mir-steps li.done { opacity: 0.85; }
.mir-getting-started .mir-step-done {
  display: inline-block;
  margin: 0 8px 6px 0;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.mir-getting-started .mir-steps p { margin: 6px 0 10px; color: rgba(255, 255, 255, 0.65); }
.mir-getting-started .api-btn { display: inline-block; margin: 0 8px 8px 0; text-decoration: none; }
#mirHomePatches .mir-news-list { margin-top: 0; }
.mir-rules {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}
.mir-rules a { color: #f0c14b; }
.mir-getting-started code {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 1px 6px;
  color: #fbbf24;
}

/* News posts */
.mir-news-article .mir-news-body {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  font-size: 1.05rem;
}
.mir-news-article .mir-news-body a { color: #f0c14b; }
.mir-news-article .mir-news-body p { margin: 0 0 1em; }



