:root {
    --bg-main: #06060c;
    --bg-card: #0d0d16;
    --bg-card-hover: #14142a;
    --accent-primary: #ccff00;
    --accent-secondary: #ff4d00;
    --accent-tertiary: #00f0ff;
    --accent-glow: rgba(204, 255, 0, 0.15);
    --text-primary: #f4f5f8;
    --text-secondary: #9ba1b8;
    --border-dim: #151520;
    --border-mid: #222233;

    --font-heading: 'Press Start 2P', monospace;
    --font-body: 'Inter', sans-serif;

    --hard-shadow: 4px 4px 0 #000;
    --hard-shadow-hover: 6px 6px 0 #000;
    --hard-shadow-active: 2px 2px 0 #000;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Crect width='4' height='4' x='6' y='6' fill='%23ccff00'/%3E%3C/svg%3E") 8 8, auto;
}

/* Selection color */
::selection {
    background: var(--accent-primary);
    color: #000;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border: 2px solid #000;
}

/* ===== BACKGROUND GRID ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(204, 255, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

/* ===== CRT OVERLAY ===== */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.015), rgba(0, 0, 255, 0.03));
    background-size: 100% 2px, 3px 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.4;
}

/* Scan sweep line */
.crt-overlay::after {
    content: '';
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(
        transparent 0%,
        transparent 49.5%,
        rgba(204, 255, 0, 0.04) 49.5%,
        rgba(204, 255, 0, 0.04) 50.5%,
        transparent 50.5%,
        transparent 100%
    );
    animation: scanSweep 8s linear infinite;
    pointer-events: none;
    z-index: 9999;
}

@keyframes scanSweep {
    0% { transform: translateY(0); }
    100% { transform: translateY(50%); }
}

/* ===== PARTICLE CANVAS ===== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ===== FLOATING AMBIENT GIFS ===== */
.floating-fuds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floater {
    position: absolute;
    width: 70px;
    height: 70px;
    opacity: 0.05;
    image-rendering: pixelated;
    filter: saturate(0.4) hue-rotate(20deg);
    animation: floatDrift 20s infinite ease-in-out;
}

.floater-1 { top: 8%; left: 3%; animation-duration: 24s; animation-delay: 0s; }
.floater-2 { top: 55%; right: 5%; animation-duration: 19s; animation-delay: -5s; }
.floater-3 { top: 25%; right: 12%; animation-duration: 26s; animation-delay: -10s; }
.floater-4 { bottom: 10%; left: 8%; animation-duration: 21s; animation-delay: -3s; }

@keyframes floatDrift {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-40px) rotate(5deg) scale(1.05); }
    50% { transform: translateY(15px) rotate(-3deg) scale(0.95); }
    75% { transform: translateY(-25px) rotate(2deg) scale(1.02); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    background-color: rgba(6, 6, 12, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 3px solid #000;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 1.2rem;
    text-shadow: 0 0 20px rgba(204, 255, 0, 0.5), 0 0 40px rgba(204, 255, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: text-shadow 0.3s;
}

.logo a:hover {
    text-shadow: 0 0 30px rgba(204, 255, 0, 0.8), 0 0 60px rgba(204, 255, 0, 0.4);
}

.logo-gif {
    width: 36px;
    height: 36px;
    border: 2px solid var(--accent-primary);
    image-rendering: pixelated;
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.3);
}

.desktop-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 14px;
    border: 2px solid transparent;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.1);
}

/* ===== PIXEL BUTTON ===== */
.pixel-btn {
    background-color: var(--accent-primary);
    color: #000;
    border: 3px solid #000;
    padding: 11px 22px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
    box-shadow: var(--hard-shadow);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s;
    letter-spacing: 0.6px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.pixel-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: none;
}

.pixel-btn:hover::before {
    animation: btnShine 0.6s ease;
}

@keyframes btnShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.pixel-btn:hover {
    box-shadow: var(--hard-shadow-hover), 0 0 20px rgba(204, 255, 0, 0.3);
    transform: translate(-2px, -2px);
}

.pixel-btn:active {
    box-shadow: var(--hard-shadow-active);
    transform: translate(2px, 2px);
}

.pixel-btn.connected {
    background-color: var(--bg-card);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: var(--hard-shadow), 0 0 15px rgba(204, 255, 0, 0.2);
}

