/* Ambassador — OurSpace-flavored dark UI */
:root {
    --bg: #0a0a14;
    --surface: #14141f;
    --border: #2a2a3d;
    --text: #e5e5f0;
    --muted: #8a8aa3;
    --accent: #6366F1;
    --accent-hover: #7c80f5;
    --discord: #5865F2;
    --discord-hover: #4752c4;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.brand {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

footer {
    padding: 1rem 2rem;
    color: var(--muted);
    text-align: center;
    border-top: 1px solid var(--border);
}

.landing, .home, .error {
    background: var(--surface);
    padding: 3rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    max-width: 32rem;
    text-align: center;
}

h1 {
    margin-bottom: 1rem;
    color: var(--accent);
}

p {
    margin-bottom: 1.5rem;
}

.muted {
    color: var(--muted);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: var(--bg);
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}

.btn-discord {
    background: var(--discord);
    color: white;
}

.btn-discord:hover {
    background: var(--discord-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    color: var(--text);
    border-color: var(--text);
}
