body { font-family: 'Segoe UI', sans-serif; background: #f3f3f3; padding: 20px; }
        h1 { text-align: center; }
        
        .controls { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; }
        select { padding: 8px; border-radius: 5px; border: 1px solid #ccc; }

        .deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
        
        .card { 
            background: white; padding: 20px; border-radius: 10px; 
            box-shadow: 0 4px 6px rgba(0,0,0,0.05); position: relative;
            display: flex; flex-direction: column;
        }

        /* Priority Scale Colors */
        .priority-badge {
            font-size: 11px; font-weight: bold; text-transform: uppercase;
            padding: 3px 8px; border-radius: 12px; margin-bottom: 10px; width: fit-content;
        }
        .vital { background: #006400; color: white; }        /* Deep Green */
        .high-utility { background: #90EE90; color: #000; }  /* Light Green */
        .situational { background: #FFD700; color: #000; }   /* Yellow */
        .marginal { background: #FF8C00; color: white; }    /* Orange */
        .useless { background: #808080; color: white; }     /* Grey/Red */

        .type-label { font-size: 12px; color: #666; margin-bottom: 5px; }
        .btn { margin-top: auto; padding: 10px; background: #007bff; color: white; text-decoration: none; border-radius: 5px; text-align: center; }
        /* Navigation Styling */
.top-nav {
    display: flex;
    justify-content: flex-end; /* Aligns links to the right */
    gap: 20px;
    background: white;
    padding: 15px 30px;
    margin: -20px -20px 30px -20px; /* Counteracts body padding to span full width */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.top-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-transform: capitalize;
    transition: color 0.2s ease;
}

.top-nav a:hover {
    color: #007bff; /* Matches your .btn color */
}

/* Optional: Style the Settings link specifically if needed */
.nav-link {
    display: flex;
    align-items: center;
}