.pixel-btn.secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.pixel-btn.secondary:hover {
    background-color: var(--text-primary);
    color: #000;
}

/* CTA pulse glow */
.cta-btn {
    font-size: 0.9rem;
    padding: 14px 28px;
    animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: var(--hard-shadow), 0 0 15px rgba(204, 255, 0, 0.2); }
    50% { box-shadow: var(--hard-shadow), 0 0 35px rgba(204, 255, 0, 0.5); }
}

.cta-btn:hover {
    animation: none;
}

/* ===== HERO ===== */
.hero {
    padding: 60px 0 40px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    background-color: rgba(204, 255, 0, 0.07);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 8px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
    display: inline-block;
    letter-spacing: 0.8px;
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.1);
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 10px rgba(204, 255, 0, 0.1); }
    50% { box-shadow: 0 0 25px rgba(204, 255, 0, 0.25); }
}

/* ===== GLITCH TITLE ===== */
.glitch-title {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    color: #fff;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
    animation: titleFlicker 4s infinite;
}

@keyframes titleFlicker {
    0%, 95%, 100% { opacity: 1; }
    96% { opacity: 0.8; }
    97% { opacity: 1; }
    98% { opacity: 0.9; }
}

.glitch-title::before, .glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
}

.glitch-title::before {
    left: 3px;
    text-shadow: -3px 0 var(--accent-primary);
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    animation: glitch1 2s infinite linear alternate-reverse;
}

.glitch-title::after {
    left: -3px;
    text-shadow: -3px 0 var(--accent-secondary);
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    animation: glitch2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch1 {
    0% { clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%); transform: translate(0); }
    10% { clip-path: polygon(0 60%, 100% 60%, 100% 62%, 0 62%); transform: translate(-3px, 1px); }
    20% { clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%); transform: translate(2px, -1px); }
    30% { clip-path: polygon(0 10%, 100% 10%, 100% 50%, 0 50%); transform: translate(-1px, 2px); }
    40% { clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%); transform: translate(3px, 0); }
    50% { clip-path: polygon(0 70%, 100% 70%, 100% 72%, 0 72%); transform: translate(-2px, -1px); }
    60% { clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%); transform: translate(1px, 2px); }
    70% { clip-path: polygon(0 85%, 100% 85%, 100% 86%, 0 86%); transform: translate(-3px, -2px); }
    80% { clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%); transform: translate(2px, 1px); }
    90% { clip-path: polygon(0 5%, 100% 5%, 100% 8%, 0 8%); transform: translate(-1px, 0); }
    100% { clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%); transform: translate(0); }
}

@keyframes glitch2 {
    0% { clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%); transform: translate(0); }
    15% { clip-path: polygon(0 3%, 100% 3%, 100% 5%, 0 5%); transform: translate(3px, -1px); }
    30% { clip-path: polygon(0 75%, 100% 75%, 100% 78%, 0 78%); transform: translate(-2px, 1px); }
    45% { clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%); transform: translate(2px, -2px); }
    60% { clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%); transform: translate(-3px, 2px); }
    75% { clip-path: polygon(0 90%, 100% 90%, 100% 92%, 0 92%); transform: translate(1px, -1px); }
    100% { clip-path: polygon(0 40%, 100% 40%, 100% 40%, 0 40%); transform: translate(0); }
}

/* ===== TYPEWRITER SUBTITLE ===== */
.subtitle {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--accent-secondary);
    text-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--accent-secondary);
    white-space: nowrap;
    animation: typing 2s steps(28) forwards, blink 0.6s step-end infinite;
    width: 0;
    display: inline-block;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.description {
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* ===== HERO STATS - Animated counters ===== */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-top: 2px solid var(--border-dim);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(204, 255, 0, 0.4);
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.5rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.stat-divider {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--accent-primary), transparent);
}

/* ===== HERO SHOWCASE ===== */
.hero-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.showcase-card {
    border: 4px solid var(--border-mid);
    background: var(--bg-card);
    box-shadow: 8px 8px 0 #000;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    display: block;
}

.main-card {
    width: 260px;
    height: 260px;
    z-index: 3;
    border-color: var(--accent-primary);
    box-shadow: 8px 8px 0 rgba(204, 255, 0, 0.3), 0 0 40px rgba(204, 255, 0, 0.15);
    animation: mainCardFloat 4s ease-in-out infinite;
}

