@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Bungee+Shade&family=Comic+Neue:wght@400;700&family=Permanent+Marker&family=Courier+New&family=Impact&display=swap');

:root {
  --base: #FFFFFF;
  --black: #000000;
  --accent1: #9945FF; /* Solana Purple */
  --accent2: #14F195; /* Solana Green */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Comic Neue', cursive;
  background-color: var(--base);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

/* UTILITY CLASSES */
.brut-card {
  background: var(--base);
  border: 6px solid var(--black);
  box-shadow: 8px 8px 0 var(--black);
  padding: 24px;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  border-radius: 0;
}
.brut-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--black);
}

.brut-btn {
  display: inline-block;
  padding: 16px 32px;
  border: 4px solid var(--black);
  box-shadow: 6px 6px 0 var(--black);
  font-family: 'Bungee', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  text-decoration: none;
  color: var(--black);
  background: var(--accent1);
  border-radius: 0;
  text-align: center;
}
.brut-btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--black);
}
.brut-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--black);
}

.speech-bubble {
  position: relative;
  background: var(--base);
  border: 4px solid var(--black);
  border-radius: 8px;
  padding: 12px 20px;
  font-family: 'Permanent Marker', cursive;
  font-size: 18px;
  display: inline-block;
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 30px;
  border: 10px solid transparent;
  border-top-color: var(--black);
}
.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 32px;
  border: 8px solid transparent;
  border-top-color: var(--base);
  z-index: 1;
}

.halftone-bg {
  position: relative;
}
.halftone-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--black) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.ripped-edge {
  clip-path: polygon(
    0 0, 100% 0, 100% 82%,
    97% 95%, 93% 80%, 88% 100%,
    82% 82%, 76% 98%, 70% 80%,
    62% 100%, 55% 82%, 47% 100%,
    40% 80%, 33% 96%, 27% 80%,
    20% 100%, 13% 82%, 7% 98%,
    0 80%
  );
  padding-bottom: 80px;
}

.tape-label {
  display: inline-block;
  background: #FFFF00;
  border: 2px solid rgba(0,0,0,0.25);
  padding: 4px 14px;
  font-family: 'Permanent Marker', cursive;
  transform: rotate(-2deg);
  font-size: 14px;
  color: var(--black);
}

/* ANIMATIONS */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-20px); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-5deg); }
  50%       { transform: rotate(5deg); }
}
@keyframes bounce-in {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@keyframes glitch {
  0%   { text-shadow: 4px 0 var(--accent1), -4px 0 var(--accent2); }
  25%  { text-shadow: -4px 0 var(--accent1), 4px 0 var(--accent2); }
  50%  { text-shadow: 4px 2px var(--accent1), -4px -2px var(--accent2); }
  75%  { text-shadow: 0 0 var(--accent1), 0 0 var(--accent2); }
  100% { text-shadow: 4px 0 var(--accent1), -4px 0 var(--accent2); }
}
@keyframes coin-fall {
  0%   { transform: translateY(-100px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}
@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent2); }
  50%       { box-shadow: 0 0 0 12px transparent; }
}
@keyframes press {
  0%   { transform: translate(0,0); box-shadow: 6px 6px 0 var(--black); }
  100% { transform: translate(4px,4px); box-shadow: 2px 2px 0 var(--black); }
}

.glitch-text { animation: glitch 0.3s steps(1) infinite; }
.mascot-float { animation: float 3s ease-in-out infinite; }
.mascot-wiggle { animation: wiggle 0.5s ease-in-out infinite; }
.bounce-in { animation: bounce-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

.scroll-bounce {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.scroll-bounce.visible {
  opacity: 1;
  transform: translateY(0);
}

/* NAV */
#nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--black);
  color: var(--base);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  z-index: 100;
  transition: transform 0.3s ease;
  border-bottom: 4px solid var(--accent1);
}
#nav.hidden {
  transform: translateY(-100%);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bungee', sans-serif;
  font-size: 24px;
  text-decoration: none;
  color: var(--base);
}
.nav-logo img {
  width: 48px;
  height: 48px;
  border: 2px solid var(--base);
  background: var(--base);
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  font-family: 'Bungee', sans-serif;
  font-size: 14px;
  color: var(--base);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links a:hover {
  color: var(--accent2);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
}

/* HERO */
#hero {
  min-height: 100vh;
  padding: 120px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--accent2);
  background-image: url('https://memecoin.blr1.digitaloceanspaces.com/generated/images/ca5e910e-374a-46bd-b7db-e209f38065db/cmmvxe3h90019ld01p9cd9a6y_1773831360824.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border-bottom: 8px solid var(--black);
}
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-headline {
  font-family: 'Impact', sans-serif;
  font-size: clamp(80px, 15vw, 200px);
  text-transform: uppercase;
  color: var(--base);
  -webkit-text-stroke: 4px var(--black);
  text-shadow: 6px 6px 0 var(--black), 12px 12px 0 var(--accent1), 18px 18px 0 var(--accent2);
  line-height: 1;
  margin-bottom: 16px;
}
.hero-tagline {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(24px, 4vw, 48px);
  transform: rotate(-2deg);
  background: var(--black);
  color: var(--accent2);
  padding: 8px 24px;
  border: 4px solid var(--base);
  box-shadow: 6px 6px 0 var(--black);
}
.hero-mascot {
  width: clamp(250px, 40vw, 500px);
  max-width: 100%;
  height: auto;
  margin-top: -40px;
  z-index: 5;
  filter: drop-shadow(12px 12px 0px var(--black));
}
.hero-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}
.hero-actions .brut-btn:nth-child(2) {
  background: var(--base);
}
.contract-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.contract-address {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: bold;
}
.copy-btn {
  background: var(--accent1);
  border: 4px solid var(--black);
  color: var(--black);
  font-family: 'Bungee', sans-serif;
  padding: 8px 16px;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--black);
  transition: all 0.1s;
}
.copy-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--black);
}

