:root {
    --bg-color: #0B0E14; /* Dark premium background */
    --text-primary: #ffffff;
    --text-secondary: #8b949e;
    --card-bg: #11151C; /* Slightly lighter for cards */
    --card-border: #1F2532;
    --primary-color: #00DB6B; /* Vibrant green accent */
    --primary-hover: #00BF5D;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
}

/* Light theme overrides */
[data-theme="light"] {
    --bg-color: #f5f7fb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --primary-color: #10b981;
    --primary-hover: #059669;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }

/* Header */
.site-header {
    border-bottom: 1px solid var(--card-border);
    padding: 1.25rem 0;
    background-color: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--primary-color);
}

.logo-suffix {
    font-weight: 400;
    color: var(--text-secondary);
}

.main-nav {
    display: flex;
    gap: 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.theme-toggle:hover {
    color: var(--text-primary);
}

/* Base button */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #000;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-outline:hover {
    border-color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    font-weight: 500;
}
.alert-success {
    background-color: rgba(0, 219, 107, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 219, 107, 0.2);
}
.alert-error {
    background-color: rgba(255, 85, 85, 0.1);
    color: #ff5555;
    border: 1px solid rgba(255, 85, 85, 0.2);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
    margin-top: 5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}
