@font-face {
  font-family: 'pepe-font';
  src: url('images/pepe-font.otf') format('opentype'),
       url('images/pepe-font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #6dbf5a;
  --primary-dark: #4a8c3f;
  --bg-color: #6dbf5a;
  --theme-color-1: #ffd700;
  --white: white;
  --black: #000;
  --main-radius: 12rem;
  --main-off-white: #f5eee7;
  --glass: #0000005c;
  --10-white: #ffffff80;
  --s2-top-overlap: -7.7vw;
}

html {
  font-size: 1rem;
  scroll-behavior: smooth;
}
@media screen and (max-width:1600px) { html { font-size: calc(0.34rem + 0.66vw); } }
@media screen and (max-width:991px) { html { font-size: calc(0.45rem + 0.89vw); } }
@media screen and (max-width:767px) { html { font-size: calc(0.33rem + 1.39vw); } }
@media screen and (max-width:479px) { html { font-size: calc(0.87rem + 0.31vw); } }

body {
  background-color: var(--black);
  color: var(--main-off-white);
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.5;
}

a { color: inherit; text-decoration: inherit; font-size: inherit; }
img { max-width: 100%; display: inline-block; }
h1,h2,h3,h4,h5,h6,p { margin: 0; }

.page-wrapper { overflow: hidden; display: flex; flex-direction: column; align-items: center; }

/* Green ambient glow — one per section, scrolls with content */
.green-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,191,90,0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  filter: blur(40px);
}
@keyframes glowFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(40px, -30px) scale(1.1); }
  66%  { transform: translate(-30px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes glowFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-35px, 25px) scale(0.92); }
  66%  { transform: translate(25px, -35px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes glowFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, 30px) scale(1.12); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ============ NAVBAR ============ */
.navbar13_component {
  z-index: 999;
  background-color: transparent;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3%;
  padding-right: 3%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}
.navbar13_container {
  gap: .5rem;
  border-radius: 18px;
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(10,26,10,0.65) 100%);
  border: 1px solid rgba(109,191,90,0.15);
  box-shadow:
    0 1px 0 0 rgba(109,191,90,0.2),
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 0 rgba(255,255,255,0.04);
  justify-content: space-between;
  align-items: center;
  min-height: auto;
  padding: .4rem .5rem .4rem 0;
  font-family: 'Archivo', sans-serif;
  display: flex;
  width: 100%;
  max-width: 1400px;
  transition: border-color .4s, box-shadow .4s;
}
.navbar13_container:hover {
  border-color: rgba(109,191,90,0.3);
  box-shadow:
    0 1px 0 0 rgba(109,191,90,0.35),
    0 12px 40px rgba(0,0,0,0.5),
    0 0 60px rgba(109,191,90,0.06),
    inset 0 1px 0 0 rgba(255,255,255,0.06);
}
.navbar13_logo-link {
  background: none;
  border: none;
  border-radius: 14px;
  padding: .7rem 1.4rem;
  font-family: 'pepe-font', cursive;
  font-size: 1.25rem;
  color: var(--bg-color);
  min-width: 4ch;
  text-decoration: none;
  text-transform: none;
  letter-spacing: .05ch;
  transition: background .3s;
}
.navbar13_logo-link:hover {
  background: none;
}
.navbar13_menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.navbar13_link {
  color: rgba(245,238,231,0.65);
  font-variation-settings: "wght" 700, "wdth" 120;
  letter-spacing: .12ch;
  padding: .5rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .25s, background .25s;
  border-radius: 10px;
  position: relative;
}
.navbar13_link:hover {
  color: var(--bg-color);
  background: rgba(109,191,90,0.08);
}
.navbar13_socials {
  display: flex;
  gap: 4px;
  padding: 0 .5rem;
  align-items: center;
  border-left: 1px solid rgba(109,191,90,0.12);
  margin-left: .25rem;
  padding-left: .75rem;
}
.nav-icon-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  transition: border-color .3s, background-color .3s, transform .2s;
  text-decoration: none;
}
.nav-icon-btn:hover {
  border-color: rgba(109,191,90,0.4);
  background-color: rgba(109,191,90,0.1);
  transform: translateY(-1px);
}
.nav-icon-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity .3s;
}
.nav-icon-btn:hover img { opacity: 1; }
.nav-icon-btn.icon-dexscreener img { filter: invert(1); }
.nav-icon-btn.icon-x svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--main-off-white);
  opacity: 0.7;
  transition: opacity .3s;
}
.nav-icon-btn:hover .icon-x svg,
.nav-icon-btn.icon-x:hover svg { opacity: 1; }
.nav-icon-btn.icon-telegram img { filter: invert(1); }
.navbar13_button-wrapper {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.nav-buy-btn {
  background: var(--bg-color);
  font-variation-settings: "wdth" 125;
  border: none;
  border-radius: 12px;
  padding: .65rem 1.3rem;
  font-size: .85rem;
  font-weight: 800;
  color: var(--black);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
  letter-spacing: .05ch;
  box-shadow: 0 0 20px rgba(109,191,90,0.15);
}
.nav-buy-btn:hover {
  background: #7dd06a;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(109,191,90,0.3);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  padding: .65rem;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--bg-color);
  transition: .3s;
  border-radius: 2px;
}

/* ============ HERO ============ */
.hero { z-index: 0; width: 100%; position: relative; }
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35vh;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 50%, #000 100%);
  z-index: 5;
  pointer-events: none;
}
.section-hero {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}


