* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green:       #3ddc84;
  --green-dark:  #28a85e;
  --orange:      #ff6b1a;
  --orange-dark: #d94f00;
  --bg:          #141414;
  --bg-card:     #1e1e1e;
  --bg-dark:     #0f0f0f;
  --text:        #f0f0f0;
  --text-muted:  #888;
  --border:      #2a2a2a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.accent { color: var(--orange); }

/* ── HEADER ── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(14, 14, 14, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon { font-size: 1.4rem; }

nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav a:hover { color: var(--green); }

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem 2rem;
  background:
    linear-gradient(to bottom, rgba(14,14,14,0.7) 0%, rgba(14,14,14,0.95) 100%),
    linear-gradient(135deg, #1a0a00 0%, #0d0d0d 40%, #001a0a 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  background: rgba(61, 220, 132, 0.12);
  border: 1px solid rgba(61, 220, 132, 0.35);
  color: var(--green);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
  background: rgba(30, 30, 30, 0.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 2.5rem;
  position: relative;
  z-index: 1;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}
.btn-primary.large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--green);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--green);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
}
.btn-outline:hover {
  background: rgba(61, 220, 132, 0.1);
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section.dark {
  max-width: 100%;
  background: var(--bg-dark);
  padding: 5rem 2rem;
}
.section.dark > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--green);
  padding-left: 0.6rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 3rem;
}

/* ── TIERS ── */
#tiers { text-align: left; }

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.tier:hover {
  transform: translateY(-6px);
  border-color: #444;
}
.tier.featured {
  border-color: var(--orange);
  box-shadow: 0 0 30px rgba(255, 107, 26, 0.15);
}

.tier-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tier-header.starter { background: rgba(61, 220, 132, 0.08); border-bottom: 1px solid rgba(61,220,132,0.15); }
.tier-header.racer   { background: rgba(255, 107, 26, 0.08); border-bottom: 1px solid rgba(255,107,26,0.15); }
.tier-header.champion{ background: rgba(255, 200, 0, 0.08);  border-bottom: 1px solid rgba(255,200,0,0.15); }

.tier-icon { font-size: 1.5rem; }
.tier-name {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-body { padding: 1.75rem; }

.tier-time {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.tier-time span {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tier-tokens {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.token-count {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange);
}

.tier-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tier-perks li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.info-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.info-value {
  font-size: 1rem;
  font-weight: 700;
}

/* ── CONTRACT ── */
#contract { text-align: center; }

.contract-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 680px;
  margin: 0 auto;
}
.contract-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.contract-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

code {
  background: rgba(61, 220, 132, 0.07);
  border: 1px solid rgba(61, 220, 132, 0.25);
  color: var(--green);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  word-break: break-all;
}

.copy-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.copy-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ── WALLET ── */
#wallet { text-align: center; }
.wallet-center { max-width: 480px; margin: 0 auto; }

.wallet-info {
  margin-top: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: left;
}
.wallet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.wallet-row:last-child { border-bottom: none; }
.wallet-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wallet-value {
  font-size: 0.95rem;
  font-weight: 700;
  text-align: right;
  word-break: break-all;
  max-width: 60%;
}

/* ── FOOTER ── */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }
.footer-copy {
  font-size: 0.8rem;
  color: #555;
}

/* ── SMART CONTRACT ── */
.sc-section {
  background: var(--bg-dark);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.sc-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.sc-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.sc-white { color: #fff; }
.sc-gradient {
  color: var(--orange);
}

.sc-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.sc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
}

.sc-address-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.sc-address-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
}

.sc-address {
  flex: 1;
  font-family: 'Consolas', monospace;
  font-size: 0.88rem;
  color: var(--text);
  word-break: break-all;
}

.sc-copy-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--green);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.sc-copy-btn:hover {
  border-color: var(--green);
  background: rgba(61, 220, 132, 0.1);
}

.sc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sc-detail {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sc-detail-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.sc-detail-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.sc-etherscan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
}
.sc-etherscan-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--green);
  color: #000;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  z-index: 999;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  header { padding: 1rem 1.25rem; }
  nav a { margin-left: 1rem; font-size: 0.8rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; padding: 1rem 1.5rem; }
  .stat-divider { display: none; }
}
