:root {
    --bg-deep: #000000;       /* Pure Black */
    --bg-card: #0a0a0a;       /* Off-Black for cards */
    --text-main: #e0e0e0;     /* Light Grey */
    --text-muted: #666666;    
    
    /* THE REDS */
    --red-primary: #b30000;   /* Blood Red (Buttons, Borders) */
    --red-bright: #ff1a1a;    /* Bright Red (Hover, Focus, Alerts) */
    --red-dark: #4d0000;      /* Deep Red (Backgrounds) */

    --border: #333333;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.6;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--red-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--red-dark);
    padding-bottom: 10px;
    margin-top: 0;
}

a {
    color: var(--red-primary);
    text-decoration: none;
    transition: 0.3s;
}
a:hover {
    color: var(--red-bright);
    text-shadow: 0 0 8px var(--red-dark);
}

/* --- Layout --- */
.container, .content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-card {
    background: var(--bg-card);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #1a1a1a;
    border-left: 4px solid var(--red-primary); /* Red Strike */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* --- Hero Section (Landing Page) --- */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a0000 0%, #000000 100%); /* Red to Black Fade */
    border-bottom: 1px solid var(--red-primary);
}
.hero h1 {
    font-size: 3rem;
    color: var(--red-primary);
    text-shadow: 0 0 10px rgba(179, 0, 0, 0.4);
    border: none;
}

/* --- Inputs --- */
input, textarea, select {
    background: #000;
    border: 1px solid var(--border);
    border-left: 2px solid var(--border); /* Default border */
    color: var(--text-main);
    padding: 12px;
    width: 100%;
    box-sizing: border-box; 
    font-family: var(--font-body);
    margin-bottom: 20px;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--red-primary);
    border-left: 2px solid var(--red-bright);
    box-shadow: 0 0 10px rgba(179, 0, 0, 0.2);
}

/* --- Buttons --- */
button, .login-btn {
    background-color: var(--red-primary);
    color: #fff;
    border: 1px solid var(--red-primary);
    padding: 12px 30px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

button:hover, .login-btn:hover {
    background-color: #8a0000; /* Darker on hover */
    border-color: var(--red-bright);
    color: var(--red-bright);
    box-shadow: 0 0 15px rgba(179, 0, 0, 0.4);
}

/* --- File Upload (Custom) --- */
input[type="file"] {
    display: none; 
}
.file-upload-label {
    display: block;
    background: rgba(20, 0, 0, 0.5);
    border: 1px dashed var(--red-primary);
    color: var(--red-primary);
    padding: 15px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
}
.file-upload-label:hover {
    background: rgba(50, 0, 0, 0.5);
    color: var(--red-bright);
    border-color: var(--red-bright);
}

/* --- Ledger Entries --- */
.journal-entry {
    background: #050505;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 2px solid var(--red-dark);
}

.journal-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    letter-spacing: 1px;
}

.journal-mood {
    color: var(--red-bright);
    font-weight: bold;
}

/* --- Nav --- */
.top-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    align-items: center;
    border-bottom: 1px solid #222;
}
.logo { 
    font-family: var(--font-heading); 
    color: var(--red-primary); 
    font-size: 1.2rem;
}

/* Criteria Grid (Landing Page) */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.criteria-card {
    background: #050505;
    padding: 20px;
    border: 1px solid #222;
}
.criteria-card h3 { 
    color: var(--red-primary); 
    font-size: 1.1rem; 
    border-bottom: none;
}