:root {
  --bg: #050608;
  --bg-elevated: #0c0e14;
  --bg-card: rgba(18, 21, 32, 0.65);
  --text: #f4f6fb;
  --muted: #8b95a8;
  --accent: #3bf5a0;
  --accent-2: #22d4a8;
  --accent-soft: rgba(59, 245, 160, 0.15);
  --border: rgba(255, 255, 255, 0.09);
  --glow: rgba(59, 245, 160, 0.45);
  --glow-soft: rgba(59, 245, 160, 0.12);
  --radius: 18px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-display: "Syne", var(--font-sans);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

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

.icon {
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.35rem;
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  animation: header-in 0.6s ease-out;
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 0 20px var(--glow-soft);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  text-shadow: 0 0 20px var(--glow-soft);
}

.nav-x .icon {
  width: 1em;
  height: 1em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.25s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #03120c;
  box-shadow: 0 0 28px var(--glow-soft), 0 4px 20px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 0 40px var(--glow), 0 6px 24px rgba(0, 0, 0, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: rgba(59, 245, 160, 0.45);
  color: var(--accent);
  box-shadow: inset 0 0 24px var(--glow-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.btn-copy {
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 3rem 1.35rem 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: brightness(0.92) saturate(1.12) contrast(1.02);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(5, 6, 8, 0.15) 0%,
      rgba(5, 6, 8, 0.05) 40%,
      rgba(5, 6, 8, 0.35) 100%
    ),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(5, 6, 8, 0.85) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  animation: hero-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes hero-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 1.85rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-logo-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.hero-logo-row img {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid rgba(59, 245, 160, 0.35);
  box-shadow: 0 0 48px var(--glow-soft), 0 12px 32px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(120deg, #fff 0%, #c8f7e4 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0;
  color: var(--muted);
  max-width: 44ch;
  font-size: 1.05rem;
  font-weight: 450;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.ca-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ca-value {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  color: var(--accent);
}

.footer-ca {
  color: var(--accent);
  font-size: 0.9em;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 3.5rem 1.35rem;
  max-width: 920px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.section-title .title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 245, 160, 0.25);
  color: var(--accent);
}

.section-title .title-icon .icon {
  width: 20px;
  height: 20px;
}

.card {
  padding: 1.65rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(18, 21, 32, 0.95) 0%, rgba(10, 12, 18, 0.9) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  border-color: rgba(59, 245, 160, 0.12);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(59, 245, 160, 0.06);
}

.about-text {
  color: #b4bcc9;
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
}

.about-text strong {
  color: var(--text);
  font-weight: 600;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-logo {
  margin: 1.75rem 0 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.about-logo img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.dex-embed-card {
  padding: 0;
  overflow: hidden;
}

.dex-embed-wrap {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: #0d0f14;
}

.dex-embed-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .dex-embed-wrap {
    min-height: 460px;
  }
}

.join {
  text-align: center;
  padding-bottom: 4.5rem;
}

.join .card {
  padding: 2.75rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.join .card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--glow-soft) 0%, transparent 55%);
  pointer-events: none;
}

.join .card > * {
  position: relative;
}

.join h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.join-lead {
  margin: 0 0 1.65rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.site-footer {
  padding: 1.75rem 1.35rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 540px) {
  .nav-links a:not(.nav-x) {
    font-size: 0.82rem;
  }
}
