/* =========================================================
   Airsoft Arena Ltd. - Premium Tactical Website Styles
   Mobile-first. Clean. Fast. Easy to edit.
   ========================================================= */

/* ---------- CSS Variables (palette + sizing) ---------- */
:root{
  --bg: #0a0d0c;
  --bg-2: #0f1412;
  --panel: #101715;
  --panel-2: #121c19;
  --stroke: rgba(255,255,255,.10);
  --stroke-2: rgba(255,255,255,.16);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted-2: rgba(255,255,255,.55);

  --accent: #2f7d56;     /* tactical green */
  --cta: #b9ff3b;        /* high-contrast */
  --cta-2: #86ff5f;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius-lg: 24px;

  --container: 1120px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;

  --font-head: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(1200px 800px at 60% -20%, rgba(47,125,86,.22), transparent 60%),
              radial-gradient(900px 600px at 20% 0%, rgba(185,255,59,.10), transparent 55%),
              var(--bg);
  line-height: 1.55;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .92; }
p{ margin: 0 0 14px; }
h1,h2,h3{ font-family: var(--font-head); line-height: 1.1; margin: 0 0 12px; }
h1{ font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -0.02em; }
h2{ font-size: clamp(1.4rem, 4.5vw, 2.1rem); letter-spacing: -0.02em; }
h3{ font-size: 1.15rem; letter-spacing: -0.01em; }
.lead{ font-size: 1.05rem; color: var(--muted); max-width: 70ch; }
.small{ font-size: .95rem; }
.micro{ font-size: .86rem; }
.muted{ color: var(--muted); }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* Skip link for accessibility */
.skip-link{
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--cta);
  color: #08110c;
  padding: 10px 12px;
  border-radius: 12px;
  transform: translateY(-150%);
  transition: transform .2s ease;
  z-index: 9999;
  font-weight: 700;
}
.skip-link:focus{ transform: translateY(0); }

/* ---------- Header / Navigation ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  background: rgba(10,13,12,.55);
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-elevated{
  border-bottom-color: var(--stroke);
  background: rgba(10,13,12,.78);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}
.brand-logo{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--stroke);
  background: var(--panel);
}
.brand-text{
  display: grid;
  line-height: 1;
}
.brand-name{
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .02em;
}
.brand-sub{
  font-size: .85rem;
  color: var(--muted);
  margin-top: 2px;
}

.site-nav{ display: flex; align-items: center; }
.nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--stroke);
  cursor: pointer;
}
.nav-toggle:hover{ background: rgba(255,255,255,.08); }
.nav-toggle-lines{
  width: 18px;
  height: 12px;
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,.85);
}
.nav-toggle-lines::before{ top: 0; }
.nav-toggle-lines::after{ bottom: 0; }

.nav-menu{
  position: fixed;
  inset: 72px 16px auto 16px;
  background: rgba(12,16,14,.92);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 12px;
  list-style: none;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
}
.nav-menu.is-open{ display: flex; }

.nav-link{
  display: flex;
  padding: 12px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
}
.nav-link:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: var(--stroke);
}
.nav-link.is-active{
  color: var(--text);
  background: rgba(47,125,86,.18);
  border-color: rgba(47,125,86,.35);
}
.nav-cta{
  color: #08110c;
  background: linear-gradient(135deg, var(--cta), var(--cta-2));
  border-color: rgba(0,0,0,.0);
}
.nav-cta:hover{ opacity: 1; filter: brightness(.96); }

@media (min-width: 920px){
  .nav-toggle{ display: none; }
  .nav-menu{
    position: static;
    display: flex !important;
    flex-direction: row;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    inset: auto;
    gap: 8px;
  }
  .nav-link{ padding: 10px 12px; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); }
.btn:active{ transform: translateY(0); }
.btn-primary{
  border-color: rgba(0,0,0,.0);
  background: linear-gradient(135deg, var(--cta), var(--cta-2));
  color: #08110c;
}
.btn-primary:hover{ filter: brightness(.96); }
.btn-secondary{
  border-color: rgba(47,125,86,.35);
  background: rgba(47,125,86,.18);
}
.btn-ghost{
  background: transparent;
  border-color: var(--stroke);
}

/* ---------- Utility ---------- */
.center{ display:flex; justify-content:center; margin-top: 18px; }
.pill{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47,125,86,.35);
  background: rgba(47,125,86,.14);
  color: rgba(255,255,255,.86);
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: clip;
  min-height: 74vh;
  display: grid;
  align-items: center;
  padding: var(--space-7) 0 var(--space-6);
}

