/* =====================================================
   PixelHood Cats — Neon Green / Dark UI
   Fully Responsive (Mobile, Tablet, Desktop)
   ===================================================== */

:root {
    --bg: #060608;
    --bg-card: #0d0d12;
    --bg-card-hover: #121218;
    --border: #1a1a24;
    --neon: #b4ff39;
    --neon-dim: rgba(180, 255, 57, 0.15);
    --text-main: #f0f0f5;
    --text-dim: #888899;
    --text-dark: #060608;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius: 12px;
    --radius-lg: 24px;
}

*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* Backgrounds */
.bg-grid {
    position: fixed; inset: 0; z-index: -2; opacity: 0.15;
    background-image: 
        linear-gradient(to right, var(--border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border) 1px, transparent 1px);
    background-size: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px);
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}
.bg-glow {
    position: fixed; z-index: -1; width: clamp(300px, 50vw, 600px); height: clamp(300px, 50vw, 600px); border-radius: 50%;
    background: var(--neon); filter: blur(clamp(80px, 15vw, 150px)); opacity: 0.05; pointer-events: none;
}
.bg-glow-1 { top: -10%; left: -10%; }
.bg-glow-2 { bottom: -10%; right: -10%; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
.container-sm { max-width: 800px; }
.section { padding: clamp(60px, 10vw, 120px) 0; position: relative; }
.section-alt { background: linear-gradient(to bottom, transparent, rgba(180,255,57,0.02), transparent); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; }
.text-glow { color: var(--neon); text-shadow: 0 0 20px var(--neon-dim); }
.tag { 
    display: inline-block; font-family: var(--font-mono); font-size: clamp(10px, 2vw, 12px); font-weight: 600; 
    color: var(--neon); text-transform: uppercase; letter-spacing: 2px;
    padding: 6px 12px; border: 1px solid var(--neon-dim); background: rgba(180,255,57,0.05);
    border-radius: 100px; margin-bottom: clamp(16px, 3vw, 24px);
}
.sec-title { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: clamp(16px, 3vw, 24px); letter-spacing: -0.02em; }
.sec-sub { font-size: clamp(0.95rem, 2vw, 1.1rem); color: var(--text-dim); max-width: 600px; margin-bottom: clamp(32px, 5vw, 48px); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; font-weight: 600; font-family: var(--font-heading);
    border-radius: 100px; transition: all 0.3s ease; white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 40px; font-size: clamp(15px, 2vw, 18px); }
.btn-primary { 
    background: var(--neon); color: var(--text-dark); 
    box-shadow: 0 0 20px var(--neon-dim); 
}
.btn-primary:hover { 
    transform: translateY(-2px); box-shadow: 0 4px 30px rgba(180,255,57,0.4); 
}
.btn-ghost { 
    background: transparent; color: var(--text-main); 
    border: 1px solid var(--border); 
}
.btn-ghost:hover { 
    border-color: var(--neon); color: var(--neon); 
}

/* Nav */
.nav { 
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    border-bottom: 1px solid transparent; transition: 0.3s;
}
.nav.scrolled { 
    background: rgba(6,6,8,0.9); backdrop-filter: blur(12px); 
    border-color: var(--border); 
}
.nav-inner { 
    max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); height: clamp(60px, 8vw, 72px);
    display: flex; align-items: center; justify-content: space-between; 
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: clamp(1rem, 2vw, 1.1rem); }
.brand-logo { width: clamp(24px, 3vw, 28px); height: clamp(24px, 3vw, 28px); border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; gap: clamp(16px, 3vw, 32px); }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-dim); transition: 0.2s; }
.nav-links a:hover { color: var(--text-main); }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Hamburger (Mobile) */
.hamburger { display: none; flex-direction: column; gap: 5px; width: 30px; height: 24px; z-index: 101; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--text-main); transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { 
    min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center;
    padding-top: clamp(80px, 12vw, 120px); text-align: center;
}
.hero-wrap { max-width: 800px; padding: 0 clamp(16px, 4vw, 24px); width: 100%; }
.hero-badge { 
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
    font-size: clamp(10px, 1.5vw, 12px); font-weight: 600; color: var(--text-dim); margin-bottom: clamp(20px, 4vw, 32px);
}
.badge-dot { width: 8px; height: 8px; background: var(--neon); border-radius: 50%; box-shadow: 0 0 10px var(--neon); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.hero-title { font-size: clamp(2.5rem, 8vw, 5.5rem); margin-bottom: clamp(16px, 3vw, 24px); letter-spacing: -0.03em; }
.hero-sub { font-size: clamp(0.95rem, 2vw, 1.25rem); color: var(--text-dim); margin-bottom: clamp(32px, 5vw, 40px); }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: clamp(48px, 8vw, 64px); flex-wrap: wrap; }

