/* ============================================================
   XZILLA — Main Stylesheet
   Shares color/type DNA with xzillaworld.com so both sites read
   as one universe. Normal responsive document flow.
   ============================================================ */

:root {
  --green:        #caff38;
  --green-2:      #79ff4d;
  --green-glow:   rgba(202, 255, 56, 0.25);
  --bg:           #080b10;
  --bg-card:      #121722;
  --bg-card-soft: #192231;
  --border:       rgba(255, 255, 255, 0.11);
  --text:         #f7f7f2;
  --muted:        #b8c0cc;
  --max:          1180px;
  --radius:       28px;
  --shadow:       0 22px 70px rgba(0, 0, 0, 0.42);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ── HEADER ──────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 16, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-weight: 950;
  font-size: 24px;
  letter-spacing: -.02em;
  color: var(--green);
  text-shadow: 0 0 12px var(--green-glow);
}

.menu-toggle { display: none; }

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}

.menu a:hover { color: var(--text); background: rgba(255,255,255,.06); }

.menu a.highlight {
  color: #0a0d08;
  background: var(--green);
  font-weight: 800;
}

.menu a.highlight:hover { background: var(--green); opacity: .9; }

.menu-button {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  padding: 9px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.top-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.top-socials a { color: var(--muted); display: flex; transition: color .2s; }
.top-socials a:hover { color: var(--green); }
.top-socials svg { width: 18px; height: 18px; fill: currentColor; }

/* ── HERO ────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/bg.jpg') center top / cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,11,16,.35) 0%, rgba(8,11,16,.75) 55%, rgba(8,11,16,.97) 100%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 56px 0 64px;
}

.hero-char {
  width: min(70vw, 320px);
  filter: drop-shadow(0 0 24px var(--green-glow));
  animation: float 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--green);
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
}

h1 {
  font-weight: 950;
  font-size: clamp(34px, 8vw, 64px);
  line-height: .98;
  letter-spacing: -.03em;
}

h1 .accent { color: var(--green); }

.lead {
  color: var(--muted);
  font-size: clamp(14px, 2.2vw, 17px);
  line-height: 1.6;
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  width: 100%;
  max-width: 460px;
}

.ca-label {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green);
  flex-shrink: 0;
}

.ca-address {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-copy {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  transition: all .2s;
}

.ca-copy:hover, .ca-copy.copied { border-color: var(--green); color: var(--green); }
.ca-copy svg { width: 13px; height: 13px; fill: currentColor; }

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}

.btn.primary {
  background: var(--green);
  color: #0a0d08;
  box-shadow: 0 0 22px var(--green-glow);
}

.btn.primary:hover { transform: scale(1.03); box-shadow: 0 0 32px rgba(202,255,56,.45); }
.btn.primary:active { transform: scale(.98); }

.btn.secondary {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.secondary:hover { border-color: var(--green); color: var(--green); }

.btn-full { width: 100%; margin-top: 8px; }

/* ── SECTIONS ────────────────────────────────────────────── */

.section { padding: 64px 0; }
.section.alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

h2 {
  font-weight: 900;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -.03em;
  color: var(--green);
}

.section-note {
  color: var(--muted);
  font-size: 14px;
  max-width: 420px;
}

/* ── BUY ─────────────────────────────────────────────────── */

.buy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.buy-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(180deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  min-width: 0;
}

.step-num {
  font-weight: 900;
  font-size: 34px;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
}

.step-body { min-width: 0; }
.step-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-body p { font-size: 13px; color: var(--muted); line-height: 1.6; overflow-wrap: break-word; }
.step-body a { color: var(--green); text-decoration: none; font-weight: 600; }

.ca-small { margin-top: 12px; }

/* ── TOKENOMICS ──────────────────────────────────────────── */

.token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.token-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.token-card-wide { grid-column: 1 / -1; }

.token-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-weight: 700;
}

.token-value {
  font-weight: 900;
  font-size: 30px;
  color: var(--green);
  letter-spacing: -.01em;
}

.token-note { font-size: 11px; color: var(--muted); }
.token-value-sm { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 4px; }

.narrative-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 22px;
}

.narrative-box p { color: var(--muted); line-height: 1.75; font-style: italic; font-size: 14px; }

/* ── ARMY / COMMUNITY ────────────────────────────────────── */

.army {
  position: relative;
  overflow: hidden;
}

.army-bg {
  position: absolute;
  inset: 0;
  background: url('../images/bg.jpg') center / cover no-repeat;
}

.army-bg::after { content: ''; position: absolute; inset: 0; background: rgba(8,11,16,.82); }

.army-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 72px 0;
}

.army-char {
  width: clamp(90px, 20vw, 140px);
  filter: drop-shadow(0 0 16px var(--green-glow));
  animation: float 4s ease-in-out infinite;
}

.army-title {
  font-weight: 950;
  font-size: clamp(34px, 7vw, 56px);
  color: var(--green);
  letter-spacing: -.02em;
  line-height: 1;
  text-shadow: 0 0 40px var(--green-glow);
}

.army-sub { color: var(--muted); font-size: 14px; line-height: 1.6; }

.social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 640px;
  margin-top: 6px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: linear-gradient(180deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  transition: border-color .2s, color .2s;
}

.social-link:hover { border-color: var(--green); color: var(--green); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.footer-ca { font-family: 'Courier New', monospace; }

/* ── TOAST ───────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--green);
  color: #0a0d08;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 8px 22px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 200;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (min-width: 860px) {
  .hero-inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
    padding: 90px 0;
    gap: 6vw;
  }

  .hero-char { flex: 0 0 auto; width: 34%; max-width: 400px; }

  .hero-text { align-items: flex-start; max-width: 560px; }

  .eyebrow, .actions { justify-content: flex-start; }
}

@media (max-width: 859px) {
  .menu-button { display: inline-flex; }

  .menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(18,23,34,.98);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .menu a { padding: 13px 16px; text-align: center; }

  .menu-toggle:checked ~ .menu { display: flex; }

  .buy-steps { grid-template-columns: 1fr; }

  .token-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 32px, var(--max)); }

  .token-grid { grid-template-columns: 1fr; }

  .social-list { flex-direction: column; width: 100%; }

  .social-link { justify-content: center; }

  .footer-inner { flex-direction: column; text-align: center; }
}