@keyframes mainCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.main-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-tertiary), var(--accent-secondary), var(--accent-primary));
    background-size: 400% 400%;
    z-index: -1;
    animation: borderGlow 4s linear infinite;
    filter: blur(8px);
    opacity: 0.5;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.side-card {
    width: 180px;
    height: 180px;
    position: absolute;
    z-index: 2;
    opacity: 0.7;
    filter: brightness(0.6);
}

.side-card:hover {
    opacity: 1;
    filter: brightness(1);
    z-index: 4;
    transform: scale(1.08) !important;
    box-shadow: 8px 8px 0 rgba(204, 255, 0, 0.3), 0 0 30px rgba(204, 255, 0, 0.2);
    border-color: var(--accent-primary);
}

.side-card.left {
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-6deg);
    animation: sideFloatLeft 5s ease-in-out infinite;
}

@keyframes sideFloatLeft {
    0%, 100% { transform: translateY(-50%) rotate(-6deg); }
    50% { transform: translateY(calc(-50% - 8px)) rotate(-4deg); }
}

.side-card.right {
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(6deg);
    animation: sideFloatRight 5s ease-in-out infinite 1s;
}

@keyframes sideFloatRight {
    0%, 100% { transform: translateY(-50%) rotate(6deg); }
    50% { transform: translateY(calc(-50% - 8px)) rotate(4deg); }
}

/* ===== GIF RAIL ===== */
.gif-rail-wrapper {
    overflow: hidden;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    background: linear-gradient(90deg, var(--bg-card), rgba(204, 255, 0, 0.03), var(--bg-card));
    padding: 12px 0;
    position: relative;
    z-index: 2;
}

/* Fade edges */
.gif-rail-wrapper::before, .gif-rail-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.gif-rail-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-card), transparent);
}

.gif-rail-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-card), transparent);
}

.gif-rail-track {
    display: flex;
    gap: 12px;
    animation: railScroll 20s linear infinite;
    width: max-content;
}

.gif-rail-track img {
    width: 80px;
    height: 80px;
    border: 3px solid var(--border-mid);
    image-rendering: pixelated;
    flex-shrink: 0;
    transition: all 0.3s;
    background: #000;
}

.gif-rail-track img:hover {
    border-color: var(--accent-primary);
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.4);
    z-index: 10;
    position: relative;
}

@keyframes railScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
    background: linear-gradient(90deg, var(--accent-primary), #00ff88, var(--accent-primary));
    background-size: 200% 100%;
    animation: marqueeGradient 4s linear infinite;
    color: #000;
    padding: 12px 0;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

@keyframes marqueeGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.marquee {
    display: flex;
    width: 200%;
    animation: marquee 25s linear infinite;
}

.marquee span {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    white-space: nowrap;
    width: 50%;
    letter-spacing: 2px;
    font-weight: 800;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== TASKS SECTION ===== */
.tasks-section {
    padding: 100px 20px;
    max-width: 800px;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(204, 255, 0, 0.3);
}

.section-header p {
    color: var(--text-secondary);
}

/* ===== PROGRESS BAR ===== */
.progress-wrapper {
    background-color: var(--bg-card);
    border: 3px solid var(--border-mid);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--hard-shadow);
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.progress-text { color: var(--text-primary); }
#progress-percentage { color: var(--accent-primary); }

.progress-bar {
    height: 14px;
    background-color: #000;
    border: 2px solid var(--border-mid);
    width: 100%;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), #00ff88);
    width: 0%;
    transition: width 0.5s ease-out;
    position: relative;
}

/* Animated stripes on progress bar */
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 4px,
        rgba(0,0,0,0.15) 4px,
        rgba(0,0,0,0.15) 8px
    );
    animation: progressStripes 1s linear infinite;
}

@keyframes progressStripes {
    0% { background-position: 0 0; }
    100% { background-position: 16px 0; }
}

