/* ===================== RESET & ROOT ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }



:root {
  --neon: #C6FF00;
  --green-glow: #9BFF00;
  --pink: #FF2CA3;
  --black: #000000;
  --dark: #111111;
  --border: #333333;
  --text: #E0E0E0;
}

html { scroll-behavior: smooth; }

body {
  background: #000;
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  overflow-x: hidden;
}

/* ===================== INTRO OVERLAY ===================== */
#intro {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}

#intro-hint {
  position: absolute;
  bottom: 40px;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--neon);
  letter-spacing: 3px;
  animation: blink 1.2s infinite;
  text-transform: uppercase;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* POS shaking */
#pos-wrap {
  position: relative;
  width: 340px;
  animation: posShake 0.18s infinite;
}

@keyframes posShake {
  0%   { transform: translate(0,0) rotate(-1deg); }
  25%  { transform: translate(-4px, 2px) rotate(1deg); }
  50%  { transform: translate(3px, -3px) rotate(-0.5deg); }
  75%  { transform: translate(-2px, 3px) rotate(1.5deg); }
  100% { transform: translate(0,0) rotate(-1deg); }
}

#pos-wrap.still { animation: none; }

#pos-img {
  position: relative;
  width: 100%;
  display: block;
  filter: drop-shadow(0 0 24px rgba(198,255,0,0.3));
  transition: filter 0.3s;
}

#error-img {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw; 
  height: 100vh;
  /* Optional: prevents the image from distorting */
  object-fit: contain;
  transform: translate(-50%, -50%);
  z-index: 9999; /* Keeps it on top of other content if needed */
  filter: drop-shadow(0 0 24px rgba(198,255,0,0.3));
  transition: filter 0.3s;
  display: none;
}



/* Card swipe animation */
#card-img {
  position: absolute;
  width: 200px;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%) translateY(120px) rotate(8deg);
  opacity: 0;
  transition: none;
  filter: drop-shadow(0 0 16px rgba(198,255,0,0.5));
  z-index: 10;
}

#card-img.swipe-in {
  animation: cardSwipe 0.6s ease-out forwards;
}



@keyframes cardSwipe {
  0%   { opacity:0; transform: translateX(-200%) translateY(80px) rotate(-12deg); }
  60%  { opacity:1; transform: translateX(-50%) translateY(-10px) rotate(4deg); }
  100% { opacity:1; transform: translateX(-50%) translateY(0px) rotate(0deg); }
}

/* Glitch overlay */
#glitch-overlay {
  position: absolute;
  inset: 0;
  /*background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(198,255,0,0.04) 2px,
    rgba(198,255,0,0.04) 4px
  );*/
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

/* Status text on POS screen */
#pos-status {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-48%);
  width: 55%;
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 15px;
  line-height: 1.3;
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 30;
  text-shadow: 0 0 10px var(--neon);
}

#pos-status.declined {
  color: var(--pink);
  text-shadow: 0 0 10px var(--pink);
  animation: statusGlitch 0.1s infinite;
}

#pos-status.approved {
  color: var(--neon);
  text-shadow: 0 0 20px var(--neon), 0 0 40px var(--neon);
  animation: none;
}

@keyframes statusGlitch {
  0%   { transform: translateX(-48%) skewX(0deg); }
  33%  { transform: translateX(-50%) skewX(-2deg); }
  66%  { transform: translateX(-46%) skewX(1deg); }
  100% { transform: translateX(-48%) skewX(0deg); }
}


/* Page reveal */
#main-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}

#main-content.revealed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* ===================== RAIN BACKGROUND ===================== */
#rain-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

#rain-canvas.visible { opacity: 1; }

/* ===================== NAV ===================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: clamp(200px, 50vw, 260px);
  height: auto; /* Fixed height, or another clamp() function! */
  object-fit: cover; /* Crops cleanly instead of squishing the image */
}


.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s ease-in-out;
 /* Add padding to the bottom to create a nice gap for the line */
  padding-bottom: 6px; 
  /* Create a transparent border so the text doesn't "jump" when the line appears */
  border-bottom: 2px solid transparent;
}

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

/* Hide checkbox — it's only a state toggle */
.mobile-menu-checkbox {
  display: none;
}

/* Hide hamburger and dropdown on desktop */
.hamburger {
  display: none;
}

