/* ========= NBS FIREARMS ENTERPRISE - Premium Theme ========= */
:root{
  --bg0:#07080c;
  --bg1:#0b0d13;
  --panel: rgba(14,16,24,.70);
  --panel2: rgba(18,20,30,.82);
  --border: rgba(255,255,255,.10);
  --border2: rgba(255,255,255,.14);

  --text:#f3f4f6;
  --muted: rgba(255,255,255,.70);

  /* Brand accents (premium) */
  --accent:#b11226;      /* deep crimson */
  --accent2:#d6b36a;     /* subtle gold */
  --accentGlow: rgba(177,18,38,.40);

  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 28px rgba(0,0,0,.40);

  --radius: 18px;
  --radius2: 26px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }

html, body{
  height:100%;
}

body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 900px at 20% -10%, rgba(177,18,38,.20), transparent 60%),
    radial-gradient(900px 700px at 90% 10%, rgba(214,179,106,.12), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

/* subtle “texture” */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.05), transparent 35%),
    radial-gradient(circle at 75% 30%, rgba(255,255,255,.03), transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,.03), transparent 45%);
  opacity:.35;
  mix-blend-mode: overlay;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }

.container{
  width:min(1120px, 92vw);
  margin: 22px auto 60px;
  position:relative;
  z-index:1;
}

/* ========= Top nav ========= */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 6px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 16px;
}

.brand{
  font-weight:900;
  letter-spacing:.5px;
  font-size: 18px;
  display:flex;
  align-items:center;
  gap:10px;
}

.brand a{
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.brand-mark{
  width:34px;
  height:34px;
  border-radius:12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.20), transparent 55%),
    linear-gradient(135deg, rgba(177,18,38,.95), rgba(214,179,106,.55));
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.10);
}

.nav-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* ========= Pills / Buttons ========= */
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight:700;
  font-size: 13.5px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.pill:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,.12), transparent 50%),
    linear-gradient(135deg, rgba(177,18,38,.95), rgba(110,10,22,.95));
  color:#fff;
  font-weight:900;
  letter-spacing:.3px;
  cursor:pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.button:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 20px 52px rgba(0,0,0,.55);
}

.button:active{
  transform: translateY(0px);
}

.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.85);
  font-weight:800;
  font-size: 12px;
}

/* ========= Headings ========= */
.section-title{
  margin: 18px 0 10px;
  font-size: 36px;
  font-weight: 950;
  letter-spacing: -.6px;
  line-height: 1.08;
  text-shadow: 0 18px 40px rgba(0,0,0,.55);
}

.muted{
  color: var(--muted);
}

/* ========= Hero panel ========= */
.hero{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  padding: 22px 22px;
  background:
    radial-gradient(800px 450px at 15% 15%, rgba(177,18,38,.14), transparent 55%),
    radial-gradient(650px 420px at 90% 30%, rgba(214,179,106,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}

.hero::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(135deg, rgba(255,255,255,.10), transparent 45%, rgba(214,179,106,.10));
  opacity:.35;
}

/* ========= Content panels ========= */
.content, .note{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(14,16,24,.66);
  box-shadow: var(--shadow2);
}

.content{
  padding: 18px;
}

.note{
  padding: 14px 16px;
  margin: 10px 0;
  color: rgba(255,255,255,.86);
}

/* ========= Grid cards ========= */
.grid{
  display:grid;
 grid-template-columns: repeat(3, minmax(0,1fr));
 gap: 16px;
 margin-top: 12px;
}

@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-title{ font-size: 32px; }
}
@media (max-width: 620px){
  .grid{ grid-template-columns: 1fr; }
  .section-title{ font-size: 28px; }
}

.card{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(500px 260px at 30% 20%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: var(--shadow2);
  overflow:hidden;
  position:relative;
}

.card-body{
  padding: 14px 14px 16px;
}

.card-img{
  width:100%;
  height: 230px;
  object-fit: cover;
  display:block;
  filter: contrast(1.03) saturate(1.02);
}

.card-img-wrap{ position:relative; }

/* SOLD overlay */
.sold-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  letter-spacing:3px;
  font-size: 30px;
  background: rgba(0,0,0,.60);
  color:#fff;
  text-transform: uppercase;
  text-shadow: 0 18px 40px rgba(0,0,0,.65);
}

/* Price */
.price{
  font-size: 18px;
  font-weight: 950;
  letter-spacing:.2px;
  margin-top: 8px;
  background: linear-gradient(90deg, rgba(214,179,106,.95), rgba(255,255,255,.92));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ========= Filters ========= */
.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 12px 0 6px;
}
.filters .pill.active{
  border-color: rgba(214,179,106,.30);
  box-shadow: 0 14px 38px rgba(0,0,0,.45);
  background:
    radial-gradient(circle at 30% 30%, rgba(214,179,106,.18), transparent 55%),
    rgba(255,255,255,.05);
}

/* ========= Forms ========= */
.form{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-top: 10px;
}

.input, .textarea, .select{
  width:100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 12px 12px;
  outline:none;
  transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
}

.input:focus, .textarea:focus, .select:focus{
  border-color: rgba(214,179,106,.35);
  box-shadow: 0 0 0 4px rgba(214,179,106,.12);
  background: rgba(255,255,255,.05);
}

.textarea{
  min-height: 120px;
  resize: vertical;
}

/* ========= Gallery ========= */
.gallery{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.gallery img{
  width: 165px;
  height: 110px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
  transition: transform .12s ease, border-color .12s ease;
}
.gallery img:hover{
  transform: translateY(-1px);
  border-color: rgba(214,179,106,.25);
}

/* ========= Footer ========= */
.footer{
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.60);
  font-size: 12.5px;
}

/* ========= Small utilities ========= */
hr{
  border:0;
  border-top:1px solid rgba(255,255,255,.10);
}

