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

:root {
    --text: #000;
    --bg: #fff;
    --accent: #555555;
    --gray: #888;
    --light: #f8f8f8;
    --solana: #9945FF;
}

@font-face {
    font-family: 'System';
    src: local('-apple-system'), local('BlinkMacSystemFont'), local('Segoe UI'), local('Helvetica Neue'), local('Arial');
}

body {
    font-family: 'System', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

/* Live Counter Box */
.live-counter-box {
    margin: 0 auto 50px;
    padding: 25px 30px;
    border: 1px solid #e0e0e0;
    background: var(--bg);
    max-width: 280px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    position: relative;
}

.live-counter-box::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: pulse-live 2s ease infinite;
}

@keyframes pulse-live {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }
    50% { 
        opacity: 0.6;
        box-shadow: 0 0 0 4px rgba(0, 255, 0, 0);
    }
}

.counter-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 12px;
    text-align: center;
}

.counter-value {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: -0.01em;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 8px;
    min-height: 34px;
}

.counter-number {
    font-variant-numeric: tabular-nums;
}

.counter-loading {
    font-size: 14px;
    color: var(--gray);
    animation: fade 1.5s ease infinite;
}

.counter-error {
    font-size: 14px;
    color: #cc0000;
}

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

.counter-sublabel {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--gray);
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInDown 1s ease 0.5s forwards;
}

.navbar.scrolled {
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.95);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
}

.navbar-brand .small {
    font-size: 13px;
    font-weight: 600;
}

.navbar-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-link {
    font-size: 14px;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-link:hover {
    color: var(--text);
}

.navbar-link:hover::after {
    width: 100%;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Opening */
.opening {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 60px; /* Account for navbar */
}

.opening-content {
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.portrait {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    position: relative;
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0;
    animation: fadeIn 2s ease 0.6s forwards;
}

.portrait::after {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid var(--text);
    pointer-events: none;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.name {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.years {
    font-size: 16px;
    color: var(--gray);
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.opening-text {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: var(--text);
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards, pulse 2s ease infinite 2.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Main content */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 120px 20px;
}

.section {
    margin-bottom: 120px;
}

.section-number {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 40px;
}

h2 {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    line-height: 1.2;
}

p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #333;
}

.emphasis {
    font-weight: 500;
    color: var(--text);
}

/* Timeline */
.timeline {
    margin: 60px 0;
    padding-left: 30px;
    border-left: 1px solid #e0e0e0;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--text);
}

.timeline-date {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--gray);
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 16px;
    line-height: 1.6;
}

/* Evidence */
.evidence-grid {
    display: grid;
    gap: 1px;
    background: #e0e0e0;
    margin: 40px 0;
}

.evidence-item {
    background: var(--bg);
    padding: 30px;
    font-size: 15px;
    line-height: 1.6;
    transition: background 0.3s ease;
}

.evidence-item:hover {
    background: var(--light);
}

/* Quote */
.quote {
    margin: 80px 0;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.quote-text {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.quote-source {
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray);
}

/* Articles */
.articles {
    margin: 60px 0;
}

.article {
    margin-bottom: 40px;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

.article:hover {
    transform: translateX(10px);
}

.article-image {
    width: 100%;
    height: 350px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.article:hover .article-image img {
    filter: grayscale(0);
}

.article-image-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gray);
    font-size: 14px;
    letter-spacing: 0.1em;
}

.article-source {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-bottom: 8px;
}

.article-title {
    font-size: 18px;
    line-height: 1.4;
}

/* Token Section */
.token-section {
    background: var(--light);
    padding: 100px 20px;
    margin: 120px -20px;
    text-align: center;
}

.token-content {
    max-width: 600px;
    margin: 0 auto;
}

.token-title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.token-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #333;
}

.ca-container {
    background: var(--bg);
    border: 1px solid #e0e0e0;
    padding: 30px;
    margin: 40px 0;
}

.ca-label {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-bottom: 15px;
}

.ca-address {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    word-break: break-all;
    line-height: 1.6;
    padding: 15px;
    background: var(--light);
    user-select: all;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ca-address:hover {
    background: #f0f0f0;
}

.solana-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    border: 1px solid var(--solana);
    color: var(--solana);
    font-size: 12px;
    letter-spacing: 0.1em;
}

/* Support */
.support {
    text-align: center;
    padding: 100px 20px;
    margin: 0 -20px;
}

.support-content {
    max-width: 800px;
    margin: 0 auto;
}

.support h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.support-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #333;
}

.gofundme-container {
    margin: 60px auto;
    max-width: 600px;
}

.support-note {
    margin-top: 30px;
    font-size: 13px;
    color: var(--gray);
}

/* End */
.end {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--text);
    color: var(--bg);
}

.end-content {
    max-width: 600px;
    padding: 0 20px;
}

.end-text {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.end-name {
    margin-top: 40px;
    font-size: 14px;
    opacity: 0.6;
    letter-spacing: 0.1em;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

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

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }

    .navbar-links {
        gap: 20px;
        font-size: 13px;
    }

    .live-counter-box {
        max-width: 240px;
        padding: 20px 25px;
    }

    .counter-value {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .name { font-size: 32px; }
    .opening-text { font-size: 18px; }
    h2 { font-size: 26px; }
    .quote-text { font-size: 20px; }
    .container { padding: 80px 20px; }
    .section { margin-bottom: 80px; }
    .article-image { height: 200px; }
    .ca-address { font-size: 12px; }
    
    .live-counter-box {
        max-width: 200px;
        padding: 18px 20px;
        margin-bottom: 35px;
    }
    
    .counter-value {
        font-size: 22px;
        min-height: 28px;
    }
    
    .counter-label {
        font-size: 10px;
    }
    
    .counter-sublabel {
        font-size: 9px;
    }
}
