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

body {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
    min-height: 100vh;
}

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

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 1.6rem;
    letter-spacing: 0.3em;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    margin-bottom: 1rem;
}

.status-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 1.2rem;
    border: 1px solid #333;
    border-radius: 4px;
    background: #111;
}

.status-label {
    color: #888;
    font-size: 0.8rem;
}

.status-level {
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.5s;
}

.status-level.stable { color: #00ff88; text-shadow: 0 0 10px rgba(0, 255, 136, 0.4); }
.status-level.elevated { color: #ffaa00; text-shadow: 0 0 10px rgba(255, 170, 0, 0.4); }
.status-level.concerning { color: #ff6600; text-shadow: 0 0 10px rgba(255, 102, 0, 0.4); }
.status-level.critical {
    color: #ff2200;
    text-shadow: 0 0 10px rgba(255, 34, 0, 0.4);
    animation: pulse 1.5s ease-in-out infinite;
}

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

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

.counter-display {
    margin-bottom: 0.5rem;
}

.counter {
    font-size: 6rem;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
    line-height: 1;
    display: inline-block;
    min-width: 2ch;
}

.counter-label {
    font-size: 1rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.share-x {
    background: transparent;
    border: 1px solid #333;
    color: #555;
    padding: 0.4rem 1rem;
    font-family: inherit;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 2rem;
}

.share-x:hover {
    border-color: #aaa;
    color: #aaa;
}

h2 {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: #888;
    margin-bottom: 1rem;
    border-bottom: 1px solid #222;
    padding-bottom: 0.5rem;
}

.situations-section {
    margin-bottom: 3rem;
}

.situation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #1a1a1a;
    gap: 1rem;
}

.situation-text {
    flex: 1;
    font-size: 0.95rem;
}

.situation-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.vote-count {
    color: #ffaa00;
    font-size: 0.9rem;
    min-width: 2ch;
    text-align: right;
}

.vote-btn {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    padding: 0.3rem 0.7rem;
    font-family: inherit;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.vote-btn:hover {
    border-color: #ffaa00;
    color: #ffaa00;
}

.vote-btn.voted {
    border-color: #555;
    color: #555;
    cursor: default;
}

.submit-section {
    margin-bottom: 2rem;
}

.submit-row {
    display: flex;
    gap: 0.5rem;
}

.submit-row input {
    flex: 1;
    background: #111;
    border: 1px solid #333;
    color: #e0e0e0;
    padding: 0.6rem 0.8rem;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.submit-row input:focus {
    border-color: #00ff88;
}

.submit-row input::placeholder {
    color: #555;
}

.submit-btn {
    background: #111;
    border: 1px solid #333;
    color: #aaa;
    padding: 0.6rem 1rem;
    font-family: inherit;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover {
    border-color: #00ff88;
    color: #00ff88;
}

.submit-note {
    color: #555;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.submit-feedback {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #00ff88;
}

.submit-feedback.error {
    color: #ff4444;
}

footer {
    text-align: center;
    color: #333;
    font-size: 0.75rem;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #1a1a1a;
}

@media (max-width: 500px) {
    .counter { font-size: 4rem; }
    h1 { font-size: 1.1rem; letter-spacing: 0.15em; }
    .situation-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .situation-actions { align-self: flex-end; }
    .submit-row { flex-direction: column; }
}