.hero-stats { 
    display: flex; justify-content: center; align-items: center; gap: clamp(16px, 4vw, 32px);
    padding-top: clamp(24px, 4vw, 40px); border-top: 1px solid var(--border); flex-wrap: wrap;
}
.h-stat { display: flex; flex-direction: column; align-items: center; }
.h-stat-num { font-family: var(--font-mono); font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; color: var(--text-main); }
.h-stat-lbl { font-size: clamp(10px, 1.5vw, 12px); color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.h-stat-sep { width: 1px; height: 40px; background: var(--border); }

/* About */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 64px); align-items: start; }
.about-right p { color: var(--text-dim); font-size: clamp(0.95rem, 1.5vw, 1.1rem); margin-bottom: 24px; }
.about-highlight { display: flex; gap: clamp(12px, 2vw, 20px); margin-top: clamp(24px, 4vw, 40px); }
.highlight-bar { width: 4px; background: var(--neon); border-radius: 4px; }
.about-highlight p { color: var(--text-main); font-family: var(--font-heading); font-size: clamp(1.05rem, 2vw, 1.2rem); margin: 0; }
.about-highlight strong { color: var(--neon); }

/* Why Section */
.why-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 4vw, 40px); margin-top: clamp(32px, 5vw, 48px);
    border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 40px);
    background: var(--bg-card);
}
.why-card { display: flex; flex-direction: column; gap: 12px; }
.why-icon { 
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--neon-dim);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    background: rgba(180,255,57,0.05); color: var(--neon); margin-bottom: 8px;
}
.why-card h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--neon); letter-spacing: 1px; text-transform: uppercase; }
.why-card p { color: var(--text-dim); font-size: clamp(0.9rem, 1.5vw, 1rem); }

/* Bot Section */
.bot-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 64px); align-items: center; }
.bot-desc { color: var(--text-dim); font-size: clamp(0.95rem, 1.5vw, 1.1rem); margin-bottom: clamp(24px, 4vw, 40px); }
.bot-feat { display: flex; gap: 16px; margin-bottom: 24px; }
.bot-feat-icon { font-size: 24px; flex-shrink: 0; }
.bot-feat h4 { color: var(--text-main); font-size: clamp(1rem, 1.5vw, 1.1rem); margin-bottom: 4px; }
.bot-feat p { color: var(--text-dim); font-size: clamp(0.85rem, 1.5vw, 0.95rem); }

.bot-terminal { 
    background: #000; border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); font-family: var(--font-mono);
}
.term-bar { 
    background: #111; padding: 12px 16px; display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid #222;
}
.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-title { margin-left: auto; margin-right: auto; color: #555; font-size: 10px; }
.term-body { padding: clamp(16px, 3vw, 24px); font-size: clamp(12px, 1.5vw, 14px); line-height: 1.8; color: #aaa; overflow-x: auto; }
.t-prompt { color: var(--neon); }
.t-cmd { color: #fff; }
.t-success { color: var(--neon); }
.t-info { color: #888; }
.t-glow { color: var(--neon); text-shadow: 0 0 10px var(--neon-dim); }
.term-cursor { display: inline-block; width: 8px; height: 16px; background: #fff; vertical-align: middle; animation: blink 1s infinite; }

/* Gallery */
.gallery-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(24px, 4vw, 40px); flex-wrap: wrap; gap: 16px; }
.gallery-count { font-family: var(--font-mono); font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 700; color: var(--text-main); text-align: right; }
.gallery-count span { display: block; font-size: 10px; color: var(--text-dim); letter-spacing: 2px; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: clamp(8px, 2vw, 16px); }
.g-card { 
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: 0.3s; cursor: pointer;
}
.g-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.g-img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: clamp(3rem, 5vw, 4rem); background: #111; }
.g-info { padding: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; }
.g-dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 10px var(--accent); }

/* Holders */
.holder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(16px, 4vw, 24px); margin-top: clamp(32px, 5vw, 48px); }
.holder-card { 
    background: var(--bg-card); padding: clamp(24px, 4vw, 32px); border-radius: var(--radius-lg);
    border: 1px solid var(--border); transition: 0.3s;
}
.holder-card:hover { border-color: var(--neon-dim); background: var(--bg-card-hover); }
.hc-num { font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; color: var(--neon-dim); margin-bottom: 16px; }
.holder-card h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); margin-bottom: 12px; }
.holder-card p { color: var(--text-dim); font-size: clamp(0.9rem, 1.5vw, 1rem); }

