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

:root {
  --yellow: #FFD700;
  --yellow-dark: #D4A600;
  --black: #1B2A4A;
  --white: #FFFFFF;
  --sky: #8ECAE6;
  --sky-light: #B8DEFF;
  --gray: #6B7280;
  --red: #EF4444;
  --green: #22C55E;
  --font-pixel: 'Press Start 2P', cursive;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--sky);
  color: var(--black);
  overflow-x: hidden;
}

/* ===== Top Banner ===== */
.top-banner {
  background: var(--yellow);
  padding: 10px 20px;
  overflow: hidden;
  position: relative;
  z-index: 100;
  border-bottom: 6px solid var(--black);
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
}

.sparkle {
  color: var(--black);
  animation: sparkle-pulse 2s ease-in-out infinite;
}

@keyframes sparkle-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3) rotate(15deg); }
}

.banner-badge {
  font-family: var(--font-pixel);
  font-size: 10px;
  background: var(--black);
  color: var(--white);
  padding: 8px 18px;
  letter-spacing: 1px;
  border-radius: 50px;
  border: 2px solid #F5A623;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0px #F5A623;
}

.banner-text {
  color: var(--black);
}

.banner-iw {
  font-family: var(--font-pixel);
  font-size: 10px;
}

.banner-tag {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-pixel);
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 4px;
  animation: blink-tag 1.5s ease-in-out infinite;
}

@keyframes blink-tag {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.banner-link {
  font-family: var(--font-pixel);
  font-size: 9px;
  background: var(--black);
  color: var(--white);
  padding: 8px 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #F5A623;
  border-radius: 50px;
  transform: rotate(1.5deg);
  box-shadow: 3px 3px 0px #F5A623;
}

.banner-link:hover {
  background: var(--white);
  color: #000000;
}

/* ===== Header ===== */
.header {
  background: var(--yellow);
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 6px solid var(--black);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.logo {
  font-family: var(--font-pixel);
  font-size: 18px;
  color: #000000;
  text-decoration: none;
  transition: text-shadow 0.3s ease;
}

.logo:hover {
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

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

.nav-link {
  color: var(--black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--yellow);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-mcap-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 50px;
  padding: 12px 24px;
  transform: rotate(-1.5deg);
  box-shadow: 3px 3px 0px var(--black);
}

.nav-mcap-label {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
}

.nav-mcap-value {
  font-family: var(--font-pixel);
  font-size: 18px;
  color: #000000;
  font-weight: 800;
}

.nav-cta {
  font-family: var(--font-pixel);
  font-size: 13px;
  background: var(--green);
  color: var(--white);
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid var(--black);
  transform: rotate(-1.5deg);
  box-shadow: 3px 3px 0px var(--black);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: rotate(-1.5deg) scale(1.05);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 64px - 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
  background: linear-gradient(180deg, var(--sky-light) 0%, var(--sky) 100%);
  overflow: hidden;
}

/* Clouds */
.cloud {
  position: absolute;
  opacity: 0.9;
  z-index: 1;
}

.cloud svg {
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

.cloud-1 {
  top: 8%;
  left: -5%;
  width: 200px;
  animation: cloud-float-1 60s linear infinite;
}

.cloud-2 {
  top: 15%;
  right: -10%;
  width: 160px;
  animation: cloud-float-2 75s linear infinite;
}

.cloud-3 {
  top: 50%;
  left: 10%;
  width: 120px;
  animation: cloud-float-3 90s linear infinite;
}

@keyframes cloud-float-1 {
  0% { transform: translateX(0); }
  50% { transform: translateX(calc(100vw + 200px)); }
  50.01% { transform: translateX(calc(-200px)); }
  100% { transform: translateX(0); }
}

@keyframes cloud-float-2 {
  0% { transform: translateX(0); }
  50% { transform: translateX(calc(-100vw - 200px)); }
  50.01% { transform: translateX(200px); }
  100% { transform: translateX(0); }
}

@keyframes cloud-float-3 {
  0% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(80px) translateY(-15px); }
  50% { transform: translateX(160px) translateY(0); }
  75% { transform: translateX(80px) translateY(15px); }
  100% { transform: translateX(0) translateY(0); }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-image {
  margin-bottom: 20px;
}

.hero-image img {
  width: 260px;
  height: auto;
}

.episode-badge {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 10px;
  background: var(--yellow);
  color: #000000;
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid var(--black);
  letter-spacing: 1px;
  margin-bottom: 24px;
  transform: rotate(-1.5deg);
  box-shadow: 3px 3px 0px var(--black);
}

.hero-title {
  font-family: var(--font-pixel);
  font-size: clamp(36px, 8vw, 96px);
  white-space: nowrap;
  color: var(--yellow);
  text-shadow:
    4px 4px 0px var(--yellow-dark),
    8px 8px 0px rgba(0,0,0,0.15);
  letter-spacing: 2px;
  padding-left: 2px;
  line-height: 1.1;
  margin-bottom: 100px;
  animation: title-appear 1s ease-out;
}

@keyframes title-appear {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-tagline {
  font-size: 20px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 12px;
}

/* Counter */
.counter {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.counter-number {
  font-family: var(--font-pixel);
  font-size: 28px;
  color: var(--yellow-dark);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
}

.counter-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray);
}

.hero-description {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ===== Progress Bar ===== */
.progress-container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.progress-bar-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.progress-bar {
  position: relative;
  flex: 1;
  height: 52px;
  background: transparent;
  border-radius: 26px;
  overflow: visible;
  border: 3px solid var(--black);
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background:
    repeating-linear-gradient(
      -45deg,
      #22C55E,
      #22C55E 10px,
      rgba(255, 255, 255, 0.3) 10px,
      rgba(255, 255, 255, 0.3) 20px
    );
  border-radius: 23px;
  position: relative;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  box-shadow:
    0 0 20px rgba(34, 197, 94, 0.4),
    0 0 40px rgba(34, 197, 94, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  animation: stripes-move 1s linear infinite, fill-glow 2s ease-in-out infinite;
}

@keyframes stripes-move {
  0% { background-position: 0 0; }
  100% { background-position: 28px 0; }
}

@keyframes fill-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.4), 0 0 40px rgba(34, 197, 94, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.1); }
  50% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.6), 0 0 60px rgba(34, 197, 94, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.1); }
}

.progress-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  border-radius: 23px;
  pointer-events: none;
}