/* ABOUT / LORE */
#about {
  padding: 80px 24px;
  background: var(--base);
  border-bottom: 8px solid var(--black);
}
.section-title {
  font-family: 'Bungee Shade', sans-serif;
  font-size: clamp(48px, 8vw, 72px);
  text-align: center;
  margin-bottom: 64px;
  color: var(--black);
  text-transform: uppercase;
}
.comic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.comic-panel {
  position: relative;
  background: var(--base);
  border: 6px solid var(--black);
  box-shadow: 8px 8px 0 var(--black);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.panel-number {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 48px;
  height: 48px;
  background: var(--accent2);
  border: 4px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', sans-serif;
  font-size: 24px;
  box-shadow: 4px 4px 0 var(--black);
}
.comic-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 16px;
  border: 4px solid var(--black);
  background: #f0f0f0;
}
.comic-caption {
  font-family: 'Permanent Marker', cursive;
  font-size: 20px;
}

/* TOKENOMICS */
#tokenomics {
  padding: 80px 24px;
  background: var(--black);
  color: var(--base);
  border-bottom: 8px solid var(--accent1);
}
#tokenomics .section-title {
  color: var(--base);
}
.token-content {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}
.pie-chart-container {
  position: relative;
  width: 300px;
  height: 300px;
}
.pie-chart {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent2) 0% 40%, 
    var(--accent1) 40% 70%, 
    #FF0000 70% 85%, 
    var(--base) 85% 100%
  );
  border: 8px solid var(--base);
  box-shadow: 0 0 0 8px var(--black), 16px 16px 0 var(--accent1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  flex: 1;
  min-width: 300px;
}
.stat-box {
  background: var(--base);
  border: 6px solid var(--black);
  padding: 24px;
  text-align: center;
  color: var(--black);
  box-shadow: 8px 8px 0 var(--accent2);
}
.stat-value {
  font-family: 'Impact', sans-serif;
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: 'Bungee', sans-serif;
  font-size: 16px;
}

/* ROADMAP */
#roadmap {
  padding: 80px 24px;
  background: var(--base);
  border-bottom: 8px solid var(--black);
  position: relative;
}
.roadmap-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.roadmap-path {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--black);
  z-index: 0;
}
.phase {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 32px;
  margin-bottom: 64px;
  align-items: flex-start;
}
.phase-dot {
  width: 64px;
  height: 64px;
  background: var(--accent1);
  border: 6px solid var(--black);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', sans-serif;
  font-size: 24px;
  color: var(--base);
  box-shadow: 4px 4px 0 var(--black);
}
.phase.active .phase-dot {
  background: var(--accent2);
  animation: pulse-border 2s infinite;
}
.phase-content {
  background: var(--base);
  border: 6px solid var(--black);
  padding: 24px;
  box-shadow: 8px 8px 0 var(--black);
  flex: 1;
}
.phase-title {
  font-family: 'Bungee', sans-serif;
  font-size: 24px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.phase-desc {
  font-family: 'Comic Neue', cursive;
  font-size: 18px;
  font-weight: bold;
}

/* COMMUNITY */
#community {
  padding: 100px 24px;
  background: var(--accent1);
  text-align: center;
  border-bottom: 8px solid var(--black);
}
.community-title {
  font-family: 'Impact', sans-serif;
  font-size: clamp(60px, 10vw, 120px);
  color: var(--accent2);
  -webkit-text-stroke: 3px var(--black);
  text-shadow: 6px 6px 0 var(--black);
  margin-bottom: 48px;
  text-transform: uppercase;
}
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 80px;
  background: var(--base);
  border: 6px solid var(--black);
  box-shadow: 8px 8px 0 var(--black);
  font-family: 'Bungee', sans-serif;
  font-size: 24px;
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.1s;
}
.social-btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--black);
  background: var(--accent2);
}

/* FOOTER */
#footer {
  background: var(--black);
  color: var(--base);
  padding: 48px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}
.footer-logo {
  font-family: 'Bungee', sans-serif;
  font-size: 32px;
}
.disclaimer {
  font-family: 'Comic Neue', cursive;
  font-size: 14px;
  color: #888;
  max-width: 600px;
}
.footer-mascot {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 150px;
  z-index: 1;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 80px);
    background: var(--black);
    flex-direction: column;
    padding: 32px;
    transition: right 0.3s ease;
    border-left: 4px solid var(--accent1);
  }
  .nav-links.active {
    right: 0;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .brut-btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
