@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62.5..125,100..900&display=swap');

@font-face {
  font-family: 'Comicy';
  src: url('ngmi-images/Comicy.otf') format('opentype');
  font-weight: 400;
  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: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #ef4444;
  --secondary: #fbbf24;
  --secondary-dark: #d97706;
  --bg-color: #dc2626;
  --accent-yellow: #fbbf24;
  --white: white;
  --black: #000;
  --dark-bg: #0a0a0a;
  --main-off-white: #f5eee7;
  --glass: rgba(220, 38, 38, 0.15);
  --glass-dark: rgba(0, 0, 0, 0.6);
  --10-white: rgba(255, 255, 255, 0.1);
}

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(--dark-bg);
  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; position: relative; }

/* Background Character */
.bg-character {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 800px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}
.bg-character img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
}

/* Red ambient glows */
.red-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.3) 0%, rgba(185,28,28,0.15) 50%, 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 ============ */
.navbar-component {
  z-index: 999;
  background-color: transparent;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 4%;
  padding-right: 4%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}
.navbar-container {
  gap: 0;
  border-radius: 100px;
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  backdrop-filter: saturate(200%) blur(24px);
  background: rgba(10,10,10,0.7);
  border: 1px solid rgba(220,38,38,0.3);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  justify-content: center;
  align-items: center;
  min-height: auto;
  padding: .4rem .5rem;
  font-family: 'Archivo', sans-serif;
  display: flex;
  width: auto;
  max-width: none;
  transition: border-color .4s, box-shadow .4s, transform .3s;
}
.navbar-container:hover {
  border-color: rgba(220,38,38,0.5);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.7),
    0 0 60px rgba(220,38,38,0.15),
    0 0 0 1px rgba(255,255,255,0.05) inset;
}
.navbar-logo {
  background: none;
  border: none;
  padding: .6rem 1.2rem;
  font-family: 'Comicy', cursive;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--primary);
  min-width: auto;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color .3s, transform .3s, text-shadow .3s;
  text-shadow: 0 0 20px rgba(220,38,38,0.5);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.navbar-logo:hover {
  color: var(--secondary);
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(251,191,36,0.6);
}

/* Simple navbar - logo left, socials right */
.navbar-container.navbar-simple {
  justify-content: space-between;
  padding: .5rem .8rem .5rem 1.2rem;
}
.navbar-simple .navbar-logo {
  border-right: none;
}
.navbar-simple .navbar-socials-desktop {
  display: flex;
}

.navbar-menu-desktop {
  display: flex;
  align-items: center;
  gap: 0;
}
.navbar-socials-desktop {
  display: flex;
  gap: 2px;
  padding: 0;
  align-items: center;
  border-left: 1px solid rgba(255,255,255,0.08);
  margin-left: 0;
  padding-left: .3rem;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--dark-bg);
  padding: 120px 2rem 2rem;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu-link {
  display: block;
  width: 100%;
  max-width: 320px;
  padding: 1.2rem 2rem;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 16px;
  text-align: center;
  color: var(--main-off-white);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .1ch;
  text-decoration: none;
  transition: background .2s, transform .2s, color .2s, border-color .2s;
}
.mobile-menu-link:hover,
.mobile-menu-link:active {
  background: rgba(220,38,38,0.25);
  border-color: rgba(220,38,38,0.4);
  color: var(--primary);
  transform: scale(1.02);
}
.mobile-menu-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  max-width: 320px;
}
.mobile-social-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(220,38,38,0.15);
  border: 1px solid rgba(220,38,38,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s, border-color .2s;
  text-decoration: none;
}
.mobile-social-btn:hover,
.mobile-social-btn:active {
  background: rgba(220,38,38,0.3);
  border-color: rgba(220,38,38,0.5);
  transform: scale(1.1);
}
.mobile-social-btn img {
  width: 22px;
  height: 22px;
  opacity: 0.9;
  filter: invert(1);
}
.mobile-social-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--main-off-white);
  opacity: 0.9;
}