/* Vision */
.vision-quote { margin-top: clamp(32px, 5vw, 48px); }
.vision-quote p { font-size: clamp(1.1rem, 3vw, 2rem); color: var(--text-dim); margin-bottom: clamp(16px, 3vw, 24px); font-family: var(--font-heading); }
.vision-quote strong { color: var(--text-main); }
.vision-quote .vision-end { margin-top: clamp(32px, 6vw, 64px); }

/* CTA */
.cta-section { border-top: 1px solid var(--border); }
.cta-title { font-size: clamp(2rem, 6vw, 4rem); margin-bottom: clamp(16px, 3vw, 24px); letter-spacing: -0.03em; }
.cta-sub { font-size: clamp(0.95rem, 1.5vw, 1.1rem); color: var(--text-dim); margin-bottom: clamp(32px, 5vw, 40px); }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: #030304; padding-top: clamp(60px, 10vw, 80px); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: clamp(32px, 6vw, 48px); margin-bottom: clamp(40px, 8vw, 80px); }
.footer-brand p { color: var(--text-dim); margin-top: 16px; max-width: 300px; font-size: clamp(0.85rem, 1.5vw, 1rem); }
.footer-links { display: flex; gap: clamp(40px, 8vw, 80px); flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; color: var(--neon); letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; }
.footer-col a { display: block; color: var(--text-dim); margin-bottom: 12px; font-size: clamp(13px, 1.5vw, 15px); transition: 0.2s; }
.footer-col a:hover { color: var(--neon); }
.footer-bottom { 
    border-top: 1px solid var(--border); padding: 24px 0; 
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    color: var(--text-dim); font-size: 12px; font-family: var(--font-mono);
}


/* =========================================
   WHITELIST PAGE (NesoArts Style)
   ========================================= */
.wl-body { background: #030304; }
.app-main { min-height: 100vh; min-height: 100dvh; padding: clamp(100px, 15vw, 120px) 24px 80px; display: flex; justify-content: center; align-items: flex-start; }

.pass-card {
    width: 100%; max-width: 520px; background: #0d0d12; border: 1px solid #1a1a24;
    border-radius: clamp(16px, 3vw, 20px); padding: clamp(24px, 5vw, 32px); box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    position: relative; overflow: hidden;
}

/* Pass Header */
.pass-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.pass-title h2 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); letter-spacing: 1px; color: var(--text-main); }
.pass-title h2 span { color: var(--neon); }
.pass-title p { font-family: var(--font-mono); font-size: 9px; color: var(--text-dim); letter-spacing: 2px; margin-top: 4px; }

.pass-status { text-align: right; }
.pass-status p { font-family: var(--font-mono); font-size: 9px; color: var(--text-dim); letter-spacing: 2px; margin-bottom: 4px; }
.pass-status h3 { font-family: var(--font-mono); font-size: clamp(1.2rem, 3vw, 1.5rem); color: var(--neon); line-height: 1; }
.pass-status span.total { font-size: 1rem; color: var(--text-dim); }

