/*
Theme Name: CA3 FCMoon (ACF) — Canada
Theme URI: https://example.com/
Author: Your Team
Description: Neon green / dark landing. ACF Options-driven. Canada locale. Fast & lightweight.
Version: 1.0.0
Text Domain: ca3-fcmoon-ca
Requires at least: 6.0
Requires PHP: 8.0
License: GPLv2 or later
*/

/* =========================
   Base + Tokens
========================= */
:root{
  --bg0:#050607;
  --bg1:#07090b;
  --panel:#101214;
  --panel2:#0d0f11;
  --soft:#14171a;
  --line:rgba(255,255,255,.08);

  --text:#f2f5f7;
  --muted:rgba(242,245,247,.74);

  --green:#b6ff2e;
  --green2:#7dff00;
  --lime:#c7ff4e;
  --purple:#8a2be2;
  --pink:#ff2fd6;
  --cyan:#31e1ff;

  --radius:18px;
  --radius2:26px;

  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --shadow2: 0 12px 26px rgba(182,255,46,.12);

  --wrap: 1160px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  --display: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 70% 10%, rgba(138,43,226,.18), transparent 60%),
    radial-gradient(900px 520px at 20% 20%, rgba(182,255,46,.12), transparent 56%),
    radial-gradient(800px 520px at 60% 90%, rgba(49,225,255,.05), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 3px solid rgba(49,225,255,.75);
  outline-offset: 2px;
  border-radius: 12px;
}
.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;
}

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   Buttons / Links states
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: .25px;
  border: 1px solid transparent;
  background: transparent;
  cursor:pointer;
  transition: transform .12s ease, filter .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active{ transform: translateY(1px) scale(.99); }

.btn--ghost{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
  color: rgba(242,245,247,.92);
}
.btn--ghost:hover{ background: rgba(255,255,255,.07); border-color: rgba(182,255,46,.20); }

.btn--green{
  background: linear-gradient(180deg, var(--green), var(--green2));
  color: #0a0c0d;
  box-shadow: 0 14px 30px rgba(182,255,46,.14);
}
.btn--green:hover{ filter: brightness(1.05); }

.btn--dark{
  background: rgba(0,0,0,.35);
  border-color: rgba(182,255,46,.25);
}
.btn--dark:hover{ background: rgba(182,255,46,.08); }

.link{
  color: rgba(242,245,247,.92);
  text-decoration: underline;
  text-decoration-color: rgba(182,255,46,.42);
  text-underline-offset: 3px;
}
.link:hover{ text-decoration-color: rgba(182,255,46,.80); }
.link:active{ opacity:.88; }

/* =========================
   Header (top pills + CTAs)
========================= */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(8,10,12,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 160px;
}
.brand__logo{ height: 30px; width:auto; }
.brand__text{
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.hnav{
  display:flex;
  align-items:center;
  gap: 8px;
  flex: 1 1 auto;
  justify-content:center;
}
.hnav__list{
  display:flex;
  align-items:center;
  gap: 8px;
  list-style:none;
  padding:0;
  margin:0;
  overflow:auto;
  scrollbar-width: none;
}
.hnav__list::-webkit-scrollbar{ display:none; }

.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(242,245,247,.92);
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
}
.pill:hover{
  background: rgba(182,255,46,.06);
  border-color: rgba(182,255,46,.22);
}
.pill:active{ transform: translateY(1px); }

.pill__icon svg{ width: 16px; height:16px; fill: currentColor; opacity:.92; display:block; }

.hright{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 8px;
  min-width: 210px;
}
.locale{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(242,245,247,.88);
  font-weight: 900;
  font-size: 13px;
}
.flag{ display:block; border-radius: 2px; box-shadow: 0 4px 10px rgba(0,0,0,.35); }

.nav-toggle{
  display:none;
  width: 44px; height:44px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
}
.nav-toggle__bars{
  display:block;
  width:18px; height:2px;
  background: var(--text);
  margin: 0 auto;
  position:relative;
}
.nav-toggle__bars::before,.nav-toggle__bars::after{
  content:"";
  position:absolute; left:0; right:0;
  height:2px; background: var(--text);
}
.nav-toggle__bars::before{ top:-6px; }
.nav-toggle__bars::after{ top:6px; }

