/* ===== United States Bounty Coin — In Bounties We Trust ===== */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-darker: #1b3a8f;
  --blue-light: #6aa5ff;
  --blue-soft: #eef4ff;
  --blue-art: #0047ad;   /* exact background blue of the hero coin artwork */
  --gold: #f5c542;
  --red: #e23b3b;
  --ink: #0b1c3a;
  --muted: #5a6b85;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f3f7ff;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(29, 78, 216, 0.38);
  --shadow-sm: 0 8px 20px -10px rgba(29, 78, 216, 0.45);
  --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(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: transparent; color: var(--blue-dark); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue-soft); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #061227; }
.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 #e1eaff;
}
.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(--blue-dark); font-style: italic; font-weight: 900; }
.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(--blue); transition: width .2s ease;
}
.nav__links a:hover { color: var(--blue-dark); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.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(--blue-dark); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: var(--blue-art); }
.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,.28); }
.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(--blue-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; font-style: italic; }
.hero__title .accent { color: var(--gold); }
.hero__sub { margin-top: 1.3rem; font-size: 1.15rem; color: rgba(255,255,255,.94); max-width: 33rem; }
.hero__sub strong { color: var(--gold); }
.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(245,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(--blue); border-radius: 12px; padding: .5rem .5rem .5rem 1rem; }
.contract__box code { flex: 1; 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(--blue); color: #fff; border: 0; font-weight: 700; padding: .5rem 1rem; border-radius: 8px; cursor: pointer; transition: background .2s; }
.contract__copy:hover { background: var(--blue-dark); }
.contract__copy.copied { background: var(--gold); color: var(--ink); }

/* Marquee */
.marquee { position: relative; z-index: 1; background: var(--blue-art); 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(--blue-light); line-height: 1; }
.stat__label { font-size: .9rem; color: #aebfe0; font-weight: 500; }
.stats__note { text-align: center; margin-top: 1.5rem; font-size: .82rem; color: #93a6cf; 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(--blue-light); box-shadow: 0 0 0 0 rgba(106,165,255,.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(--blue); 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; }

/* Community */
.community { text-align: center; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-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: #d6e4ff; }
.community__btns { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.community .btn--primary { background: var(--gold); color: var(--ink); }
.community .btn--primary:hover { background: #ffd84d; }
.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: #c3d2ee; 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(--blue-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(--blue-light); }
.footer__disclaimer { max-width: 40rem; font-size: .82rem; color: #7e91b8; margin-top: .5rem; }
.footer__copy { font-size: .85rem; color: #7184ab; }

/* ===== 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(--blue-dark); }
.chart__live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(37,99,235,.6); animation: livepulse 1.6s ease-out infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,.55); } 70% { box-shadow: 0 0 0 9px rgba(37,99,235,0); } 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); } }
.chart__note { color: var(--muted); font-size: .85rem; }
.chart__embed { border-radius: var(--radius); overflow: hidden; border: 1px solid #12274b; 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 {
  display: flex; flex-direction: column; overflow: hidden;
  background: #0d1d3a; border: 1px solid #1e3463; border-radius: 20px; padding: 1.1rem;
  color: #eaf0ff; 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(--blue); }

.bounty__media {
  position: relative; height: 150px; margin: -1.1rem -1.1rem 1.1rem; overflow: hidden;
  border-radius: 19px 19px 0 0;
  background: radial-gradient(circle at 50% 30%, var(--blue), var(--blue-darker));
}
.bounty__media::before {
  content: '★'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 7rem; line-height: 1; color: rgba(255,255,255,.10); font-weight: 900;
}
.bounty__prize { position: absolute; top: .8rem; right: .8rem; display: inline-flex; align-items: center; gap: .35rem; background: rgba(7,18,39,.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(--blue-light); font-weight: 800; }
.bounty__title { font-size: 1.3rem; font-weight: 800; color: #fff; margin: .2rem 0 .5rem; }
.bounty__desc { color: #aab9da; 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: #cfdcf5; }
.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(--blue-light); }
.bounty__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 0 0 rgba(106,165,255,.6); animation: livepulse 1.6s ease-out infinite; }

.bounty__btn { width: 100%; background: var(--blue-light); color: #06173a; }
.bounty__btn:hover { background: #8fbcff; }
.bounty__btn--soon { background: #16294d; color: #8197bf; border: 1px solid rgba(255,255,255,.1); cursor: default; }
.bounty__btn--soon:hover { background: #16294d; transform: none; }

/* 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) {
  .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 #e1eaff; 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) {
  .section { padding: 4rem 0; }
}
