/* ═══════════════════════════════════════════════════════════════════════════
   HostingBunker — Turn 2 Theme
   Palette: white / near-black / green (primary) / red (errors only)
   Fonts:   Orbitron (headings, buttons, nav) + Rajdhani (body, inputs, tables)
            + JetBrains Mono (code, IDs, numbers)

   DESIGN STRATEGY — IMPORTANT:
   The existing page templates reference variables like --blue, --blue-m,
   --blue-l, --blue-d, --primary, --accent directly in inline styles. To avoid
   touching every page file, we REMAP those legacy names to point at the new
   green palette. The result: every `color: var(--blue-m)` call across the
   codebase automatically becomes green. Zero HTML changes needed for the
   re-theme itself; only the (few) hardcoded hex colors in page templates
   need surgical edits.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─ Fonts ─────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ─ Design Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:   #ffffff;   /* page background */
  --bg2:  #f7f7f7;   /* subtle surface / alt rows */
  --sf:   #ffffff;   /* card/form surface */

  /* Greens — PRIMARY ACTION COLOR (replaces old blue family) */
  --green:    #008a39;
  --green-l:  #00b84d;   /* main brand green */
  --green-d:  rgba(0,184,77,0.08);   /* tint bg for hover/badges */
  --green-g:  0 0 18px rgba(0,184,77,0.28);

  /* Reds — ERRORS AND DESTRUCTIVE ACTIONS ONLY */
  --red:    #b71c1c;
  --red-l:  #d32f2f;
  --red-d:  rgba(211,47,47,0.08);

  /* Neutral warning (amber) — used only for in-progress / pending states */
  --yel:    #b26a00;
  --yel-d:  rgba(178,106,0,0.08);

  /* Borders */
  --bd:   #e5e5e5;   /* soft divider */
  --bd2:  #000000;   /* strong frame (cards, emphasis borders) */

  /* Text */
  --t:   #0a0a0a;   /* near-black */
  --t2:  #2d2d2d;   /* secondary */
  --t3:  #8a8a8a;   /* tertiary / placeholder */

  /* Typography */
  --f-hd: 'Orbitron', 'Rajdhani', sans-serif;
  --f-bd: 'Rajdhani', 'Orbitron', sans-serif;
  --f-mn: 'JetBrains Mono', ui-monospace, monospace;

  /* ── LEGACY ALIASES — route old names to new palette ──
     Don't rename these; every page and admin file references them. */
  --blue:    #008a39;              /* → green */
  --blue-m:  #00b84d;              /* → green-l  (primary action) */
  --blue-l:  #00d957;              /* → slightly brighter green (hover) */
  --blue-d:  rgba(0,184,77,0.08);  /* → green-d tint */
  --blue-g:  0 0 18px rgba(0,184,77,0.28);
  --primary: #00b84d;
  --accent:  #00b84d;
  --pr-d:    rgba(0,184,77,0.08);
  --pr-g:    0 0 18px rgba(0,184,77,0.28);
  --ac-d:    rgba(0,184,77,0.08);
  --rd:      rgba(211,47,47,0.08);
  --yd:      rgba(178,106,0,0.08);
  --gd:      rgba(0,184,77,0.08);
  --gg:      0 0 18px rgba(0,184,77,0.28);
  --sf2:     #f7f7f7;
  --cyan:    #00b84d;
  --cd:      rgba(0,184,77,0.08);
  --mn:      var(--f-mn);
  --hd:      var(--f-hd);
  --bd-f:    var(--f-bd);

  /* Shadows */
  --shadow:    0 1px 3px rgba(0,0,0,0.04), 0 2px 10px rgba(0,0,0,0.05);
  --shadow-lg: 0 6px 28px rgba(0,0,0,0.10);
}

/* ─ Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--t);
  font-family: var(--f-bd);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--green-l); text-decoration: none; transition: color .2s; font-weight: 600; }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--green-l); color: #fff; }

/* ─ Typography helpers ────────────────────────────────────────────────── */
.hd  { font-family: var(--f-hd); font-weight: 800; letter-spacing: .5px; }
.mn  { font-family: var(--f-mn); }
.tg  { color: var(--green-l); }   /* "green" text helper */
.tc  { color: var(--green-l); }   /* "primary" text helper (was blue) */
.tr  { color: var(--red-l); }     /* "red" text helper */
.td  { color: var(--t2); }        /* secondary text */

