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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

main {
    max-width: 680px;
    width: 100%;
}

.container {
    max-width: 680px;
    width: 100%;
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.profile {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f5f5f5;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.profile-image img {
    width: 75%;
}

h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-button {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #e8e8e8;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.link-button:focus {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
}

.link-button:focus:not(:focus-visible) {
    outline: none;
}

.link-button:focus-visible {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
}

.link-button:active {
    transform: translateY(0);
}

.project {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    color: #333;
}

.lore {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #333;
}

.apple {
    background: linear-gradient(135deg, #000000 0%, #434343 100%);
    color: white;
}

.android {
    background: linear-gradient(135deg, #3DDC84 0%, #00C853 100%);
    color: black;
}

.discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    .link-button {
        padding: 18px;
        font-size: 15px;
    }
}

/* Mode sombre automatique */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
    }

    .container {
        background: #2d2d2d;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    h1 {
        color: #e0e0e0;
    }

    .profile-image {
        background: #3d3d3d;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

    .link-button {
        background: #3d3d3d;
        color: #e0e0e0;
        border: 1px solid #4d4d4d;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    .link-button:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    }

    .project {
        background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
        color: #333;
    }

    .lore {
        background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
        color: #333;
    }

    .apple {
        background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
        color: white;
    }

    .android {
        background: linear-gradient(135deg, #3DDC84 0%, #00C853 100%);
        color: black;
    }

    .discord {
        background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
        color: white;
    }
}