/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
   :root {
    --primary-accent: #4d9144; /* May Green */
    --secondary-accent: #6d7475; /* Grey */
    --base-light: #e3e3eb; /* Off-white */
    --black: #000000;
    --white: #ffffff;
    
    --font-heading: 'Bungee', sans-serif;
    --font-heading-shade: 'Bungee Shade', sans-serif;
    --font-body: 'Comic Neue', cursive;
    --font-marker: 'Permanent Marker', cursive;
    --font-mono: 'Courier New', monospace;
    
    --border-thick: 6px solid var(--black);
    --border-medium: 4px solid var(--black);
    --shadow-card: 8px 8px 0 var(--black);
    --shadow-card-hover: 12px 12px 0 var(--black);
    --shadow-btn: 6px 6px 0 var(--black);
    --shadow-btn-hover: 10px 10px 0 var(--black);
    --shadow-btn-active: 2px 2px 0 var(--black);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--base-light);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   UTILITY CLASSES (Neo-Brutalist System)
   ========================================================================== */
.brut-card {
    background: var(--white);
    border: var(--border-thick);
    box-shadow: var(--shadow-card);
    padding: 24px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    border-radius: 0;
}

.brut-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-card-hover);
}

.brut-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border: var(--border-medium);
    box-shadow: var(--shadow-btn);
    font-family: var(--font-heading);
    font-size: 20px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    text-decoration: none;
    color: var(--black);
    background: var(--primary-accent);
    border-radius: 0;
}

.brut-btn:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-btn-hover);
}

.brut-btn:active {
    transform: translate(4px, 4px);
    box-shadow: var(--shadow-btn-active);
}

.speech-bubble {
    position: relative;
    background: var(--white);
    border: var(--border-medium);
    border-radius: 8px; /* Exception for speech bubble shape */
    padding: 12px 20px;
    font-family: var(--font-marker);
    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(--white);
    z-index: 1;
}

.halftone-bg {
    position: relative;
    background-color: var(--base-light);
}

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

.tape-label {
    display: inline-block;
    background: #FFFF00;
    border: 2px solid rgba(0,0,0,0.3);
    padding: 4px 14px;
    font-family: var(--font-marker);
    transform: rotate(-2deg);
    font-size: 16px;
    color: 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;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: var(--white);
    -webkit-text-stroke: 3px var(--black);
    text-shadow: 
        3px 3px 0 var(--black),
        6px 6px 0 var(--primary-accent),
        9px 9px 0 var(--black),
        12px 12px 0 #FFFF00,
        15px 15px 0 var(--black);
    position: relative;
    z-index: 1;
    transform: rotate(-2deg) skewX(-5deg);
    display: block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-title:hover {
    transform: rotate(2deg) skewX(5deg) scale(1.05);
    text-shadow: 
        4px 4px 0 var(--black),
        8px 8px 0 var(--primary-accent),
        12px 12px 0 var(--black),
        16px 16px 0 #FFFF00,
        20px 20px 0 var(--black);
}

.light-text {
    color: #FFFF00;
    text-shadow: 
        3px 3px 0 var(--black),
        6px 6px 0 var(--white),
        9px 9px 0 var(--black),
        12px 12px 0 var(--secondary-accent),
        15px 15px 0 var(--black);
}

/* Ripped Edges */
.ripped-edge-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 95% 80%, 90% 0, 85% 80%, 80% 0, 75% 80%, 70% 0, 65% 80%, 60% 0, 55% 80%, 50% 0, 45% 80%, 40% 0, 35% 80%, 30% 0, 25% 80%, 20% 0, 15% 80%, 10% 0, 5% 80%, 0 0);
    z-index: 2;
}

.ripped-edge-bottom-alt {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--primary-accent);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 95% 80%, 90% 0, 85% 80%, 80% 0, 75% 80%, 70% 0, 65% 80%, 60% 0, 55% 80%, 50% 0, 45% 80%, 40% 0, 35% 80%, 30% 0, 25% 80%, 20% 0, 15% 80%, 10% 0, 5% 80%, 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 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(--primary-accent); }
    50% { box-shadow: 0 0 0 12px transparent; }
}

/* Scroll Animation Classes */
.scroll-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