.mobile-dropdown {
  display: none;
}

/* ===================== BUTTONS ===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 40px;
  background-image: url('images/Button_Green_Normal_1200x240_plain.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  box-shadow: none;
  color: var(--neon);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;

}

.btn-primary:hover {
  background-image: url('images/Button_Green_Hover_1200x240_plain.png');
  filter: brightness(1.2) drop-shadow(0 0 12px rgba(198,255,0,0.8));
  animation: btnGlitch 0.2s steps(1) 2;
  box-shadow: none;
}



@keyframes btnGlitch {
  0%   { transform: translateX(0); }
  33%  { transform: translateX(2px); }
  66%  { transform: translateX(-1px); }
  100% { transform: translateX(0); }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 40px;
  background-image: url('images/Button_Pink_Normal_1200x240_plain.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  box-shadow: none;
  color: var(--pink);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.btn-secondary:hover {
  background-image: url('images/Button_Pink_Hover_1200x240_plain.png');
  filter: brightness(1.2) drop-shadow(0 0 12px rgba(255,44,163,0.7));
  animation: btnGlitch 0.2s steps(1) 2;
  box-shadow: none;
}

.btn-utility {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 40px;
  background-image: url('images/Button_White_Normal_1200x240_plain.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  box-shadow: none;
  color: var(--text);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.btn-utility:hover {
  background-image: url('images/Button_White_Hover_1200x240_plain.png');
  filter: brightness(1.2) drop-shadow(0 0 12px rgba(224,224,224,0.7));
  animation: btnGlitch 0.2s steps(1) 2;
  box-shadow: none;
}

.btn-nav {
  display: none;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  background: #000;
  border: 1.5px solid var(--neon);
  border-radius: 0px;
  color: var(--neon);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(198,255,0,0.3);
  transition: box-shadow 0.2s;
}

.btn-nav:hover {
  box-shadow: 0 0 20px rgba(198,255,0,0.6);
}


#top_telegram_logo{
  color:  var(--neon); 
  font-size: 24px; /* Changes size like a font */
  vertical-align: middle; /* Aligns it nicely with text */
}

#second_telegram_logo{
  color:  var(--pink); 
  font-size: 24px; /* Changes size like a font */
  vertical-align: middle; /* Aligns it nicely with text */
}

.the-join-logo{
  color:  var(--neon); 
  font-size: 24px; /* Changes size like a font */
  vertical-align: middle; /* Aligns it nicely with text */
}
.the-chart-logo{
  color:  var(--text); 
  font-size: 24px; /* Changes size like a font */
  vertical-align: middle; /* Aligns it nicely with text */
}



/* ===================== HERO ===================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 60px 80px;
  z-index: 1;
}

.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;

}

.hero-left {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}


.hero-pos-img {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 0 40px rgba(198,255,0,0.2));
}

.hero-card-img {
  position: absolute;
  width: 260px;
  bottom: -20px;
  right: -20px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 0 20px rgba(198,255,0,0.4));
  animation: heroCardFloat 3s ease-in-out infinite;
}

@keyframes heroCardFloat {
  0%,100% { transform: rotate(-8deg) translateY(0); }
  50%      { transform: rotate(-8deg) translateY(-12px); }
}

.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 8vw, 110px);
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 0 40px rgba(198,255,0,0.15);
  margin-bottom: 8px;
}

.hero-headline .neon { color: rgba(198,255,0,1);  }

.hero-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.hero-sub .pink { color: var(--pink); }
.hero-sub .white { color: var(--text); }

.hero-tagline {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.scroll-cue-text {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}


.scroll-cue-arrow {
  font-size: 22px;
  color: var(--neon);
  text-shadow: 0 0 10px rgba(198,255,0,0.7);
  animation: scrollCueBounce 1.6s ease-in-out infinite;
}

@keyframes scrollCueBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.5; }
}



/* ===================== TICKER ===================== */
.ticker-wrap {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--neon);
  border-bottom: 1px solid var(--neon);
  overflow: hidden;
  padding: 12px 0;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 20s linear infinite;
  width: max-content;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon);
  white-space: nowrap;
}

.ticker-item .dot {
  width: 6px; height: 6px;
  background: var(--pink);
  border-radius: 50%;
  display: inline-block;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================== SECTIONS ===================== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  color: #fff;
  line-height: 0.95;
  margin-bottom: 32px;
}

