/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme Toggle - Fixed top right */
.theme-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    z-index: 100;
}

.theme-toggle:hover {
    color: var(--text-color);
}

.theme-toggle:focus {
    outline: none;
}

/* Main Content */
main {
    max-width: 50rem;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Name / Title */
.name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.name a:hover {
    color: #ff69b4;
}

/* Navigation */
nav {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ff69b4;
}

/* About Section */
.about p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Sections */
section {
    margin-bottom: 2.5rem;
}

h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

section a:hover {
    color: #ff69b4;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 37.5rem) {
    main {
        padding: 3rem 1.25rem;
    }

    .name {
        font-size: 2rem;
    }

    .theme-toggle {
        top: 1rem;
        right: 1rem;
    }

    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    h2 {
        font-size: 1.125rem;
    }

    section p,
    .about p {
        font-size: 1rem;
        line-height: 1.7;
    }
}
