/* styles.css */
:root {
  --bg: #0b0c10;
  --card: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.92);
  --radius: 18px;

  --bonk-main: #ff8c1a;  /* vibrant Bonk orange */
  --bonk-soft: #ffb066;  /* softer Bonk orange */

  --game-font: "Luckiest Guy", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("assets/bg.jpg") center center / cover no-repeat fixed;

  color: var(--text);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 18px; }

/* HEADER */
.topbar {
  position: sticky;
  top: 0;
  background: rgba(11,12,16,0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 140, 26, 0.35);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.15);
  z-index: 10;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brandline { display: flex; align-items: center; gap: 12px; }

/* Keep header slim: “looks bigger” without forcing header height */
.header-buyb {
  height: 100px;          /* KEEP header height unchanged */
  width: auto;
  display: block;

  transform: scale(1.35);       /* 👈 makes image larger */
  transform-origin: left center;

  pointer-events: none;         /* optional: prevents accidental clicks */
}

.nav { display: flex; gap: 12px; flex-wrap: wrap; }
.nav a {
  padding: 8px 10px;
  border-radius: 12px;
  font-family: var(--game-font);
  color: var(--bonk-main);
  letter-spacing: 0.6px;
  text-shadow:
    -2px -2px 0 rgba(0,0,0,0.85),
     2px -2px 0 rgba(0,0,0,0.85),
    -2px  2px 0 rgba(0,0,0,0.85),
     2px  2px 0 rgba(0,0,0,0.85),
     0  3px 0 rgba(0,0,0,0.75);
}

.nav a:hover {
  background: rgba(255,255,255,0.06);
  text-decoration: none;
  text-shadow:
    -2px -2px 0 rgba(0,0,0,0.85),
     2px -2px 0 rgba(0,0,0,0.85),
    -2px  2px 0 rgba(0,0,0,0.85),
     2px  2px 0 rgba(0,0,0,0.85),
     0  3px 0 rgba(0,0,0,0.75),
     0  0 12px rgba(255, 140, 26, 0.45);
}

/* HERO: full image fits (contain), brightened */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(255, 140, 26, 0.25);
  margin-top: 18px;
}

/* Background image layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero.png") center top / contain no-repeat;
  filter: brightness(1.18) contrast(1.05);
  z-index: 0;
}

/* Light overlay for readability */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.22), rgba(0,0,0,0.22));
  z-index: 1;
}

.hero-left {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 18px;
}

.hero-left h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  font-family: var(--game-font);
  color: var(--bonk-main);
  letter-spacing: 0.6px;
  text-shadow:
    -2px -2px 0 rgba(0,0,0,0.85),
     2px -2px 0 rgba(0,0,0,0.85),
    -2px  2px 0 rgba(0,0,0,0.85),
     2px  2px 0 rgba(0,0,0,0.85),
     0  3px 0 rgba(0,0,0,0.75);
}

.muted { color: var(--bonk-soft); }
.small { font-size: 12px; color: rgba(255, 176, 102, 0.75); }

.hero-left p {
  margin: 10px 0 0;
  color: var(--bonk-soft);
  max-width: 62ch;
}

/* Buttons */
.cta-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-family: var(--game-font);
  color: var(--bonk-main);
  letter-spacing: 0.4px;
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.7),
     1px -1px 0 rgba(0,0,0,0.7),
    -1px  1px 0 rgba(0,0,0,0.7),
     1px  1px 0 rgba(0,0,0,0.7);
}

.btn:hover { background: rgba(255,255,255,0.07); text-decoration: none; }
.btn.primary { background: rgba(255,255,255,0.14); }
.small-btn { padding: 8px 10px; border-radius: 12px; }

/* ✅ NEW: Official Links under CTAs (hero) */
.official-links {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  max-width: 420px; /* keeps it aligned under buttons */
}

.official-links-label {
  font-size: 12px;
  color: rgba(255, 176, 102, 0.82); /* bonk-soft */
  letter-spacing: 0.2px;
}

.official-links-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);

  background: rgba(255,255,255,0.03);

  font-family: var(--game-font);
  color: var(--bonk-main);
  letter-spacing: 0.3px;

  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.7),
     1px -1px 0 rgba(0,0,0,0.7),
    -1px  1px 0 rgba(0,0,0,0.7),
     1px  1px 0 rgba(0,0,0,0.7);

  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.social-btn:hover {
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 18px rgba(255, 140, 26, 0.16);
  transform: translateY(-1px);
  text-decoration: none;
}

.social-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* SECTIONS */
.section { padding: 26px 0; border-top: 1px solid var(--line); }
.section h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-family: var(--game-font);
  color: var(--bonk-main);
  letter-spacing: 0.6px;
  text-shadow:
    -2px -2px 0 rgba(0,0,0,0.85),
     2px -2px 0 rgba(0,0,0,0.85),
    -2px  2px 0 rgba(0,0,0,0.85),
     2px  2px 0 rgba(0,0,0,0.85),
     0  3px 0 rgba(0,0,0,0.75);
}

.lead { font-size: 16px; line-height: 1.6; color: var(--bonk-soft); max-width: 74ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
}

.card h3 { margin: 0 0 8px; }
.card p { color: var(--bonk-soft); }

.big { font-size: 20px; font-weight: 700; }

.list { margin: 10px 0 0; padding-left: 18px; color: var(--bonk-soft); }

/* Contract box */
.contract {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 12px;
}

.contract-label { font-weight: 700; }

.contract-value {
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  overflow-wrap: anywhere;
}

/* How safety list + swap box */
.safety-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--bonk-soft);
}

.swap-box {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-a { padding: 10px 2px 2px; line-height: 1.55; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.18);
  color: var(--bonk-soft);
}

.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }

.footer a {
  font-family: var(--game-font);
  color: var(--bonk-soft);
  letter-spacing: 0.4px;
}
.footer a:hover { color: var(--bonk-main); }

/* Floating swap button */
.swap-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,140,26,0.45);

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);

  color: var(--bonk-main);
  font-family: var(--game-font);
  letter-spacing: 0.4px;

  cursor: pointer;

  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;

  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.8),
     1px -1px 0 rgba(0,0,0,0.8),
    -1px  1px 0 rgba(0,0,0,0.8),
     1px  1px 0 rgba(0,0,0,0.8);
}

.swap-float.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.swap-float:hover {
  box-shadow: 0 0 30px rgba(255,140,26,0.25);
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .hero { min-height: 420px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-left h1 { font-size: 38px; }
}

@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .nav { gap: 6px; }
  .header-buyb { height: 46px; transform: scale(1.12); }
  .section h2 { font-size: 22px; }
  .hero { min-height: 380px; }

  /* keep official links tidy on tiny screens */
  .official-links { max-width: 100%; }
}