.navbar-link {
  color: rgba(245,238,231,0.6);
  font-weight: 600;
  letter-spacing: .05ch;
  padding: .8rem 1.3rem;
  font-size: .9rem;
  text-decoration: none;
  transition: color .3s, background .3s;
  border-radius: 0;
  position: relative;
}
.navbar-link::after {
  content: '';
  position: absolute;
  bottom: .5rem;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  transition: transform .3s;
}
.navbar-link:hover {
  color: #fff;
  background: transparent;
}
.navbar-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.nav-icon-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  transition: background-color .3s, transform .3s;
  text-decoration: none;
}
.nav-icon-btn:hover {
  background-color: rgba(220,38,38,0.2);
  transform: scale(1.15) rotate(5deg);
}
.nav-icon-btn img {
  width: 20px;
  height: 20px;
  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-axiom 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); }
.navbar-button-wrapper {
  display: none;
}

/* Menu toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  padding: .6rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border-radius: 10px;
  transition: background .3s;
  margin-left: .5rem;
  width: 44px;
  height: 44px;
}
.menu-toggle:hover {
  background: rgba(220,38,38,0.2);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--primary);
  transition: transform .3s, opacity .3s, width .3s;
  border-radius: 2px;
  transform-origin: center;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero-title-layer {
  z-index: 4;
  pointer-events: none;
  justify-content: center;
  align-items: center;
  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: 30vh;
  padding-top: 10vh;
}
.hero-title {
  color: var(--primary);
  font-family: 'Comicy', cursive;
  font-size: 18vw;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.05em;
  text-shadow:
    0 0 80px rgba(220,38,38,0.6),
    0 0 160px rgba(220,38,38,0.3),
    0 4px 0 rgba(0,0,0,0.5);
  text-transform: uppercase;
}
.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;
}

.hero-characters {
  z-index: 3;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 600px;
  padding: 0 5%;
}
.hero-character-img {
  width: 100%;
  max-width: 525px;
  height: auto;
  filter:
    drop-shadow(0 0 60px rgba(220,38,38,0.5))
    drop-shadow(0 0 120px rgba(220,38,38,0.2))
    drop-shadow(0 20px 80px rgba(0,0,0,0.7));
  animation: floatHero 6s ease-in-out infinite;
}
@keyframes floatHero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-bg-layer {
  z-index: 0;
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 80%, rgba(40,10,10,0.6) 0%, transparent 60%);
}
.hero-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 10% 15%, rgba(220,38,38,0.4) 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%, rgba(220,38,38,0.4) 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%, rgba(220,38,38,0.4) 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%, rgba(220,38,38,0.4) 50%, transparent 100%);
  opacity: 0.5;
  animation: starsTwinkle 8s ease-in-out infinite alternate;
}
@keyframes starsTwinkle {
  0% { opacity: 0.3; }
  50% { opacity: 0.6; }
  100% { opacity: 0.3; }
}

/* ============ ABOUT SECTION ============ */
.about-section {
  z-index: 1;
  width: 100%;
  position: relative;
}
.about-container {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 60vh;
  position: relative;
  overflow: visible;
  padding: 10vh 5%;
}
.about-content {
  z-index: 2;
  max-width: 800px;
  text-align: center;
}
.about-text {
  color: var(--main-off-white);
  font-variation-settings: "wght" 600, "wdth" 110;
  font-size: 1.25rem;
  line-height: 1.8;
  text-transform: none;
}
.about-text .highlight {
  color: var(--primary);
  font-weight: 800;
}
.about-bg-layer {
  z-index: 0;
  background-color: var(--dark-bg);
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
}
.about-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 10% 15%, rgba(220,38,38,0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 30% 40%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 50% 20%, rgba(220,38,38,0.3) 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%);
  opacity: 0.4;
}