/* Progress */
.pass-progress { display: flex; gap: 8px; margin-bottom: 32px; }
.prog-segment { flex: 1; height: 4px; background: #1a1a24; border-radius: 2px; transition: 0.4s; }
.prog-segment.active { background: var(--neon); box-shadow: 0 0 10px var(--neon-dim); }

/* Task List */
.task-list { display: flex; flex-direction: column; gap: 0; }
.task-row { 
    display: flex; align-items: center; padding: clamp(16px, 4vw, 24px) 0; border-bottom: 1px solid #1a1a24;
    transition: 0.3s; opacity: 1; gap: 12px; flex-wrap: wrap;
}
.task-row:last-child { border-bottom: none; }
.task-row.locked { opacity: 0.4; filter: grayscale(1); pointer-events: none; }

.t-num { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.t-info { flex: 1; min-width: 140px; }
.t-info h4 { font-size: clamp(13px, 2vw, 15px); margin-bottom: 4px; word-break: break-word; }
.t-info p { font-size: clamp(11px, 1.5vw, 13px); color: var(--text-dim); }

.t-btn { 
    padding: 8px 16px; border-radius: 100px; font-size: 12px; font-weight: 600;
    transition: 0.3s; white-space: nowrap; flex-shrink: 0;
}
.t-btn.btn-primary { background: transparent; border: 1px solid var(--neon); color: var(--neon); }
.t-btn.btn-primary:hover { background: var(--neon); color: var(--text-dark); }
.t-btn.btn-locked { background: #1a1a24; color: var(--text-dim); border: 1px solid transparent; }
.t-btn.btn-done { background: var(--neon); color: var(--text-dark); pointer-events: none; }

.pass-divider { height: 1px; background: repeating-linear-gradient(90deg, #1a1a24, #1a1a24 4px, transparent 4px, transparent 8px); margin: 24px 0; }

/* Form */
.pass-form { transition: 0.4s; }
.pass-form.locked-form { opacity: 0.3; pointer-events: none; }
.input-group { margin-bottom: 20px; }
.input-group label { 
    display: block; font-family: var(--font-mono); font-size: 9px; 
    color: var(--text-dim); letter-spacing: 2px; margin-bottom: 8px;
}
.input-group input { 
    width: 100%; background: #060608; border: 1px solid #1a1a24; border-radius: 8px;
    padding: 14px 16px; color: var(--text-main); font-family: var(--font-mono); font-size: 13px;
    outline: none; transition: 0.3s;
}
.input-group input:focus { border-color: var(--neon); }

.btn-stamp {
    width: 100%; padding: 16px; background: var(--neon); color: var(--text-dark);
    font-family: var(--font-heading); font-size: 15px; font-weight: 700; border-radius: 8px;
    transition: 0.3s; margin-top: 12px;
}
.btn-stamp:hover { transform: translateY(-2px); box-shadow: 0 10px 20px var(--neon-dim); }
.btn-stamp.disabled { background: #1a1a24; color: #555; pointer-events: none; }
.btn-stamp.loading { opacity: 0.8; pointer-events: none; }

/* Success */
.pass-success { text-align: center; padding: 40px 0; }
.s-icon { font-size: 48px; margin-bottom: 24px; }
.pass-success h3 { font-size: 24px; color: var(--neon); margin-bottom: 12px; }
.pass-success p { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; }
.s-wallet { 
    font-family: var(--font-mono); font-size: 11px; padding: 12px; 
    background: rgba(180,255,57,0.1); color: var(--neon); border-radius: 8px; 
    word-break: break-all;
}

/* Animations */
.anim-up { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.anim-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }

/* =================== MOBILE RESPONSIVE TWEAKS =================== */

@media(max-width: 1024px) {
    .about-layout { gap: 40px; }
    .bot-layout { grid-template-columns: 1fr; }
    .term-body { max-height: 300px; overflow-y: auto; }
}

@media(max-width: 768px) {
    /* Slide-in Mobile Nav */
    .nav-links {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 80vw);
        background: rgba(6,6,8,0.98); backdrop-filter: blur(20px); border-left: 1px solid var(--border);
        flex-direction: column; justify-content: center; align-items: center; gap: 40px;
        transform: translateX(100%); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 99;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1.2rem; }
    .nav-right .btn { display: none; } /* Hide claim button on nav for mobile, keep hamburger */
    .hamburger { display: flex; z-index: 101; }
    
    /* Layouts */
    .about-layout { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    
    .h-stat-sep { display: none; }
    
    .footer-top { flex-direction: column; }
    .footer-links { width: 100%; justify-content: space-between; }
}

@media(max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    
    .task-row { flex-wrap: wrap; }
    .t-num { width: 100%; margin-bottom: 8px; margin-right: 0; }
    .t-info { width: 100%; margin-bottom: 12px; }
    .t-btn { width: 100%; }
}
