/* ===== Fitcoin — In Gains We Trust ===== */
:root {
  --green: #1ea63a;
  --green-dark: #0f7a28;
  --green-darker: #0a5a1d;
  --green-light: #4ec46a;
  --green-soft: #eafaef;
  --gold: #f4c542;
  --ink: #0e2415;
  --muted: #5b6f60;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f3faf5;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(15, 122, 40, 0.35);
  --shadow-sm: 0 8px 20px -10px rgba(15, 122, 40, 0.4);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, 92%); margin-inline: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 700; font-size: .95rem;
  padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-dark); }
.btn--ghost { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn--ghost:hover { background: var(--green-soft); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #061a0d; }
.btn--lg { padding: .9rem 1.8rem; font-size: 1.05rem; }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e3f1e7;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 900; }
.brand__logo { width: 40px; height: 40px; border-radius: 50%; }
.brand__name { font-size: 1.4rem; letter-spacing: -.5px; color: var(--green-dark); font-style: italic; }
.nav__links { display: flex; gap: 1.35rem; }
.nav__links a { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--green); transition: width .2s ease;
}
.nav__links a:hover { color: var(--green-dark); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: .8rem; }
.nav__social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; transition: transform .15s ease, background .2s ease; }
.nav__social:hover { transform: translateY(-2px); background: #000; }
.nav__social svg { width: 18px; height: 18px; display: block; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 3px; background: var(--green-dark); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: #4d9935; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: contain; object-position: left center; display: block; }
.hero__inner {
  position: relative; z-index: 2;
  min-height: clamp(420px, 54vh, 600px);
  display: flex; align-items: center; justify-content: flex-end;
  padding-block: 3rem;
}
.hero__copy { width: min(560px, 52%); color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.22); }
.hero__copy > * { animation: heroIn .7s cubic-bezier(.2,.7,.2,1) both; }
.hero__copy > *:nth-child(1) { animation-delay: .05s; }
.hero__copy > *:nth-child(2) { animation-delay: .14s; }
.hero__copy > *:nth-child(3) { animation-delay: .23s; }
.hero__copy > *:nth-child(4) { animation-delay: .32s; }
.hero__copy > *:nth-child(5) { animation-delay: .41s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pill {
  display: inline-block; background: rgba(255,255,255,.95); color: var(--green-dark);
  font-weight: 700; font-size: .85rem; padding: .4rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.6); margin-bottom: 1.2rem; text-shadow: none;
}
.hero__title { font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 900; line-height: .98; letter-spacing: -2px; }
.hero__title .accent { color: #ffd84d; }
.hero__sub { margin-top: 1.3rem; font-size: 1.15rem; color: rgba(255,255,255,.94); max-width: 33rem; }
.hero__sub strong { color: #ffe27a; }
.hero__cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.hero .btn--primary { background: var(--gold); color: var(--ink); box-shadow: 0 10px 26px -8px rgba(244,197,66,.7); }
.hero .btn--primary:hover { background: #ffd84d; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.85); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.15); }
.hero__scroll { position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%); z-index: 3; width: 28px; height: 28px; }
.hero__scroll span { display: block; width: 14px; height: 14px; margin: 0 auto; border-right: 3px solid rgba(255,255,255,.9); border-bottom: 3px solid rgba(255,255,255,.9); transform: rotate(45deg); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: rotate(45deg) translate(-2px,-2px); opacity: .55; } 50% { transform: rotate(45deg) translate(2px,2px); opacity: 1; } }

/* Contract */
.contract { margin-top: 2.2rem; max-width: 33rem; }
.contract__label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.9); margin-bottom: .5rem; }
.contract__box { display: flex; align-items: center; gap: .5rem; background: #fff; border: 2px dashed var(--green); border-radius: 12px; padding: .5rem .5rem .5rem 1rem; }
.contract__box code { font-family: 'Courier New', monospace; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.contract__copy { flex-shrink: 0; background: var(--green); color: #fff; border: 0; font-weight: 700; padding: .5rem 1rem; border-radius: 8px; cursor: pointer; transition: background .2s; }
.contract__copy:hover { background: var(--green-dark); }
.contract__copy.copied { background: var(--gold); color: var(--ink); }

/* Marquee */
.marquee { position: relative; z-index: 1; background: #4d9935; color: #fff; overflow: hidden; padding: .8rem 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 3rem; animation: scroll 22s linear infinite; font-weight: 800; letter-spacing: .5px; }
.marquee__track span { display: inline-block; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Stats ===== */
.stats { background: var(--ink); color: #fff; padding: 2.6rem 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat__num { display: block; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--green-light); line-height: 1; }
.stat__label { font-size: .9rem; color: #b8ccbe; font-weight: 500; }
.stats__note { text-align: center; margin-top: 1.5rem; font-size: .82rem; color: #9fb6a6; display: flex; align-items: center; justify-content: center; gap: .45rem; flex-wrap: wrap; }
.stats__note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 0 rgba(78,196,106,.6); animation: livepulse 1.6s ease-out infinite; }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 38rem; margin: 0 auto 3rem; }
.eyebrow { display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; color: var(--green); margin-bottom: .7rem; }
.section h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -1px; line-height: 1.1; }
.section__head p { margin-top: .9rem; color: var(--muted); font-size: 1.1rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
.about__art { display: flex; justify-content: center; }
.about__banner { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }
.about__copy h2 { margin-bottom: 1rem; }
.about__copy p { color: var(--muted); margin-bottom: 1rem; font-size: 1.05rem; }
.checklist { list-style: none; margin-top: 1.4rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; font-weight: 600; }
.checklist li::before { content: '💪'; position: absolute; left: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid #e3f1e7; border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-light); }
.card__icon { font-size: 2.4rem; margin-bottom: .8rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; color: var(--green-dark); }
.card p { color: var(--muted); font-size: .95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step {
  background: #fff; border: 1px solid #e3f1e7; border-radius: var(--radius);
  padding: 2rem 1.5rem; position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num {
  width: 48px; height: 48px; border-radius: 14px; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.4rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.phase {
  background: #fff; border: 1px solid #e3f1e7; border-top: 5px solid var(--green);
  border-radius: var(--radius); padding: 1.8rem 1.5rem; transition: transform .2s ease, box-shadow .2s ease;
}
.phase:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.phase__tag { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--green); margin-bottom: .6rem; }
.phase h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.phase ul { list-style: none; display: grid; gap: .5rem; }
.phase li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: .95rem; }
.phase li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 900; }

/* Community */
.community { text-align: center; background: linear-gradient(135deg, var(--green) 0%, var(--green-darker) 100%); color: #fff; }
.community__inner { max-width: 42rem; margin: 0 auto; }
.community h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -1px; }
.community p { margin-top: 1rem; font-size: 1.15rem; color: #d9f4e0; }
.community__btns { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.community .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.community .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* Footer */
.footer { background: var(--ink); color: #cfe0d4; padding: 3.5rem 0 2rem; text-align: center; }
.footer__inner { display: grid; gap: 1rem; justify-items: center; }
.footer__brand { display: flex; align-items: center; gap: .6rem; }
.footer__brand .brand__logo { width: 38px; height: 38px; }
.footer__brand .brand__name { color: #fff; font-size: 1.3rem; font-weight: 900; font-style: italic; }
.footer__tag { color: var(--green-light); font-weight: 700; letter-spacing: .5px; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-weight: 600; transition: color .2s; }
.footer__links a:hover { color: var(--green-light); }
.footer__disclaimer { max-width: 40rem; font-size: .82rem; color: #8aa392; margin-top: .5rem; }
.footer__copy { font-size: .85rem; color: #7d9685; }

/* ===== The Chart (live Dexscreener embed) ===== */
.chart { max-width: 960px; margin: 0 auto; }
.chart__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; flex-wrap: wrap; }
.chart__live { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; font-size: .8rem; color: var(--green-dark); }
.chart__live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(30,166,58,.6); animation: livepulse 1.6s ease-out infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(30,166,58,.55); } 70% { box-shadow: 0 0 0 9px rgba(30,166,58,0); } 100% { box-shadow: 0 0 0 0 rgba(30,166,58,0); } }
.chart__note { color: var(--muted); font-size: .85rem; }
.chart__embed { border-radius: var(--radius); overflow: hidden; border: 1px solid #163a23; box-shadow: var(--shadow); background: var(--ink); }
.chart__embed iframe { width: 100%; height: 540px; border: 0; display: block; }
.chart__actions { display: flex; gap: 1rem; justify-content: center; margin-top: 1.6rem; flex-wrap: wrap; }
@media (max-width: 640px) { .chart__embed iframe { height: 440px; } }

/* ===== Active Bounties (submission-card style) ===== */
.bounties { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.6rem; }
.bounty {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #0f241a; border: 1px solid #1e3c2b; border-radius: 20px; padding: 1.1rem;
  color: #eaf5ee; transition: transform .2s ease, box-shadow .25s ease, border-color .2s;
}
.bounty:hover { transform: translateY(-6px); box-shadow: 0 24px 46px -22px rgba(0,0,0,.65); border-color: var(--green); }
.bounty__cover { position: absolute; inset: 0; z-index: 1; }
.bounty--link { cursor: pointer; }
.bounty--link:hover { border-color: var(--green-light); }

.bounty__media {
  position: relative; height: 200px; margin: -1.1rem -1.1rem 1.1rem; overflow: hidden;
  border-radius: 19px 19px 0 0;
  background: radial-gradient(circle at 50% 35%, var(--green), var(--green-darker));
}
.bounty__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bounty__prize { position: absolute; top: .8rem; right: .8rem; display: inline-flex; align-items: center; gap: .35rem; background: rgba(8,30,18,.82); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 800; font-size: .85rem; padding: .34rem .7rem; border-radius: 999px; }
.bounty__prize .sol { width: 18px; height: auto; }

.bounty__goal { font-size: .66rem; text-transform: uppercase; letter-spacing: 1.6px; color: var(--green-light); font-weight: 800; }
.bounty__title { font-size: 1.3rem; font-weight: 800; color: #fff; margin: .2rem 0 .5rem; }
.bounty__desc { color: #aec6b6; font-size: .92rem; flex: 1; }

.bounty__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 1.1rem 0 .9rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.09); }
.bounty__who { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; color: #cfe0d4; }
.bounty__who img { width: 22px; height: 22px; border-radius: 50%; }
.bounty__status { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--green-light); }
.bounty__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 0 rgba(78,196,106,.6); animation: livepulse 1.6s ease-out infinite; }

.bounty__btn { width: 100%; background: var(--green-light); color: #06210f; }
.bounty__btn:hover { background: #6ad985; }

/* ===== The Gym (interactive pin board) ===== */
.gym { position: relative; max-width: 1000px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #4d9935; aspect-ratio: 3 / 2; cursor: crosshair; }
.gym--readonly { cursor: default; }
.gym__img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; }
.gym__pins { position: absolute; inset: 0; pointer-events: none; }
.gympin { position: absolute; transform: translate(-50%, -100%); pointer-events: auto; cursor: pointer; }
.gympin i { position: relative; display: block; width: 20px; height: 20px; background: var(--gold); border: 2.5px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(45deg); box-shadow: 0 3px 6px rgba(0,0,0,.45); transition: transform .2s ease, box-shadow .2s ease; }
.gympin::after { content: ''; position: absolute; left: 50%; top: 8px; width: 14px; height: 14px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(244,197,66,.5); animation: ping 2.2s ease-out infinite; z-index: -1; }
.gympin--mine i { background: var(--green-light); }
.gympin b { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(8,40,18,.92); padding: .28rem .55rem; border-radius: 7px; opacity: 0; transition: opacity .15s; pointer-events: none; }
.gympin:hover b { opacity: 1; }
.gympin:hover { z-index: 5; }
.gympin:hover i { animation: pinwiggle .5s ease-in-out infinite, pinglow 1.1s ease-in-out infinite; }
@keyframes pinwiggle { 0%, 100% { transform: rotate(38deg) scale(1.18); } 25% { transform: rotate(52deg) scale(1.18); } 50% { transform: rotate(40deg) scale(1.18); } 75% { transform: rotate(50deg) scale(1.18); } }
@keyframes pinglow { 0%, 100% { box-shadow: 0 0 5px 1px rgba(244,197,66,.5), 0 4px 8px rgba(0,0,0,.45); } 50% { box-shadow: 0 0 18px 7px rgba(244,197,66,.92), 0 4px 8px rgba(0,0,0,.45); } }
@media (prefers-reduced-motion: reduce) { .gympin:hover i { animation: none; transform: rotate(45deg) scale(1.15); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(244,197,66,.6); } 70% { box-shadow: 0 0 0 16px rgba(244,197,66,0); } 100% { box-shadow: 0 0 0 0 rgba(244,197,66,0); } }
.gym__popover { position: absolute; transform: translate(-50%, calc(-100% - 16px)); width: 240px; background: #fff; border-radius: 12px; padding: 1rem; box-shadow: var(--shadow); z-index: 6; }
.gym__popover[hidden] { display: none; }
.gym__popover label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.gym__popover select { width: 100%; padding: .5rem; border: 1px solid #cdeed6; border-radius: 8px; font: inherit; font-size: .85rem; background: #fff; }
.gym__popover-btns { display: flex; gap: .5rem; margin-top: .7rem; }
.gym__popover-btns .btn { flex: 1; padding: .5rem .6rem; font-size: .85rem; }
.gym__legend { text-align: center; margin-top: 1.3rem; color: var(--muted); font-weight: 600; }
.gym__count { color: var(--green-dark); font-weight: 800; }

@media (max-width: 640px) {
  .gym { aspect-ratio: 4 / 3; }
  .gym__popover { width: 200px; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero__copy > *, .hero__scroll span, .marquee__track { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .cards, .steps, .roadmap { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .hero__media { position: static; }
  .hero__media img { height: auto; object-fit: contain; }
  .hero__scroll { display: none; }
  .hero__inner { min-height: auto; justify-content: center; text-align: center; padding-block: 2.5rem 3rem; }
  .hero__copy { width: 100%; text-shadow: none; }
  .hero__sub, .contract { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .checklist { justify-items: start; max-width: 22rem; margin-inline: auto; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid #e3f1e7; padding: .5rem 0;
    transform: translateY(-150%); transition: transform .3s ease; box-shadow: var(--shadow-sm);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: .9rem 6%; }
  .nav__toggle { display: flex; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 540px) {
  .cards, .steps, .roadmap { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}

/* Coming-soon bounty button (admin can set status) */
.bounty__btn--soon { background: #dfeede; color: #6c8473; cursor: default; pointer-events: none; }