.hero-bg-layer {
  z-index: 0;
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 80%, rgba(10,40,10,0.6) 0%, transparent 60%);
}
.hero-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 10% 15%, #fff 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 25% 40%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 40% 10%, #fff 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 55% 55%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 70% 20%, #fff 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 45%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 15% 70%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 30% 85%, #fff 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 50% 75%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 65% 90%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 80% 65%, #fff 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 95% 80%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 5% 50%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 20% 25%, #fff 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 35% 60%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 48% 35%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 60% 50%, #fff 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 75% 75%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 90% 30%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 8% 88%, #fff 50%, transparent 100%);
  opacity: 0.7;
  animation: starsTwinkle 8s ease-in-out infinite alternate;
}
@keyframes starsTwinkle {
  0% { opacity: 0.5; }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; }
}

.hero-floor-layer {
  z-index: 1;
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
}
.hero-floor-layer svg { position: absolute; bottom: 0; left: 0; width: 100%; }

/* Character layer with atmospheric green glow */
.hero-character-layer {
  z-index: 3;
  justify-content: center;
  align-items: flex-end;
  width: 100%; height: 100%;
  display: flex;
  position: absolute;
  inset: 0;
}
.hero-characters {
  z-index: 1;
  pointer-events: none;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 85%;
  margin-bottom: 0;
  display: flex;
  position: relative;
}
.character-main {
  z-index: 2;
  width: 72vh;
  max-width: 880px;
  height: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.character-main img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter:
    drop-shadow(0 0 60px rgba(109,191,90,0.45))
    drop-shadow(0 0 120px rgba(109,191,90,0.15))
    drop-shadow(0 20px 80px rgba(0,0,0,0.6));
}

/* Coin accent above Launched On */
.launched-on-coin {
  display: flex;
  justify-content: center;
  margin-bottom: -0.5rem;
}
.launched-on-coin img {
  width: 320px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 20px rgba(255,215,0,0.35)) drop-shadow(0 0 50px rgba(234,172,8,0.15));
}

/* Floating boxes — hidden in redesign */
.hero-boxes { display: none; }
.hero-boxes-inner,
.floating-box,
.floating-box img,
.box-left,
.box-right { display: none; }

/* Title layer — centered vertically in upper half */
.hero-title-layer {
  z-index: 4;
  pointer-events: none;
  justify-content: center;
  align-items: flex-end;
  width: 100%; height: 100%;
  display: flex;
  position: absolute;
  inset: 0;
}
.hero-title-content {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  padding-bottom: 6vh;
}
.hero-title {
  color: var(--bg-color);
  font-family: 'pepe-font', cursive;
  font-size: 16vw;
  font-weight: 400;
  line-height: 1;
  text-shadow:
    0 0 80px rgba(109,191,90,0.5),
    0 0 160px rgba(109,191,90,0.2),
    0 4px 0 rgba(0,0,0,0.3);
  text-transform: none;
}
.hero-subtitle {
  font-family: 'Archivo', sans-serif;
  font-variation-settings: "wght" 800, "wdth" 125;
  font-size: 1rem;
  color: rgba(245,238,231,0.5);
  letter-spacing: .4ch;
  margin-top: .75rem;
  text-transform: uppercase;
}

