/* SMM PAK NOVA — Premium Black + Emerald colour scheme.
   This file is the ACTIVE colour file (the panel still calls it "lime"), so keep the
   "lime" colour selected in the admin. It holds: (1) the colour tokens, (2) the shared
   header + footer look. The homepage sections have their own styles inside
   views/login.twig.
   Palette: bg #030807 · secondary bg #07120F · card #0B1713 · emerald #00E5A0 ·
   green #00B879 · border rgba(0,229,160,.22) · text #FFFFFF · #B8C8C1 · #81958C */

:root{
  /* ---- brand / accent ---- */
  --c-primary:      #00E5A0;
  --c-primary-dark: #00B879;
  --c-primary-soft: rgba(0,229,160,.12);
  --c-on-primary:   #03120c;   /* dark text on bright emerald = readable */

  /* ---- surfaces + text ---- */
  --c-header:   #030807;
  --c-bg:       #030807;
  --c-card:     #0B1713;
  --c-input:    #07120F;
  --c-text:     #ffffff;
  --c-muted:    #B8C8C1;
  --c-border:   rgba(0,229,160,.22);
  --c-active:   #10241d;
  --c-shadow:   rgba(0,0,0,.45);
  --c-overlay:  rgba(3,8,7,.78);
  --c-radius:   10px;

  /* ---- status: alerts + badges (unchanged) ---- */
  --c-success:  #0f6b3f;  --c-success-bg:  #e8f7ee;  --c-success-border:  #b7dfc5;
  --c-danger:   #b42318;  --c-danger-bg:   #fdeceb;  --c-danger-border:   #f3c2bd;
  --c-warning:  #8a6d00;  --c-warning-bg:  #fff7e0;  --c-warning-border:  #f0d998;
  --c-info:     #0a4ea3;  --c-info-bg:     #e8f1fd;  --c-info-border:     #b7d3f5;
  --c-neutral:  #4b5563;  --c-neutral-bg:  #eef0f3;
  --c-announce: #5b21b6;  --c-announce-bg: #f1ebfd;

  /* ---- misc accents ---- */
  --c-star:       #f6a609;
  --c-wheel-line: #000000;
}

/* The Carbon design pins its own surfaces on a plain :root at the END of style.css,
   which loads AFTER this file and would win. html:root is more specific, so these
   values win whatever the load order. */
html:root{
  --c-primary:      #00E5A0;
  --c-primary-dark: #00B879;
  --c-primary-2:    #00B879;
  --c-primary-soft: rgba(0,229,160,.12);
  --c-on-primary:   #03120c;
  --c-bg:       #030807;
  --c-header:   #030807;
  --c-card:     #0B1713;
  --c-input:    #07120F;
  --c-text:     #ffffff;
  --c-muted:    #B8C8C1;
  --nv-faint:   #81958C;
  --c-border:   rgba(0,229,160,.22);
  --c-active:   #10241d;
  --c-overlay:  rgba(3,8,7,.78);
  --c-shadow:   rgba(0,0,0,.45);
  --c-grad:      linear-gradient(135deg,#00E5A0,#00B879);
  --c-grad-soft: rgba(0,229,160,.08);
  --c-ring:      rgba(0,229,160,.26);
  --c-shadow-sm: 0 1px 2px rgba(0,0,0,.45);
  --c-shadow-md: 0 8px 24px rgba(0,0,0,.5);
  --c-shadow-lg: 0 20px 50px rgba(0,0,0,.62);
  --c-radius: 10px; --r-sm: 8px; --r-lg: 12px;
}

/* Page background: the orange glow in style.css becomes a soft emerald one. */
html body.theme-carbon{
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(0,229,160,.08), transparent 60%),
    radial-gradient(640px 460px at -6% 6%, rgba(0,229,160,.04), transparent 56%),
    #030807;
}

/* Primary buttons everywhere: calmer glow. */
body.theme-carbon .btn-primary{ box-shadow: 0 4px 14px rgba(0,229,160,.16); }

/* =====================================================================================
   HEADER (shared by every page)
   Keeps the classes theme.js relies on: .main-menu, .menu-toggle, .menu-item,
   .header-balance, .balance-toggle, .lang-switch.
   ===================================================================================== */
