/* ==========================================================================
   VARIABLES & BASE SETUP
   ========================================================================== */
:root {
    --brut-accent: #FF5E00; /* Neon Orange */
    --brut-accent2: #00E5FF; /* Electric Blue */
    --brut-base: #FFD700; /* Bright Yellow */
    --black: #000000;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, .bungee, .ticker, .brut-btn, .step-num, .stat-num, .cd-title {
    font-family: 'Bungee', Impact, 'Arial Black', sans-serif;
    text-transform: uppercase;
}

.bungee-shade {
    font-family: 'Bungee Shade', 'Bungee', cursive;
    font-size: clamp(40px, 8vw, 64px);
    text-align: center;
    margin-bottom: 40px;
    color: var(--black);
}

.text-white { color: var(--white); }
.text-center { text-align: center; }
.mt-4 { margin-top: 40px; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Focus Accessibility */
:focus-visible {
    outline: 4px solid var(--brut-accent);
    outline-offset: 2px;
}

/* ==========================================================================
   UTILITY CLASSES (NEO-BRUTALISM)
   ========================================================================== */
.brut-card {
    background: var(--white);
    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-size: 20px;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    text-decoration: none;
    color: var(--black);
    background: var(--brut-accent);
    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);
}

.primary-btn { background: var(--brut-accent); }
.secondary-btn { background: var(--white); }

.speech-bubble {
    position: relative;
    background: var(--white);
    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(--white);
    z-index: 1;
}

.tape-label {
    display: inline-block;
    background: var(--brut-accent);
    border: 2px solid rgba(0,0,0,0.25);
    padding: 4px 14px;
    font-family: 'Permanent Marker', cursive;
    transform: rotate(-2deg);
    font-size: 16px;
    margin-bottom: 20px;
}

/* ==========================================================================
   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 var(--brut-accent2), -4px 0 var(--brut-accent); }
    25% { text-shadow: -4px 0 var(--brut-accent2), 4px 0 var(--brut-accent); }
    50% { text-shadow: 4px 2px var(--brut-accent2), -4px -2px var(--brut-accent); }
    75% { text-shadow: 0 0 var(--brut-accent2), 0 0 var(--brut-accent); }
    100% { text-shadow: 4px 0 var(--brut-accent2), -4px 0 var(--brut-accent); }
}

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

.mascot-float { animation: float 3s ease-in-out infinite; }
.mascot-wiggle { animation: wiggle 0.5s ease-in-out infinite; }
.glitch-text { animation: glitch 0.3s steps(1) infinite; }
.pulsing { animation: pulse-border 1.5s infinite; }

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

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

/* Navigation */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--black);
    z-index: 1000;
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--brut-accent);
}

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

.logo-area .ticker {
    color: var(--white);
    font-size: 24px;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Bungee', sans-serif;
    font-size: 14px;
}

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

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

.nav-btn {
    padding: 10px 20px;
    font-size: 16px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--brut-accent2);
    border-left: 6px solid var(--black);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    gap: 20px;
    transition: right 0.3s ease;
}

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

.mobile-link {
    font-family: 'Bungee', sans-serif;
    font-size: 24px;
    color: var(--white);
    text-decoration: none;
    text-shadow: 2px 2px 0 var(--black);
}

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

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 94, 0, 0.7); /* Neon Orange tint overlay to ensure text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

#hero h1 {
    font-size: clamp(60px, 10vw, 120px);
    color: var(--white);
    -webkit-text-stroke: 4px var(--black);
    text-shadow: 6px 6px 0 var(--black), 12px 12px 0 var(--brut-accent2);
    line-height: 1;
    margin-bottom: 20px;
}

#hero h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(24px, 4vw, 40px);
    color: var(--black);
    transform: rotate(-2deg);
    margin-bottom: 30px;
}

.countdown-container {
    background: var(--brut-accent2);
    display: inline-block;
    margin-bottom: 30px;
    padding: 15px 25px;
}

.cd-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

.countdown-timer {
    display: flex;
    gap: 15px;
}

.cd-box {
    background: var(--white);
    border: 4px solid var(--black);
    padding: 10px;
    text-align: center;
    min-width: 70px;
}

.cd-box span {
    display: block;
    font-family: 'Impact', sans-serif;
    font-size: 32px;
    line-height: 1;
}

.cd-box small {
    font-family: 'Bungee', sans-serif;
    font-size: 12px;
}

.contract-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.copy-btn {
    background: var(--brut-accent);
    border: 3px solid var(--black);
    padding: 5px 10px;
    font-family: 'Bungee', sans-serif;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--black);
}

.copy-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--black);
}

.btn-group {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-strip {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 4px solid var(--black);
    box-shadow: 4px 4px 0 var(--black);
    font-size: 30px;
    text-decoration: none;
    transition: transform 0.1s, box-shadow 0.1s;
}

.social-icon:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--black);
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image-container img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(10px 10px 0px var(--black));
}

/* About / Lore */
#about {
    background: var(--white);
}

.section-header {
    position: relative;
}

.comic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.panel-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--brut-accent);
    border: 4px solid var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bungee', sans-serif;
    font-size: 20px;
}

.panel-img {
    font-size: 80px;
    margin-bottom: 20px;
}