.section-title .neon { color: var(--neon); }

/* ===================== WHAT IS ===================== */

/* about */
/* Container styling for the entire feature section block */
.features-section {
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Forces dividers to match the card heights automatically */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Base style for every single feature block column */
.feature-card {
    flex: 1; /* Distributes width 100% equally across all 4 items */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
    font-family: sans-serif; /* Replace with your primary body font */
}

/* Icon Container & Custom Neon Glow Effect */
.feature-icon {
    font-size: 48px; /* Big display size for the graphics */
    margin-bottom: 20px;
    color: #C6FF00;
    
    /* Perfect CSS glow styling matching your brand */
    filter: drop-shadow(0 0 8px rgba(198, 255, 0, 0.6));
}


/* Typography styles matching the image hierarchy */
.feature-title {
    font-family: 'Impact', 'Permanent Marker', sans-serif; /* Bold grunge title look */
    text-transform: uppercase;
    font-size: 22px;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
}

.feature-desc {
    color: #aaaaaa; /* Slightly faded white for readability */
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.5px;
    margin: 0;
}

/* The vertical white grunge divider bars */
.vertical-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.3) 80%, transparent);
    margin: 0 10px;
}



/* ===================== CAROUSEL ===================== */
.carousel-section {
  position: relative;
  z-index: 1;
  padding: 60px 0 40px;
  
}


/* Header: 3-column layout */
.carousel-header {
  display: grid;
  grid-template-columns: 140px 1fr 100px;
  align-items: start;
  padding: 0 48px;
  margin-bottom: 10px;
  gap: 16px;
}

/* Scroll hint — top left */
.carousel-scroll-hint {
  display: flex;
  gap: 6px;
  padding-top: 4px;
}

.carousel-scroll-hint span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  line-height: 1.2;
  color: var(--pink);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Center title block */
.carousel-title-block {
  text-align: center;
}

.carousel-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.carousel-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 4vw, 32px);
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
  font-style: italic;
}

.carousel-subtitle {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: none;
  
}

/* Arrow buttons — top right */
.carousel-arrows {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 4px;
}

.carousel-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--neon);
  background: #000;
  color: var(--neon);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px rgba(198,255,0,0.2);
  padding: 0 0 2px 0;
}

.carousel-arrow:hover {
  background: rgba(198,255,0,0.1);
  box-shadow: 0 0 18px rgba(198,255,0,0.5);
}

/* --- Track --- */
.carousel-track-wrap {
  overflow: hidden;
  position: relative;
  cursor: grab;
  user-select: none;
}

.carousel-track-wrap:active { cursor: grabbing; }

.carousel-track {
  display: flex;
  gap: 24px;
  padding: 12px 48px 24px;
  animation: carouselScroll 36s linear infinite;
  width: max-content;
}

.carousel-track.paused {
  animation-play-state: paused;
}

/* Only pause on hover for devices that actually support hover (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
  .carousel-track:hover {
    animation-play-state: paused;
  }
}
@keyframes carouselScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



/* Card wraps everything  frame + photo + bottom text all inside */
.char-card {
  flex-shrink: 0;
  width:  210px;
  cursor: pointer;
  transition: transform 0.25s ease;
  position: relative;
}

/* the lift/scale effect) only available for devices with mouses and pointers */
@media (hover: hover) and (pointer: fine) {
  .char-card:hover {
    transform: translateY(-8px) scale(1.03);
  }
}

/* on card hover swap them */
.char-card:hover .card__frame--normal {
  opacity: 0;
}

.char-card:hover .card__frame--hover {
  opacity: 1;
}




/* Inner is now the full card height — no separate bottom bar outside */
.card__inner {
  position: relative;
  width: 210px;
  height: 310px;
  border-radius: 12px;
  overflow: hidden;
  
}


/* Character photo fills the top portion */
.card__photo {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  height: calc(100% - 65px - 8px);  /* same value as card__bottom height */
  object-fit: cover;
  object-position: top center;
  display: block;
  z-index: 1;
  border-radius: 10px 10px 0 0;  /* only top-left and top-right rounded */
}


/* Frame PNG sits on top of everything */
.card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  z-index: 2;
  pointer-events: none;
}

