:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --secondary-text: #666666;
    --link-color: #0077b5;
    --link-hover: #005582;
    --border-color: #eeeeee;
}

body.dark-mode {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --secondary-text: #a0a0a0;
    --link-color: #00a0dc;
    --link-hover: #33b5e5;
    --border-color: #333333;
}

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

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

#container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

#profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#name {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

#description {
    font-size: 1.125rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
    max-width: 500px;
}

.highlight-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.2s ease;
}

.highlight-link:hover {
    border-bottom-color: var(--text-color);
}

body.dark-mode .highlight-link {
    color: #ffffff;
}

body.light-mode .highlight-link {
    color: #1a1a1a;
}

#links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

#links a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.2s ease;
}

#links a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

#theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

#theme-toggle:hover {
    background-color: var(--border-color);
}

.hidden {
    display: none !important;
}

@media (max-width: 480px) {
    #name {
        font-size: 1.75rem;
    }
    
    #description {
        font-size: 1rem;
    }
    
    #profile-pic {
        width: 120px;
        height: 120px;
    }
}
