:root {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --accent: #38bdf8;
}

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

body {
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 10vh;
    animation: fadeIn 1s ease-in;
}

/* Hero Section */
header {
    margin-bottom: 50px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    color: var(--text-dim);
    font-size: 1.2rem;
}

/* Project Cards */

.section-title {
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

.card {
    display: block;
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, border 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.card h3 {
    margin-bottom: 8px;
}

.card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}


/* Social Links */
.links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.links a {
    color: var(--text-main);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.links a:hover {
    color: var(--accent);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    h1 { font-size: 2.2rem; }
    .container { padding-top: 5vh; }
}