/* ===== TASK CARDS ===== */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.task-card {
    background-color: var(--bg-card);
    border: 3px solid var(--border-mid);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: var(--hard-shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.task-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle animated border glow on hover */
.task-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, var(--accent-primary), transparent);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.task-card:hover::before {
    opacity: 0.3;
    animation: borderGlow 3s linear infinite;
}

.task-card:hover {
    border-color: #333;
    background-color: var(--bg-card-hover);
    transform: translateX(4px);
}

.task-card.completed {
    border-color: var(--accent-primary);
    box-shadow: 4px 4px 0 var(--accent-primary), 0 0 30px rgba(204, 255, 0, 0.08);
}

.task-card.completed::before {
    opacity: 0.15;
    animation: borderGlow 3s linear infinite;
}

.task-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.task-gif-icon {
    width: 52px;
    height: 52px;
    border: 3px solid var(--border-mid);
    overflow: hidden;
    flex-shrink: 0;
    background: #000;
    transition: all 0.3s;
}

.task-gif-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.task-card:hover .task-gif-icon {
    border-color: #444;
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.1);
}

.task-card.completed .task-gif-icon {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}

.task-details h3 {
    font-size: 1.08rem;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 700;
    line-height: 1.35;
}

.task-details p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.task-btn {
    background-color: #161626;
    color: #fff;
    border: 2px solid #33334d;
    padding: 11px 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 2px 2px 0 #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.task-btn:hover {
    background-color: #222;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #000;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(204, 255, 0, 0.5);
}

.task-card.completed .task-btn {
    background-color: transparent;
    border: none;
    box-shadow: none;
    color: var(--accent-primary);
    font-size: 1.5rem;
    pointer-events: none;
    transform: none;
    font-family: var(--font-body);
    font-weight: 800;
    text-shadow: 0 0 15px rgba(204, 255, 0, 0.6);
    animation: checkPop 0.4s ease-out;
}

@keyframes checkPop {
    0% { transform: scale(0); }
    60% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.task-card.completed .task-btn::before {
    content: "\2713";
}

/* Like + Repost split buttons */
.task-action-split {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.task-btn.half-done {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background-color: rgba(204, 255, 0, 0.08);
}

/* ===== STATUS BANNER ===== */
.status-banner {
    margin-top: 30px;
    padding: 18px 24px;
    text-align: center;
    border: 3px solid var(--border-mid);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: var(--hard-shadow);
    transition: all 0.5s;
    letter-spacing: 0.5px;
}

.status-banner.incomplete {
    background-color: var(--bg-card);
    color: var(--text-secondary);
}

.status-banner.complete {
    background-color: rgba(204, 255, 0, 0.08);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
    animation: bannerCelebrate 2s ease-in-out infinite;
}

@keyframes bannerCelebrate {
    0%, 100% { box-shadow: 4px 4px 0 var(--accent-primary), 0 0 30px rgba(204, 255, 0, 0.1); }
    50% { box-shadow: 4px 4px 0 var(--accent-primary), 0 0 60px rgba(204, 255, 0, 0.3); }
}

/* ===== GALLERY ===== */
.gallery-section {
    padding: 80px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.gallery-item {
    position: relative;
    border: 3px solid var(--border-mid);
    background: #000;
    overflow: hidden;
    box-shadow: var(--hard-shadow);
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(204, 255, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover {
    border-color: var(--accent-primary);
    transform: translate(-3px, -3px) scale(1.03);
    box-shadow: 7px 7px 0 rgba(204, 255, 0, 0.3), 0 0 30px rgba(204, 255, 0, 0.15);
    z-index: 5;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ===== BOTTOM CTA ===== */
.bottom-cta {
    padding: 60px 20px 80px;
}

.cta-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--bg-card);
    border: 3px solid var(--border-mid);
    padding: 40px;
    box-shadow: 8px 8px 0 #000;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(204, 255, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: ctaGlow 5s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.cta-gif { flex-shrink: 0; }

.cta-gif img {
    width: 200px;
    height: 200px;
    border: 4px solid var(--accent-primary);
    image-rendering: pixelated;
    box-shadow: 6px 6px 0 rgba(204, 255, 0, 0.3), 0 0 30px rgba(204, 255, 0, 0.15);
    animation: mainCardFloat 4s ease-in-out infinite;
}

.cta-content h2 {
    font-family: var(--font-body);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 14px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* ===== FOOTER ===== */
footer {
    border-top: 3px solid #000;
    padding: 50px 0;
    background-color: var(--bg-card);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-gif {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-mid);
    image-rendering: pixelated;
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    border: 2px solid var(--border-mid);
    padding: 9px 18px;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.social-link:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.2);
    text-shadow: 0 0 8px rgba(204, 255, 0, 0.5);
}

.social-link.disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.5;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 10px;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #06060c;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-gif {
    width: 120px;
    height: 120px;
    image-rendering: pixelated;
    border: 4px solid var(--accent-primary);
    box-shadow: 0 0 40px rgba(204, 255, 0, 0.3);
    margin-bottom: 25px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(204, 255, 0, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(204, 255, 0, 0.5); }
}

.loader-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-primary);
    text-shadow: 0 0 30px rgba(204, 255, 0, 0.5);
    margin-bottom: 25px;
}

.loader-bar-wrapper {
    width: 200px;
    margin: 0 auto 15px;
}

.loader-bar {
    height: 8px;
    background: #111;
    border: 2px solid var(--border-mid);
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-primary), #00ff88);
    transition: width 0.3s;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* ===== SOUND TOGGLE ===== */
.sound-toggle {
    position: fixed;
    bottom: 44px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: var(--hard-shadow);
}

.sound-toggle:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.2);
}

