/* ==========================================
   Augur — Shared Styles
   Extracted from all pages for consistency.
   ========================================== */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-glass: rgba(26, 26, 36, 0.6);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-violet: #8b5cf6;
    --accent-violet-dim: #7c3aed;
    --accent-glow: rgba(139, 92, 246, 0.15);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --today-red: #ef4444;
    --augur-green: #10b981;
    --amber: #f59e0b;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 8px 32px rgba(139, 92, 246, 0.12);
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Layout */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 800px; }

/* Background */
.bg-grid {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none; z-index: 0;
}

main { position: relative; z-index: 1; }

/* Navigation */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

nav.nav-relative {
    position: relative;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 20px 0;
}

nav .container {
    display: flex; justify-content: space-between; align-items: center; height: 60px;
}

nav.nav-relative .container { height: auto; }

.logo {
    font-size: 1.4rem; font-weight: 700; color: var(--text-primary);
    text-decoration: none; display: flex; align-items: center; gap: 8px;
}

.logo-icon svg { width: 26px; height: 26px; color: var(--accent-violet); }

.nav-back {
    color: var(--text-secondary); text-decoration: none; font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-back:hover { color: var(--text-primary); }

/* Footer */
footer {
    padding: 32px 0; border-top: 1px solid var(--border); text-align: center;
}

.footer-links {
    display: flex; justify-content: center; gap: 24px;
    margin-bottom: 16px; flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary); text-decoration: none; font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-copy { color: var(--text-muted); font-size: 0.8rem; }
.footer-copy a { color: var(--accent-violet); text-decoration: none; }

/* Shared responsive */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
}
