/* GLOBAL RESET + BASE */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #050608;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-wrapper {
  min-height: 100vh;
  background: radial-gradient(circle at top, #151522 0, #050608 55%, #000000 100%);
  display: flex;
  flex-direction: column;
}

/* HERO WITH VIDEO BACKGROUND */

.hero {
  position: relative;
  height: 100vh;             /* full screen */
  display: flex;
  align-items: flex-end;      /* push content to bottom */
  justify-content: center;
  padding: 0 1.5rem 4.5rem;   /* bottom padding controls how low */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.9));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
  letter-spacing: 0.12em;     /* smaller so it stays on one line */
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(233, 238, 248, 0.9);
  max-width: 720px;
  margin: 0 auto 2.1rem;
}

/* HERO BUTTONS */

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, background 0.16s ease-out,
    border-color 0.16s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff4fd8, #2bdfff, #4bff78);
  color: #050608;
  box-shadow: 0 12px 28px rgba(255, 79, 216, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(75, 255, 120, 0.55);
}

.btn-secondary {
  background: rgba(8, 12, 24, 0.96);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background: rgba(18, 24, 44, 0.98);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* CONTRACT BAR */

.contract-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.6rem 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(3, 3, 6, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.7);
  max-width: 100%;
}

.contract-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.contract-address {
  font-size: 0.8rem;
  max-width: min(50vw, 420px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.96);
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
}

.btn-copy {
  border: none;
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  background: #00d34f;
  color: #050608;
  transition: background 0.16s ease-out, transform 0.16s ease-out;
}

.btn-copy:hover {
  background: #11e45c;
  transform: translateY(-1px);
}

/* HERO DISCLAIMER */

.hero-disclaimer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(230, 235, 255, 0.7);
}

/* SECTIONS */

.section {
  padding: 3.5rem 1.5rem;
}

.section:nth-of-type(odd) {
  background: radial-gradient(circle at top, #151522 0, #050608 65%, #000000 100%);
}

.section:nth-of-type(even) {
  background: #050608;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 1.4rem;
}

.section p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(230, 235, 255, 0.88);
}

/* HOW TO BUY */

.section-how .how-steps {
  list-style: none;
  margin-top: 0.5rem;
}

.section-how li {
  margin-bottom: 1rem;
  padding-left: 0.2rem;
}

.step-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 0.25rem;
}

.section-how code {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.88rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.how-warning {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: #ff9b68;
}

/* STATS GRID */

.section-stats .stats-note {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: rgba(200, 205, 230, 0.8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: radial-gradient(circle at top left, #313151 0, #12131f 45%, #050608 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(210, 215, 245, 0.75);
}

.stat-value {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.25rem;
  font-weight: 600;
}

/* FOOTER */

.footer {
  text-align: center;
  padding: 1.75rem 1.25rem 2.2rem;
  font-size: 0.8rem;
  color: rgba(160, 165, 190, 0.78);
  background: #020308;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero {
    padding: 0 1.25rem 3.5rem;
  }

  .hero-title {
    letter-spacing: 0.1em;
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 0.93rem;
  }

  .hero-buttons {
    gap: 0.7rem;
  }

  .contract-bar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .contract-address {
    max-width: 260px;
  }

  .section {
    padding: 3rem 1.25rem;
  }
}