@media (max-width: 980px){
  .hnav{ justify-content:flex-start; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .hnav{ position: fixed; left: 14px; right: 14px; top: 70px; display:none; }
  .hnav.is-open{ display:block; }
  .hnav__list{
    flex-direction: column;
    background: rgba(8,10,12,.92);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
    max-height: 70vh;
    overflow:auto;
  }
}

/* =========================
   Hero (banner + neon)
========================= */
.hero{
  padding: 14px 0 10px;
}
.hero__banner{
  position: relative;
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  min-height: 190px;
}
.hero__bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position:center;
  filter: saturate(1.1) contrast(1.05);
  opacity: .92;
}
.hero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 360px at 40% 30%, rgba(182,255,46,.16), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(138,43,226,.22), transparent 58%),
    linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.18));
}
.hero__content{
  position:relative;
  padding: 16px;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap: 12px;
  min-height: 190px;
}
.hero__badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(182,255,46,.28);
  background: rgba(0,0,0,.35);
  color: rgba(242,245,247,.92);
  font-weight: 950;
  font-size: 12px;
}
.hero__title{
  margin: 12px 0 10px;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing: .3px;
  line-height: 1.05;
  font-size: clamp(22px, 3.4vw, 40px);
  text-transform: uppercase;
}
.hero__title strong{
  color: var(--green);
  text-shadow: 0 12px 40px rgba(182,255,46,.18);
}
.hero__sub{
  margin: 0 0 14px;
  max-width: 620px;
  color: rgba(242,245,247,.82);
  font-weight: 700;
  line-height: 1.55;
}
.hero__actions{ display:flex; flex-wrap:wrap; gap:10px; }
.hero__fine{
  margin: 12px 0 0;
  color: rgba(242,245,247,.60);
  font-size: 12px;
  max-width: 680px;
}

@media (min-width: 980px){
  .hero__content{ padding: 22px 22px; min-height: 220px; }
}

/* =========================
   Sections / Cards
========================= */
.section{ padding: 12px 0; }
.section-head{
  text-align:center;
  padding: 18px 0 12px;
}
.section-head__kicker{
  margin: 0 0 6px;
  color: rgba(242,245,247,.62);
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 12px;
  text-transform: uppercase;
}
.section-head__title{
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing: .35px;
  text-transform: uppercase;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.02;
}
.section-head__title .accent{ color: var(--green); }
.section-head__sub{
  margin: 0 auto;
  max-width: 760px;
  color: rgba(242,245,247,.70);
  line-height: 1.6;
  font-weight: 700;
}