/* normal frame visible by default */
.card__frame--normal {
  opacity: 1;
  transition: opacity 0.25s ease;
}

/* hover frame hidden by default */
.card__frame--hover {
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Bottom text — single centered caption */
.card__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;          /* match this to your frame's black bar height */
  display: flex;
  align-items: center;
  padding: 4px 12px;
  z-index: 3;
  overflow: hidden;       /* safety net so text never spills outside the frame */
}

.card__caption {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(9px, 3.2vw, 16px);
  letter-spacing: 1px;
  color: var(--white);
  text-transform: uppercase;
  text-align: left;
  line-height: 1.2;

  /* clamp to max 2 lines, then ellipsis if it's still too long */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__accent      { color: var(--neon); }
.card__accent-pink { color: var(--pink);}



/* Bottom hint */
.carousel-bottom-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

/* Neon progress bar under track */
.carousel-track-wrap::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), var(--pink), transparent);
  margin: 0 48px;
  opacity: 0.35;
}


/* ===================== HOW IT WORKS ===================== */
.hiw-section {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.hiw-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Steps row */
.hiw-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Arrow between cards */
.hiw-arrow {
  font-size: 28px;
  color: var(--neon);
  flex-shrink: 0;
  text-shadow: 0 0 10px rgba(198,255,0,0.6);
  margin-bottom: 12px;    /* slight optical alignment with card center */
}

.hiw-arrow i {
  font-size: 24px;
  color: var(--neon);
  text-shadow: 0 0 10px rgba(198,255,0,0.6);
}

/* Card wrapper — frame image is the visual container */
.hiw-card {
  position: relative;
  flex: 1;
  max-width: 220px;
  aspect-ratio: 620 / 420; /* matches the PNG dimensions */
}

/* Frame PNG fills the card */
.hiw-card-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
  z-index: 1;
}

/* Content sits on top of the frame */
.hiw-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* Top part — above the divider line in the PNG */
/* The PNG line sits at roughly 30% from the top */
.hiw-card-top {
  height: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  margin-top: 10px;
}

.hiw-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--pink);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

/* Bottom part — below the divider line */
.hiw-card-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
}

.hiw-card-body {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.5px;
}





/* ===================== LIVE CHART ===================== */
.chart-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.chart-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Header row */
.chart-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.chart-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
}

/* Live badge */
.chart-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--neon);
  text-transform: uppercase;
}

.chart-badge-dot {
  width: 8px;
  height: 8px;
  background: #39ff14;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(57,255,20,0.6); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 6px rgba(57,255,20,0); }
}

/* Chart iframe wrapper */
.chart-embed-wrap {
  position: relative;
  width: 100%;
  height: 500px;
  border: 1px solid rgba(198,255,0,0.2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(198,255,0,0.06),
              inset 0 0 0 1px rgba(198,255,0,0.05);
}

#dexscreener-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

/* Stats row */
.chart-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: rgba(198,255,0,0.1);
  border: 1px solid rgba(198,255,0,0.1);
  border-top: none;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.chart-stat {
  background: #0a0a0a;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chart-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

.chart-stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
}


/* ===================== ROADMAP ===================== */
.roadmap-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.roadmap-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  align-items: stretch;
}

/* Card base */
.roadmap-card {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0; /* FIXES GRID BLOWOUT: Allows the card to shrink cleanly */
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}


.roadmap-card:hover {
  transform: translateY(-4px);
}

/* Top accent line */
.roadmap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: background 0.3s;
}

/* done state */
.roadmap-card.done {
  border-color: rgba(198,255,0,0.2);
}

.roadmap-card.done::before {
  background: var(--neon);
}

.roadmap-card.done:hover {
  border-color: rgba(198,255,0,0.5);
  box-shadow: 0 0 24px rgba(198,255,0,0.08);
}

/* active / in progress state */
.roadmap-card.active {
  border-color: rgba(255,44,163,0.3);
  box-shadow: 0 0 30px rgba(255,44,163,0.08);
}