/* default fallback image background */
.hero-bg{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,13,12,.45), rgba(10,13,12,.92)),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.03);
}

/* ✅ NEW: video background wrapper */
.hero-bg-video{
  background: none; /* video provides visuals */
  transform: none; /* prevent blur / scaling weirdness on video */
  filter: none;
}

/* ✅ NEW: actual video element */
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* keep video behind content */
  z-index: 0;
  /* slight “premium” touch: optional */
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.06);
}

/* ✅ NEW: overlay gradient on top of video (so text stays readable) */
.hero-bg-video::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,13,12,.45), rgba(10,13,12,.92));
  pointer-events: none;
}

/* Reduce motion: keep the poster, hide video */
@media (prefers-reduced-motion: reduce){
  .hero-video{ display:none; }
  .hero-bg-video{
    background:
      linear-gradient(180deg, rgba(10,13,12,.45), rgba(10,13,12,.92)),
      url("assets/hero.jpg");
    background-size: cover;
    background-position: center;
  }
}

.hero-fade{
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-inner{
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
}
.hero-title{ margin-bottom: 10px; }
.hero-subtitle{ color: var(--muted); max-width: 62ch; font-size: 1.06rem; }
.hero-actions{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.hero-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  max-width: 520px;
}
.stat{
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 12px;
}
.stat-top{ color: var(--muted-2); font-weight: 700; font-size: .85rem; }
.stat-value{ display:block; font-family: var(--font-head); font-weight: 800; margin-top: 2px; }

.hero-note{ margin-top: 12px; color: var(--muted-2); font-size: .92rem; }

.hero-card .card{ margin-top: 6px; }

/* Two-column layout on desktop */
@media (min-width: 980px){
  .hero-inner{ grid-template-columns: 1.35fr .85fr; align-items: start; }
}

/* ---------- Sections ---------- */
.section{
  padding: var(--space-7) 0;
}
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.section-head{
  margin-bottom: 26px;
}
.section-divider{
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 34px 0;
}

/* ---------- Cards ---------- */
.card, .feature-card, .price-card, .info-card, .quote-card, .callout-card{
  border: 1px solid var(--stroke);
  background: rgba(16,23,21,.72);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.card-glow{
  box-shadow: 0 18px 60px rgba(0,0,0,.40);
  position: relative;
}
.card-glow::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(500px 200px at 20% 0%, rgba(185,255,59,.18), transparent 60%),
              radial-gradient(500px 200px at 80% 0%, rgba(47,125,86,.22), transparent 60%);
  pointer-events: none;
  opacity: .8;
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  padding: 1px;
}
.card-title{ margin-bottom: 10px; }

.icon-badge{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47,125,86,.35);
  background: rgba(47,125,86,.16);
  margin-bottom: 12px;
  font-size: 18px;
}

/* ---------- Lists ---------- */
.checklist, .bullet, .footer-links{
  padding-left: 18px;
  margin: 0 0 14px;
}
.checklist li{ margin: 8px 0; }
.bullet li{ margin: 8px 0; }
.checklist li::marker{ color: var(--cta); }
.bullet li::marker{ color: rgba(185,255,59,.75); }

/* ---------- Layout grids ---------- */
.grid-3{
  display: grid;
  gap: 14px;
}
.grid-2{
  display: grid;
  gap: 14px;
}
@media (min-width: 820px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-2{ grid-template-columns: repeat(2, 1fr); }
}

.pricing-preview{
  display: grid;
  gap: 14px;
}
@media (min-width: 920px){
  .pricing-preview{ grid-template-columns: 1fr 1fr; }
}

/* Pricing styles */
.price{
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  margin: 10px 0 6px;
}
.price span{ font-family: var(--font-body); font-weight: 700; font-size: .95rem; color: var(--muted); }
.price-card.big{ padding: 22px; }

/* Split layout (content + aside) */
.split{
  display: grid;
  gap: 16px;
}
@media (min-width: 980px){
  .split{ grid-template-columns: 1.3fr .9fr; align-items: start; }
}

.stack{ display: grid; gap: 14px; }

.inline-actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Gallery (NO overlap + stronger hover zoom + polish) ---------- */
.gallery{
  display: grid;
  gap: 16px; /* breathing room */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 18px;
}

/* Predictable sizing so items never overlap */
.gallery-item{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--panel);
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* stable */
  transform: translateZ(0);
}

/* Slight tweak for very small phones */
@media (max-width: 520px){
  .gallery-item{ aspect-ratio: 4 / 3.2; }
}

/* polish overlay */
.gallery-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(600px 240px at 30% 10%, rgba(185,255,59,.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.28));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events:none;
}