/* 1. Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--black);
    color: var(--white);
    z-index: 100;
    border-bottom: 4px solid var(--primary-accent);
    transition: transform 0.3s ease;
}

.sticky-nav.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.nav-ticker {
    font-family: var(--font-heading);
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-accent);
}

.nav-btn {
    padding: 8px 16px;
    font-size: 16px;
    box-shadow: 4px 4px 0 var(--white);
    border-color: var(--white);
}

.nav-btn:hover {
    box-shadow: 6px 6px 0 var(--white);
}

.mobile-only {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary-accent);
    border-left: var(--border-thick);
    z-index: 200;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-drawer.open {
    right: 0;
}

#close-menu-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--black);
    margin-bottom: 30px;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 4px solid var(--black);
    padding-bottom: 10px;
}

.mobile-buy-btn {
    margin-top: 20px;
    background: var(--white);
}

/* 2. Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(80px, 15vw, 200px);
    text-transform: uppercase;
    color: var(--primary-accent);
    -webkit-text-stroke: 4px var(--black);
    text-shadow: 6px 6px 0 var(--black), 12px 12px 0 var(--white), 18px 18px 0 var(--secondary-accent);
    line-height: 1;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: clamp(20px, 4vw, 32px);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-btn {
    font-size: 24px;
    padding: 20px 40px;
}

.alt-btn {
    background: var(--white);
}

.contract-area {
    display: flex;
    justify-content: center;
}

.contract-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-weight: bold;
    flex-wrap: wrap;
    justify-content: center;
}

.ca-label {
    color: var(--primary-accent);
}

#contract-address {
    word-break: break-all;
    font-size: clamp(12px, 2vw, 18px);
}

.copy-btn {
    background: var(--black);
    border: none;
    color: var(--white);
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
}

.copy-btn:active {
    transform: scale(0.9);
}

.hero-mascot-container {
    position: absolute;
    bottom: 50px;
    right: 5%;
    z-index: 5;
    width: clamp(200px, 30vw, 400px);
}

.hero-mascot {
    width: 100%;
    height: auto;
    filter: drop-shadow(8px 8px 0 var(--black));
}

.coin-particle {
    position: absolute;
    font-size: 30px;
    z-index: 1;
    pointer-events: none;
    animation: coin-fall linear forwards;
}

/* 3. About Section */
#about {
    padding: 100px 20px;
    background: var(--white);
    position: relative;
}

.comic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.comic-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.panel-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary-accent);
    color: var(--black);
    border: var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px;
    z-index: 2;
}

.panel-img-placeholder {
    width: 100%;
    height: 200px;
    background: var(--base-light);
    border: var(--border-medium);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.panel-mascot {
    height: 150%;
    object-fit: contain;
}

.grayscale {
    filter: grayscale(100%);
}

.small-bubble {
    font-size: 14px;
    padding: 8px 12px;
    margin-bottom: 15px;
}

.small-bubble::after {
    bottom: -15px;
    border-width: 8px;
}

.small-bubble::before {
    bottom: -9px;
    border-width: 6px;
}

.panel-caption {
    font-family: var(--font-marker);
    font-size: 18px;
    background: #FFFF00;
    padding: 5px 10px;
    border: 2px solid var(--black);
    transform: rotate(1deg);
}

/* 4. How to Buy */
#how-to-buy {
    padding: 100px 20px;
    background: var(--primary-accent);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    text-align: left;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.step-card p {
    font-size: 16px;
    font-weight: bold;
}

/* 5. Tokenomics */
#tokenomics {
    padding: 100px 20px;
    background: var(--black);
    position: relative;
}

.tokenomics-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.chart-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.pie-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--primary-accent) 0% 93.1%, var(--secondary-accent) 93.1% 100%);
    border: 8px solid var(--white);
    box-shadow: 0 0 0 4px var(--black), 12px 12px 0 var(--primary-accent);
}

.chart-label {
    position: absolute;
    background: var(--white);
    border: var(--border-medium);
    padding: 5px 10px;
    font-family: var(--font-heading);
    font-size: 14px;
    white-space: nowrap;
}

.label-1 {
    top: 20%;
    left: -40%;
}

.label-2 {
    bottom: 20%;
    right: -20%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
}