.roadmap-card.active::before {
  background: var(--pink);
  animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.roadmap-card.active:hover {
  border-color: rgba(255,44,163,0.6);
  box-shadow: 0 0 40px rgba(255,44,163,0.15);
}

/* tbd state */
.roadmap-card.tbd {
  border-color: rgba(255,255,255,0.06);
  opacity: 0.6;
}

.roadmap-card.tbd::before {
  background: rgba(255,255,255,0.15);
}

/* Card top row — phase label + status badge */
.roadmap-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.roadmap-phase {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}

/* Status badges */
.roadmap-status {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.done-badge {
  color: var(--neon);
  border: 1px solid rgba(198,255,0,0.3);
  background: rgba(198,255,0,0.06);
}

.active-badge {
  color: var(--pink);
  border: 1px solid rgba(255,44,163,0.4);
  background: rgba(255,44,163,0.08);
  animation: activePulse 2s ease-in-out infinite;
}

.pending-badge {
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}

.tbd-badge {
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Card title */
.roadmap-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
  white-space: normal;       /* Forces standard text wrapping */
  overflow-wrap: break-word; /* Breaks long words safely if they exceed card boundaries */
}

.roadmap-card.done  .roadmap-card-title { color:rgba(198,255,0,0.8); }
.roadmap-card.active .roadmap-card-title { color: #fff; }
.roadmap-card.tbd   .roadmap-card-title { color: rgba(255,255,255,0.4); }

/* Card description */
.roadmap-card-desc {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  letter-spacing: 0.5px;
  flex: 1;
}

/* Timeline progress bar */
.roadmap-timeline {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}

/* The progress bar at the bottom fills to 50% since phases 01 and 02 are done
 and 03 is in progress , adjust the width value in .roadmap-timeline-fill 
 whenever a new phase completes.
 */

.roadmap-timeline-fill {
  height: 100%;
  width: 50%;           /* 2.5 out of 5 phases done = 50% — adjust as needed */
  background: linear-gradient(90deg, var(--neon), var(--pink));
  border-radius: 2px;
  position: relative;
}

/* Glowing tip on the progress fill */
.roadmap-timeline-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--pink), 0 0 20px var(--pink);
  animation: activePulse 1.5s ease-in-out infinite;
}


/* ===================== BUY / SOCIAL ===================== */
.buy-section {
  position: relative;
  z-index: 1;
  padding: 50px 60px;
  text-align: center;
}

.buy-inner { max-width: 700px; margin: 0 auto; }

.buy-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}

.social-link:hover { border-color: var(--neon); color: var(--neon); }

/* Contract address */
.ca-box {
  margin: 40px auto;
  max-width: 560px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ca-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ca-value {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--neon);
  letter-spacing: 1px;
  word-break: break-all;
}

.ca-copy {
  background: none;
  border: 1px solid var(--neon);
  border-radius: 4px;
  color: var(--neon);
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 8px 14px;
  cursor: pointer;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: background 0.2s;
}

.ca-copy:hover { background: rgba(198,255,0,0.1); }


/* ===================== DISCLAIMER ===================== */
.disclaimer {
  position: relative;
  z-index: 1;
  padding: 40px 60px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.disclaimer p {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  line-height: 1.8;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

/* ===================== FOOTER ===================== */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img { 
  width: clamp(150px, 50vw, 200px);
  height: auto; /* Fixed height, or another clamp() function! */
  object-fit: cover; /* Crops cleanly instead of squishing the image */ }


.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===================== DIVIDER ===================== */
.divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================== GLITCH TEXT ===================== */
.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  opacity: 0.6;
}

.glitch-text::before {
  color: var(--pink);
  animation: glitchBefore 4s infinite;
  clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
}

.glitch-text::after {
  color: var(--neon);
  animation: glitchAfter 4s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 75%, 0 75%);
}

@keyframes glitchBefore {
  0%,94%,100% { transform: none; opacity: 0; }
  95% { transform: translateX(-3px); opacity: 0.6; }
  96% { transform: translateX(3px); opacity: 0.4; }
  97% { transform: none; opacity: 0; }
}

@keyframes glitchAfter {
  0%,91%,100% { transform: none; opacity: 0; }
  92% { transform: translateX(3px); opacity: 0.6; }
  93% { transform: translateX(-2px); opacity: 0.4; }
  94% { transform: none; opacity: 0; }
}

/* ===================== SCROLL LINE ===================== */
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--neon), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.3; height: 40px; }
  50% { opacity: 1; height: 60px; }
}


