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

body {
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    color: #2A2A2A;
    line-height: 1.65;
    font-size: 16px;
    filter: blur(12px);
    animation: focusIn 0.8s ease forwards;
}

@keyframes focusIn {
    to { filter: blur(0); }
}

h1, h2, h3 {
    font-family: 'Space Mono', monospace;
    color: #0A0A0A;
}

.split-screen {
    display: flex;
    min-height: 100vh;
    opacity: 0;
    animation: snapIn 0.1s ease 0.8s forwards;
}

@keyframes snapIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.strand-left {
    width: 55%;
    background: #FFFFFF;
    padding: 48px 40px 48px 64px;
    overflow-y: auto;
}

.strand-right {
    width: 45%;
    background: #0A0A0A;
    padding: 48px 64px 48px 40px;
    overflow-y: auto;
}

.divider {
    width: 4px;
    background: linear-gradient(180deg, #44FF88, #FFCC00, #FF4444);
    flex-shrink: 0;
    position: relative;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawDivider 0.6s ease forwards;
}

@keyframes drawDivider {
    to { stroke-dashoffset: 0; }
}

/* Content blocks - left (light) */
.content-block {
    border: 4px solid #0A0A0A;
    padding: 24px;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 6px 6px 0px #0A0A0A;
    background: #FFFFFF;
}

.content-block.dark {
    border-color: #44FF88;
    box-shadow: 6px 6px 0px #44FF88;
    background: #0A0A0A;
    color: #D0D0D0;
}

.content-block.dark h2 {
    color: #FFFFFF;
}

.title-left {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.subtitle-left {
    font-size: 16px;
    color: #2A2A2A;
    margin-top: 8px;
}

.content-block h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.content-block p {
    margin-bottom: 12px;
}

.sequence {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    font-weight: 500;
    color: #44FF88;
    background: #0A0A0A;
    padding: 8px 12px;
    display: block;
    border: 2px solid #0A0A0A;
    letter-spacing: 2px;
}

.content-block.dark .sequence {
    background: #1A1A1A;
    border-color: #44FF88;
}

/* Countdown bars */
.countdown-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-label {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    width: 60px;
    color: #2A2A2A;
}

.bar {
    height: 12px;
    border: 2px solid #0A0A0A;
    background: #FF4444;
    transition: width 1s ease;
}

.bar.full { width: 100%; background: #44FF88; }
.bar.seventy { width: 70%; background: #FFCC00; }
.bar.forty { width: 40%; background: #FF4444; }
.bar.ten { width: 10%; background: #FF4444; box-shadow: 0 0 6px rgba(255, 68, 68, 0.6); }

/* Code blocks */
.code-block {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    font-weight: 400;
    color: #44FF88;
    background: #1A1A1A;
    padding: 16px;
    display: block;
    border: 2px solid #333;
    white-space: pre;
    overflow-x: auto;
    line-height: 1.6;
}

.badge {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #0A0A0A;
    background: #44FF88;
    padding: 2px 8px;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* Division Counter */
.division-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    margin-bottom: 16px;
}

.counter-label {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: #D0D0D0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.counter-value {
    font-family: 'Space Mono', monospace;
    font-size: 64px;
    font-weight: 700;
    color: #44FF88;
    transition: color 0.3s ease;
}

.counter-value.warning { color: #FFCC00; }
.counter-value.critical { color: #FF4444; }

.counter-max {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: #E0E0E0;
}

.btn-divide {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    background: transparent;
    color: #FF4444;
    border: 4px solid #FF4444;
    padding: 12px 32px;
    cursor: pointer;
    box-shadow: 4px 4px 0px #FF4444;
    transition: all 0.1s ease;
    width: 100%;
}

.btn-divide:hover {
    background: #FF4444;
    color: #0A0A0A;
}

.btn-divide:active {
    box-shadow: 0 0 0 #FF4444;
    transform: translate(4px, 4px);
}

/* Links */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-item {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    color: #FFCC00;
    padding: 8px 12px;
    border-left: 4px solid #FFCC00;
    background: #1A1A1A;
    cursor: pointer;
    transition: background 0.2s ease;
}

.link-item:hover {
    background: #2A2A2A;
}

/* Footer */
.site-footer {
    display: flex;
    justify-content: space-between;
    padding: 24px 64px;
    background: #0A0A0A;
    border-top: 4px solid #44FF88;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: #D0D0D0;
}

/* Palette: #E0E0E0 #D0D0D0 */

@media (max-width: 768px) {
    .split-screen { flex-direction: column; }
    .strand-left, .strand-right { width: 100%; padding: 32px 20px; }
    .divider { width: 100%; height: 4px; }
    .site-footer { flex-direction: column; gap: 8px; padding: 16px 20px; text-align: center; }
}