body.theme-carbon .site-header{
  background: rgba(3,8,7,.92);
  border-bottom: 1px solid var(--c-border);
  box-shadow: none;
}
body.theme-carbon .header-inner{ align-items: center; padding: 12px 0; gap: 16px; }
body.theme-carbon:has(.nv-home) .header-inner{ max-width: 1200px; }

body.theme-carbon .site-logo{ height: auto; overflow: visible; align-items: center; gap: 12px; }
body.theme-carbon .site-logo img{ height: 34px; max-width: 190px; }
body.theme-carbon .site-logo-text{ font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.nv-logo-sub{
  padding-left: 12px; border-left: 1px solid var(--c-border);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--nv-faint); white-space: nowrap;
}

body.theme-carbon .menu-item{
  padding: 8px 12px; font-size: 14px; font-weight: 600;
  color: var(--c-muted); border-radius: var(--r-sm);
}
body.theme-carbon .menu-item:hover{ background: rgba(0,229,160,.08); color: #fff; }
body.theme-carbon .menu-item.is-active{ background: rgba(0,229,160,.12); color: var(--c-primary); box-shadow: none; }
body.theme-carbon .menu-item.is-active:hover{ color: var(--c-primary); }
body.theme-carbon .menu-logout{ color: #ff8a80; }
body.theme-carbon .menu-toggle{ background: transparent; border-color: var(--c-border); color: #fff; }
body.theme-carbon .balance-toggle{ background: rgba(0,229,160,.08); color: var(--c-primary); border-color: var(--c-border); }
body.theme-carbon .lang-switch summary{ background: transparent; border-color: var(--c-border); color: #fff; }

/* Login / Sign Up (guests only) */
.nv-auth{ display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nv-btn-login,
.nv-btn-signup{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.nv-btn-login{ border: 1px solid var(--c-border); color: #fff; }
.nv-btn-login:hover{ border-color: var(--c-primary); color: var(--c-primary); }
.nv-btn-signup{ border: 1px solid var(--c-primary); background: var(--c-primary); color: var(--c-on-primary); }
.nv-btn-signup:hover{ background: #33f0b6; border-color: #33f0b6; color: var(--c-on-primary); }

@media (min-width: 901px){
  body.theme-carbon .site-header{
    position: sticky; top: 0; z-index: 60;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  body.theme-carbon .main-menu .header-balance{ order: -1; }
  body.theme-carbon .main-menu .lang-switch{ order: 10; margin-left: auto; }
  body.theme-carbon .main-menu .nv-auth{ order: 11; margin-left: auto; }
  body.theme-carbon .main-menu:has(.lang-switch) .nv-auth{ margin-left: 0; }
}
@media (max-width: 1280px){ .nv-logo-sub{ display: none; } }
@media (max-width: 900px){
  .nv-auth{ margin: 8px 12px 6px; }
  .nv-auth a{ flex: 1; }
}

/* =====================================================================================
   FOOTER (shared by every page)
   ===================================================================================== */
.nv-footer{
  background: #020605; border-top: 1px solid var(--c-border);
  color: var(--c-muted); font-size: 14px; text-align: left;
}
.nv-footer-inner{ max-width: 1200px; margin: 0 auto; padding: 56px 20px 26px; }
.nv-foot-grid{ display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1fr 1fr; gap: 36px; }
.nv-foot-logo{ display: inline-flex; align-items: center; }
.nv-foot-logo img{ height: 36px; width: auto; max-width: 200px; display: block; }
.nv-foot-logo-text{ font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.nv-foot-kicker{
  margin: 12px 0 0; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-primary);
}
.nv-foot-desc{ margin: 12px 0 0; max-width: 36ch; line-height: 1.7; color: var(--c-muted); }
.nv-foot-title{
  margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #fff;
}
.nv-foot-list{ list-style: none; display: grid; gap: 11px; padding: 0; margin: 0; }
.nv-foot-list a{ color: var(--c-muted); }
.nv-foot-list a:hover{ color: var(--c-primary); }
.nv-foot-bottom{
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--c-border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px 24px; flex-wrap: wrap; font-size: 13px; color: var(--nv-faint);
}
@media (max-width: 1000px){
  .nv-foot-grid{ grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
  .nv-foot-brand{ grid-column: 1 / -1; }
}
@media (max-width: 640px){
  .nv-foot-grid{ grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 20px; }
  .nv-footer-inner{ padding: 44px 16px 22px; }
}
@media (max-width: 380px){
  .nv-foot-grid{ grid-template-columns: minmax(0,1fr); }
}