/* ============ STORY SECTION ============ */
.story-section {
  z-index: 3;
  width: 100%;
  position: relative;
  overflow: visible;
}
.story-container {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: auto;
  position: relative;
  overflow: visible;
  padding: 10vh 0 15vh;
}
.story-content {
  z-index: 10;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.story-title {
  font-family: 'Comicy', cursive;
  font-weight: 400;
  font-size: 3.5rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 60px rgba(220,38,38,0.5);
}
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}
.story-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.story-card {
  position: relative;
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.story-card:hover {
  border-color: rgba(220,38,38,0.5);
  transform: translateY(-4px);
}
.story-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220,38,38,0.08) 0%, rgba(185,28,28,0.05) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.story-card-inner {
  position: relative;
  z-index: 2;
  padding: 1.75rem 2rem;
}
.story-subtitle {
  font-family: 'Comicy', cursive;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
.story-text {
  font-variation-settings: "wght" 500, "wdth" 105;
  font-size: .95rem;
  color: var(--main-off-white);
  opacity: 0.85;
  line-height: 1.7;
  text-transform: none;
  margin-bottom: .75rem;
}
.story-text:last-child { margin-bottom: 0; }
.story-text.highlight-text {
  color: var(--primary);
  font-style: italic;
  opacity: 0.9;
}

.story-media {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Application Card */
.application-card {
  position: relative;
  border: 2px solid var(--primary);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.application-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(220,38,38,0.3);
}
.application-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220,38,38,0.15) 0%, rgba(10,10,10,0.9) 100%);
}
.application-card-inner {
  position: relative;
  z-index: 2;
}
.application-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  filter: saturate(0.9) brightness(0.95);
  transition: filter .3s;
}
.application-card:hover .application-img {
  filter: saturate(1) brightness(1);
}
.application-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 100%);
  text-align: center;
}
.application-label {
  font-family: 'Comicy', cursive;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--secondary);
  text-shadow: 0 0 20px rgba(251,191,36,0.5);
}

.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10,10,10,0.5);
}
.timeline-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background .3s;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item:hover {
  background: rgba(220,38,38,0.1);
}
.timeline-item.active {
  background: linear-gradient(90deg, rgba(220,38,38,0.2) 0%, rgba(185,28,28,0.1) 100%);
}
.timeline-date {
  font-family: 'Comicy', cursive;
  font-weight: 400;
  font-size: .85rem;
  color: var(--primary);
  min-width: 80px;
}
.timeline-event {
  font-variation-settings: "wght" 500;
  font-size: .85rem;
  color: var(--main-off-white);
  opacity: 0.8;
  text-transform: none;
}
.timeline-item.active .timeline-event {
  color: var(--secondary);
  opacity: 1;
  font-weight: 600;
}