.stat-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-title {
    margin-bottom: 15px;
}

.stat-value {
    font-family: 'Impact', var(--font-heading);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
}

.stat-sub {
    font-family: var(--font-marker);
    margin-top: 10px;
    color: var(--secondary-accent);
}

/* 6. Roadmap */
#roadmap {
    padding: 100px 20px;
    position: relative;
}

.roadmap-intro {
    text-align: center;
    font-family: var(--font-marker);
    font-size: 24px;
    margin-bottom: 60px;
    line-height: 1.8;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline-path {
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--black);
}

.timeline-node {
    position: relative;
    margin-bottom: 50px;
}

.node-dot {
    position: absolute;
    left: -40px;
    top: 10px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
    transform: translateX(-50%);
}

.node-dot.pulsing {
    animation: pulse-border 2s infinite;
    background: var(--primary-accent);
}

.node-content {
    margin-left: 30px;
}

.node-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--black);
    padding-bottom: 5px;
}

.node-content ul {
    list-style-type: none;
}

.node-content li {
    margin-bottom: 8px;
    font-weight: bold;
    position: relative;
    padding-left: 20px;
}

.node-content li::before {
    content: '>';
    position: absolute;
    left: 0;
    font-family: var(--font-heading);
    color: var(--primary-accent);
}

.upcoming .node-content {
    background: var(--base-light);
    opacity: 0.8;
}

.roadmap-mascot {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 150px;
    filter: drop-shadow(4px 4px 0 var(--black));
}

/* 7. Team */
#team {
    padding: 100px 20px;
    background: var(--primary-accent);
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    perspective: 1000px;
}

.team-front {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-avatar {
    font-size: 80px;
    width: 120px;
    height: 120px;
    background: var(--base-light);
    border: var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 5px;
}

.team-role {
    font-family: var(--font-marker);
    font-size: 18px;
    color: var(--secondary-accent);
}

/* 8. FAQ */
#faq {
    padding: 100px 20px;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 20px;
    text-align: left;
    cursor: pointer;
    color: var(--black);
}

.faq-icon {
    font-size: 24px;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--base-light);
    border-top: 0px solid var(--black);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 300px;
    border-top: var(--border-medium);
}

.faq-answer p {
    flex: 1;
    font-weight: bold;
    font-size: 18px;
}

.faq-mascot {
    width: 60px;
    height: auto;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.faq-item.active .faq-mascot {
    transform: translateY(0);
}

/* 9. Community */
#community {
    padding: 100px 20px;
    background: var(--black);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.community-content {
    position: relative;
    z-index: 10;
}

.holder-count {
    font-family: 'Impact', var(--font-heading);
    font-size: clamp(40px, 8vw, 80px);
    color: var(--primary-accent);
    margin-bottom: 60px;
    -webkit-text-stroke: 2px var(--black);
}

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

.social-btn {
    width: 100%;
    max-width: 300px;
    background: var(--white);
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 24px;
}

.party-mascot-container {
    max-width: 300px;
    margin: 0 auto;
}

.party-mascot {
    width: 100%;
    height: auto;
    filter: drop-shadow(8px 8px 0 var(--primary-accent));
}

/* 10. Footer */
#footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 20px 20px;
    border-top: var(--border-thick);
    border-color: var(--primary-accent);
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

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

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.footer-ticker {
    font-family: var(--font-heading);
    font-size: 32px;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.footer-links a:hover {
    color: var(--primary-accent);
}

.disclaimer {
    font-size: 14px;
    color: var(--secondary-accent);
    max-width: 800px;
}

.copyright {
    font-family: var(--font-heading);
    font-size: 14px;
    margin-top: 20px;
}

#back-to-top {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    font-size: 24px;
    background: var(--primary-accent);
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block;
        color: var(--white);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-mascot-container {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 40px auto 0;
    }
    
    .chart-container {
        width: 250px;
        height: 250px;
    }
    
    .chart-label {
        font-size: 12px;
    }
    
    .label-1 { left: -10%; }
    .label-2 { right: -10%; }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-path {
        left: 8px;
    }
    
    .node-dot {
        left: -20px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .node-content {
        margin-left: 20px;
    }
}
