:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --success-color: #16a34a;
    --danger-color: #dc2626;
    --dark-bg: #1f2937;
    --light-bg: #f3f4f6;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--light-bg);
    color: #111827;
}

/* Landing Page Hero Grid Style */
.hero-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: #ffffff;
    padding: 5rem 1rem;
    border-radius: 0 0 2rem 2rem;
}

/* Board & Selection Cards */
.selection-card {
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.selection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

/* Quiz Options State Architecture */
.quiz-option-card {
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.quiz-option-card:hover {
    background-color: rgba(79, 70, 229, 0.05);
    border-color: var(--primary-color);
}

/* Global Responsive LaTeX Width Auto-Compressor Container Layouts */
.latex-container {
    width: 100%;
    overflow-y: hidden;
    white-space: normal;
    word-wrap: break-word;
    display: inline-block;
}

.latex-overflow-scroll {
    overflow-x: auto !important;
    display: block !important;
    padding-bottom: 8px;
}

/* Reading Modes Visibility Matrix */
.read-mode .ans-block { 
    display: block !important; 
}
.test-mode .ans-block { 
    display: none !important; 
}

/* Authentication Layout Utilities */
.auth-container {
    max-width: 450px;
    margin: 5rem auto;
}