.story-bg-layer {
  z-index: 0;
  background-color: var(--dark-bg);
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
}
.story-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(220,38,38,0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 38% 45%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 62% 28%, rgba(220,38,38,0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 78% 65%, #fff 50%, transparent 100%);
  opacity: 0.3;
}

/* ============ TOKENOMICS SECTION ============ */
.tokenomics-section {
  z-index: 2;
  width: 100%;
  position: relative;
}
.tokenomics-container {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: visible;
  padding: 10vh 5%;
}
.tokenomics-content {
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.tokenomics-header {
  text-align: center;
}
.tokenomics-logo {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  box-shadow: 0 0 40px rgba(220,38,38,0.4);
}
.tokenomics-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tokenomics-title {
  font-family: 'Comicy', cursive;
  font-weight: 400;
  font-size: 3rem;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-shadow: 0 0 40px rgba(220,38,38,0.4);
}
.tokenomics-subtitle {
  font-variation-settings: "wght" 600;
  font-size: 1rem;
  color: var(--main-off-white);
  opacity: 0.6;
  margin-top: 0.5rem;
  text-transform: none;
}

.tokenomics-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}
.tokenomics-card {
  flex: 1;
  max-width: 280px;
  position: relative;
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.tokenomics-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.tokenomics-card-bg {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.tokenomics-card-inner {
  position: relative;
  z-index: 2;
  padding: 2rem;
  text-align: center;
}
.tokenomics-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  color: var(--primary);
}
.tokenomics-icon-text {
  font-family: 'Comicy', cursive;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.tokenomics-card-title {
  font-family: 'Comicy', cursive;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--main-off-white);
  margin-bottom: 0.3rem;
}
.tokenomics-card-label {
  font-variation-settings: "wght" 600;
  font-size: .75rem;
  color: var(--primary);
  letter-spacing: .15ch;
}

/* CA Section */
.ca-section {
  width: 100%;
  border: 2px solid var(--primary);
  border-radius: 1.5rem;
  position: relative;
  overflow: visible;
  transition: border-color .3s, box-shadow .3s;
}
.ca-section:hover {
  box-shadow: 0 0 40px rgba(220,38,38,0.25);
}
.ca-section-bg {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.7);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-radius: 1.5rem;
}
.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-section-inner.ca-no-character {
  padding: 1.5rem 2rem;
  justify-content: space-between;
}
.ca-character {
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 140px;
  height: 150px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(220,38,38,0.4));
}
.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(--primary);
  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;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--white);
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.ca-copy-btn svg {
  width: 22px;
  height: 22px;
}
.ca-copy-btn:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}
.ca-copy-btn.copied {
  background-color: #4ade80;
}

/* Chart Section */
.chart-section {
  width: 100%;
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s;
}
.chart-section:hover {
  border-color: var(--primary);
}
.chart-section-bg {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.6);
  -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(--primary);
  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);
}

.tokenomics-bg-layer {
  z-index: 0;
  background-color: var(--dark-bg);
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
}
.tokenomics-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(220,38,38,0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 55% 25%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 88% 35%, rgba(220,38,38,0.3) 50%, transparent 100%);
  opacity: 0.4;
}

/* ============ HOW TO BUY SECTION ============ */
.htb-section {
  z-index: 2;
  width: 100%;
  position: relative;
}
.htb-container {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 10vh 5%;
}
.htb-content {
  z-index: 3;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
.htb-title {
  color: var(--primary);
  font-family: 'Comicy', cursive;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.04em;
  font-size: 3.5rem;
  text-shadow: 0 0 40px rgba(220,38,38,0.4);
}
.htb-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}
.htb-step-card {
  border: 1px solid rgba(220,38,38,0.3);
  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(--primary);
  transform: scale(1.02);
}
.htb-card-bg {
  background-color: rgba(10,10,10,0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  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: 'Comicy', cursive;
  font-weight: 400;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
  width: 4rem;
  text-align: center;
  text-shadow: 0 0 30px rgba(220,38,38,0.5);
}
.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-disclaimer {
  max-width: 600px;
  text-align: center;
  padding: 1.5rem 2rem;
  border: 1px dashed rgba(220,38,38,0.4);
  border-radius: 1rem;
  background: rgba(220,38,38,0.05);
}
.htb-disclaimer p {
  font-size: .9rem;
  color: var(--main-off-white);
  opacity: 0.7;
  text-transform: none;
  line-height: 1.6;
  font-style: italic;
}

.htb-bg-layer {
  z-index: -1;
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
  background-color: var(--dark-bg);
}
.htb-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(220,38,38,0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 60% 15%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 90% 55%, rgba(220,38,38,0.3) 50%, transparent 100%);
  opacity: 0.4;
}