/* ===== FUD QUOTES TICKER ===== */
.fud-quotes-wrapper {
    overflow: hidden;
    background: rgba(255, 77, 0, 0.06);
    border-top: 2px solid rgba(255, 77, 0, 0.2);
    border-bottom: 2px solid rgba(255, 77, 0, 0.2);
    padding: 10px 0;
    position: relative;
    z-index: 2;
}

.fud-quotes-track {
    display: flex;
    animation: quotesScroll 40s linear infinite;
    width: max-content;
}

.fud-quotes-track .quote-item {
    white-space: nowrap;
    padding: 0 36px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-secondary);
    letter-spacing: 0.5px;
    opacity: 0.9;
}

@keyframes quotesScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== SHARE WL BUTTON ===== */
.share-wl-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 16px 24px;
    background: #000;
    border: 3px solid var(--accent-primary);
    color: var(--accent-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--hard-shadow);
    transition: all 0.2s;
    letter-spacing: 0.6px;
    animation: shareGlow 2s ease-in-out infinite;
}

.share-wl-btn:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.4);
}

@keyframes shareGlow {
    0%, 100% { box-shadow: var(--hard-shadow), 0 0 10px rgba(204, 255, 0, 0.1); }
    50% { box-shadow: var(--hard-shadow), 0 0 25px rgba(204, 255, 0, 0.3); }
}

/* ===== LORE SECTION ===== */
.lore-section {
    padding: 80px 20px;
}

.lore-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lore-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 3px solid var(--border-dim);
    padding: 30px;
    box-shadow: var(--hard-shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.lore-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
}

.lore-card:hover {
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.lore-gif {
    flex-shrink: 0;
}

.lore-gif img {
    width: 120px;
    height: 120px;
    border: 3px solid var(--border-mid);
    image-rendering: pixelated;
}

.lore-text h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 10px;
    line-height: 1.35;
}

.lore-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.lore-text em {
    color: var(--accent-secondary);
    font-style: italic;
}

.lore-text strong {
    color: var(--accent-primary);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 20px;
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 3px solid var(--border-dim);
    background: var(--bg-card);
    box-shadow: var(--hard-shadow);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #333;
}

