/* WalrusBet - Cursor-inspired dark theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-surface: #141414;
    --bg-elevated: #1a1a1a;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent: #a78bfa;
    --accent-hover: #c4b5fd;
    --accent-muted: rgba(167, 139, 250, 0.15);
    --success: #22c55e;
    --error: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Subtle gradient background (Cursor-style) */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(167, 139, 250, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Login screen - centered, minimal */
#login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 24px;
    background: transparent;
}

#login h1 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

#login-form {
    width: 100%;
    max-width: 340px;
    margin-top: 32px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-muted);
}

button {
    background: var(--accent);
    color: #0a0a0a;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.2s ease;
}

button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Main app layout */
#main-app {
    display: none;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    background: transparent;
}

#header-container {
    flex-shrink: 0;
}

#content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: transparent;
    height: calc(100vh - 120px);
}

.page {
    width: 100%;
    height: 100%;
}