/* ===================== DIVIDER TITLE ===================== */
.divider-titled {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.divider-line {
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  
  mask-image: repeating-linear-gradient(
    90deg,
    black 0px, black 6px,
    transparent 6px, transparent 8px,
    black 8px, black 18px,
    transparent 18px, transparent 20px
  );
  -webkit-mask-image: repeating-linear-gradient(
    90deg,
    black 0px, black 6px,
    transparent 6px, transparent 8px,
    black 8px, black 18px,
    transparent 18px, transparent 20px
  );
  box-shadow: 0 0 8px rgba(198,255,0,0.4);
}

.divider-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 3vw, 38px);
  font-style: italic;
  color: #fff;
  letter-spacing: 5px;
  white-space: nowrap;
  text-transform: uppercase;
  flex-shrink: 0;
  text-shadow: 0 0 20px rgba(198,255,0,0.2);

}

/* ===================== BACK TO TOP BUTTON ===================== */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: #000;
  border: 2px solid var(--neon);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(198,255,0,0.3),
              inset 0 0 8px rgba(198,255,0,0.05);

  /* hidden by default */
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 0 24px rgba(198,255,0,0.7),
              inset 0 0 12px rgba(198,255,0,0.1);
  transform: translateY(-3px);
}

.back-to-top svg {
  filter: drop-shadow(0 0 4px rgba(198,255,0,0.6));
}



/* ===================== RESPONSIVE ===================== */

