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

:root {
  --bg: #FFFFFF;
  --text: #000000;
  --accent: #F7931A;
  --accent2: #00FF00;
  --border-width: 6px;
  --shadow-offset: 8px;
}

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

body, html {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Comic Neue', cursive;
  background-color: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bungee', sans-serif;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Typography */
.hero-headline {
  font-family: 'Bungee', sans-serif;
  font-size: clamp(60px, 12vw, 150px);
  line-height: 1;
  text-transform: uppercase;
  color: #FFF;
  -webkit-text-stroke: 4px #000;
  text-shadow: 6px 6px 0 #000, 12px 12px 0 var(--accent), 18px 18px 0 var(--accent2);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Bungee Shade', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

.subheading {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(24px, 4vw, 48px);
  transform: rotate(-2deg);
  display: inline-block;
  margin-bottom: 20px;
}

.body-text {
  font-family: 'Comic Neue', cursive;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
}

.accent-text {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/* Brutalist Components */
.brut-card {
  background: #FFF;
  border: var(--border-width) solid #000;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #000;
  padding: 24px;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  position: relative;
}
.brut-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 #000;
}

.brut-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: var(--border-width) solid #000;
  box-shadow: 6px 6px 0 #000;
  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: #000;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}
.brut-btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 #000;
}
.brut-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 #000;
}
.brut-btn.secondary {
  background: var(--accent2);
}

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

.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: 16px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

/* Zine Elements */
.halftone-bg {
  position: relative;
}
.halftone-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #000 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.ripped-edge-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 85% 88%, 75% 100%, 65% 85%, 50% 100%, 35% 88%, 25% 100%, 10% 85%, 0 100%);
  z-index: 2;
}

.ripped-edge-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 100%, 100% 15%, 95% 0%, 85% 12%, 75% 0%, 65% 15%, 50% 0%, 35% 12%, 25% 0%, 10% 15%, 0 0%);
  z-index: 2;
}

/* 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 #FF0000, -4px 0 #00FF00; }
  25%  { text-shadow: -4px 0 #FF0000, 4px 0 #00FF00; }
  50%  { text-shadow: 4px 2px #FF0000, -4px -2px #00FF00; }
  75%  { text-shadow: 0 0 #FF0000, 0 0 #00FF00; }
  100% { text-shadow: 4px 0 #FF0000, -4px 0 #00FF00; }
}

@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(--accent); }
  50%       { box-shadow: 0 0 0 12px transparent; }
}

.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;
}

.scroll-bounce {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.scroll-bounce.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Layout & Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Nav */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #FFF;
  padding: 15px 0;
  z-index: 100;
  border-bottom: 4px solid var(--accent);
  transition: transform 0.3s ease;
}
#nav.hidden {
  transform: translateY(-100%);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bungee', sans-serif;
  font-size: 24px;
}
.nav-logo img {
  height: 40px;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  font-family: 'Bungee', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
}
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: #FFF;
}

/* Hero */
#hero {
  min-height: 100vh;
  padding-top: 100px;
  background-color: var(--accent);
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-mascot {
  max-width: 400px;
  width: 100%;
  margin: 20px auto;
  filter: drop-shadow(8px 8px 0 #000);
}
.contract-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.coin-rain-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.falling-coin {
  position: absolute;
  font-size: 30px;
  animation: coin-fall linear infinite;
}

/* About (Comic Strip) */
#about {
  background: #FFF;
  padding: 100px 0;
  position: relative;
  border-bottom: 8px solid #000;
}
.comic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.comic-panel {
  background: #FFF;
  border: 6px solid #000;
  box-shadow: 8px 8px 0 #000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.panel-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border: 4px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', sans-serif;
  font-size: 20px;
}
.comic-panel img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Features */
#features {
  background: var(--accent2);
  padding: 100px 0;
  border-bottom: 8px solid #000;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

