/*
Jobs.html
*/

:root{
  /* Brand */
  --accent: #14a9ff;

  /* Modern dark theme (less “pure black”) */
  --bg: #0b0f14;

  /* Glass surfaces */
  --glass: rgba(255,255,255,.06);
  --glass2: rgba(255,255,255,.10);
  --border: rgba(255,255,255,.14);

  /* Text */
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.56);

  /* Shadow */
  --shadow: 0 18px 50px rgba(0,0,0,.45);

  /* Layout */
  --navPadX: 42px;
  --navH: 78px;
  --container: 1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* =========================
   GLASS NAVBAR (centered)
   ========================= */
.nav{
  height: var(--navH);
  display:flex;
  align-items:center;
  padding: 0 var(--navPadX);
  gap: 18px;

  /* Match page background */
  background: var(--bg);
  background: rgba(0,0,0,.22);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.brand{
  width: 240px;
  display:flex;
  align-items:center;
}

.brand img{
  height: 34px;
  width:auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.55));
}

.nav-center{
  flex: 1;
  display:flex;
  justify-content:center;
}

.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
  gap: 26px;
  padding:0;
  margin:0;

  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
}

.nav-links a{
  color: rgba(255,255,255,.62);
  text-decoration:none;
  padding: 10px 4px;
  position:relative;
  transition: color .12s ease, opacity .12s ease;
}

.nav-links a:hover{
  color:#fff;
}

.nav-links a.is-active{
  color:#fff;
}

.nav-links a.is-active::after{
  content:"";
  position:absolute;
  left: 4px;
  right: 4px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  opacity: .9;
}

.nav-right{
  width: 240px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 12px;
}

/* Online chip */
.pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
}

.dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#32ff6a;
  box-shadow: 0 0 0 3px rgba(50,255,106,.14);
}

/* Right links (Connect / Discord) */
.nav-action{
  color: rgba(255,255,255,.78);
  text-decoration:none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  padding: 10px 10px;
  transition: opacity .12s ease;
}
.nav-action:hover{ opacity:.88; }

.nav-action--accent{
  color: var(--accent);
}

/* =========================
   BUTTONS (modern)
   ========================= */
.actions{
  display:flex;
  gap: 14px;
  justify-content:center;
  flex-wrap: wrap;
}

.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 28px;
  background: var(--accent);
  color:#061018;
  text-decoration:none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(20,169,255,.18);
  transition: transform .12s ease, filter .12s ease;
}
.btn-primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 28px;
  border: 1px solid var(--border);
  background: var(--glass);
  color:#fff;
  text-decoration:none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  border-radius: 10px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn-ghost:hover{
  transform: translateY(-1px);
  background: var(--glass2);
  border-color: rgba(255,255,255,.22);
}

/* ===== Layout helpers ===== */
.container{
  max-width: var(--container);   /* FIX: use the variable you defined */
  margin: 0 auto;
  padding: 0 24px;               /* a little more breathing room */
}

/* Optional: wider container for the jobs grid only */
.container--wide{
  max-width: 1280px;             /* lets the cards spread out more */
}
.section{
  padding: 56px 0 54px;
}

/* ===== Hero ===== */
.hero{
  position: relative;
  padding: 56px 0 26px;
  overflow:hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Background + vignette (swap image when ready) */
.hero__bg{
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(60% 55% at 50% 30%,
      rgba(0,0,0,.25) 0%,
      rgba(0,0,0,.55) 45%,
      rgba(0,0,0,.88) 100%)
}

/* Content spacing */
.hero__content{
  padding-top: 10px;
}

.kicker{
  color: rgba(17,166,255,.75);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: 11px;
  margin-bottom: 14px;
}

.title{
  margin:0;
  font-size: clamp(36px, 4.6vw, 58px);
  letter-spacing: .02em;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.02;
}
.title span{
  color: var(--accent);
}

.subtitle{
  margin: 14px 0 0;
  max-width: 740px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.rule{
  width: 56px;
  height: 2px;
  background: rgba(17,166,255,.32);
  margin: 18px 0 22px;
}

/* ===== Tabs ===== */
.tabs{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  padding-bottom: 10px;
}
.tab{
  appearance:none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.75);
  padding: 12px 16px;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  cursor:pointer;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.tab:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}
.tab.is-active{
  background: var(--accent);
  border-color: rgba(0,0,0,.20);
  color: #061018;
}
.tab__count{
  opacity:.85;
  margin-left: 4px;
}

/* ===== Grid ===== */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
}

@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .nav{ display:none; } /* keep it simple on smaller screens */
}
@media (max-width: 620px){
  .grid{ grid-template-columns: 1fr; }
  .status{ display:none; }
}

/* ===== Card ===== */
.card{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.35);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  overflow:hidden;
  min-height: 470px;
}

.card__media{
  position: relative;
  height: 310px;
  background: rgba(255,255,255,.03);

  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */
}

.card__media img{
  width:100%;
  height:100%;
  object-fit: contain;   /* keeps full badge visible */
  padding: 20px;         /* creates space around it */
}

.chip{
  position:absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.45);
}
.chip--green{ color: rgba(46, 204, 113, .95); }
.chip--blue{ color: rgba(17, 166, 255, .95); }
.chip--red{ color: rgba(255, 59, 59, .95); }

.card__body{
  padding: 18px 18px 16px;
}
.card__title{
  margin: 0;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .02em;
}
.card__text{
  margin: 10px 0 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.card.is-hidden {
  display: none !important;
}

.divider{
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 14px 0 12px;
}

.req__title{
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 6px;
}
.req__list{
  margin: 0;
  padding-left: 16px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.75;
}

.card__link{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  margin-top: 14px;
  text-decoration:none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}
.card__link:hover{ opacity:.85; }

/* =========================
   Clean Footer (Drop-in)
========================= */
.site-footer {
  margin-top: 80px;
  background: radial-gradient(1200px 500px at 20% 0%, rgba(0, 170, 255, 0.10), transparent 60%),
              radial-gradient(900px 400px at 70% 20%, rgba(0, 120, 255, 0.08), transparent 55%),
              linear-gradient(to bottom, rgba(6, 10, 14, 0.96), rgba(3, 6, 9, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 18px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 200px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.site-footer__logo img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.site-footer__logo span {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__about {
  margin: 0 0 18px;
  line-height: 1.6;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 55ch;
}

.site-footer__server {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__server-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__server-ip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer__status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.70);
}

.site-footer__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.site-footer__links a,
.site-footer__socials a,
.site-footer__legal a {
  display: inline-block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  padding: 6px 0;
}

.site-footer__links a:hover,
.site-footer__socials a:hover,
.site-footer__legal a:hover {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  margin-bottom: 14px;
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(0, 160, 255, 0.90);
  color: #081018;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.site-footer__cta:hover {
  filter: brightness(1.05);
}

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.20);
}

.site-footer__bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.site-footer__legal {
  display: flex;
  gap: 14px;
  margin-left: auto;
}

.site-footer__disclaimer {
  color: rgba(255, 255, 255, 0.40);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__links a {
  padding: 4px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color .2s ease;
}

.site-footer__links a:hover {
  color: rgba(255,255,255,0.95);
}

/* Responsive */
@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .site-footer__legal {
    margin-left: 0;
  }
}

/* Filtering helper (JS toggles this) */
.card.is-hidden{
  display:none;
}