/* Anarchy Online theme: layered over war.css layout (body.theme-war.theme-ao). */
body.theme-ao {
    --ao-teal: #2EE6D6;
    --ao-teal-dim: rgba(46, 230, 214, 0.18);
    --ao-purple: #8b5cf6;
    --ao-purple-deep: #2a1b4a;
    --ao-slate: #0d1219;
    --ao-slate-2: #151c27;
    --ao-text: #dbe7f0;
    background: var(--ao-slate);
    color: var(--ao-text);
}
body.theme-ao .war-backdrop {
    background:
        linear-gradient(180deg, rgba(13, 18, 25, 0.55) 0%, rgba(13, 18, 25, 0.92) 55%, var(--ao-slate) 100%),
        radial-gradient(ellipse at 20% 0%, rgba(139, 92, 246, 0.35), transparent 60%),
        radial-gradient(ellipse at 85% 10%, rgba(46, 230, 214, 0.22), transparent 55%),
        url('/assets/ao/background.jpg') center top / cover no-repeat,
        linear-gradient(135deg, #0d1219, #1d1436);
}
body.theme-ao .hero-title,
body.theme-ao h1, body.theme-ao h2 {
    font-family: 'Orbitron', 'DM Sans', sans-serif;
    letter-spacing: 0.04em;
    color: #effcff;
}
body.theme-ao .hero-title { text-shadow: 0 0 24px rgba(46, 230, 214, 0.45); }
body.theme-ao .brand { color: var(--ao-teal); }
body.theme-ao .section-panel,
body.theme-ao .admin-panel {
    background: linear-gradient(160deg, rgba(21, 28, 39, 0.94), rgba(30, 20, 54, 0.9));
    border: 1px solid rgba(46, 230, 214, 0.22);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.12), 0 18px 40px rgba(0, 0, 0, 0.45);
}
body.theme-ao .section-icon {
    background: var(--ao-teal-dim);
    color: var(--ao-teal);
    border-color: rgba(46, 230, 214, 0.4);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
}
body.theme-ao .btn-war {
    background: linear-gradient(135deg, #1aa89d, #6d3fd6);
    border-color: var(--ao-teal);
    color: #fff;
}
body.theme-ao .btn-war:hover { box-shadow: 0 0 16px rgba(46, 230, 214, 0.5); }
body.theme-ao a { color: var(--ao-teal); }
body.theme-ao a.btn { color: #fff; }
body.theme-ao .war-tool-link {
    background: rgba(13, 18, 25, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.35);
}
body.theme-ao .war-tool-link:hover { border-color: var(--ao-teal); box-shadow: 0 0 18px rgba(46, 230, 214, 0.25); }
body.theme-ao .war-tool-kicker { color: var(--ao-teal); }
body.theme-ao .war-news-item { border-color: rgba(46, 230, 214, 0.2); background: rgba(13, 18, 25, 0.6); }
body.theme-ao .war-news-chip.is-active { background: var(--ao-teal); color: #04201d; border-color: var(--ao-teal); }
body.theme-ao code { color: var(--ao-teal); }

/* Status card */
.ao-status-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.ao-status-pill {
    display: inline-block; padding: 6px 16px; border-radius: 999px;
    font-family: 'Orbitron', sans-serif; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    background: rgba(148, 163, 184, 0.18); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.4);
}
.ao-status-card[data-state="online"] .ao-status-pill { background: rgba(46, 230, 214, 0.18); color: #2EE6D6; border-color: #2EE6D6; box-shadow: 0 0 14px rgba(46, 230, 214, 0.4); }
.ao-status-card[data-state="partial"] .ao-status-pill { background: rgba(250, 204, 21, 0.15); color: #facc15; border-color: #facc15; }
.ao-status-card[data-state="offline"] .ao-status-pill { background: rgba(248, 113, 113, 0.14); color: #fca5a5; border-color: #f87171; }
.ao-status-services { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.ao-status-services li::before { content: '\25CF'; margin-right: 6px; }
.ao-status-services li.is-up::before { color: #2EE6D6; }
.ao-status-services li.is-down::before { color: #f87171; }
.ao-status-checked { opacity: 0.7; font-size: 0.85rem; }
.ao-steps { counter-reset: aostep; list-style: none; padding: 0; display: grid; gap: 14px; }
.ao-steps li { counter-increment: aostep; position: relative; padding: 14px 16px 14px 58px; border-radius: 12px; background: rgba(13, 18, 25, 0.6); border: 1px solid rgba(139, 92, 246, 0.3); }
.ao-steps li::before { content: counter(aostep); position: absolute; left: 16px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2EE6D6, #8b5cf6); color: #071318; font-family: 'Orbitron', sans-serif; font-weight: 700; }
.ao-placeholder { padding: 18px; border: 1px dashed rgba(46, 230, 214, 0.45); border-radius: 12px; background: rgba(46, 230, 214, 0.06); }

/* Account forms (/ao/account/) */
.ao-form { display: grid; gap: 12px; max-width: 460px; }
.ao-form label { display: grid; gap: 6px; font-weight: 500; }
.ao-form input { padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(46, 230, 214, 0.35); background: rgba(13, 18, 25, 0.85); color: #dbe7f0; font: inherit; }
.ao-form input:focus { outline: none; border-color: #2EE6D6; box-shadow: 0 0 0 3px rgba(46, 230, 214, 0.2); }
.ao-form button[disabled] { opacity: 0.5; cursor: not-allowed; }
.ao-form-hint { margin: -6px 0 0; font-size: 0.85rem; opacity: 0.7; }
.ao-form-msg { min-height: 1.2em; margin: 0; }
.ao-form-msg.is-ok { color: #2EE6D6; }
.ao-form-msg.is-err { color: #fca5a5; }
.ao-status-services li.is-players { font-weight: 600; }