.panel-caption {
    margin-top: 20px;
    font-family: 'Permanent Marker', cursive;
    font-size: 20px;
}

/* Features */
#features {
    background: var(--brut-accent2);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 18px;
}

/* Tokenomics */
#tokenomics {
    background: var(--black);
}

.tok-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

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

.pie-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--brut-accent) 0% 90%, var(--brut-accent2) 90% 100%);
    border: 8px solid var(--white);
}

.chart-label {
    position: absolute;
    background: var(--white);
    border: 4px solid var(--black);
    padding: 5px 10px;
    font-family: 'Bungee', sans-serif;
}

.l1 { top: 20px; left: -20px; }
.l2 { bottom: 40px; right: -20px; }

.stats-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.stat-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    text-align: center;
}

.stat-box small {
    font-size: 16px;
    color: #666;
}

.stat-num {
    font-size: 32px;
    color: var(--brut-accent2);
}

.contract-bubble {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.copy-btn-small {
    background: var(--brut-accent);
    border: 3px solid var(--black);
    padding: 5px;
    font-family: 'Bungee', sans-serif;
    cursor: pointer;
}

.mini-mascot {
    position: absolute;
    bottom: -50px;
    right: 0;
}

/* How to Buy */
#how-to-buy {
    background: var(--brut-accent);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    position: relative;
    padding-top: 50px;
}

.step-num {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: var(--brut-accent2);
    color: var(--white);
    border: 6px solid var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.center-btn {
    text-align: center;
}

/* Trust */
#trust {
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trust-card {
    text-align: center;
}

.trust-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.trust-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--brut-accent2);
    font-family: 'Bungee', sans-serif;
    text-decoration: none;
}

/* Roadmap */
#roadmap {
    background: var(--white);
    position: relative;
}

#roadmap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--black) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.06;
    pointer-events: none;
}

.path-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.path-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--black);
}

.phase-node {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.phase-dot {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 6px solid var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.phase-node.completed .phase-dot { background: #00FF00; }
.phase-node.active .phase-dot { background: var(--brut-accent); }
.phase-node.active .phase-card { border-color: var(--brut-accent2); }

.phase-card {
    flex: 1;
}

/* Team */
#team {
    background: var(--brut-accent2);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.team-avatar {
    font-size: 80px;
    margin-bottom: 15px;
}

/* FAQ */
#faq {
    background: var(--white);
}

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

.faq-item {
    padding: 0;
}

.faq-btn {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Bungee', sans-serif;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-top: 4px solid transparent;
}

.faq-btn[aria-expanded="true"] + .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
    border-top-color: var(--black);
}

/* Community */
#community {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.stat-pulse {
    font-size: clamp(40px, 8vw, 80px);
    color: var(--brut-accent);
    animation: bounce-in 2s infinite;
}

.community-sub {
    color: var(--white);
    font-family: 'Permanent Marker', cursive;
    font-size: 24px;
    margin-bottom: 40px;
}

.social-huge-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto 60px;
}

.social-huge-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 24px;
}

.twitter-btn { background: #1DA1F2; color: white; }
.tg-btn { background: #0088cc; color: white; }
.discord-btn { background: #5865F2; color: white; }

.party-mascot {
    margin-top: 40px;
}

/* Footer */
#footer {
    background: var(--black);
    color: var(--white);
    border-top: 8px solid var(--brut-accent);
    padding: 40px 0 20px;
}

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

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

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Bungee', sans-serif;
}

.footer-bottom {
    border-top: 2px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #999;
}

.disclaimer {
    margin-bottom: 10px;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    z-index: 99;
    display: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .tok-layout { flex-direction: column; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .comic-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn { display: none; }
    .hamburger { display: block; }
    
    .hero-content { flex-direction: column; text-align: center; margin-top: 40px; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn-group .brut-btn { width: 100%; }
    .social-strip { justify-content: center; margin-top: 20px; }
    
    .countdown-timer { flex-wrap: wrap; justify-content: center; }
    .cd-box { min-width: 60px; }
    
    .comic-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    
    .path-container::before { left: 30px; }
    .phase-node { flex-direction: column; align-items: flex-start; gap: 15px; }
    
    .footer-top { flex-direction: column; text-align: center; }
    .footer-links { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
    .steps-grid { grid-template-columns: 1fr; }
    .stat-boxes { grid-template-columns: 1fr; }
    
    #hero h1 { font-size: clamp(40px, 12vw, 60px); }
    #hero h2 { font-size: clamp(20px, 6vw, 28px); }
    
    .bungee-shade { font-size: clamp(32px, 8vw, 48px); }
    
    .contract-box { flex-direction: column; text-align: center; word-break: break-all; }
    .copy-btn { width: 100%; }
    
    .hero-image-container img { max-width: 80%; }
    
    .social-huge-btn { font-size: 18px; padding: 12px 20px; }
    .stat-pulse { font-size: clamp(28px, 6vw, 40px); }
}

@media (hover: none) {
    .brut-card:hover { transform: none; box-shadow: 8px 8px 0 var(--black); }
    .brut-btn:hover { transform: none; box-shadow: 6px 6px 0 var(--black); }
}