:root {
    --card-size: 300px;
    --border-radius: 20px;
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --text-color: #0f172a;
    --text-muted: #475569;
}

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

body {
    min-height: 100vh;
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-family);
    background-color: #f8fafc;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, var(--card-size));
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.card {
    width: var(--card-size);
    height: var(--card-size);
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
}

/* Image Card */
.image-card {
    padding: 0;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Title Card */
.title-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2.25rem;
    text-align: left;
}

.title-card h1 {
    font-family: var(--font-family);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    padding-bottom: 0.2em;
    color: var(--text-color);
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Bio Card */
.bio-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem;
}

.bio-card p {
    font-size: 0.975rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 400;
}

/* Links Card */
.links-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem;
}

.links-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

.links-card a i {
    font-size: 1.85rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.links-card a:hover {
    background-color: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: scale(1.05);
}

.links-card a:hover i {
    transform: scale(1.15);
}

/* Mobile responsive overrides (placed at end of stylesheet to take precedence) */
@media (max-width: 660px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .title-card {
        display: none !important;
    }
}