/* Dark overlay — hidden (was causing overlay bug) */
.hero-dark-overlay { display: none; }

/* ============ SECTION 2: ABOUT ============ */
.s2-section {
  z-index: 1;
  width: 100%;
  position: relative;
}
.s2-container {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: visible;
}
.s2-foreground {
  z-index: 4;
  pointer-events: none;
  width: 100%; height: 100%;
  display: flex;
  position: absolute;
  inset: 0;
}
.s2-top-img-wrap {
  left: 0;
  top: var(--s2-top-overlap);
  z-index: 0;
  width: 100%;
  margin-bottom: -4%;
  position: absolute;
}
.s2-top-img-wrap svg { width: 100%; height: auto; display: block; }
.s2-middle-layer {
  z-index: 2;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 0;
}
.s2-middle-content {
  justify-content: center;
  align-items: center;
  max-width: 700px;
  height: 100%;
  padding-top: 25%;
  padding-bottom: 25%;
  padding-left: 5%;
  padding-right: 5%;
  display: flex;
}
.s2-text {
  color: var(--bg-color);
  font-variation-settings: "wght" 900, "wdth" 124;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.8;
  text-align: center;
}
.s2-bg-layer {
  z-index: 0;
  background-color: #000;
  width: 100%; height: 100%;
  position: absolute;
}
.s2-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 10% 15%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 30% 40%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 50% 20%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 70% 60%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 90% 30%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 15% 80%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 45% 70%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 75% 85%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 85% 50%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 25% 55%, #fff 50%, transparent 100%);
  opacity: 0.5;
}

/* ============ SECTION 3: TOKENOMICS (REDESIGNED) ============ */
.s3-section {
  z-index: 2;
  width: 100%;
  position: relative;
}
.s3-container {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: visible;
}
.s3-top-wrap {
  left: 0;
  top: var(--s2-top-overlap);
  z-index: 2;
  pointer-events: none;
  width: 100%;
  margin-top: -4%;
  position: absolute;
}
.s3-top-wrap svg { width: 100%; height: auto; display: block; }
.s3-middle-layer {
  z-index: 3;
  justify-content: center;
  align-items: center;
  width: 100%; height: 100%;
  padding-top: 20vh;
  padding-bottom: 10vh;
  display: flex;
  position: relative;
}
.s3-middle-content {
  color: #fff;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  padding: 0 5%;
  display: flex;
  gap: 3rem;
}
.s3-bg-layer {
  z-index: 0;
  background-color: #000;
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
}
.s3-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 33% 42%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 55% 25%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 72% 62%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 88% 35%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 18% 78%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 42% 68%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 78% 88%, #fff 50%, transparent 100%);
  opacity: 0.5;
}

/* Launched On pairs */
.launched-on-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}
.launched-on-label {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: 3rem;
  color: var(--bg-color);
  letter-spacing: .1ch;
  text-align: center;
}
.launched-on-pairs {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  justify-content: center;
}
.launched-on-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid var(--10-white);
  border-radius: var(--main-radius);
  padding: 1.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  flex: 1;
  max-width: 380px;
}
.launched-on-card:hover {
  border-color: var(--bg-color);
  transform: translateY(-4px);
}
.launched-on-card:hover .launched-on-card-bg { margin: 2%; }
.launched-on-card-bg {
  position: absolute;
  inset: 0;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--main-radius);
  margin: 4%;
  transition: margin .3s;
}
.launched-on-logo {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.launched-on-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.launched-on-info {
  position: relative;
  z-index: 2;
  text-align: left;
}
.launched-on-pair-name {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--main-off-white);
  line-height: 1.2;
}
.launched-on-pair-label {
  font-variation-settings: "wght" 600, "wdth" 125;
  font-size: .75rem;
  color: var(--bg-color);
  letter-spacing: .15ch;
  margin-top: .25rem;
}

