:root {
    --bg: #121212;
    --text: #e0e0e0;
    --accent: #4caf50;
    --pause: #ff9800;
    --reset: #f44336;
}

body {
    margin: 0;
    font-family: sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding-top: 50px;
    overflow-x: hidden;
    overflow-y: auto;
}

#app { 
    text-align: center; 
    width: 100%; 
    max-width: 500px; 
    margin-bottom: 80px;
}

#title-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: var(--text);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    width: 80%;
}

.primary-timer { font-size: 3.5rem; font-weight: bold; margin: 20px 0; font-family: monospace; }
.decimal-display { font-size: 1.2rem; color: #888; margin-bottom: 1rem; }

.status-text {
    height: 20px;
    font-size: 0.9rem;
    color: var(--accent);
    margin: 10px 0 20px 0;
    font-style: italic;
}

.btn { padding: 12px 24px; font-size: 1rem; border-radius: 8px; cursor: pointer; border: none; font-weight: bold; margin: 5px; }
.primary { background: var(--accent); color: white; }
.secondary { background: var(--pause); color: white; }
.danger { background: var(--reset); color: white; }
.link { background: transparent; color: #44aaff; text-decoration: underline; margin-top: 20px; }
.hidden { display: none !important; }

.article-container { 
    max-width: 800px; 
    text-align: left; 
    margin: 0 auto 100px; 
    padding: 50px; 
    line-height: 2.0;
    color: #cccccc;
    background: #1a1a1a;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

.article-container h1 { color: var(--accent); font-size: 2.4rem; margin-bottom: 1.5rem; }
.article-container h2 { color: var(--accent); border-bottom: 1px solid #333; padding-bottom: 10px; margin-top: 50px; font-size: 1.8rem; }
.article-container h3 { color: #ffffff; margin-top: 35px; font-size: 1.4rem; }
.article-container p, .article-container ul { margin-bottom: 25px; }
.article-container li { margin-bottom: 15px; }

.lead-text { 
    font-size: 1.25rem; 
    color: #eee; 
    font-style: italic; 
    border-left: 5px solid var(--accent); 
    padding-left: 20px; 
}

/* Comparison Box */
.comparison-box {
    background: #121212;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #444;
    margin: 30px 0;
}

footer { 
    margin-top: 60px; 
    text-align: center; 
    border-top: 1px solid #333; 
    padding: 40px 0; 
    width: 100%; 
    background: #000;
}

footer a { color: #44aaff; text-decoration: none; font-size: 0.9rem; margin: 0 15px; }
footer a:hover { text-decoration: underline; }
.copyright { color: #555; font-size: 0.75rem; margin-top: 15px; }