.faq-item.active {
    border-color: var(--accent-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-arrow {
    font-size: 1rem;
    transition: transform 0.3s;
    color: var(--accent-primary);
}

.faq-item.active .faq-arrow {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 16px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-text { display: flex; flex-direction: column; align-items: center; }
    .description { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-showcase { min-height: 300px; }
    .main-card { width: 200px; height: 200px; }
    .side-card { width: 130px; height: 130px; }
    .lore-card { flex-direction: column; align-items: center; text-align: center; }
    .lore-card::before { width: 100%; height: 4px; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .glitch-title { font-size: 3.5rem; }
    .subtitle { font-size: 1.1rem; }
    .task-card { flex-direction: column; align-items: flex-start; gap: 16px; }
    .task-action { width: 100%; display: flex; justify-content: flex-end; }
    .cta-card { flex-direction: column; text-align: center; padding: 30px 20px; }
    .cta-gif img { width: 150px; height: 150px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .gif-rail-track img { width: 60px; height: 60px; }
    .floater { width: 45px; height: 45px; }
    .lore-gif img { width: 90px; height: 90px; }
    .faq-question { font-size: 0.5rem; }
}

@media (max-width: 480px) {
    .glitch-title { font-size: 2.5rem; }
    .hero { padding: 40px 0 20px; min-height: auto; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .side-card { display: none; }
    .hero-showcase { min-height: 220px; }
    .loader-gif { width: 80px; height: 80px; }
    .loader-title { font-size: 1.8rem; }
}


/* ===== PRO EDITORIAL ELEMENTS & HEADER STATUS ===== */
.header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(204, 255, 0, 0.06);
    border: 1px solid rgba(204, 255, 0, 0.35);
    padding: 5px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.5px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-primary);
    animation: dotPulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.section-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-secondary);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Showcase card captions */
.showcase-card {
    cursor: pointer;
}

.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(6, 6, 12, 0.9);
    border-top: 2px solid var(--border-mid);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
}

.caption-tag {
    color: var(--accent-primary);
    font-size: 0.6rem;
}

/* ===== ON-CHAIN SPECIFICATION STRIP ===== */
.spec-strip-wrapper {
    background: #090913;
    border-top: 2px solid var(--border-mid);
    border-bottom: 2px solid var(--border-mid);
    position: relative;
    z-index: 2;
}

.spec-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0;
}

.spec-cell {
    padding: 18px 20px;
    border-right: 1px solid var(--border-mid);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-cell:last-child {
    border-right: none;
}

.spec-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.spec-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
}

/* ===== SOUNDTRACK EQUALIZER PILL ===== */
.sound-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    height: 42px;
    padding: 0 16px;
    width: auto;
    background: rgba(11, 11, 22, 0.95);
    border: 2px solid var(--border-mid);
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    z-index: 100001;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: var(--hard-shadow);
}

.sound-toggle.playing {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.sound-toggle:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 18px rgba(204, 255, 0, 0.25);
}

.eq-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.eq-bars i {
    display: block;
    width: 3px;
    height: 4px;
    background: currentColor;
    transition: height 0.2s;
}

.sound-toggle.playing .eq-bars i:nth-child(1) { animation: eqBounce 0.6s ease-in-out infinite; }
.sound-toggle.playing .eq-bars i:nth-child(2) { animation: eqBounce 0.45s ease-in-out 0.15s infinite; }
.sound-toggle.playing .eq-bars i:nth-child(3) { animation: eqBounce 0.7s ease-in-out 0.08s infinite; }
.sound-toggle.playing .eq-bars i:nth-child(4) { animation: eqBounce 0.5s ease-in-out 0.22s infinite; }

@keyframes eqBounce {
    0%, 100% { height: 4px; }
    50% { height: 14px; }
}

/* ===== BRUTALLY HONEST MANIFESTO GATE (Interactive Cards) ===== */
.manifesto-gate {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 10, 0.93);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.manifesto-gate.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.manifesto-card {
    background: #0b0b16;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 50px rgba(204, 255, 0, 0.18), 8px 8px 0 #000;
    max-width: 650px;
    width: 100%;
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}

.manifesto-progress-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #151525;
}

.manifesto-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), #00ff88);
    transition: width 0.3s ease;
}

.manifesto-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-mid);
    padding-bottom: 12px;
    margin-bottom: 18px;
    gap: 10px;
}

.manifesto-terminal-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.manifesto-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.manifesto-top-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.manifesto-step-counter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-secondary);
    letter-spacing: 1px;
}

.manifesto-skip-btn {
    background: #121222;
    border: 1px solid #33334d;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 9px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.manifesto-skip-btn:hover {
    border-color: var(--accent-secondary);
    color: #fff;
}

.manifesto-stage {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #06060e;
    border: 2px solid var(--border-mid);
    padding: 22px 24px;
    min-height: 175px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s;
}

.manifesto-stage:hover {
    border-color: #33334d;
}

.manifesto-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.manifesto-gif {
    width: 92px;
    height: 92px;
    border: 3px solid var(--accent-primary);
    image-rendering: pixelated;
    box-shadow: 4px 4px 0 #000;
    transition: transform 0.25s ease;
}

.manifesto-speaker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.5px;
}

