/* ============================================================
   ANSEMTRENCH — comic / battle styled
   ============================================================ */
:root {
  --gold: #f0a500;
  --gold-light: #ffcb47;
  --amber: #e07b00;
  --ink: #0a0805;
  --ink-2: #141009;
  --paper: #f6ead0;
  --line: #00000099;
  --shadow: 6px 6px 0 #000;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Bai Jamjuree", system-ui, sans-serif;
  color: #f4e9d2;
  line-height: 1.6;
  background-color: var(--ink);
  /* background image fixed behind everything */
  background-image:
    linear-gradient(180deg, rgba(8,6,4,0.82), rgba(8,6,4,0.92)),
    url("background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
code { font-family: "Bai Jamjuree", monospace; }

/* ---------- typography ---------- */
.heading {
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: 1.5px;
  line-height: 1.05;
  color: var(--paper);
  text-shadow: 3px 3px 0 #000, 5px 5px 0 var(--amber);
}
.heading span { color: var(--gold); }
.heading--center { text-align: center; margin-inline: auto; }

.tag {
  display: inline-block;
  font-family: "Bangers", cursive;
  letter-spacing: 2px;
  font-size: .95rem;
  color: var(--ink);
  background: var(--gold);
  padding: 4px 14px;
  border: 2px solid #000;
  border-radius: 30px;
  box-shadow: 3px 3px 0 #000;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Bangers", cursive;
  letter-spacing: 1.2px;
  font-size: 1.05rem;
  padding: 12px 22px;
  border: 3px solid #000;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: var(--shadow);
}
.btn:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 #000; }
.btn--gold { background: linear-gradient(180deg, var(--gold-light), var(--amber)); color: #1a1206; }
.btn--gold:hover { transform: translate(-1px,-1px); box-shadow: 8px 8px 0 #000; }
.btn--ghost { background: #1c160d; color: var(--gold-light); }
.btn--ghost:hover { background: #261d10; transform: translate(-1px,-1px); }
.btn--sm { font-size: .9rem; padding: 8px 16px; box-shadow: 4px 4px 0 #000; }

/* ---------- navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 28px;
  background: rgba(10,8,5,0.86);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--gold);
}
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__brand img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold); }
.nav__brand span {
  font-family: "Luckiest Guy", cursive;
  font-size: 1.4rem;
  color: var(--paper);
  letter-spacing: 1px;
}
.nav__brand b { color: var(--gold); }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a {
  color: #f0e4cb;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  transition: color .15s;
}
.nav__links a:hover { color: var(--gold); }
.nav__cta { font-size: .95rem; padding: 9px 18px; }
.nav__burger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.8rem;
  cursor: pointer;
  margin-left: auto;
}

/* ---------- section base ---------- */
.section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }

/* ---------- hero ---------- */
.hero { min-height: 92vh; display: flex; align-items: center; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}
.hero__title {
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.95;
  margin: 14px 0 10px;
  color: var(--paper);
  text-shadow: 4px 4px 0 #000, 7px 7px 0 var(--amber);
}
.hero__title span { display: block; color: var(--gold); }
.hero__bio { font-size: 1.5rem; font-weight: 700; color: var(--gold-light); margin-bottom: 6px; }
.hero__bio .emoji { -webkit-text-fill-color: initial; }
.hero__sub { font-size: 1.1rem; max-width: 520px; color: #e3d6ba; margin-bottom: 26px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero__frame {
  border: 5px solid #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--amber), 10px 10px 0 4px #000;
  rotate: 2deg;
  transition: rotate .3s ease;
}
.hero__frame:hover { rotate: -1deg; }
.hero__frame img { width: 100%; }

/* contract address box */
.ca-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a140b;
  border: 3px solid var(--gold);
  border-radius: 12px;
  padding: 8px 10px 8px 14px;
  max-width: 520px;
  box-shadow: 4px 4px 0 #000;
}
.ca-box__label {
  font-family: "Bangers", cursive;
  background: var(--gold);
  color: #1a1206;
  padding: 2px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
}
.ca-box code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gold-light);
  font-size: .95rem;
}
.ca-box__copy {
  background: var(--gold);
  border: 2px solid #000;
  border-radius: 8px;
  color: #1a1206;
  width: 38px; height: 36px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform .1s;
}
.ca-box__copy:hover { transform: scale(1.06); }
.ca-box__copy.copied { background: #4caf50; color: #fff; }

/* ---------- panel (comic frame) ---------- */
.panel {
  background: rgba(18,14,8,0.72);
  border: 4px solid #000;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 10px 10px 0 var(--gold);
}

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; }
.about__art { position: relative; min-height: 440px; }
.about__img {
  border: 4px solid #000;
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--amber);
  position: absolute;
}
.about__img--main { width: 82%; top: 0; left: 50%; translate: -50% 0; rotate: 2deg; z-index: 1; box-shadow: 8px 8px 0 var(--gold); }
.about__img--1 { width: 48%; bottom: 0; left: 0; rotate: -5deg; z-index: 3; }
.about__img--2 { width: 48%; bottom: 0; right: 0; rotate: 5deg; z-index: 2; }
.about__copy p { margin-bottom: 14px; color: #ece0c6; }
.about__copy b { color: var(--gold-light); }
.about__rally { font-weight: 700; color: var(--gold-light) !important; font-size: 1.1rem; }
.about__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Bangers", cursive; letter-spacing: 1px;
  background: var(--gold); color: #1a1206;
  padding: 6px 14px; border: 2px solid #000; border-radius: 30px;
  box-shadow: 3px 3px 0 #000;
}

/* ---------- how to buy ---------- */
.howto__lead { text-align: center; color: #d8caac; margin: 8px 0 36px; font-size: 1.1rem; }
.howto__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step {
  position: relative;
  background: rgba(20,15,9,0.85);
  border: 3px solid #000;
  border-radius: 16px;
  padding: 28px 20px 24px;
  box-shadow: 6px 6px 0 var(--amber);
  transition: transform .15s;
}
.step:hover { transform: translateY(-6px); box-shadow: 6px 12px 0 var(--gold); }
.step__num {
  font-family: "Luckiest Guy", cursive;
  font-size: 2.4rem;
  color: var(--gold);
  -webkit-text-stroke: 2px #000;
  text-shadow: 3px 3px 0 #000;
}
.step h3 { font-family: "Bangers", cursive; letter-spacing: 1px; font-size: 1.35rem; color: var(--paper); margin: 6px 0 8px; display: flex; align-items: center; gap: 8px; }
.step h3 i { color: var(--gold); }
.step p { color: #d8caac; font-size: .98rem; margin-bottom: 14px; }

/* ---------- chart ---------- */
.chart__frame {
  margin-top: 32px;
  border: 4px solid #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--gold);
  background: #0d0a06;
}
.chart__embed { position: relative; width: 100%; height: 600px; }
.chart__embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.chart__placeholder {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: #8a7c5e; text-align: center; padding: 20px;
}
.chart__placeholder i { font-size: 3rem; color: var(--gold); }
.chart__placeholder code { color: var(--gold-light); }
.chart__cta { text-align: center; margin-top: 26px; }

/* ---------- join us (BANNER LIVES HERE ONLY) ---------- */
.joinus__card {
  background: rgba(15,11,6,0.82);
  border: 4px solid #000;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--gold);
}
.joinus__banner { border-bottom: 4px solid var(--gold); }
.joinus__banner img { width: 100%; display: block; }
.joinus__body { padding: 40px 30px 46px; }
.joinus__text { text-align: center; max-width: 620px; margin: 12px auto 30px; color: #e3d6ba; font-size: 1.15rem; }
.joinus__socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.social {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Bangers", cursive; letter-spacing: 1px; font-size: 1.15rem;
  text-decoration: none; color: #fff;
  padding: 12px 24px; border: 3px solid #000; border-radius: 12px;
  box-shadow: 5px 5px 0 #000; transition: transform .12s, box-shadow .12s;
}
.social:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 #000; }
.social:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 #000; }
.social i { font-size: 1.4rem; }
.social--x  { background: #000; color: #fff; }
.social--tg { background: #229ed9; }
.social--pf { background: linear-gradient(180deg,#7be89a,#34b46a); color: #0a2614; }
.social--ds { background: linear-gradient(180deg,#5b6cff,#3b46c9); }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 56px 24px 40px; border-top: 3px solid var(--gold); background: rgba(8,6,4,0.9); }
.footer__logo { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--gold); margin: 0 auto 14px; }
.footer__tag { font-family: "Luckiest Guy", cursive; font-size: 1.4rem; color: var(--paper); letter-spacing: 1px; }
.footer__tag b { color: var(--gold); }
.footer__disclaimer { max-width: 640px; margin: 16px auto 0; color: #8a7c5e; font-size: .85rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(40px);
  background: var(--gold); color: #1a1206;
  font-family: "Bangers", cursive; letter-spacing: 1px;
  padding: 12px 24px; border: 3px solid #000; border-radius: 12px;
  box-shadow: 5px 5px 0 #000; opacity: 0; pointer-events: none;
  transition: all .25s ease; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 14px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,8,5,0.97); padding: 20px 28px; border-bottom: 3px solid var(--gold);
  }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; max-width: 360px; margin: 0 auto; }
  .hero__btns, .hero__bio, .ca-box { justify-content: center; margin-inline: auto; }
  .about__grid { grid-template-columns: 1fr; }
  .about__art { min-height: 420px; max-width: 460px; margin: 0 auto; }
  .howto__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .section { padding: 56px 16px; }
  .panel { padding: 24px; }
  .howto__grid { grid-template-columns: 1fr; }
  .chart__embed { height: 480px; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; justify-content: center; }
}