/* CA Section */
.ca-section {
  width: 100%;
  margin-top: 2rem;
  border: 2px solid var(--bg-color);
  border-radius: 1.5rem;
  position: relative;
  overflow: visible;
  transition: border-color .3s, box-shadow .3s;
  min-height: 100px;
}
.ca-section:hover {
  box-shadow: 0 0 30px rgba(109,191,90,0.2);
}
.ca-section-bg {
  position: absolute;
  inset: 0;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-radius: 1.5rem;
  overflow: hidden;
}
.ca-section-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem 1.5rem 160px;
  min-height: 100px;
}
.ca-character {
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 140px;
  height: 180px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(109,191,90,0.3));
}
.ca-character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}
.ca-content {
  flex: 1;
  min-width: 0;
}
.ca-label {
  font-variation-settings: "wght" 700, "wdth" 125;
  font-size: .85rem;
  color: var(--bg-color);
  letter-spacing: .2ch;
  margin-bottom: .4rem;
}
.ca-address {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  color: var(--main-off-white);
  word-break: break-all;
  line-height: 1.4;
  opacity: 0.85;
}
.ca-copy-btn {
  flex-shrink: 0;
  background-color: var(--bg-color);
  border: none;
  border-radius: var(--main-radius);
  padding: .85rem 1.5rem;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: "wdth" 125, "wght" 900;
  font-size: 1rem;
  color: var(--black);
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color .2s, transform .2s;
  white-space: nowrap;
}
.ca-copy-btn:hover {
  background-color: #7dd06a;
  transform: scale(1.05);
}

/* Chart embed */
.chart-section {
  width: 100%;
  margin-top: 2rem;
  border: 1px solid var(--10-white);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s;
}
.chart-section:hover {
  border-color: var(--bg-color);
}
.chart-section-bg {
  position: absolute;
  inset: 0;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-radius: 1.5rem;
}
.chart-section-inner {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}
.chart-label {
  font-variation-settings: "wght" 700, "wdth" 125;
  font-size: .85rem;
  color: var(--bg-color);
  letter-spacing: .2ch;
  margin-bottom: 1rem;
  text-align: center;
}
.chart-embed {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 1rem;
  background: rgba(0,0,0,0.4);
}

/* ============ BLOCK DIVIDER ============ */
.block-divider {
  z-index: 3;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}
.block-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ SECTION 4: HOW TO BUY (REDESIGNED) ============ */
.s4-section {
  z-index: 2;
  width: 100%;
  position: relative;
}
.s4-container {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.s4-bg-layer {
  z-index: -1;
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
  background-color: #000;
}
.s4-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 10% 20%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 35% 50%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 60% 15%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 80% 70%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 20% 85%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 50% 40%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 90% 55%, #fff 50%, transparent 100%);
  opacity: 0.5;
}
.s4-middle-layer {
  z-index: 3;
  justify-content: center;
  align-items: center;
  width: 100%; height: 100%;
  display: flex;
  position: relative;
  padding: 15vh 5% 10vh;
}
.s4-middle-content {
  color: #fff;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 900px;
  display: flex;
  gap: 3rem;
}

.htb-title {
  color: var(--bg-color);
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  text-align: center;
  letter-spacing: .1ch;
  font-size: 3.5rem;
}