/* Tokenomics */
#tokenomics {
  background: #000;
  color: #FFF;
  padding: 100px 0;
  border-bottom: 8px solid var(--accent);
}
#tokenomics .section-title {
  color: #FFF;
}
.tokenomics-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  justify-content: center;
}
.pie-chart {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 8px solid #FFF;
  background: conic-gradient(var(--accent) 0% 40%, var(--accent2) 40% 70%, #FF0000 70% 85%, #FFF 85% 100%);
  box-shadow: 12px 12px 0 var(--accent);
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stat-box {
  background: #FFF;
  border: 6px solid #000;
  padding: 20px;
  text-align: center;
  color: #000;
  box-shadow: 6px 6px 0 var(--accent);
}
.stat-box h3 {
  font-family: 'Impact', 'Bungee', sans-serif;
  font-size: 48px;
  margin-bottom: 5px;
}
.stat-box p {
  font-family: 'Courier New', monospace;
  font-weight: bold;
}

/* Roadmap */
#roadmap {
  background: #FFF;
  padding: 100px 0;
  position: relative;
  border-bottom: 8px solid #000;
}
.roadmap-path {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.roadmap-path::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 8px;
  background: #000;
  transform: translateX(-50%);
}
.roadmap-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}
.roadmap-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.roadmap-item:nth-child(even) {
  left: 50%;
  text-align: left;
}
.roadmap-dot {
  position: absolute;
  top: 30px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border: 4px solid #000;
  border-radius: 50%;
  z-index: 2;
}
.roadmap-item:nth-child(odd) .roadmap-dot {
  right: -20px;
}
.roadmap-item:nth-child(even) .roadmap-dot {
  left: -20px;
}
.roadmap-item.active .roadmap-dot {
  animation: pulse-border 2s infinite;
  background: var(--accent2);
}
.roadmap-item.done .roadmap-dot {
  background: #000;
}

/* Team */
#team {
  background: var(--accent);
  padding: 100px 0;
  border-bottom: 8px solid #000;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.team-card {
  perspective: 1000px;
  height: 350px;
}
.team-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.team-card:hover .team-card-inner {
  transform: rotateY(180deg);
}
.team-card-front, .team-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: #FFF;
  border: 6px solid #000;
  box-shadow: 8px 8px 0 #000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.team-card-back {
  transform: rotateY(180deg);
  background: #000;
  color: #FFF;
}
.team-avatar {
  font-size: 80px;
  margin-bottom: 20px;
}

/* FAQ */
#faq {
  background: #FFF;
  padding: 100px 0;
  border-bottom: 8px solid #000;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 20px;
}
.faq-question {
  background: #FFF;
  border: 6px solid #000;
  box-shadow: 6px 6px 0 #000;
  padding: 20px;
  font-family: 'Bungee', sans-serif;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}
.faq-question:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #000;
}
.faq-answer {
  display: none;
  padding: 20px;
  border: 6px solid #000;
  border-top: none;
  background: var(--accent2);
  font-family: 'Comic Neue', cursive;
  font-size: 18px;
  position: relative;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-mascot {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 60px;
  opacity: 0.8;
}

/* Community */
#community {
  background: #000;
  color: #FFF;
  padding: 100px 0;
  text-align: center;
  position: relative;
}
#community .section-title {
  color: #FFF;
}
.holder-count {
  font-family: 'Impact', 'Bungee', sans-serif;
  font-size: clamp(40px, 8vw, 80px);
  color: var(--accent);
  margin-bottom: 40px;
  animation: bounce-in 2s infinite alternate;
}
.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.social-btn {
  width: 100%;
  max-width: 400px;
  padding: 20px;
  font-size: 24px;
}

/* Footer */
#footer {
  background: #000;
  color: #FFF;
  padding: 40px 0;
  border-top: 8px solid var(--accent);
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-disclaimer {
  font-size: 12px;
  color: #888;
  max-width: 600px;
}

/* Utilities */
.explosion-spark {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: 2px solid #000;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  animation: spark-out 0.5s forwards;
}
@keyframes spark-out {
  0% { transform: scale(1) translate(0,0); opacity: 1; }
  100% { transform: scale(0) translate(var(--tx), var(--ty)); opacity: 0; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #000;
    flex-direction: column;
    padding: 80px 40px;
    transition: right 0.3s ease;
    border-left: 6px solid var(--accent);
  }
  .nav-links.active {
    right: 0;
  }
  .hamburger {
    display: block;
  }
  .roadmap-path::before {
    left: 20px;
  }
  .roadmap-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 60px;
  }
  .roadmap-dot {
    left: 0 !important;
  }
}
