/* --- RESET & VARIABLES --- */
:root {
    --bg-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --primary: #6366f1; /* Indigo */
    --secondary: #ec4899; /* Pink */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #6366f1, #a855f7);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    padding: 50px 20px;
}

/* --- BACKGROUND BLOBS (Visual Interest) --- */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}
.blob-1 { top: -100px; left: -100px; background: #4f46e5; }
.blob-2 { bottom: -100px; right: -100px; background: #db2777; }

/* --- HEADER --- */
.container { max-width: 1200px; width: 100%; z-index: 1; }

.page-header { text-align: center; margin-bottom: 60px; }

.badge {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 { font-size: 3rem; margin: 15px 0; font-weight: 700; }
.text-gradient { background: var(--gradient); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.page-header p { color: var(--text-muted); font-size: 1.1rem; }

/* --- GRID LAYOUT --- */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* --- CARD DESIGN --- */
.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Icons */
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}
.web-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.app-icon { background: linear-gradient(135deg, #10b981, #059669); }
.python-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.java-icon { background: linear-gradient(135deg, #ef4444, #dc2626); }

.card h2 { font-size: 1.5rem; margin-bottom: 20px; }

/* Details List */
.details { flex-grow: 1; margin-bottom: 25px; }
.details p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.details i { color: var(--primary); width: 20px; }
.details span { color: var(--text-main); font-weight: 500; }

/* Button */
.btn {
    display: block;
    text-align: center;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    body { padding: 30px 15px; }
}