/*
  FromJordan.us — Shared CSS (v1.1)
  File: /var/www/fromjordan.us/public/assets/fromjordan.css
  Last edited: 2026-03-05 06:20 UTC
*/

:root{
  --bg:#050814;
  --card:#0b1024;
  --text:#eef2ff;
  --muted:#a9b1d6;
  --line:rgba(255,255,255,.10);
  --accent:#7aa2ff;
  --accent2:#79ffe1;

  --shadow: 0 8px 30px rgba(0,0,0,.45);
  --radius:16px;
  --max: 980px;

  --btnBg: rgba(255,255,255,.04);
  --btnBgHover: rgba(255,255,255,.07);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(122,162,255,.18), transparent 55%),
    radial-gradient(900px 500px at 80% -10%, rgba(121,255,225,.10), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }

.fj-wrap{
  max-width: var(--max);
  margin: 0 auto;
  /* IMPORTANT: extra padding so fixed footer never covers content */
  padding: 16px 14px calc(110px + env(safe-area-inset-bottom, 0px));
}

.fj-card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.fj-muted{ color: var(--muted); }

.fj-btn{
  height:40px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: var(--btnBg);
  color: var(--text);
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size:13px;
  text-decoration:none;
  cursor:pointer;
}
.fj-btn:hover{
  background: var(--btnBgHover);
  text-decoration:none;
}

.fj-topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:linear-gradient(180deg, rgba(5,8,20,.95), rgba(5,8,20,.70));
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.fj-topbar__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 14px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}

.fj-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--text);
  text-decoration:none;
}
.fj-star{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid var(--line);
  background: linear-gradient(135deg, rgba(122,162,255,.30), rgba(121,255,225,.14));
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
}
.fj-star svg polygon{ fill: #fff; }

.fj-brand__text{ display:flex; flex-direction:column; line-height:1.05; }
.fj-brand__name{ font-weight:900; letter-spacing:.2px; font-size:15px; }
.fj-brand__tagline{ font-size:12px; color: var(--muted); margin-top:2px; }

.fj-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.fj-nav a{
  color: var(--muted);
  font-weight:900;
  font-size:13px;
}
.fj-nav a:hover{ color: var(--text); text-decoration:none; }

.fj-footer{
  position:fixed;
  left:0; right:0; bottom:0;
  border-top:1px solid var(--line);
  background:rgba(5,8,20,.92);
  backdrop-filter: blur(10px);
  z-index:40;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.fj-footer__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 14px;
  display:flex;
  gap:10px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}
.fj-footer__left{
  display:flex;
  align-items:center;
  gap:8px;
  color: var(--muted);
  font-weight:900;
  font-size:13px;
}
.fj-footer__left svg polygon{ fill:#fff; opacity:.9; }
.fj-footer__links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.fj-footer__links a{
  color: var(--muted);
  font-weight:900;
  font-size:13px;
}
.fj-footer__links a:hover{ color: var(--text); text-decoration:none; }

h1{ margin: 8px 0 0; font-size:22px; line-height:1.2; }
h2{ margin: 18px 0 8px; font-size:16px; letter-spacing:.2px; }
p,li{ color: var(--text); line-height:1.6; }
ul{ margin: 8px 0 0 18px; }