:root {
    --bg-color: #0d1117;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --glass-bg: rgba(22, 27, 34, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent: #58a6ff;
    --accent-glow: rgba(88, 166, 255, 0.4);
    --card-hover: rgba(88, 166, 255, 0.1);
    --blob-1: #2f254f;
    --blob-2: #1e3a5f;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}
.blob { position: absolute; filter: blur(100px); z-index: -1; opacity: 0.6; border-radius: 50%; }
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--blob-1); animation: float 20s infinite alternate; }
.blob-2 { bottom: -20%; right: -10%; width: 60vw; height: 60vw; background: var(--blob-2); animation: float 25s infinite alternate-reverse; }
@keyframes float { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(100px, 50px) scale(1.1); } }

.container { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.header-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.logo h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; }
.logo h1 span { color: var(--accent); }
.badge { display: inline-block; background: var(--accent-glow); color: var(--accent); padding: 0.2rem 0.8rem; border-radius: 12px; font-size: 0.8rem; font-weight: 600; margin-top: 0.5rem; border: 1px solid var(--accent); }
.stats { text-align: right; color: var(--text-secondary); font-size: 0.9rem; }
.stats .highlight { color: var(--text-primary); font-size: 1.2rem; font-weight: 600; }
.search-bar input {
    width: 100%; padding: 1rem 1.5rem; border-radius: 12px; border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2); color: white; font-size: 1rem; font-family: inherit; transition: all 0.3s;
}
.search-bar input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 15px var(--accent-glow); }

.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.job-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px;
    padding: 1.5rem; display: flex; flex-direction: column; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative; overflow: hidden; text-decoration: none; color: inherit; cursor: pointer;
}
.job-card::before {
    content: ''; position: absolute; top:0; left:0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--card-hover), transparent 70%); opacity: 0; transition: opacity 0.3s;
}
.job-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.job-card:hover::before { opacity: 1; }
.job-source { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 600; margin-bottom: 0.5rem; }
.job-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; }
.job-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; flex-grow: 1; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--glass-border); padding-top: 1rem; margin-top: auto; font-size: 0.8rem; color: var(--text-secondary); }
.job-link { color: var(--accent); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 0.3rem; }
.job-link:hover { text-decoration: underline; }

.loader { width: 40px; height: 40px; border: 3px solid rgba(255,255,255,0.1); border-radius: 50%; border-top-color: var(--accent); animation: spin 1s ease-in-out infinite; margin: 3rem auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.no-results { text-align: center; color: var(--text-secondary); grid-column: 1 / -1; padding: 2rem; }
