/* ------------------------------------------------------------
   ASTROFARMS — UNIVERSAL STYLE SHEET
   Applies to ALL pages: index, cannabis, mycology, shop, products
------------------------------------------------------------- */

/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
}

/* BACKGROUND SPACE */
.bg-space {
  background: radial-gradient(circle at top, #0a1224, #000510);
  min-height: 100vh;
  position: relative;
}

/* AURORA EFFECT */
.aurora {
  background: radial-gradient(800px circle at 50% 10%,
    rgba(41,255,168,0.18),
    rgba(0,200,255,0.16),
    transparent 80%);
  filter: blur(60px);
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* COLOR PALETTE */
:root {
  --af-ion: #00c8ff;
  --af-plasma: #9b5cff;
  --af-bio: #2aff9a;
  --af-black: #030712;
}

/* TEXT COLORS */
.text-af-ion { color: var(--af-ion); }
.text-af-plasma { color: var(--af-plasma); }
.text-af-bio { color: var(--af-bio); }

/* GLASS UI */
.glass {
  background: rgba(14, 20, 38, 0.45);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
}

/* BUTTONS --------------------------------------------------- */

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--af-ion), var(--af-plasma));
  border-radius: 9999px;
  color: #000;
  font-weight: 600;
  letter-spacing: .15em;
  font-size: 12px;
  text-transform: uppercase;
  transition: .25s ease;
}

.btn-primary:hover {
  opacity: .8;
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-weight: 500;
  letter-spacing: .15em;
  font-size: 11px;
  text-transform: uppercase;
  transition: .25s ease;
}

.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

/* FILTER BUTTONS */
.pill-filter {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .2s;
  color: #fff;
}

.pill-filter.active,
.pill-filter:hover {
  background: linear-gradient(135deg, var(--af-ion), var(--af-plasma));
  color: #000;
  border-color: transparent;
}

/* TAGS ------------------------------------------------------ */

.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
}

.tag-blue { background: rgba(0,200,255,.15); color: var(--af-ion); }
.tag-purple { background: rgba(155,92,255,.15); color: var(--af-plasma); }
.tag-green { background: rgba(40,255,160,.15); color: var(--af-bio); }
.tag-silver { background: rgba(255,255,255,.15); color: #eee; }

/* PRODUCT CARDS ------------------------------------------- */

.card {
  background: rgba(14, 20, 38, 0.45);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: .35s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 60px rgba(0,200,255,0.25);
}

.card-img {
  height: 180px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
}

.card-body {
  padding: 18px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-title {
  font-size: 20px;
  margin-top: 3px;
}

.card-desc {
  font-size: 13px;
  color: rgba(255,255,255,.65);
}

.card-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
}

/* INPUTS --------------------------------------------------- */

.input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
}

.input:focus {
  outline: none;
  border-color: var(--af-ion);
  background: rgba(255,255,255,.08);
}

/* SPEC SHEET GRID */
.spec {
  background: rgba(255,255,255,.05);
  padding: 12px 14px;
  border-radius: 12px;
}

.spec-label {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.spec-value {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
}

/* MOBILE NAV */
#mobileNav a {
  padding: 8px 0;
}

/* UTILITY CLASSES */
.pill {
  border-radius: 9999px;
}

.text-shadow {
  text-shadow: 0 0 25px rgba(0,200,255,.4);
}