.progress-mcap-marker {
  position: absolute;
  bottom: -34px;
  left: 0%;
  transform: translateX(-50%);
  transition: left 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mcap-marker-value {
  font-family: var(--font-pixel);
  font-size: 13px;
  color: var(--black);
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-goal {
  font-family: var(--font-pixel);
  font-size: 16px;
  color: var(--black);
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Token Address */
.token-address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  margin-top: 80px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 50px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: rotate(-1.5deg);
  box-shadow: 3px 3px 0px var(--black);
}

.token-address:hover {
  transform: rotate(-1.5deg) scale(1.03);
}

.token-address-label {
  font-size: 11px;
  font-weight: 600;
  color: #000000;
}

.token-address-value {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: #000000;
  font-weight: 800;
  user-select: all;
}

.token-copy-btn {
  background: none;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  cursor: pointer;
  color: var(--black);
  padding: 6px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.token-copy-btn:hover {
  transform: scale(1.1);
  border-color: var(--black);
}

.token-copied {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
}

.token-copied.show {
  opacity: 1;
}

/* ===== Token Section ===== */
.token-section {
  background: var(--white);
  border-top: 6px solid var(--black);
  padding: 80px 20px 100px;
  text-align: center;
}

.token-content {
  max-width: 900px;
  margin: 0 auto;
}

.token-title {
  font-family: var(--font-pixel);
  font-size: clamp(28px, 5vw, 48px);
  color: var(--yellow);
  text-shadow:
    3px 3px 0px var(--yellow-dark),
    6px 6px 0px rgba(0,0,0,0.1);
  margin-bottom: 12px;
  font-style: italic;
}

.token-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 40px;
}

.token-chart-container {
  background: var(--black);
  border: 3px solid var(--black);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 6px 6px 0px var(--black);
  margin-bottom: 30px;
}

.token-chart-inner {
  width: 100%;
  height: 450px;
}

.token-chart-inner iframe {
  width: 100%;
  height: 100%;
}

#dexscreener-embed {
  width: 100%;
  height: 100%;
}

.token-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.token-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-pixel);
  font-size: 12px;
  background: var(--black);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--yellow);
  box-shadow: 3px 3px 0px var(--yellow);
  transition: all 0.3s ease;
  transform: rotate(-1deg);
}

.token-link-btn:nth-child(2) {
  transform: rotate(1deg);
}

.token-link-btn:hover {
  transform: translateY(-3px) rotate(0deg);
  box-shadow: 5px 5px 0px var(--yellow);
}

/* ===== Community Section ===== */
.community-section {
  border-top: 6px solid var(--black);
  background: var(--sky-light);
  padding: 160px 20px 200px;
  text-align: center;
}