/* ============ GALLERY SECTION ============ */
.gallery-section {
  z-index: 1;
  width: 100%;
  position: relative;
}
.gallery-container {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-height: auto;
  position: relative;
  overflow: visible;
  padding: 8vh 5% 12vh;
}
.gallery-title {
  font-family: 'Comicy', cursive;
  font-weight: 400;
  font-size: 3rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
  z-index: 2;
  position: relative;
  text-shadow: 0 0 40px rgba(220,38,38,0.4);
}
.gallery-bg-layer {
  z-index: 0;
  background-color: var(--dark-bg);
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
}
.gallery-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 8% 12%, rgba(220,38,38,0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 52% 22%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 92% 32%, rgba(220,38,38,0.3) 50%, transparent 100%);
  opacity: 0.3;
}

.meme-gallery {
  z-index: 2;
  position: relative;
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 1rem;
}

/* Clean grid meme cards */
.meme-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30,30,30,0.8) 0%, rgba(15,15,15,0.9) 100%);
  border-radius: 12px;
  border: 1px solid rgba(220,38,38,0.2);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  transition: transform .4s ease, box-shadow .4s ease;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1;
}
.meme-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220,38,38,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 2;
}

.meme-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.5),
    0 0 60px rgba(220,38,38,0.15),
    0 0 0 1px rgba(220,38,38,0.3) inset;
}
.meme-card:hover::before {
  opacity: 1;
}
.meme-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .4s ease;
  filter: saturate(0.95) contrast(1.02);
}
.meme-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.05);
}