/* TABLET & SMALL DESKTOP (max-width: 1024px) */
@media (max-width: 1023px) {


  /* Navbar */
  /* nav { padding: 14px 20px; } */
  

  /* 1. YOUR ALIGNMENT FIX (Now works for all screens 1024px and below) */
  
  .nav-logo {
    margin-left: -30px;
    transform: translateY(-18px) !important; /* Adjusted slightly to match the tighter 16px padding */
  }
  .nav-logo img {
    margin-left: -30px;
  }

  /* 2. Hide desktop navigation links and show hamburger */
  .nav-links, 
  .btn-nav, 
  .mobile-menu-checkbox { 
    display: none; 
  }
  
  .hamburger {
    display: flex; /* Activates the hamburger at 1024px */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 6px;
    border: 1.5px solid var(--neon);
    border-radius: 6px;
    z-index: 1100;
    margin-bottom: auto;
    margin-right: -25px;
    position: relative;
  }

  .hamburger span {
    display: block; width: 100%; height: 2px;
    background: var(--neon); border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease; transform-origin: center;
  }
  

  /* 3. Mobile Dropdown Menu settings */
  .mobile-dropdown {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(198,255,0,0.2);
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    z-index: 999;
  }

  /* Hamburger Animation */
  .mobile-menu-checkbox:checked + .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-checkbox:checked + .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .mobile-menu-checkbox:checked + .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Reveal menu when checkbox is checked */
  .mobile-menu-checkbox:checked ~ .mobile-dropdown { max-height: calc(100vh - 65px); padding: 24px 24px 0; }
  .mobile-dropdown ul { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
  .mobile-dropdown ul li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .mobile-dropdown ul li a {
    display: block; padding: 16px 0; font-family: 'Bebas Neue', sans-serif; font-size: 28px;
    letter-spacing: 3px; color: #fff; text-decoration: none; text-transform: uppercase;
    transition: color 0.2s, padding-left 0.2s;
  }
  /*.mobile-dropdown ul li a:hover { color: var(--neon); padding-left: 8px; }*/


    /* How It Works Grid */
  .hiw-inner { padding: 0 24px; }
  .hiw-steps { flex-wrap: wrap; gap: 20px; }
  .hiw-arrow { display: none; }
  .hiw-card { max-width: 45%; flex: 0 0 45%; }
  .hiw-card-title {font-size: 24px;}
  .hiw-card-body {font-size: 22px;}

}

/* MOBILE (max-width: 768px) */
@media (max-width: 768px) {

  .nav-logo {
    margin-left: -30px;
    transform: translateY(-6px) !important; /* Adjusted slightly to match the tighter 16px padding */
  }


  /* Hero Adjustments */
  #hero { padding: 100px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-pos-img { max-width: 300px; }
  .hero-card-img { width: 160px; right: calc(100vw / 2 - 200px); bottom: -10px; }
  
  .scroll-cue { padding-top: 30px; padding-bottom: 30px; justify-content: center; }
  .scroll-cue-text { font-size: 12px; }
  .scroll-cue-arrow { font-size: 18px; }
  #pos-wrap { width: 280px; }

  /* Section Containers */
  .section { padding: 60px 24px; }

  /* Features / About (Stack vertically) */
  .features-section { flex-direction: column; align-items: center; gap: 40px; }
  .feature-card { flex: 1 1 100%; width: 100%; }


  /* divider titled */

  .divider-titled {
    padding: 0 16px;        /* Reduces desktop 40px padding so lines have room to show */
    gap: 8px;               /* Tightens the 20px gap between lines, text, and smileys */
    justify-content: center;/* Ensures everything stays mathematically centered */
    width: 100%;            /* Force it to span the viewport width constraints cleanly */
  }

  .divider-label {
    font-size: 20px;        /* Scales down the huge text slightly so it doesn't clip */
    letter-spacing: 2px;    /* Pulls tracking closer together for mobile layout */
  }

  .divider-titled .carousel-smiley img {
    width: 18px !important;  /* Scales down icons slightly to give the decorative lines breathing room */
    height: 18px !important;
  }

  /* Carousel Adjustments */
  .carousel-header { display: none; }
  .carousel-track { padding: 12px 24px 24px; }
  .carousel-track-wrap::after { margin: 0 24px; }
  .char-card    { width: 160px; }
  .card__inner  { width: 160px; height: 236px; }
  .card__bottom { height: 50px; padding: 3px 8px; }
 
   
   /* How It Works - Stack completely on small screens */
  .hiw-card-title {font-size: clamp(16px,5vw,24px);}
  .hiw-card-body {font-size: clamp(14px,5vw,18px);}


  /* Live Chart */
  .chart-inner { padding: 0 24px; }
  .chart-header { flex-direction: column; align-items: flex-start; }
  .chart-embed-wrap { height: 360px; }
  .chart-meta { flex-wrap: wrap; }

  /* Roadmap */
  .roadmap-section { padding: 60px 24px; }
  .roadmap-inner { padding: 0 24px; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 16px; }
  .roadmap-card { padding: 20px 16px; }

  /* Buy / Socials / Footer */
  .buy-section { padding: 60px 24px; }
  .buy-btns { flex-direction: column; align-items: center; }
  .disclaimer { padding: 40px 24px; }
  footer { padding: 24px; flex-direction: column; gap: 12px; text-align: center; }
  
  /* Back to Top Button */
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* SMALL MOBILE (max-width: 480px) */
@media (max-width: 480px) {
  /* Hero Resizing */
  .hero-pos-img { max-width: 240px; }
  .hero-card-img { width: 130px;right: calc(100vw / 2 - 170px); bottom: -10px; }
  

  /* How It Works - Stack completely on small screens */
  .hiw-card { max-width: 70%; flex: 0 0 100%; } 


  /* Chart Stats - Stack vertically */
  .chart-stats { grid-template-columns: 1fr; }
  
  /* Buy Box - Let the contract address drop down cleanly */
  .ca-box { flex-direction: column; text-align: center; gap: 12px; padding: 16px; }
  .ca-copy { width: 100%; }

  .char-card    { width: 130px; }
  .card__inner  { width: 130px; height: 192px; }
  .card__bottom { height: 42px; padding: 3px 6px; }

}

/* Screens like Surface*/
@media (max-width: 992px) {
  .section-title { font-size: 52px; }
  .about-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .about-left { max-width: 500px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; max-width: 550px; }

  /* FIX FOR 912px VIEWPORTS: Drops roadmap to 1 clean centered column */
  .roadmap-grid { 
    grid-template-columns: 1fr; 
    max-width: 550px; 
    margin: 40px auto 0; 
  }
}

/* large screens */

@media (min-width: 1110px) {
    .btn-nav {
        display: inline-flex; /* Restores the button layout on large screens */
    }

    /* ROADMAP */
    .roadmap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* solving the iphone title stuck under nav problem*/
@media screen and (min-width: 769px) and (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; gap: 40px; }
      .hero-card-img { right: calc(100vw / 2 - 350px); bottom: -10px; }
}