/* ─ Layout ────────────────────────────────────────────────────────────── */
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
main { flex: 1; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sec  { padding: 80px 0; }
.grid { display: grid; gap: 24px; }
.g2   { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3   { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g4   { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ─ Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid #000;
  padding: 0 20px;
  width: 100%;
  max-width: 100vw;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
  min-width: 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex-shrink: 1; }
.logo-text { font-family: var(--f-hd); font-size: 17px; font-weight: 900; color: var(--t); letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.logo-text { font-family: var(--f-hd); font-size: 17px; font-weight: 900; color: var(--t); letter-spacing: 1px; text-transform: uppercase; }
.logo-text span { color: var(--green-l); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nl {
  font-family: var(--f-hd); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--t2); padding: 9px 14px; transition: all .2s;
  border-bottom: 2px solid transparent;
}
.nl:hover, .nl.active { color: var(--t); border-bottom-color: var(--green-l); }
.mob-btn {
    display: none; background: none; border: 2px solid #000;
    color: var(--t); font-size: 22px; cursor: pointer;
    width: 44px; height: 44px; line-height: 1;
    padding: 0; align-items: center; justify-content: center;
    font-family: var(--f-hd); font-weight: 900;
    -webkit-tap-highlight-color: rgba(0,184,77,0.3);
    touch-action: manipulation;
}
.mob-btn:hover, .mob-btn:focus { background: var(--green-l); color: #fff; outline: none; }
.mob-btn:focus-visible { outline: 2px solid var(--green-l); outline-offset: 2px; }
/* ─ Buttons ───────────────────────────────────────────────────────────── */
/* btn-g = PRIMARY (green) */
.btn-g {
  font-family: var(--f-hd); font-size: 12px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--green-l); color: #fff;
  border: 2px solid var(--green-l);
  padding: 11px 26px; cursor: pointer;
  transition: all .2s; text-decoration: none; text-align: center;
  display: inline-block;
}
.btn-g:hover {
  background: #000; border-color: #000; color: var(--green-l);
  box-shadow: var(--green-g);
}
/* btn-c = SECONDARY (outline black/green) */
.btn-c {
  font-family: var(--f-hd); font-size: 12px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: transparent; color: var(--t); border: 2px solid #000;
  padding: 10px 24px; cursor: pointer; transition: all .2s;
  text-decoration: none; text-align: center; display: inline-block;
}
.btn-c:hover { background: #000; color: var(--green-l); }
/* btn-r = DESTRUCTIVE / DANGER (red outline) */
.btn-r {
  font-family: var(--f-hd); font-size: 12px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: transparent; color: var(--red-l); border: 2px solid var(--red-l);
  padding: 10px 24px; cursor: pointer; transition: all .2s;
}
.btn-r:hover { background: var(--red-l); color: #fff; }
.btn-sm { padding: 6px 14px !important; font-size: 10px !important; }
.btn-lg { padding: 14px 36px !important; font-size: 13px !important; }
.btn-bl { width: 100%; display: block; text-align: center; }

/* ─ Forms ─────────────────────────────────────────────────────────────── */
.fg { margin-bottom: 18px; }
.fl {
  font-family: var(--f-hd); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--t); display: block; margin-bottom: 6px;
}
.fi {
  width: 100%; padding: 12px 14px;
  background: #fff; border: 2px solid #000;
  color: var(--t); font-family: var(--f-bd); font-size: 15px; font-weight: 600;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.fi:focus { border-color: var(--green-l); box-shadow: 0 0 0 3px rgba(0,184,77,0.15); }
.fi::placeholder { color: var(--t3); font-weight: 400; }
.fi:invalid:not(:placeholder-shown) { border-color: var(--red-l); }
.fsel {
  width: 100%; padding: 12px 38px 12px 14px;
  background: #fff; border: 2px solid #000;
  color: var(--t); font-family: var(--f-bd); font-size: 15px; font-weight: 600;
  outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.fsel:focus { border-color: var(--green-l); box-shadow: 0 0 0 3px rgba(0,184,77,0.15); }
.fta { resize: vertical; min-height: 80px; }

/* ─ Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--sf); border: 2px solid #000; padding: 24px;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.card:hover { box-shadow: 4px 4px 0 var(--green-l); transform: translate(-2px, -2px); }
.ch {
  font-family: var(--f-hd); font-size: 11px; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase; color: var(--t); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--green-l);
}

/* ─ Tables ────────────────────────────────────────────────────────────── */
.tw { overflow-x: auto; border: 2px solid #000; background: #fff; }
.tb { width: 100%; border-collapse: collapse; font-family: var(--f-bd); font-size: 14px; font-weight: 600; }
.tb th {
  text-align: left; padding: 12px 16px; color: var(--t); font-weight: 700;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--f-hd);
  background: var(--bg2); border-bottom: 2px solid #000; white-space: nowrap;
}
.tb td { padding: 12px 16px; border-bottom: 1px solid var(--bd); color: var(--t); font-weight: 600; }
.tb tr:last-child td { border-bottom: none; }
.tb tbody tr:nth-child(even) td { background: var(--bg2); }
.tb tbody tr:hover td { background: var(--green-d); }
.tb td.mn, .tb td .mn { font-family: var(--f-mn); font-size: 12px; }

/* ─ Status indicators ─────────────────────────────────────────────────── */
.st { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: middle; }
.st-ok   { background: var(--green-l); box-shadow: 0 0 6px rgba(0,184,77,0.5); }
.st-warn { background: var(--yel);     box-shadow: 0 0 6px rgba(178,106,0,0.5); }
.st-err  { background: var(--red-l);   box-shadow: 0 0 6px rgba(211,47,47,0.5); }
.badge {
  font-family: var(--f-hd); font-size: 10px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px;
  background: var(--green-d); color: var(--green-l); border: 1.5px solid var(--green-l);
  display: inline-block;
}

/* ─ Alerts ────────────────────────────────────────────────────────────── */
.flash {
  position: fixed; top: 20px; right: 20px; z-index: 9999; max-width: 380px;
  padding: 14px 20px; font-family: var(--f-bd); font-size: 14px; font-weight: 600;
  animation: slideIn .3s ease; box-shadow: var(--shadow-lg);
  border: 2px solid #000;
}
.flash-ok  { background: #fff; border-left: 6px solid var(--green-l); color: var(--t); }
.flash-err { background: #fff; border-left: 6px solid var(--red-l);   color: var(--t); }
.alert-ok   { background: #fff; border: 2px solid #000; border-left: 6px solid var(--green-l); color: var(--t); padding: 13px 18px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.alert-err  { background: #fff; border: 2px solid #000; border-left: 6px solid var(--red-l);   color: var(--t); padding: 13px 18px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.alert-info { background: #fff; border: 2px solid #000; border-left: 6px solid var(--green-l); color: var(--t); padding: 13px 18px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.alert-warn { background: #fff; border: 2px solid #000; border-left: 6px solid var(--yel);     color: var(--t); padding: 13px 18px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }

/* ─ Hero ──────────────────────────────────────────────────────────────── */
.hero {
  min-height: 88vh; display: flex; align-items: center; justify-content: center;
  padding: 80px 20px; position: relative; text-align: center; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
    repeating-linear-gradient(0deg,  transparent 0 39px, rgba(0,0,0,0.06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(0,0,0,0.06) 39px 40px);
  border-bottom: 2px solid #000;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,77,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,77,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-family: var(--f-hd); font-size: clamp(38px, 6vw, 72px);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.5px; color: var(--t);
  margin-bottom: 22px; text-transform: uppercase;
}
.glitch { color: var(--green-l); }
.glitch::before, .glitch::after { display: none; }

/* ─ Pricing ───────────────────────────────────────────────────────────── */
.plan-price {
  font-family: var(--f-hd); font-size: 46px; font-weight: 900;
  color: var(--t); letter-spacing: -1px;
}
.plan-feat {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--t); padding: 6px 0;
  font-family: var(--f-bd);
}
.plan-feat::before { content: '✓'; color: var(--green-l); font-weight: 900; }

/* ─ Stat boxes ────────────────────────────────────────────────────────── */
.sbox  { display: flex; align-items: center; gap: 16px; padding: 20px; }
.sicon {
  width: 52px; height: 52px;
  background: var(--green-d); border: 2px solid #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.slbl { font-family: var(--f-hd); font-size: 11px; font-weight: 900; color: var(--t); text-transform: uppercase; letter-spacing: 1.5px; }
.sval { font-family: var(--f-hd); font-size: 26px; font-weight: 900; color: var(--t); margin-top: 2px; }

/* ─ Tabs ──────────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.tab {
  font-family: var(--f-hd); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 10px 18px; background: #fff; color: var(--t2);
  border: 2px solid #000; cursor: pointer; transition: all .2s; text-decoration: none;
}
.tab:hover  { color: var(--t); background: var(--green-d); }
.tab.active { background: var(--green-l); color: #fff; border-color: #000; }

/* ─ Payment ───────────────────────────────────────────────────────────── */
.pay-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.pay-method {
  display: flex; align-items: center; gap: 16px; padding: 18px;
  border: 2px solid #000; margin-bottom: 10px;
  cursor: pointer; transition: all .2s; background: #fff;
}
.pay-method:hover  { background: var(--green-d); }
.pay-method.sel    { background: var(--green-d); box-shadow: 4px 4px 0 var(--green-l); transform: translate(-2px, -2px); }
.pay-radio         { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #000; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color .2s; }
.pay-method.sel .pay-radio { border-color: var(--green-l); }
.pay-method.sel .pay-dot   { display: block; }
.pay-dot           { width: 12px; height: 12px; border-radius: 50%; background: var(--green-l); display: none; }

/* ─ Upload zone ───────────────────────────────────────────────────────── */
.up-zone {
  border: 2px dashed #000; padding: 32px; text-align: center;
  cursor: pointer; transition: all .2s; position: relative; overflow: hidden;
  background: var(--bg2);
}
.up-zone:hover { background: var(--green-d); }
.up-zone.has   { border-color: var(--green-l); border-style: solid; background: var(--green-d); }
.up-zone input[type=file] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.up-ph { pointer-events: none; }
.up-ok { pointer-events: none; }
.up-prev, .up-preview { max-width: 180px; max-height: 180px; margin: 10px auto 0; border: 2px solid #000; display: block; }

/* ─ Footer ────────────────────────────────────────────────────────────── */
.ft { border-top: 2px solid #000; padding: 60px 20px 32px; background: var(--bg2); }
.ft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }

/* ─ Footer split layout (left brand / right link columns) ─── */
/* ─ Footer split layout (left brand / right link columns) ─── */
.ft-split {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
  align-items: start;
}
.ft-left { min-width: 0; }
.ft-right {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  min-width: 0;
}
.ft-right > div { min-width: 0; }
.ft-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: #fff; border: 2px solid #000; color: var(--t);
  font-size: 20px; text-decoration: none; transition: all .15s;
}
.ft-icon:hover { background: var(--green-l); color: #fff; transform: translate(-2px,-2px); box-shadow: 2px 2px 0 #000; }
.ft-h { font-family: var(--f-hd); font-size: 11px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t); margin-bottom: 14px; }
.ft-l { font-size: 14px; font-weight: 700; color: var(--t); display: block; padding: 6px 0; transition: color .2s; font-family: var(--f-bd); }
.ft-l:hover { color: var(--green-l); }
.ft-bot { border-top: 1px solid var(--bd); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--t); font-weight: 600; }

/* ─ FAQ accordion ─────────────────────────────────────────────────────── */
.faq-box { border: 2px solid #000; background: #fff; }
details { border-bottom: 1px solid var(--bd); }
details:last-child { border-bottom: none; }
details summary {
  font-family: var(--f-hd); font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--t); list-style: none; padding: 20px 22px; transition: all .2s; background: #fff;
  text-transform: uppercase; letter-spacing: .5px;
}
details summary:hover { background: var(--green-d); }
details summary::after { content: '+'; color: var(--green-l); font-size: 24px; font-weight: 400; flex-shrink: 0; margin-left: 12px; font-family: var(--f-hd); }
details[open] summary::after { content: '−'; }
details[open] summary { background: var(--green-d); }
details p { font-size: 14px; font-weight: 600; color: var(--t); line-height: 1.8; padding: 8px 22px 22px; background: #fff; font-family: var(--f-bd); }

/* ─ Terminal ──────────────────────────────────────────────────────────── */
.term {
  background: #000; padding: 32px 24px 24px;
  font-family: var(--f-mn); font-size: 13px;
  border: 2px solid #000; box-shadow: var(--shadow-lg);
  position: relative;
}
.term-hdr  { position: absolute; top: 10px; left: 16px; font-size: 10px; color: #666; font-family: var(--f-hd); }
.term-dots { display: flex; gap: 6px; margin-bottom: 18px; }
.term-dots span { width: 12px; height: 12px; border-radius: 50%; }
.term-ln   { color: var(--green-l); margin-bottom: 6px; line-height: 1.6; }
.term-ln .pfx { color: #6ee7a0; }

/* ─ Section tag ───────────────────────────────────────────────────────── */
.section-tag {
  display: inline-block; font-family: var(--f-hd); font-size: 11px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; color: var(--t);
  background: var(--green-l); padding: 6px 16px;
  border: 2px solid #000; margin-bottom: 12px;
}

/* ─ Admin layout ──────────────────────────────────────────────────────── */
.adm-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: var(--bg); }
.adm-side {
  background: #000; border-right: 2px solid #000;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column;
}
.adm-side .brand { padding: 20px; border-bottom: 2px solid var(--green-l) !important; }
.adm-side .logo-text, .adm-side .logo-text span { color: var(--green-l); }
.adm-nav a {
  display: block; padding: 11px 20px; font-family: var(--f-hd);
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  color: #ccc; text-decoration: none; border-left: 3px solid transparent; transition: all .2s;
}
.adm-nav a:hover  { color: var(--green-l); background: rgba(0,184,77,0.1); }
.adm-nav a.active { color: var(--green-l); border-left-color: var(--green-l); background: rgba(0,184,77,0.15); }
.adm-main { padding: 32px; overflow-x: hidden; background: var(--bg); }
.adm-main h1 { font-family: var(--f-hd); text-transform: uppercase; }

/* ─ Proof thumbnails ──────────────────────────────────────────────────── */
.proof-thumb {
  width: 52px; height: 52px; object-fit: cover;
  border: 2px solid #000; cursor: pointer; transition: transform .2s;
}
.proof-thumb:hover { transform: scale(3.5); z-index: 100; position: relative; border-color: var(--green-l); }

/* ─ Notifications ─────────────────────────────────────────────────────── */
.notif-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red-l); color: #fff; font-size: 10px; font-weight: 800;
  position: absolute; top: -4px; right: -4px; font-family: var(--f-hd);
  border: 2px solid #fff;
}
.notif-item { padding: 14px 18px; border-bottom: 1px solid var(--bd); font-size: 14px; font-weight: 600; font-family: var(--f-bd); color: var(--t); }
.notif-item:last-child { border-bottom: none; }
.notif-item.unread { background: var(--green-d); border-left: 4px solid var(--green-l); }
.notif-expire { color: var(--yel); font-weight: 700; }
.notif-active { color: var(--green-l); font-weight: 700; }

/* ─ 2FA card ──────────────────────────────────────────────────────────── */
.twofa-card { border: 2px solid #000; background: #fff; }
.twofa-card.enabled { border-color: var(--green-l); background: var(--green-d); }
.twofa-qr { width: 180px; height: 180px; background: #fff; border: 2px solid #000; padding: 8px; display: block; margin: 0 auto 16px; }

/* ─ Toggle switch ─────────────────────────────────────────────────────── */
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-sl { position: absolute; cursor: pointer; inset: 0; background: #ccc; transition: .3s; border: 2px solid #000; }
.toggle-sl::before { content: ''; position: absolute; height: 16px; width: 16px; left: 2px; bottom: 2px; background: #fff; transition: .3s; border: 1px solid #000; }
.toggle input:checked + .toggle-sl { background: var(--green-l); }
.toggle input:checked + .toggle-sl::before { transform: translateX(20px); }

/* ─ Blog ──────────────────────────────────────────────────────────────── */
.post-tag {
  display: inline-block; font-family: var(--f-hd); font-size: 10px; font-weight: 800;
  padding: 4px 10px; background: var(--green-l); color: #fff;
  border: 2px solid #000; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;
}
.post-title   { font-family: var(--f-hd); font-size: 17px; font-weight: 800; color: var(--t); margin-bottom: 8px; line-height: 1.3; text-transform: uppercase; }
.post-excerpt { font-size: 14px; font-weight: 600; color: var(--t); line-height: 1.7; font-family: var(--f-bd); }
.post-meta    { font-size: 11px; color: var(--t3); margin-top: 12px; font-family: var(--f-mn); }

/* ─ Animations ────────────────────────────────────────────────────────── */
@keyframes slideIn { from { transform: translateX(120px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeUp  { from { transform: translateY(22px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.anim    { animation: fadeUp .5s ease both; }
.anim-d1 { animation: fadeUp .5s .10s ease both; }
.anim-d2 { animation: fadeUp .5s .20s ease both; }
.anim-d3 { animation: fadeUp .5s .30s ease both; }
.blink   { animation: blink .8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ─ Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: #000; border: 2px solid var(--bg2); }
::-webkit-scrollbar-thumb:hover { background: var(--green-l); }

/* ─ Print ─────────────────────────────────────────────────────────────── */
@media print {
  .nav, .ft, #mx, .flash { display: none !important; }
  body { background: #fff; color: #000; }
  .card { border-color: #000 !important; box-shadow: none !important; }
}

/* ─ Reduce motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─ Responsive ────────────────────────────────────────────────────────── */
/* ─ Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ft-split  { grid-template-columns: 1fr; gap: 40px; }
  .ft-right  { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 768px) {
  .nav { padding: 0 14px; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 16px;
    border-bottom: 2px solid #000; box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .mob-btn { display: inline-flex; }
.nl {
  font-family: var(--f-hd); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--t); padding: 9px 14px; transition: all .2s;
  border-bottom: 2px solid transparent;
}  .nl:hover, .nl.active { border-bottom-color: var(--bd); border-left-color: var(--green-l); background: var(--green-d); }

  .g2, .g3, .g4, .pay-grid { grid-template-columns: 1fr !important; }
  .hero h1 { font-size: 34px !important; }
  .sec { padding: 52px 0; }
  .wrap { padding: 0 14px; }

  /* Footer stacks: brand on top, link columns in 2 cols below */
  .ft { padding: 48px 16px 28px; }
  .ft-split { gap: 32px; }
  .ft-right { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .ft-bot { font-size: 12px; flex-direction: column; align-items: flex-start; gap: 6px; }

  .adm-layout { grid-template-columns: 1fr; }
  .adm-side { position: static; height: auto; }
  .adm-nav { display: flex; flex-wrap: wrap; padding: 8px; gap: 4px; }
  .adm-nav a { padding: 6px 10px; font-size: 10px; border-left: none; }
  .adm-nav a.active { background: rgba(0,184,77,0.15); color: var(--green-l); }
  .adm-main { padding: 16px; }
}
@media (max-width: 480px) {
  .btn-lg { padding: 12px 20px !important; font-size: 12px !important; }
  .plan-price { font-size: 38px; }
  .sval { font-size: 22px; }
  .tabs { gap: 5px; }
  .tab  { padding: 7px 10px; font-size: 10px; }

  /* On real phones: single column for footer links so nothing overlaps */
  .ft-right { grid-template-columns: 1fr; gap: 18px; }
  .ft-h { margin-bottom: 8px; font-size: 12px; }
  .ft-l { padding: 6px 0; }
  .logo-text { font-size: 15px; }
}