/* Vertical step cards */
.htb-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}
.htb-step-card {
  border: 1px solid var(--10-white);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  cursor: default;
  max-width: 800px;
  width: 100%;
}
.htb-step-card:hover {
  border-color: var(--bg-color);
  transform: scale(1.02);
}
.htb-step-card:hover .htb-card-bg { margin: 1%; }
.htb-card-bg {
  background-color: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  margin: 3%;
  transition: margin .3s;
  position: absolute;
  inset: 0;
}
.htb-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
}
.htb-step-num {
  font-family: 'Luckiest Guy', cursive;
  font-weight: 400;
  font-size: 4rem;
  line-height: 1;
  color: var(--bg-color);
  flex-shrink: 0;
  width: 4rem;
  text-align: center;
}
.htb-step-info {
  flex: 1;
}
.htb-step-name {
  font-variation-settings: "wght" 800, "wdth" 125;
  font-size: 1.3rem;
  color: var(--main-off-white);
  margin-bottom: .5rem;
  letter-spacing: .05ch;
}
.htb-step-desc {
  font-variation-settings: "wght" 600, "wdth" 110;
  font-size: .95rem;
  color: var(--main-off-white);
  opacity: 0.8;
  text-transform: none;
  line-height: 1.6;
}
.htb-step-icon {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid var(--bg-color);
}
.htb-step-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ============ SECTION 5: MEME GALLERY (UNIQUE) ============ */
.s5-section {
  z-index: 1;
  width: 100%;
  position: relative;
}
.s5-container {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-height: auto;
  position: relative;
  overflow: visible;
}
.s5-bg-layer {
  z-index: 0;
  background-color: #000;
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
}
.s5-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 8% 12%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 28% 38%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 52% 22%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 68% 58%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 92% 32%, #fff 50%, transparent 100%);
  opacity: 0.4;
}

.meme-gallery {
  z-index: 2;
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 6vh 4% 10vh;
  column-count: 4;
  column-gap: 12px;
}

.meme-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  transition: transform .4s cubic-bezier(.2,.8,.3,1), border-color .3s, box-shadow .4s;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 12px;
}
.meme-card:hover {
  transform: scale(1.04) !important;
  border-color: var(--bg-color);
  box-shadow: 0 16px 40px rgba(109,191,90,0.25);
  z-index: 10;
}
.meme-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .5s cubic-bezier(.2,.8,.3,1);
}
.meme-card:hover img {
  transform: scale(1.08);
}

/* ============ FOOTER ============ */
.footer {
  z-index: 5;
  width: 100%;
  background: linear-gradient(180deg, #000 0%, rgba(10,26,10,0.4) 100%);
  position: relative;
  overflow: visible;
}
.footer-character {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 25px rgba(109,191,90,0.3));
}
.footer-character img {
  width: 100%;
  height: auto;
  display: block;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,191,90,0.5), transparent);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 5% 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.footer-logo {
  font-family: 'pepe-font', cursive;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--bg-color);
  text-transform: none;
}
.footer-socials {
  display: flex;
  gap: 4px;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-off-white);
  transition: border-color .3s, background-color .3s, transform .2s;
  text-decoration: none;
}
.footer-social-link:hover {
  border-color: rgba(109,191,90,0.4);
  background-color: rgba(109,191,90,0.1);
  transform: translateY(-1px);
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.7;
  transition: opacity .3s;
}
.footer-social-link:hover svg { opacity: 1; }
.footer-social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity .3s;
}
.footer-social-link:hover img { opacity: 1; }
.footer-social-link.icon-dexscreener img { filter: invert(1); }
.footer-social-link.icon-telegram img { filter: invert(1); }
.footer-nav {
  display: flex;
  gap: .25rem;
}
.footer-nav-link {
  font-variation-settings: "wght" 700, "wdth" 120;
  letter-spacing: .12ch;
  padding: .5rem .9rem;
  font-size: .8rem;
  color: rgba(245,238,231,0.65);
  text-decoration: none;
  transition: color .25s, background .25s;
  border-radius: 10px;
}
.footer-nav-link:hover {
  color: var(--bg-color);
  background: rgba(109,191,90,0.08);
}
.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.footer-credit {
  font-variation-settings: "wdth" 105, "wght" 500;
  font-size: .75rem;
  color: var(--main-off-white);
  opacity: 0.4;
  text-transform: none;
}
.footer-tagline {
  font-variation-settings: "wdth" 125, "wght" 700;
  font-size: .85rem;
  color: var(--bg-color);
  letter-spacing: .1ch;
}

/* ============ GSAP text animate placeholder ============ */
[animate] .word {
  display: inline-block;
  margin-right: 0.3ch;
}

