:root {
    --primary-color: #dfe6e9;
    --secondary-color: #74b9ff;
    --background-color: #1e272e;
    --card-background: #2d3436;
    --text-color: #b2bec3;
    --heading-color: #dfe6e9;
}

[data-theme="light"] {
    --primary-color: #2d3436;
    --secondary-color: #0984e3;
    --background-color: #f5f6fa;
    --card-background: #ffffff;
    --text-color: #636e72;
    --heading-color: #2d3436;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    background-color: var(--card-background);
    width: 100%;
    max-width: 600px;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin: 20px;
    position: relative;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: var(--background-color);
    transform: rotate(15deg);
}

header {
    margin-bottom: 2rem;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--background-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

h1 {
    color: var(--heading-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.about {
    margin-bottom: 2.5rem;
}

.about h2 {
    color: var(--heading-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--background-color);
    color: var(--heading-color);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    gap: 10px;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(9, 132, 227, 0.2);
}

footer {
    font-size: 0.9rem;
    color: #b2bec3;
    margin-top: 2rem;
    border-top: 1px solid #f1f2f6;
    padding-top: 1.5rem;
}

@media (max-width: 480px) {
    .container {
        padding: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
}
