* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, #0f0f1a 0%, #141426 100%);
    color: #e0e0ff;
    min-height: 100vh;
    padding: 2rem 1rem;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
}

h1 {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
    color: #a5b4fc;
    letter-spacing: -0.5px;
}

.github-link {
    display: inline-block;
    color: #94a3b8;
    font-size: 0.95rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.github-link:hover {
    color: #c084fc;
    text-decoration: underline;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);         
    gap: 1.5rem;
}

.card {
    background: rgba(30, 30, 50, 0.6);
    border: 1px solid rgba(100, 100, 255, 0.12);
    border-radius: 12px;
    padding: 1.6rem 1.8rem;
    transition: all 0.22s ease;
    backdrop-filter: blur(6px);
}

.card:hover {
    transform: translateY(-6px);
    border-color: #7c3aed;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    background: rgba(40, 40, 70, 0.7);
}

.card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    color: #c4b5fd;
}

.card a {
    display: inline-block;
    color: #a78bfa;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.2s;
}

.card a:hover {
    color: #ddd6fe;
    text-decoration: underline;
}

.card .subtitle {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 0.4rem;
}

/* ────────────────────────────────────────────────
   Some adaptivity
───────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);    
    }
}

@media (max-width: 850px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);    
    }
}

@media (max-width: 500px) {
    .grid {
        grid-template-columns: 1fr;               
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .card {
        padding: 1.4rem;
    }
}