:root {
    --primary-color: #60a5fa;
    /* Lighter blue for dark mode */
    --text-color: #e2e8f0;
    /* Light gray text */
    --bg-color: #0f172a;
    /* Dark slate background */
    --card-bg: #1e293b;
    /* Slightly lighter slate for cards */
    --accent-color: #38bdf8;
    /* Bright sky blue */
    --hover-color: #0ea5e9;
    --font-family: 'Inter', sans-serif;
    --pattern-color: rgba(255, 255, 255, 0.05);
    --muted-text-color: #94a3b8;
    /* Slate 400 */
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    background-image: radial-gradient(var(--pattern-color) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Profile Header */
.profile-header {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.profile-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-text {
    flex: 1;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    line-height: 1.2;
}

h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--muted-text-color);
}

@media (max-width: 600px) {
    .profile-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
    }

    h1 {
        font-size: 2rem;
    }
}

section {
    margin-bottom: 3rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 0.5rem;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--bg-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.link-card:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
}

.link-card.disabled {
    opacity: 0.6;
    cursor: default;
}

.icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.text {
    font-weight: 500;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--muted-text-color);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        padding: 1rem;
    }

    header.hero {
        height: 250px;
    }

    .hero-overlay {
        padding: 1.5rem 1rem;
    }

}