.manifesto-dialogue {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.manifesto-slide-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--accent-secondary);
    letter-spacing: 1px;
}

.manifesto-slide-title {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.manifesto-type-wrap {
    color: #dfe3f0;
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 4px 0 0;
    min-height: 5.1em;
}

.t-word {
    white-space: nowrap;
}

.t-ch {
    opacity: 0;
    position: relative;
}

.t-ch.t-visible {
    opacity: 1;
}

.t-ch.t-cursor::after {
    content: '\2588';
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 2px;
    color: var(--accent-primary);
    font-size: 0.85em;
    animation: cursorBlink 0.8s steps(2, start) infinite;
    pointer-events: none;
}

.manifesto-cursor {
    display: none;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.manifesto-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.manifesto-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.manifesto-dot {
    width: 12px;
    height: 12px;
    background: #1a1a2e;
    border: 2px solid #33334d;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.manifesto-dot.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
    transform: scale(1.15);
}

.manifesto-nav-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.manifesto-prev-btn {
    padding: 11px 16px;
    font-size: 0.78rem;
}

.manifesto-next-btn {
    padding: 12px 24px;
    font-size: 0.85rem;
}

/* ===== INTERACTIVE SPECIMEN EXPLORER & TRAIT INSPECTOR ===== */
.specimen-inspector {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    background: var(--bg-card);
    border: 3px solid var(--border-mid);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--hard-shadow);
    align-items: center;
}

.inspector-preview {
    position: relative;
    border: 3px solid var(--accent-primary);
    background: #000;
    aspect-ratio: 1;
    overflow: hidden;
    box-shadow: 4px 4px 0 #000;
}

.inspector-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    display: block;
}

.inspector-frame-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(6, 6, 12, 0.88);
    border-top: 2px solid var(--border-mid);
    padding: 5px 8px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.inspector-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.inspector-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 2px solid var(--border-mid);
    padding-bottom: 14px;
    flex-wrap: wrap;
}

.inspector-kicker {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.inspector-header h3 {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}

.inspector-traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
}

.trait-box {
    background: #070710;
    border: 2px solid var(--border-mid);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trait-type {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.trait-value {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 700;
}

.gallery-item {
    cursor: pointer;
    padding: 0;
    text-align: left;
    font-family: inherit;
    color: inherit;
}

.gallery-item.selected {
    border-color: var(--accent-primary);
    box-shadow: 5px 5px 0 var(--accent-primary), 0 0 25px rgba(204, 255, 0, 0.25);
}

.gallery-item-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(6, 6, 12, 0.92);
    border-top: 2px solid var(--border-mid);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    z-index: 2;
}

.gallery-item-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.gallery-item-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--accent-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lore-step {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-secondary);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

/* ===== 2-TASK TRIAL & SUBMISSION BOX ===== */
.task-step-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: #000;
    background: var(--accent-primary);
    padding: 2px 8px;
    margin-bottom: 6px;
    letter-spacing: 0.8px;
}

.highlight-tag {
    color: var(--accent-primary);
    font-weight: 800;
}

.task-card-expanded {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}

.task-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.wl-submit-box {
    background: #070710;
    border: 2px solid var(--border-mid);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wl-review-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 77, 0, 0.07);
    border: 1px solid rgba(255, 77, 0, 0.35);
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #ddd;
    line-height: 1.5;
    flex-wrap: wrap;
}

.notice-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #000;
    background: var(--accent-secondary);
    padding: 3px 8px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.wl-inputs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.wl-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wl-field label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.wl-field label span {
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0;
    font-weight: 400;
}

.wl-field input {
    width: 100%;
    background: #000;
    border: 2px solid var(--border-mid);
    color: #fff;
    padding: 12px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    transition: border-color 0.2s;
}

.wl-field input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 12px rgba(204, 255, 0, 0.15);
}

.wl-field input:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.wl-submit-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.wl-submit-btn {
    width: 100%;
    text-align: center;
}

.wl-feedback {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
    min-height: 1.2em;
}

.wl-feedback.error {
    color: #ff5533;
    font-weight: 600;
}

.wl-feedback.success {
    color: var(--accent-primary);
    font-weight: 600;
}

