/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0d0f14;
  --bg-card:     #13161e;
  --bg-card2:    #1a1d28;
  --border:      #2a2d3a;
  --accent:      #6c63ff;
  --accent-dim:  #3d3882;
  --accent-glow: rgba(108, 99, 255, 0.25);
  --text:        #e8eaf0;
  --text-muted:  #7c7f96;
  --green:       #22c55e;
  --red:         #ef4444;
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: #7c75ff; border-color: #7c75ff; }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent-glow); }

.btn-danger {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
  padding: 8px 18px;
  font-size: 0.85rem;
  margin-top: 12px;
}
.btn-danger:hover { background: rgba(239,68,68,0.1); }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(108,99,255,0.15) 0%, transparent 70%),
    var(--bg);
}

.hero-inner { max-width: 680px; margin: 0 auto; }

.badge {
  display: inline-block;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid var(--accent-dim);
  color: #a89fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero h1 .symbol {
  color: var(--accent);
}

.tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────
   INFO CARDS
───────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 60px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}

.card-icon { font-size: 1.8rem; margin-bottom: 10px; }
.card-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 6px; }
.card-value { font-size: 1rem; font-weight: 700; color: var(--text); }

/* ─────────────────────────────────────────
   CONTRACT ADDRESS
───────────────────────────────────────── */
.contract-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 60px;
  text-align: center;
}

.contract-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contract-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.contract-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  word-break: break-all;
  margin-bottom: 14px;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.15s;
}
.copy-btn:hover { background: var(--border); }
.copy-btn.copied::after { content: ' ✓'; color: var(--green); font-size: 0.8rem; }

.etherscan-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ─────────────────────────────────────────
   WALLET SECTION
───────────────────────────────────────── */
.wallet-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px 60px;
  text-align: center;
}

.wallet-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.wallet-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 0 30px var(--accent-glow);
}

.wallet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.wallet-row:last-of-type { border-bottom: none; }

.wallet-label { color: var(--text-muted); font-size: 0.88rem; }
.wallet-value { font-weight: 600; font-size: 0.92rem; text-align: right; word-break: break-all; }
.wallet-value.mono { font-family: 'Courier New', monospace; font-size: 0.78rem; color: var(--text-muted); }
.wallet-value.balance { color: var(--green); font-size: 1.1rem; }

/* ─────────────────────────────────────────
   ABOUT SECTION
───────────────────────────────────────── */
.about {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.about h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.about-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}
.about-card:hover { border-color: var(--accent-dim); }

.about-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); }

.footer-note {
  margin-top: 6px;
  font-size: 0.78rem;
  opacity: 0.6;
}

/* ─────────────────────────────────────────
   TOAST NOTIFICATION
───────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--text);
  box-shadow: var(--shadow);
  animation: slideIn 0.2s ease;
  z-index: 1000;
}
.toast.success { border-color: var(--green); color: var(--green); }
.toast.error   { border-color: var(--red);   color: var(--red); }

@keyframes slideIn {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 500px) {
  .cta-row { flex-direction: column; align-items: center; }
  .contract-box { font-size: 0.72rem; }
  .wallet-row { flex-direction: column; align-items: flex-start; }
  .wallet-value { text-align: left; }
}
