:root {
    --primary-color: #00ff41;
    --secondary-color: #ff00ff;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-light: #ffffff;
    --text-dim: #888888;
}

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

body {
    font-family: 'Space Mono', monospace;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, transparent 24%, rgba(0, 255, 65, 0.05) 25%, rgba(0, 255, 65, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 65, 0.05) 75%, rgba(0, 255, 65, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    z-index: -1;
    animation: matrix-rain 20s linear infinite;
}

@keyframes matrix-rain {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--primary-color);
}

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

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    color: var(--primary-color);
    position: relative;
    text-shadow: 0 0 30px var(--primary-color);
    animation: glitch-anim 2s infinite;
}

@keyframes glitch-anim {
    0%, 100% { text-shadow: 0 0 30px var(--primary-color); }
    25% { text-shadow: -2px 0 var(--secondary-color), 2px 0 cyan; }
    50% { text-shadow: 2px 0 var(--secondary-color), -2px 0 cyan; }
    75% { text-shadow: 0 0 30px var(--primary-color); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin: 1rem 0;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.btn-secondary {
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: 0 0 20px var(--secondary-color);
}

.hero-terminal {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.terminal-header {
    background: #1a1a1a;
    padding: 0.5rem;
    border-radius: 8px 8px 0 0;
    display: flex;
    gap: 0.5rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-body {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.terminal-text {
    margin: 0.5rem 0;
    font-family: 'Space Mono', monospace;
}

.typing {
    animation: typing 2s steps(10) infinite;
}

.typing-result {
    animation: blink 1s infinite;
}

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

@keyframes blink {
    50% { opacity: 0; }
}

.content-section {
    padding: 4rem 0;
    position: relative;
}

.dark-section {
    background: var(--darker-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 40%;
    text-align: right;
    padding: 0 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
}

.timeline-content {
    flex: 0 0 40%;
    background: rgba(0, 255, 65, 0.1);
    padding: 2rem;
    border: 1px solid var(--primary-color);
    position: relative;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.revelation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.revelation-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-color);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.revelation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.legacy-quote {
    font-size: 1.5rem;
    font-style: italic;
    text-align: center;
    padding: 3rem;
    border-left: 4px solid var(--primary-color);
    background: rgba(0, 255, 65, 0.05);
    margin: 3rem 0;
}

.legacy-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.token-description {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--text-dim);
}

.token-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.token-card {
    background: rgba(0, 255, 65, 0.1);
    padding: 2rem;
    border: 1px solid var(--primary-color);
    text-align: center;
}

.token-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.token-actions {
    text-align: center;
    margin-top: 3rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.5rem 3rem;
}

.token-note {
    margin-top: 1rem;
    color: var(--text-dim);
}

/* New sections styling */
.intro-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 1rem;
}

.revelation-story {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.revelation-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.schwartz-quote {
    background: rgba(0, 255, 65, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
}

.schwartz-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-dim);
    font-style: normal;
}

.schwartz-quote a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.schwartz-quote a:hover {
    text-shadow: 0 0 5px var(--primary-color);
}

.commit-tree-section {
    margin: 3rem 0;
    text-align: center;
}

.commit-tree-image {
    max-width: 100%;
    height: auto;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    margin-bottom: 2rem;
}

.revelation-story h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
    text-align: center;
}

.discovery-content {
    max-width: 1000px;
    margin: 0 auto;
}

.discovery-stats {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.discovery-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-left: 3px solid var(--primary-color);
}

.discovery-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.development-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.dev-card {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--primary-color);
    padding: 2rem;
    transition: all 0.3s;
}

.dev-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.dev-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vanishing-story {
    max-width: 900px;
    margin: 0 auto;
}

.vanishing-timeline {
    margin-top: 2rem;
}

.vanishing-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 3px solid var(--secondary-color);
    transition: all 0.3s;
}

.vanishing-item:hover {
    border-left-color: var(--primary-color);
    background: rgba(0, 255, 65, 0.05);
}

.vanishing-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.vanishing-item:hover h3 {
    color: var(--primary-color);
}

.legacy-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.anonymity-details {
    max-width: 800px;
    margin: 3rem auto;
    background: rgba(0, 255, 65, 0.05);
    padding: 3rem;
    border: 1px solid var(--primary-color);
}

.anonymity-details h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
}

.anonymity-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.anonymity-details li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.anonymity-details li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.anonymity-details p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

footer {
    background: var(--darker-bg);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--primary-color);
}

.footer-links {
    margin: 1rem 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--primary-color);
}

.social-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-mystery {
    color: var(--primary-color);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.5;
}

.token-social {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero-terminal {
        display: none;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-left: 60px;
    }
    
    .timeline-date {
        text-align: left !important;
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .discovery-stats {
        gap: 1rem;
    }
    
    .anonymity-details {
        padding: 1.5rem;
    }
    
    .development-grid {
        grid-template-columns: 1fr;
    }
}