/* ============ RESPONSIVE ============ */
@media screen and (max-width: 991px) {
  .navbar13_menu { display: none; }
  .menu-toggle { display: flex; }
  .navbar13_menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(10,26,10,0.9) 100%);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    padding: 1.5rem;
    border-radius: 0 0 18px 18px;
    border: 1px solid rgba(109,191,90,0.2);
    border-top: none;
    margin-top: .25rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 1px 0 0 rgba(109,191,90,0.15);
    gap: 0;
  }
  .navbar13_link {
    border: 1px solid rgba(109,191,90,0.15);
    background: rgba(109,191,90,0.05);
    text-align: center;
    border-radius: 12px;
    width: 100%;
    margin-bottom: .75rem;
    padding: .85rem 0;
    font-size: 1.3rem;
    display: block;
    color: var(--main-off-white);
  }
  .navbar13_link:hover {
    background: rgba(109,191,90,0.12);
    border-color: rgba(109,191,90,0.35);
  }
  .navbar13_socials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    padding: .5rem 0 0;
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }
  .nav-icon-btn {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(109,191,90,0.2);
    background: rgba(109,191,90,0.05);
    border-radius: 12px;
  }
  .nav-icon-btn img { opacity: 0.85; }
  .nav-icon-btn.icon-x svg { opacity: 0.85; }
  .launched-on-label { font-size: 2.5rem; }
  .launched-on-pairs { flex-direction: column; align-items: center; }
  .launched-on-card { max-width: 100%; width: 100%; }
  .ca-section-inner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 2rem 1.5rem 2rem;
  }
  .chart-embed { height: 350px; }
  .ca-character {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100px;
    height: 120px;
    margin: 0 auto -1rem;
  }
  .ca-content { text-align: center; }
  .htb-step-card { max-width: 100%; }
  .htb-card-inner { flex-direction: column; text-align: center; gap: 1rem; align-items: center; }
  .htb-step-icon { display: none; }
  .meme-gallery { column-count: 3; }
  .footer-character { width: 140px; right: 4%; }
  .footer-top { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-socials { justify-content: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
}

@media screen and (max-width: 767px) {
  .navbar13_component { margin-top: .75rem; }
  .navbar13_container { min-height: auto; padding: .35rem .4rem .35rem 0; }
  .hero-title-content { padding-bottom: 5vh; }
  .character-main { width: 60vh; max-width: 650px; }
  .launched-on-label { font-size: 2rem; }
  .htb-title { font-size: 2.5rem; }
  .meme-gallery { column-count: 2; column-gap: 10px; }
  .meme-card { margin-bottom: 10px; }
  .s3-middle-layer { padding-top: 15vh; padding-bottom: 8vh; }
  .s3-middle-content { gap: 2rem; }
}

@media screen and (max-width: 479px) {
  .hero-title { font-size: 20vw; }
  .hero-subtitle { font-size: .75rem; letter-spacing: .3ch; }
  .hero-title-content { padding-bottom: 4vh; }
  .character-main { width: 50vh; max-width: 400px; }
  .launched-on-label { font-size: 1.6rem; }
  .launched-on-card { padding: 1rem 1.25rem; gap: 1rem; }
  .ca-section { margin-top: 1.5rem; }
  .chart-embed { height: 300px; }
  .chart-section-inner { padding: 1rem; }
  .ca-section-inner { padding: 1.25rem; gap: .75rem; }
  .ca-character { width: 80px; height: 100px; }
  .ca-address { font-size: .8rem; }
  .ca-copy-btn { padding: .7rem 1.2rem; font-size: .9rem; width: 100%; }
  .launched-on-logo { width: 42px; height: 42px; }
  .launched-on-pair-name { font-size: 1.1rem; }
  .nav-icon-btn { width: 100%; height: 42px; }
  .nav-icon-btn img { width: 18px; height: 18px; }
  .htb-title { font-size: 2rem; }
  .htb-step-num { font-size: 2.5rem; width: auto; }
  .htb-card-inner { padding: 1.5rem; }
  .meme-gallery { column-count: 2; column-gap: 8px; padding: 4vh 3% 8vh; }
  .meme-card { margin-bottom: 8px; }
  .footer-character { width: 110px; right: 3%; }
  .footer-inner { padding: 2.5rem 5% 1.5rem; }
  .footer-credit { text-align: center; font-size: .65rem; }
  .footer-tagline { font-size: .75rem; text-align: center; }
  .footer-nav-link { font-size: .7rem; padding: .4rem .6rem; }
}