.community-content {
  max-width: 900px;
  margin: 0 auto;
}

.community-title {
  font-family: var(--font-pixel);
  font-size: clamp(28px, 5vw, 48px);
  color: var(--yellow);
  text-shadow:
    3px 3px 0px var(--yellow-dark),
    6px 6px 0px rgba(0,0,0,0.1);
  margin-bottom: 12px;
  font-style: italic;
}

.community-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 50px;
}

.community-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.community-card {
  text-decoration: none;
  color: inherit;
  flex: 0 1 260px;
}

.community-card-inner {
  background: #FFF9E0;
  border: 3px solid var(--black);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 5px 5px 0px var(--black);
  transition: all 0.3s ease;
}

.community-card-inner:hover {
  transform: translateY(-6px);
  box-shadow: 7px 7px 0px var(--black);
}

.community-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--yellow);
  border: 2px solid #000000;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 2px 2px 0px #000000;
}

.community-icon {
  font-size: 28px;
}

.community-card-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 6px;
}

.community-card-desc {
  font-size: 14px;
  color: var(--gray);
  font-weight: 600;
}

/* ===== Story Section ===== */
.story-section {
  border-top: 6px solid var(--black);
  background: var(--white);
  padding: 80px 20px 100px;
  text-align: center;
}

.story-content {
  max-width: 750px;
  margin: 0 auto;
}

.story-top-badge {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 10px;
  background: var(--black);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.story-main-title {
  font-family: var(--font-pixel);
  font-size: clamp(32px, 6vw, 56px);
  color: var(--yellow);
  text-shadow:
    3px 3px 0px var(--yellow-dark),
    6px 6px 0px rgba(0,0,0,0.1);
  margin-bottom: 12px;
  font-style: italic;
}

.story-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 60px;
}

.story-chapters {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.story-card {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.story-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.story-chapter-badge {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 9px;
  background: var(--yellow);
  color: #000000;
  padding: 6px 16px;
  border-radius: 50px;
  border: 2px solid #000000;
  position: relative;
  z-index: 2;
  margin-bottom: -14px;
  letter-spacing: 1px;
}

.story-card-inner {
  background: #FFF9E0;
  border: 3px solid var(--black);
  border-radius: 20px;
  padding: 40px 36px 30px;
  text-align: left;
  box-shadow: 5px 5px 0px var(--black);
  transition: all 0.3s ease;
}

.story-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 7px 7px 0px var(--black);
}

.story-card-title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 16px;
}

.story-card-text {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 12px;
}

.story-highlight {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--yellow-dark);
  text-decoration: line-through;
  text-decoration-color: var(--red);
}

.story-underline {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.story-price {
  font-family: var(--font-pixel);
  font-size: 14px;
  color: #000000;
}

.story-quote {
  background: rgba(255, 215, 0, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  color: #000000;
  margin-top: 8px;
}

/* ===== News Section ===== */
.news-section {
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-light) 100%);
  padding: 80px 20px 100px;
  text-align: center;
}

.news-content {
  max-width: 700px;
  margin: 0 auto;
}

.news-title-badge {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: clamp(18px, 4vw, 32px);
  white-space: nowrap;
  background: var(--yellow);
  color: #000000;
  padding: 16px 40px;
  border-radius: 50px;
  border: 3px solid #000000;
  box-shadow: 4px 4px 0px #000000;
  transform: rotate(-1deg);
  margin-bottom: 16px;
}

.news-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 40px;
}

.news-tweet-container {
  background: #FFF9E0;
  border: 3px solid var(--black);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 6px 6px 0px var(--black);
  transform: rotate(0.5deg);
  transition: transform 0.3s ease;
}

.news-tweet-container:hover {
  transform: rotate(0deg) scale(1.01);
}

.news-tweet-inner {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  min-height: 200px;
}

/* ===== Footer ===== */
.footer {
  background: #0D1B2A;
  padding: 80px 40px 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-pixel);
  font-size: 18px;
  color: var(--yellow);
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--yellow);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 40px;
}

.footer-bottom {
  text-align: center;
}

.footer-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-credit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-credit-link:hover {
  color: var(--yellow);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header {
    padding: 0 20px;
  }

  .banner-content {
    font-size: 11px;
    gap: 8px;
  }

  .hero {
    padding: 40px 16px 60px;
  }

  .hero-title {
    letter-spacing: 4px;
  }

  .counter {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .pokemon-card {
    width: 240px;
  }
}