@media (max-width: 900px) {
    .spec-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .spec-cell {
        border-bottom: 1px solid var(--border-mid);
    }
    .specimen-inspector {
        grid-template-columns: 1fr;
    }
    .inspector-preview {
        max-width: 220px;
        margin: 0 auto;
    }
    .wl-inputs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-status-pill {
        display: none;
    }
    .manifesto-card {
        padding: 16px;
    }
    .manifesto-stage {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px;
    }
    .manifesto-slide-title {
        font-size: 0.68rem;
    }
    .manifesto-type-wrap {
        font-size: 0.9rem;
        min-height: 5.5em;
    }
    .task-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .wl-checker-form {
        flex-direction: column;
    }
    .wl-checker-form button {
        width: 100%;
    }
}

/* ===== WHITELIST CHECKER CARD ===== */
.wl-checker-card {
    margin-top: 28px;
    background: var(--bg-card);
    border: 2px solid var(--border-mid);
    padding: 26px 28px;
    box-shadow: 6px 6px 0 #000;
}

.wl-checker-header h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 6px 0 8px;
    letter-spacing: 0.5px;
}

.wl-checker-header p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 18px;
}

.wl-checker-form {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.wl-checker-form input {
    flex: 1;
    background: #07080f;
    border: 2px solid var(--border-mid);
    color: var(--text-primary);
    padding: 13px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wl-checker-form input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 12px rgba(204, 255, 0, 0.15);
}

.wl-checker-result {
    margin-top: 16px;
    padding: 16px 18px;
    border: 2px solid var(--border-mid);
    background: #080912;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

.wl-checker-result.approved {
    border-color: var(--accent-primary);
    background: rgba(204, 255, 0, 0.08);
    color: var(--accent-primary);
    box-shadow: 0 0 22px rgba(204, 255, 0, 0.15);
}

.wl-checker-result.pending {
    border-color: #ffb800;
    background: rgba(255, 184, 0, 0.08);
    color: #ffd15c;
}

.wl-checker-result.rejected,
.wl-checker-result.error {
    border-color: #ff2e55;
    background: rgba(255, 46, 85, 0.08);
    color: #ff6b86;
}

.wl-checker-result.not_found {
    border-color: var(--border-mid);
    color: var(--text-secondary);
}

/* ==========================================================================
   Official Minting Phases Section (#phases)
   ========================================================================== */
.phases-section {
    padding: 72px 20px 24px;
}

.phases-terminal {
    background: #060908;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 32px rgba(204, 255, 0, 0.14), 8px 8px 0 #000;
    padding: 36px 38px 40px;
    position: relative;
}

.phases-terminal-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(204, 255, 0, 0.22);
}

.phases-main-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--accent-primary);
    margin: 0 0 22px;
    line-height: 1.35;
    text-shadow: 0 0 14px rgba(204, 255, 0, 0.35);
}

.phases-overview-box {
    border: 2px solid var(--accent-primary);
    background: rgba(204, 255, 0, 0.03);
    padding: 20px 24px;
    margin-bottom: 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.phases-overview-box p {
    margin: 6px 0;
}

.phases-overview-box strong {
    color: #ffffff;
    font-weight: 800;
}

.phases-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 800;
    color: var(--accent-primary);
    margin: 0 0 18px;
    letter-spacing: 0.3px;
}

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

.phase-card {
    border: 2px solid var(--accent-primary);
    background: rgba(8, 14, 10, 0.92);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 5px 5px 0 #000;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.phase-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 #000, 0 0 20px rgba(204, 255, 0, 0.18);
    background: rgba(204, 255, 0, 0.05);
}

.phase-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 16px;
    line-height: 1.35;
}

.phase-rows {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.94rem;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.phase-rows p {
    margin: 7px 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.phase-rows span {
    color: #d6e2d8;
    font-weight: 600;
}

.phase-rows strong {
    color: #ffffff;
    font-weight: 800;
}

.phase-rows .phase-price.free {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(204, 255, 0, 0.4);
}

.phase-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    font-style: italic;
    color: var(--text-secondary);
    margin: 0;
    padding-top: 10px;
    border-top: 1px dashed rgba(204, 255, 0, 0.22);
}

@media (max-width: 768px) {
    .phases-terminal {
        padding: 24px 18px 28px;
    }

    .phases-grid {
        grid-template-columns: 1fr;
    }

    .wl-checker-form {
        flex-direction: column;
    }
}