/* ============ FOOTER ============ */
.footer {
  z-index: 5;
  width: 100%;
  background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(40,10,10,0.4) 100%);
  position: relative;
  overflow: visible;
}
.footer-character {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 25px rgba(220,38,38,0.4));
}
.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(220,38,38,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: 'Comicy', cursive;
  font-weight: 400;
  font-size: 2rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 0 20px rgba(220,38,38,0.4);
}
.footer-socials {
  display: flex;
  gap: 4px;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 10px;
  background: rgba(220,38,38,0.05);
  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(220,38,38,0.5);
  background-color: rgba(220,38,38,0.15);
  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-axiom img { filter: invert(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(--primary);
  background: rgba(220,38,38,0.1);
}
.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), 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-family: 'Comicy', cursive;
  font-variation-settings: "wdth" 125, "wght" 700;
  font-size: .85rem;
  color: var(--primary);
  letter-spacing: .1ch;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 100px rgba(220, 38, 38, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox.active .lightbox-content img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: var(--main-off-white);
  font-size: 3rem;
  cursor: pointer;
  z-index: 10001;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
  line-height: 1;
}
.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: var(--main-off-white);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  opacity: 0.7;
  transition: opacity 0.3s, background 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav:hover {
  opacity: 1;
  background: rgba(220, 38, 38, 0.4);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============ RESPONSIVE ============ */
@media screen and (max-width: 991px) {
  .navbar-component { margin-top: 1rem; padding-left: 3%; padding-right: 3%; }
  .navbar-container { border-radius: 50px; padding: .3rem .4rem; }
  .navbar-container.navbar-simple { padding: .4rem .6rem .4rem 1rem; }
  .navbar-button-wrapper { display: flex; }
  .menu-toggle { display: flex; }
  .navbar-menu-desktop { display: none; }
  .navbar-socials-desktop { display: none; }
  .navbar-simple .navbar-socials-desktop { display: flex; }
  .mobile-menu { display: flex; }

  .section-hero { min-height: 100svh; height: 100svh; }
  .hero-title { font-size: clamp(4rem, 16vw, 8rem); }
  .hero-title-content { padding-bottom: 35vh; padding-top: 12vh; }
  .hero-characters { max-width: 525px; }

  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-cards { max-width: 700px; margin: 0 auto; }
  .story-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 700px; margin: 0 auto; }

  .tokenomics-cards { flex-direction: column; align-items: center; }
  .tokenomics-card { max-width: 100%; width: 100%; }
  .ca-section-inner { flex-direction: column; text-align: center; padding: 1.5rem 2rem; }
  .ca-character { position: relative; left: auto; bottom: auto; width: 100px; height: 120px; margin: 0 auto; }
  .ca-content { text-align: center; }

  .meme-gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .meme-card { aspect-ratio: 1; }

  .footer-character { width: 120px; 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) {
  .navbar-component { margin-top: .75rem; }
  .navbar-container { padding: .25rem .35rem; }
  .navbar-container.navbar-simple { padding: .35rem .5rem .35rem .8rem; }
  .navbar-logo { font-size: 1.4rem; padding: .5rem .8rem; border-right: none; }
  .navbar-simple .nav-icon-btn { width: 38px; height: 38px; }
  .navbar-simple .nav-icon-btn img { width: 16px; height: 16px; }
  .navbar-simple .nav-icon-btn svg { width: 14px; height: 14px; }

  .section-hero { min-height: 100svh; height: 100svh; }
  .hero-title { font-size: clamp(3rem, 16vw, 5.5rem); }
  .hero-title-content { padding-bottom: 32vh; padding-left: 5%; padding-right: 5%; padding-top: 15vh; }
  .hero-characters { max-width: 420px; }

  .story-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .story-media { grid-template-columns: 1fr; }
  .story-card-inner { padding: 1.25rem 1.5rem; }

  .tokenomics-title { font-size: 2rem; }
  .htb-title { font-size: 2.5rem; }
  .gallery-title { font-size: 2rem; }

  .meme-gallery { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .meme-card { aspect-ratio: 1; }
}

@media screen and (max-width: 479px) {
  .navbar-container { padding: .2rem .3rem; border-radius: 40px; }
  .navbar-container.navbar-simple { padding: .3rem .4rem .3rem .7rem; }
  .navbar-logo { font-size: 1.3rem; padding: .4rem .6rem; }
  .navbar-simple .navbar-logo { font-size: 1.2rem; padding: .3rem .4rem; }
  .navbar-simple .nav-icon-btn { width: 34px; height: 34px; }
  .navbar-simple .nav-icon-btn img { width: 14px; height: 14px; }
  .navbar-simple .nav-icon-btn svg { width: 12px; height: 12px; }
  .navbar-simple .navbar-socials-desktop { gap: 0; }

  .section-hero { min-height: 100svh; height: 100svh; height: -webkit-fill-available; }
  .hero-title { font-size: clamp(2.5rem, 15vw, 4rem); }
  .hero-subtitle { font-size: .85rem; letter-spacing: .3ch; }
  .hero-title-content { padding-bottom: 30vh; padding-left: 4%; padding-right: 4%; padding-top: 18vh; }
  .hero-characters { max-width: 330px; }

  .about-text { font-size: 1rem; }
  .story-title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .story-subtitle { font-size: 1.05rem; }
  .story-text { font-size: .85rem; }

  .tokenomics-title { font-size: 1.6rem; }
  .tokenomics-logo { width: 100px; height: 100px; }
  .ca-address { font-size: .8rem; }
  .chart-embed { height: 300px; }

  .htb-title { font-size: 2rem; }
  .htb-step-num { font-size: 2.5rem; width: auto; }
  .htb-card-inner { padding: 1.5rem; flex-direction: column; text-align: center; }

  .gallery-title { font-size: 1.6rem; }
  .meme-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; padding: 0 0.5rem; }
  .meme-card { aspect-ratio: 1; border-radius: 8px; }

  .footer-character { width: 100px; 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; }
}

@media screen and (max-width: 360px) {
  .hero-title { font-size: clamp(2rem, 14vw, 3rem); }
  .hero-title-content { padding-bottom: 28vh; padding-top: 20vh; }
  .hero-characters { max-width: 270px; }
  .meme-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
  .section-hero { min-height: 100vh; }
  .hero-title { font-size: clamp(2rem, 10vw, 3.5rem); }
  .hero-title-content { padding-bottom: 20vh; padding-top: 15vh; }
  .hero-characters { max-width: 270px; }
}
