/* MENOTH – Deep Blue Theme */
:root {
    --primary: #1a2a6c;
    --primary-dark: #0f1a4a;
    --primary-light: #e8ecf8;
    --primary-gradient: linear-gradient(135deg, #1a2a6c, #2a4a8c);
    --bg: #f5f7fc;
    --card: #ffffff;
    --text: #1a2a6c;
    --text-secondary: #4a5a7c;
    --border: #d0d8ec;
    --shadow: 0 4px 12px rgba(26,42,108,0.08);
    --success: #28a745;
    --danger: #dc3545;
    --radius: 12px;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
@media (prefers-color-scheme: dark) {
    :root {
        --primary: #2a3a7c;
        --primary-dark: #1a2a6c;
        --primary-light: #1e2a4a;
        --bg: #0f1426;
        --card: #1a2a4a;
        --text: #f0f4ff;
        --text-secondary: #b0c0e0;
        --border: #2a3a5c;
        --shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-family);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 14px;
}
.container { max-width: 480px; margin: 0 auto; padding: 10px; }
@media (min-width: 768px) {
    body { font-size: 16px; }
    .container { max-width: 720px; padding: 16px; }
}
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.8);
}
.dark .app-header { background: rgba(15,23,42,0.8); }
.brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: var(--primary);
}
.brand span { color: var(--text); }
.score-badge {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}
.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(26,42,108,0.12); }
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover { background: var(--primary-dark); transform: scale(1.02); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-secondary {
    background: var(--border);
    color: var(--text);
}
.btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }
.progress-bar {
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    margin: 8px 0;
    overflow: hidden;
}
.progress-bar .fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 0.3s;
}
.option {
    display: block;
    padding: 10px 14px;
    margin-bottom: 6px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
}
.option:hover { background: var(--bg); }
.option.locked { opacity: 0.8; cursor: default; }
.option input[type="radio"], .option input[type="checkbox"] {
    margin-right: 8px;
}
.question-text { font-size: 1.05rem; font-weight: 500; margin-bottom: 16px; }
.nav-buttons { display: flex; gap: 10px; margin-top: 16px; }
.nav-buttons .btn { flex: 1; }
.bottom-nav {
    display: flex;
    justify-content: space-around;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 6px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
}
.bottom-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.bottom-nav a.active { color: var(--primary); }
.ad-placement { background: var(--bg); border-radius: var(--radius); padding: 8px; margin: 10px 0; border: 1px dashed var(--border); }
.ad-banner { max-width: 100%; height: auto; }
.scorecard { text-align: center; padding: 20px; }
.scorecard .score-number { font-size: 3.5rem; font-weight: 700; color: var(--primary); }
.scorecard .score-label { font-size: 1.2rem; color: var(--text-secondary); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.admin-sidebar { background: var(--primary); color: white; width: 240px; height: 100vh; position: fixed; left: 0; top: 0; padding: 20px 0; }
.admin-sidebar a { color: rgba(255,255,255,0.8); display: block; padding: 10px 20px; text-decoration: none; transition: background 0.2s; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,0.15); color: white; }
.admin-main { margin-left: 240px; padding: 20px; background: var(--bg); min-height: 100vh; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.admin-table th { background: var(--bg); }
