:root {
  --bg: #030303;
  --bg-soft: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-2: rgba(255, 255, 255, 0.5);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-sm: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #111 0%, var(--bg) 35%, #000 100%);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  opacity: 0.25;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.65) 100%),
    url('assets/nolimit-gang.jpeg') center/cover no-repeat;
  opacity: 0.72;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.08), transparent 28%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  padding: 90px 0 50px;
}

.eyebrow,
.section-tag {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted-2);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3.4rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 720px;
  margin: 22px 0 28px;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.8;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.copy-btn:hover,
.link-card:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card,
.panel,
.card,
.link-card,
.gallery-item {
  border-radius: var(--radius);
}

.hero-card {
  padding: 28px;
  align-self: end;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-block {
  display: grid;
  gap: 10px;
}

.stat-label {
  color: var(--muted-2);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#contractAddress {
  display: block;
  word-break: break-all;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text);
}

.copy-btn {
  margin-top: 8px;
  width: fit-content;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 700;
  cursor: pointer;
}

.copy-status {
  margin: 0;
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.92rem;
}

.banner-strip {
  margin-top: -24px;
}

.banner-strip img {
  width: 100%;
  height: clamp(150px, 28vw, 320px);
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.section {
  padding: 84px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.panel,
.card,
.link-card {
  padding: 24px;
}

.panel p,
.card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.8;
}

.panel p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.cards-grid {
  display: grid;
  gap: 20px;
}

.narrative-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.link-card {
  display: grid;
  gap: 10px;
  min-height: 140px;
}

.link-title {
  font-weight: 800;
  font-size: 1.15rem;
}

.link-url {
  color: var(--muted);
  word-break: break-word;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 20px;
  margin-top: 28px;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
  filter: grayscale(0);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 40px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .narrative-grid,
  .links-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large,
  .gallery-item.tall {
    grid-row: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 82px 0 42px;
  }
}

@media (max-width: 700px) {
  .nav {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .panel,
  .card,
  .link-card,
  .hero-card {
    padding: 20px;
  }

  .footer-wrap {
    flex-direction: column;
  }
}