.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05); /* full-bleed baseline */
  transition: transform .35s ease;
  will-change: transform;
}

.gallery-item:hover img{
  transform: scale(1.35); /* stronger zoom */
}
.gallery-item:hover::after{
  opacity: 1;
}

@media (min-width: 980px){
  .gallery{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

/* ---------- Lightbox Zoom (Amazon-ish click to enlarge) ---------- */
.lb{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}
.lb.is-open{ display: flex; }

.lb-panel{
  width: min(1100px, 96vw);
  height: min(720px, 86vh);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(12,16,14,.92);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  overflow: hidden;
  position: relative;
  display: grid;
}

.lb-stage{
  position: relative;
  overflow: hidden;
  cursor: grab;
}
.lb-stage:active{ cursor: grabbing; }

.lb-img{
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.lb-close{
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  cursor: pointer;
  z-index: 10000; /* ✅ ensure it's above draggable stage */
  touch-action: manipulation; /* ✅ better mobile tap */
}
.lb-close:hover{ background: rgba(255,255,255,.08); }

.lb-hint{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.30);
  color: rgba(255,255,255,.80);
  font-size: .85rem;
}

/* ---------- Quotes ---------- */
.quote-card p{ color: rgba(255,255,255,.88); font-size: 1.02rem; }
.quote-card footer{ margin-top: 10px; color: var(--muted-2); font-weight: 700; }

/* ---------- Page hero (internal pages) ---------- */
.page-hero{
  padding: var(--space-7) 0 var(--space-5);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: radial-gradient(1000px 400px at 20% 0%, rgba(47,125,86,.18), transparent 60%);
}
.page-hero-inner{ display: grid; gap: 10px; }

/* ---------- Rules page layout ---------- */
.rules-grid{
  display: grid;
  gap: 16px;
}
.rules-sidebar .card{ margin-bottom: 14px; }
.rule-block{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(18,28,25,.55);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 14px;
}
.rule-block h2{ margin-bottom: 12px; }
.rule-block h3{ margin-top: 16px; margin-bottom: 8px; }

/* =========================================================
   ✅ FIX: Rules page hero CTA overlap on mobile
   ---------------------------------------------------------
   Your screenshot shows the "SIGN THE WAIVER" button sitting
   on top of the h1. That happens when the CTA is positioned
   (absolute/relative) in a desktop layout and isn’t reset
   for small screens.
   These rules are written to be safe even if your markup
   differs slightly: they target common class names used for
   this pattern (.page-hero-inner + .btn-primary).
   If your HTML uses different class names, paste the rules
   hero snippet and I'll retarget precisely.
   ========================================================= */

/* Mobile/tablet: stack hero content and keep CTA in flow */
@media (max-width: 768px){
  /* make sure hero content stacks cleanly */
  .page-hero-inner{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* If the waiver button is inside the hero, keep it from floating/overlapping */
  .page-hero-inner .btn-primary{
    position: static !important;
    transform: none !important;
    width: 100%;
    max-width: 420px; /* prevents it being comically wide on tablets */
    justify-content: center;
    margin-top: 6px;
  }

  /* Extra safety: if you have a wrapper around the button, keep it in normal flow */
  .page-hero-inner .center{
    justify-content: flex-start;
    margin-top: 6px;
    width: 100%;
  }
}

/* Desktop stays as-is */
@media (min-width: 980px){
  .rules-grid{ grid-template-columns: .9fr 1.6fr; align-items: start; }
  .rules-sidebar{ position: sticky; top: 92px; height: fit-content; }
}

/* ---------- Callouts ---------- */
.callout{
  border-radius: var(--radius-lg);
  padding: 14px 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
}
.callout strong{ display:block; margin-bottom: 6px; font-family: var(--font-head); }
.callout-danger{
  border-color: rgba(255,80,80,.28);
  background: rgba(255,80,80,.08);
}
.callout-note{
  border-color: rgba(185,255,59,.22);
  background: rgba(185,255,59,.08);
}

/* ---------- Forms ---------- */
.form{ margin-top: 12px; }
.form label{
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: rgba(255,255,255,.88);
}
input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.24);
  color: var(--text);
  outline: none;
  font: inherit;
}
input::placeholder, textarea::placeholder{ color: rgba(255,255,255,.45); }
input:focus, select:focus, textarea:focus{
  border-color: rgba(185,255,59,.55);
  box-shadow: 0 0 0 4px rgba(185,255,59,.12);
}
.form-row{
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
@media (min-width: 820px){
  .form-row{ grid-template-columns: 1fr 1fr; }
}
.form-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ---------- Map embed ---------- */
.map-embed{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.map-embed iframe{
  width: 100%;
  height: 420px;
  border: 0;
}

/* ---------- CTA section ---------- */
.cta{
  padding: var(--space-7) 0;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(185,255,59,.14), transparent 55%),
    radial-gradient(900px 500px at 80% 0%, rgba(47,125,86,.16), transparent 55%),
    rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.06);
}
.cta-inner{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(16,23,21,.72);
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(18px, 4vw, 34px);
  box-shadow: var(--shadow);
}
.cta-actions{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid rgba(255,255,255,.06);
  padding: var(--space-6) 0 var(--space-5);
  background: rgba(0,0,0,.12);
}
.footer-inner{
  display: grid;
  gap: 18px;
}
.footer-brand{
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-brand img{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  object-fit: cover;
}
.footer-links{
  list-style: none;
  padding-left: 0;
}
.footer-links li{ margin: 8px 0; }
.footer-links a{ color: var(--muted); font-weight: 650; }
.footer-links a:hover{ color: var(--text); }

.footer-bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}

@media (min-width: 920px){
  .footer-inner{
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
  }
}

/* ---------- Reveal animations ---------- */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1; transform: none; transition: none; }
  .btn{ transition: none; }
  .gallery-item img{ transition: none; }
}