/* Panels */
.panel{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(182,255,46,.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel__inner{ padding: 16px; }
@media (min-width: 980px){ .panel__inner{ padding: 22px; } }

.coming{
  display:flex;
  flex-direction:column;
  gap: 10px;
  align-items:center;
  text-align:center;
}
.coming__img{
  width: 96px; height:96px;
  border-radius: 26px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(182,255,46,.18);
  display:grid;
  place-items:center;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  overflow:hidden;
}
.coming__img img{ width:100%; height:100%; object-fit: cover; }
.coming__text{
  margin: 0;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing: .25px;
  text-transform: uppercase;
  color: rgba(242,245,247,.92);
}

/* Payouts */
.payouts-title{
  margin:0 0 14px;
  text-align:center;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing: .35px;
  text-transform: uppercase;
  font-size: clamp(22px, 3.6vw, 38px);
}
.payouts-title .accent{ color: var(--green); }

.carousel{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 6px 0 10px;
}
.cbtn{
  width: 44px; height:44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(242,245,247,.92);
  font-size: 20px;
  cursor:pointer;
  transition: background .18s ease, transform .12s ease, border-color .18s ease;
}
.cbtn:hover{ background: rgba(182,255,46,.07); border-color: rgba(182,255,46,.18); }
.cbtn:active{ transform: translateY(1px); }

.cview{
  overflow:auto;
  scroll-snap-type: x mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  flex: 1 1 auto;
}
.cview::-webkit-scrollbar{ display:none; }
.ctrack{
  display:flex;
  gap: 10px;
  padding: 10px;
  justify-content:flex-start;
}
.pay{
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 62px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  display:grid;
  place-items:center;
}
.pay img{ width: 28px; height:28px; object-fit: contain; }

.panel__actions{
  display:flex;
  justify-content:center;
  padding-top: 6px;
}

/* Cashback/Feature cards */
.cashback{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items:center;
}
@media (min-width: 980px){
  .cashback{ grid-template-columns: 1.2fr .8fr; }
}

.cashback__title{
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing:.35px;
  font-size: clamp(22px, 3.2vw, 36px);
}
.cashback__title .accent{ color: var(--green); }
.cashback__sub{ margin:0; color: rgba(242,245,247,.72); line-height: 1.6; font-weight: 700; }

.hero-art{
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  min-height: 180px;
}
.hero-art img{ width:100%; height:100%; object-fit: cover; }

.feature-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 14px;
}
@media (min-width: 980px){
  .feature-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}
.fcard{
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 14px;
  min-height: 130px;
  box-shadow: 0 14px 30px rgba(0,0,0,.30);
}
.fcard__icon{
  width: 46px; height:46px;
  border-radius: 16px;
  background: rgba(182,255,46,.10);
  border: 1px solid rgba(182,255,46,.18);
  display:grid;
  place-items:center;
  margin-bottom: 10px;
}
.fcard__icon svg{ width:22px; height:22px; fill: var(--green); }
.fcard__title{
  margin:0 0 6px;
  font-weight: 1000;
  font-family: var(--display);
  letter-spacing:.2px;
  text-transform: uppercase;
  font-size: 14px;
}
.fcard__text{ margin:0; color: rgba(242,245,247,.66); font-weight: 700; line-height: 1.45; font-size: 12px; }

.cta-center{ display:flex; justify-content:center; margin-top: 14px; }

/* Community cards */
.community-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 980px){
  .community-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.program{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 14px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.program__avatar{
  width: 44px; height:44px;
  border-radius: 16px;
  background: rgba(138,43,226,.18);
  border: 1px solid rgba(138,43,226,.25);
  overflow:hidden;
  flex: 0 0 auto;
}
.program__avatar img{ width:100%; height:100%; object-fit: cover; }
.program__title{
  margin:0 0 6px;
  font-family: var(--display);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing:.25px;
  font-size: 14px;
}
.program__text{ margin:0; color: rgba(242,245,247,.66); line-height: 1.55; font-weight: 700; font-size: 12px; }

/* SEO */
.seo-box{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 380px at 80% 20%, rgba(182,255,46,.10), transparent 60%),
    radial-gradient(900px 380px at 20% 40%, rgba(138,43,226,.14), transparent 60%),
    rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding: 16px;
}
@media (min-width: 980px){ .seo-box{ padding: 22px; } }
.seo-box__title{
  margin:0 0 10px;
  font-family: var(--display);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing:.25px;
}

/* =========================
   Internal pages: H1 + breadcrumbs + content styles
========================= */
.page-head{ padding: 16px 0 8px; }
.page-title{
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.25px;
  text-transform: uppercase;
  font-size: clamp(22px, 3.2vw, 34px);
}
.breadcrumbs__list{
  display:flex; flex-wrap:wrap; gap:8px;
  list-style:none; margin:0; padding:0;
  color: rgba(242,245,247,.72);
  font-weight: 800;
  font-size: 13px;
}
.breadcrumbs__item::after{ content:"/"; margin-left:8px; opacity:.45; }
.breadcrumbs__item:last-child::after{ content:""; }
.breadcrumbs__link{
  color: rgba(242,245,247,.82);
  border-bottom: 1px solid rgba(182,255,46,.28);
}
.breadcrumbs__link:hover{ color:#fff; border-bottom-color: rgba(182,255,46,.65); }
.breadcrumbs__current{ color: rgba(242,245,247,.92); }

.prose{
  max-width: 860px;
  color: rgba(242,245,247,.88);
}
.prose h2,.prose h3,.prose h4{
  font-family: var(--display);
  font-weight: 1000;
  letter-spacing:.2px;
  text-transform: uppercase;
  margin: 22px 0 10px;
}
.prose h2{ font-size: 22px; }
.prose h3{ font-size: 18px; }
.prose h4{ font-size: 16px; }
.prose p{ margin: 0 0 12px; line-height: 1.7; color: rgba(242,245,247,.82); }
.prose a{
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(182,255,46,.48);
  text-underline-offset: 3px;
}
.prose a:hover{ text-decoration-color: rgba(182,255,46,.86); }
.prose a:active{ opacity:.88; }
.prose ul,.prose ol{ margin: 0 0 14px 18px; padding:0; }
.prose li{ margin: 6px 0; }
.prose table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 12px 0 18px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.prose th,.prose td{ padding: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.prose th{ background: rgba(182,255,46,.10); color: rgba(242,245,247,.95); }
.prose tr:last-child td{ border-bottom: none; }

/* =========================
   Footer
========================= */
.site-footer{
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  padding: 22px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 980px){
  .footer-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.fcol__title{
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing:.2px;
  font-size: 13px;
}
.flinks{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.flinks__link{
  color: rgba(242,245,247,.72);
  font-weight: 800;
  font-size: 13px;
}
.flinks__link:hover{ color:#fff; text-decoration: underline; text-decoration-color: rgba(182,255,46,.5); }
.footer-note{
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: rgba(242,245,247,.60);
  font-size: 12px;
  line-height: 1.6;
}
.footer-note__copy{ color: rgba(242,245,247,.52); font-weight: 800; }