/* ---------- Events Page ---------- */
.events-feature{
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(16,23,21,.72);
  border-radius: clamp(18px, 3vw, 28px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.events-feature-media{
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(10,13,12,.15), rgba(10,13,12,.85)),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
}

.events-feature-body{
  padding: 18px;
}

.events-feature-top{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.events-feature-title{
  margin-bottom: 8px;
}

.events-feature-meta{
  display: grid;
  gap: 10px;
  margin: 14px 0 16px;
}

.meta{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 12px;
}

.meta-k{
  display: block;
  color: var(--muted-2);
  font-weight: 800;
  font-size: .85rem;
}

.meta-v{
  display: block;
  margin-top: 2px;
  font-weight: 700;
}

.events-feature-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (min-width: 980px){
  .events-feature{
    grid-template-columns: 1.05fr 1.35fr;
    align-items: stretch;
  }
  .events-feature-media{ min-height: 100%; }
  .events-feature-body{ padding: 24px; }
  .events-feature-meta{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Filters */
.events-controls{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.chip{
  appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.chip:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); }
.chip.is-active{
  border-color: rgba(185,255,59,.45);
  background: rgba(185,255,59,.12);
}

/* Event cards */
.events-grid{
  display: grid;
  gap: 14px;
}
@media (min-width: 920px){
  .events-grid{
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.event-card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(18,28,25,.55);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .18s ease, border-color .18s ease;
}
.event-card:hover{
  transform: translateY(-2px);
  border-color: rgba(185,255,59,.22);
}

.event-card-top{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

/* ✅ Restored date badge */
.date-badge{
  border: 1px solid rgba(185,255,59,.25);
  background: rgba(185,255,59,.10);
  border-radius: 18px;
  padding: 10px 8px;
  text-align: center;
}
.date-badge-m{
  display:block;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: .02em;
}
.date-badge-d{
  display:block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 800;
  font-size: .85rem;
}

.event-card-head h3{ margin-bottom: 6px; }

.event-card-body{ margin-top: 8px; }

.event-bullets{
  padding-left: 18px;
  margin: 12px 0 0;
}
.event-bullets li{ margin: 8px 0; }
.event-bullets li::marker{ color: rgba(185,255,59,.75); }

.event-card-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Tags */
.event-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag{
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47,125,86,.35);
  background: rgba(47,125,86,.14);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  font-size: .82rem;
}
.tag-soft{
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
}
.tag-live{
  border-color: rgba(185,255,59,.45);
  background: rgba(185,255,59,.12);
}

/* Bottom note block */
.events-note{
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(16,23,21,.72);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.events-note-icon{
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185,255,59,.25);
  background: rgba(185,255,59,.10);
  font-size: 20px;
}

/* Hide filtered cards */
.event-card.is-hidden{ display: none; }

/* ---------- Admin Events UI ---------- */
.admin-events-list{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.admin-event-row{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 12px;
}

.admin-event-row strong{
  display: block;
  margin-bottom: 4px;
}

.admin-event-row .micro{ margin: 0; }

.admin-event-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-danger{
  border-color: rgba(255,80,80,.35);
  background: rgba(255,80,80,.12);
}

/* Admin Image Upload Preview */
.admin-image-preview{
  margin-top: 10px;
}

.admin-image-preview img{
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
}